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
This commit is contained in:
rossberg@chromium.org 2012-11-26 12:55:47 +00:00
parent 735d052f4c
commit 93579d9d3e

View File

@ -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(