Reviewers: Yang,
Message:
PTAL
Description:
Don't bypass the global proxy as the global object should never escape into
JS
BUG=
Please review this at https://codereview.chromium.org/334233003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+0, -7 lines):
M src/runtime.cc
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index
927386289ac392254281077665c980768294f946..96c63524ef9947dd7e8649cc6dfbfa5078c8afb8
100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -10910,13 +10910,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;
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.