Deleted numeric properties are not supressed in for-in (bug 617593, r=jwalden).

This commit is contained in:
Andreas Gal
2010-12-13 15:22:12 -08:00
parent e84c9867eb
commit 107442dc26

View File

@@ -967,6 +967,7 @@ public:
bool
js_SuppressDeletedProperty(JSContext *cx, JSObject *obj, jsid id)
{
id = js_CheckForStringIndex(id);
return SuppressDeletedPropertyHelper(cx, obj, SingleIdPredicate(id));
}