pete at mozdevgroup.com
Wed Oct 26 10:27:18 EDT 2005
>Well now the error just moves to the next line:
>"chrome://mozimage/content/jslib.js" line: 7}]
>Source File: chrome://mozimage/content/jslib.js
Yea, one way to avoid this problem is for jsLib clients to initialize
jsLib using it's initializer
This is the recommended way to initialize jsLib.
twice or loaded into the same context twice..
This above can happen is jslib is used in a xul file and then an overlay ...
I'll see if I can come up w/ and easy way to avoid these errors without
risking too much regression ....
Do note that using the try block will prevent script execution outside
of the reloaded file from stopping so for now these are just annoying
Pete Collins - Founder, Mozdev Group Inc.
Mozilla Software Development Solutions
More information about the Project_owners