Deleted numeric properties are not supressed in for-in (bug 617593, r=jwalden).
This commit is contained in:
@@ -967,6 +967,7 @@ public:
|
||||
bool
|
||||
js_SuppressDeletedProperty(JSContext *cx, JSObject *obj, jsid id)
|
||||
{
|
||||
id = js_CheckForStringIndex(id);
|
||||
return SuppressDeletedPropertyHelper(cx, obj, SingleIdPredicate(id));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user