Revision: 21930
Author: [email protected]
Date: Mon Jun 23 10:42:49 2014 UTC
Log: Don't bypass the global proxy as the global object should never
escape into JS
BUG=
[email protected]
Review URL: https://codereview.chromium.org/334233003
http://code.google.com/p/v8/source/detail?r=21930
Modified:
/branches/bleeding_edge/src/runtime.cc
=======================================
--- /branches/bleeding_edge/src/runtime.cc Mon Jun 23 10:35:58 2014 UTC
+++ /branches/bleeding_edge/src/runtime.cc Mon Jun 23 10:42:49 2014 UTC
@@ -10815,13 +10815,6 @@
if (isolate->debug()->in_debug_scope()) {
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.
--
--
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.