Re: I need more readings and/or examples on how to use ScopeChain spidermonkey 60
Boris Zbarsky <[email protected]> Sun, 7 Apr 2019 12:09:18 -0400
| Newsgroups | gmane.comp.mozilla.devel.jseng |
|---|---|
| Message-ID | <[email protected]> |
On 4/7/19 4:59 AM, msami wrote: > any help would be appreciated Have you already looked at the existing uses in Firefox? In particular, https://searchfox.org/mozilla-central/source/js/src/jsapi-tests/testJSEvaluateScript.cpp has a pretty minimal usage example. The API is a bit different from the one in 60, but I think https://searchfox.org/mozilla-central/rev/a6587cb8740141701449911468fcb4434952c46f/js/src/jsapi-tests/testJSEvaluateScript.cpp should be the API you're looking for. -Boris