зеркало из https://github.com/mozilla/pjs.git
Fixing bustage, bug 382509
This commit is contained in:
Родитель
c788478abe
Коммит
f87f245fc6
|
@ -1287,7 +1287,7 @@ obj_eval(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
|||
* calls that attempt to use a non-global object as the "with" object in
|
||||
* the former indirect case.
|
||||
*/
|
||||
if (indirectCall || OBJ_GET_PARENT(c, obj)) {
|
||||
if (indirectCall || OBJ_GET_PARENT(cx, obj)) {
|
||||
JS_ReportErrorNumber(cx, js_GetErrorMessage, NULL,
|
||||
JSMSG_BAD_INDIRECT_CALL, js_eval_str);
|
||||
return JS_FALSE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче