Rename Proxy enumerateOwn to keys (bug 600642, r=jorendorff,brendan).

This commit is contained in:
Andreas Gal
2011-01-10 11:42:11 -08:00
parent 969243cba2
commit 2fcbc11a57
13 changed files with 28 additions and 28 deletions

View File

@@ -328,7 +328,7 @@ Snapshot(JSContext *cx, JSObject *obj, uintN flags, typename EnumPolicy::ResultV
if (pobj->isProxy()) {
AutoIdVector proxyProps(cx);
if (flags & JSITER_OWNONLY) {
if (!JSProxy::enumerateOwn(cx, pobj, proxyProps))
if (!JSProxy::keys(cx, pobj, proxyProps))
return false;
} else {
if (!JSProxy::enumerate(cx, pobj, proxyProps))