From 93579d9d3e1d18e7208a22cff3408b20f2c391ed Mon Sep 17 00:00:00 2001 From: "rossberg@chromium.org" Date: Mon, 26 Nov 2012 12:55:47 +0000 Subject: [PATCH] Make indexed intercepted methods enumerable by default. R=ulan@chromium.org BUG=162606 Review URL: https://codereview.chromium.org/11348222 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13053 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/objects.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/objects.cc b/src/objects.cc index c53750ed..944c5a1 100644 --- a/src/objects.cc +++ b/src/objects.cc @@ -3397,7 +3397,7 @@ PropertyAttributes JSObject::GetElementAttributeWithInterceptor( VMState state(isolate, EXTERNAL); result = getter(index, info); } - if (!result.IsEmpty()) return DONT_ENUM; + if (!result.IsEmpty()) return NONE; } return holder->GetElementAttributeWithoutInterceptor( -- 2.7.4