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
This commit is contained in:
parent
499ae77e18
commit
e976bfa159
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user