Problem with JS - EvaluateString
yakobom <[email protected]> Mon, 2 May 2011 21:41:14 -0700 (PDT)
| Newsgroups | gmane.comp.mozilla.devel.embedding |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <a4f39de8-c21b-4a4e-abbc-e3e18381b45f@u16g2000yqj.googlegroups.com> |
Hi, In my C++ embedding application I need to execute a short JS command, and I'm using nsIScriptContext:: EvaluateString. In my Gecko 1.9.2 environment it works fine. After migrating to 2.0, it crashes - assertion on Execute (jsinterp.cpp), over this line: JS_ASSERT(!initialVarObj->getOps()->defineProperty); Any ideas? Thanks, yakobom