Index: test/mjsunit/strong/load-proxy.js |
diff --git a/test/mjsunit/strong/load-proxy.js b/test/mjsunit/strong/load-proxy.js |
index e6b2686c7e03a9e0c85592d76d52abd981452ff9..417a41faf8dfd0f9f313ba14b6c9ea7c579ddc49 100644 |
--- a/test/mjsunit/strong/load-proxy.js |
+++ b/test/mjsunit/strong/load-proxy.js |
@@ -50,8 +50,8 @@ function handlerMaker2(obj) { |
}; |
} |
var baseObj = {}; |
-var proxy1 = Proxy.create(handlerMaker1(baseObj)); |
-var proxy2 = Proxy.create(handlerMaker2(baseObj)); |
+var proxy1 = new Proxy({}, handlerMaker1(baseObj)); |
+var proxy2 = new Proxy({}, handlerMaker2(baseObj)); |
var childObj1 = { __proto__: proxy1 }; |
var childObj2 = { __proto__: proxy2 }; |
var childObjAccessor1 = { set foo(_){}, set "1"(_){}, __proto__: proxy1 }; |