mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 1346217 part 9 - Enable some assertions that were commented out a long time ago. r=till
This commit is contained in:
parent
a3099c6d81
commit
58c33b70d0
@ -353,8 +353,10 @@ NativeObject::getChildProperty(JSContext* cx,
|
||||
Shape* shape = cx->zone()->propertyTree().inlinedGetChild(cx, parent, child);
|
||||
if (!shape)
|
||||
return nullptr;
|
||||
//MOZ_ASSERT(shape->parent == parent);
|
||||
//MOZ_ASSERT_IF(parent != lastProperty(), parent == lastProperty()->parent);
|
||||
|
||||
MOZ_ASSERT(shape->parent == parent);
|
||||
MOZ_ASSERT_IF(parent != obj->lastProperty(), parent == obj->lastProperty()->parent);
|
||||
|
||||
if (!obj->setLastProperty(cx, shape))
|
||||
return nullptr;
|
||||
return shape;
|
||||
|
Loading…
Reference in New Issue
Block a user