Index: src/proxy.js |
diff --git a/src/proxy.js b/src/proxy.js |
index 4c03f215389cebafaae5713169d399d130258b6a..06be087c718fe8998974655af623233e5be201d2 100644 |
--- a/src/proxy.js |
+++ b/src/proxy.js |
@@ -72,7 +72,8 @@ function ProxyCreateFunction(handler, callTrap, constructTrap) { |
function SetUpProxy() { |
%CheckIsBootstrapping() |
- global.Proxy = $Proxy; |
+ var global_receiver = %GlobalReceiver(global); |
+ global_receiver.Proxy = $Proxy; |
// Set up non-enumerable properties of the Proxy object. |
InstallFunctions($Proxy, DONT_ENUM, [ |