[Project_owners] ALERT: Do you use mozIJSSubScriptLoader?
Eric H. Jung
eric.jung at yahoo.com
Wed Mar 19 13:21:10 PDT 2008
If you use code like this to dynamically load JS files at runtime:
var loader = Components.classes["@mozilla.org/moz/jssubscript-loader;1"]
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 220.127.116.11). 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
Never miss a thing. Make Yahoo your home page.
More information about the Project_owners