If you use code like this to dynamically load JS files at runtime:
var loader = Components.classes["@mozilla.org/moz/jssubscript-loader;1"]
                       .getService(Components.interfaces.mozIJSSubScriptLoader);
loader.loadSubScript("file:///foo.js", obj)your code will not work with FF 3.0 
as of the 18 March 2008 nightly build.

Going forward, mozIJSSubScriptLoader only works with chrome: scheme URLs. This 
will be in FF 3.0b5, and there is talk to backport it to 1.8 (Firefox 
2.0.0.14). Needless to say, this has broken a lot of extensions. Heads-up if 
yours is one of them.

Read more at Mark's blog post: 
http://starkravingfinkle.org/blog/2008/03/extension-developers-breaking-news-part-2/
or discuss at irc.mozilla.org#extdev

Eric Jung





      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to