Richard wrote:
Where should this be called before or after the plugin is initiailized?
Mmmm.... Probably before you set the script global object on the document. At least that's where I think we call it, generally speaking.
Again, I'm not sure why you're not just using the APIs docshell exposes for this purpose (eg get the URI content listener from the docshell, call DoContent on it, and then start pumping data into it, letting it handle all the setup work properly). Your approach is pretty much guaranteed to break as the core code changes, possibly even on stable branches.
-Boris _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
