replacement for nsIScriptObjectOwner

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

replacement for nsIScriptObjectOwner

Our application uses XULRunner 10 for embedding the browser and provide browser functionality. There is a problem while moving it to XULRunner 17. The nsIScriptObjectOwner interface has been removed, the corresponding bug ( doesn't have any information on why and which interface can be used as a replacement.

When nsIScriptObjectOwner.getScriptObject() is called for a script, we create and return a new JavaScript Object and define a native function on it. Now that the interface has been removed, is there an alternate way to do this?

Thanks in advance for the help,

dev-embedding mailing list
[hidden email]