mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Bug 532363 - TM: "Assertion failure: IsDenseArrayId(cx, obj, (jsid) prop), at ../jsarray.cpp". r=bzbarsky.
This commit is contained in:
parent
750ad4fcf1
commit
45131911f5
@ -11626,7 +11626,7 @@ GetPropertyWithNativeGetter(JSContext* cx, JSObject* obj, JSScopeProperty* sprop
|
||||
JSObject* pobj;
|
||||
JS_ASSERT(obj->lookupProperty(cx, sprop->id, &pobj, &prop));
|
||||
JS_ASSERT(prop == (JSProperty*) sprop);
|
||||
obj->dropProperty(cx, prop);
|
||||
pobj->dropProperty(cx, prop);
|
||||
#endif
|
||||
|
||||
// JSScopeProperty::get contains a special case for With objects. We can
|
||||
|
2
js/src/trace-test/tests/basic/testBug532363.js
Normal file
2
js/src/trace-test/tests/basic/testBug532363.js
Normal file
@ -0,0 +1,2 @@
|
||||
for (var i = 0; i < 9; i++)
|
||||
({__parent__: []} = []);
|
Loading…
Reference in New Issue
Block a user