Damiano ALBANI wrote:
Karsten D�sterloh wrote:
Thanks for the tip about this script loader, I did not know Mozilla had such a capability.
It works nicely, i.e. the code is 'imported' correctly, I can instanciate the HandlerOverride... but it still 'crash' when I use getter and setters on this object. However, if I add a normal function in the HandlerOverride prototype, this function can be called without problem. Maybe the JavaScript engine only supports a subset of JavaScript while in autoconfig 'mode' ?
Can you define autoconfig 'mode' here? How do you run the script you wrote? In what chrome window or other such environment?
/be
Hum, I was refering to the Automatic Configuration mode, triggered by the "general.config.filename" preference key. I specify the URL of a JavaScript file, which is downloaded and applied in Mozilla at browser's startup. It is in *this* JS file that I try to work with MIME handlers.
That makes debugging difficult as it generally fails silently.
PS: I am very impressed by the fact the JavaScript creator tries to help me -- the power of Internet ;-)
Thanks a lot for hanging around this newsgroup.
-- Damiano ALBANI
_______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
