Problem when migrating from gecko 1.9.1.2 to 2.0
"Fizitzky, Annie" <[email protected]> Thu, 26 Jan 2012 09:48:41 -0500
| Newsgroups | gmane.comp.mozilla.devel.embedding |
|---|---|
| Message-ID | <[email protected]> |
Hi, I have a C++ embedding application, in which I'm using nsIScriptContext:: EvaluateString() to execute JS commands. Under Gecko 1.9.1.2 it works fine, but after migrating it to Gecko 2.0, I get these assersions: 1. JS_ASSERT(!initialVarObj->getOps()->defineProperty); - in jsutil.cpp When I get this assertion, the value of initialVarObj->getOps()->defineProperty is js: proxy_DefineProperty 2. JS_ASSERT(entries); - in jsscope.cpp After getting this assertion, my application crashes. Does someone know why these assertions happen only in Gecko 2.0? Thanks, Annie