jsapi-tests pass

This commit is contained in:
Luke Wagner
2010-05-19 18:40:27 -07:00
parent f89fd83a65
commit 817406a58e
6 changed files with 6 additions and 6 deletions

View File

@@ -198,7 +198,7 @@ EnumerateNativeProperties(JSContext *cx, JSObject *obj, uintN flags, Value *tmpR
/* Collect all unique properties from this object's scope. */
JSScope *scope = obj->scope();
for (JSScopeProperty *sprop = scope->lastProperty(); sprop; sprop = sprop->parent) {
if (!sprop->id != JSBOXEDWORD_VOID &&
if (sprop->id != JSBOXEDWORD_VOID &&
!sprop->isAlias() &&
!Enumerate(cx, obj, sprop->id, sprop->enumerable(), flags, tmpRoot, ht, sprops)) {
return false;