Commit e976bfa1 authored by verwaest@chromium.org's avatar verwaest@chromium.org

Don't bypass the global proxy as the global object should never escape into JS

BUG=
R=yangguo@chromium.org

Review URL: https://codereview.chromium.org/334233003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21930 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 499ae77e
......@@ -10816,13 +10816,6 @@ RUNTIME_FUNCTION(Runtime_DebugGetPropertyDetails) {
isolate->set_context(*isolate->debug()->debugger_entry()->GetContext());
}
// Skip the global proxy as it has no properties and always delegates to the
// real global object.
if (obj->IsJSGlobalProxy()) {
obj = Handle<JSObject>(JSObject::cast(obj->GetPrototype()));
}
// Check if the name is trivially convertible to an index and get the element
// if so.
uint32_t index;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment