Imagine the following scenario: C++ code invokes an XPCOM object (that happens to be written in JavaScript) and then that JS object calls another XPCOM object that is written in C++. Looks like this: C++ -> XPCOM -> XPCwrappedJS -> JS -> XPCwrappedNative -> C++
Within the C++ object on the far right, I'd like to reach into the JS environment of the JS that called it. Imagine calling JS_GetProperty(). How would I go about digging up the scope object that the JS call came from so I can use it in a call to JS_GetProperty() ? _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
