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:
parent
735d052f4c
commit
93579d9d3e
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user