mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Remove this assertion since with objects will botch it. bug 343713, r=brendan
This commit is contained in:
parent
eb1a76fb9e
commit
e064fc9e40
@ -545,7 +545,6 @@ js_ComputeThis(JSContext *cx, JSObject *thisp, jsval *argv)
|
||||
return NULL;
|
||||
if (JSVAL_IS_VOID(v))
|
||||
v = OBJ_GET_SLOT(cx, thisp, JSSLOT_PARENT);
|
||||
JS_ASSERT(JSVAL_TO_OBJECT(v) == OBJ_GET_PARENT(cx, thisp));
|
||||
if (JSVAL_IS_NULL(v))
|
||||
break;
|
||||
thisp = JSVAL_TO_OBJECT(v);
|
||||
|
Loading…
Reference in New Issue
Block a user