in FF 3.6.xx, extension code that modifies the DOM of an HTML page by
adding some elements (e.g. preview thumbnails) via method
"appendChild" within DOMContentLoaded callback, works fine.
in FF 4.0b7, exactly same code causes this exception to be thrown:
Error: uncaught exception: [Exception... "Operation is not supported"
code: "9" nsresult: "0x80530009 (NS_ERROR_DOM_NOT_SUPPORTED_ERR)"
location: "chrome://myext/content/myext.js Line: ..."]
Any hint on how to resolve the above? Any restrictions added by Gecko
2.0 on extensions fiddling with unprivileged content?
Thanks a million in advance
// This is chrome code, this is wrong because the span is now chrome and
you're trying to insert it into content
// This is right, appending a content node to another content node
I've hit this issue at least three times when upgrading stuff for Gecko
2.0. Might be what you're looking for :).
On 30 November 2010 09:54, Jonathan Protzenko