You mean you are trying to get at the underlying object fom JS code, right?
You need to know about the "wrappedJSObject" property. Read the long comment at: http://lxr.mozilla.org/seamonkey/source/js/src/xpconnect/idl/nsIXPConnect.idl#227 If that doesn't answer your question then post any questions left unanswered. John. Peter Wilson wrote: > I am trying to use the XPCOM TransactionManager (TM) using JS objects > which support > the nsITransaction interface. > > I pass the JS transaction object to TM using > transactionManager.doTransaction(myJSObject); > > On the api where TM returns an object that I originally passed to it, I > get an object which is described as nsIXPCWrappedNative. > TM.merge(aTransaction) is one an example; transactionList.getItem() is > another. > > How can I get back to my original JS object from all these wrapped up > natives? > > > > >
