replacement for nsIScriptObjectOwner

[email protected] Wed, 27 Mar 2013 03:20:10 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.embedding
Message-ID <[email protected]>
Hello,

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 (https://bugzilla.mozilla.org/show_bug.cgi?id=773803) 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,
Lakshmi