Phil H�hn (TL) wrote: [...]
1) The first time it runs, as expected an exception occurs (presumeably) because the pref "mytest.dir" does not exist(see below). However when I step past the 'catch', I get
"ASSERTION: nsMemoryImpl::Alloc of 0: 'size', file <snip snip>/xpcom/base/nsMemoryImpl.cpp, line 324"
a) I don't understand why it happens when I step past the catch,
b) Where is this 'alloc of 0 bytes' coming from (or is it the javascript debugger itself and I should ignore it)?
Hmm, while that's not fatal, it should be fixed. Wanna file a bug in bugzilla on that?
2) After ignoring the above error, I get the directory picker and I select C:\temp.[...]
c) After stepping past the 2nd-to-last line, 'directory' is set to "C:", not "C:\temp"! I can see this in prefs.js;
user_pref("mytest.dir", "C:");
var directory = fp.file.parent.QueryInterface(nsILocalFile);
Maybe loose the .parent there? :-)
-- jst _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
