Index: test/mjsunit/for-in-opt.js |
diff --git a/test/mjsunit/for-in-opt.js b/test/mjsunit/for-in-opt.js |
index a6ee0ec81e32fdf965b30b831ac714bd64dbb251..996f53979abd17649c701d4977e76f85c2f5f927 100644 |
--- a/test/mjsunit/for-in-opt.js |
+++ b/test/mjsunit/for-in-opt.js |
@@ -46,7 +46,7 @@ var handler = { |
}; |
-var proxy = Proxy.create(handler); |
+var proxy = new Proxy({}, handler); |
var o = {__proto__: proxy}; |
function f2(o) { |
@@ -92,7 +92,7 @@ var handler2 = { |
return {value: 10, configurable: true, writable: false, enumerable: true}; |
} |
} |
-var proxy2 = Proxy.create(handler2); |
+var proxy2 = new Proxy({}, handler2); |
var o2 = {__proto__: proxy2}; |
var p = {x: "x"} |
@@ -139,7 +139,7 @@ var handler3 = { |
} |
}; |
-var proxy3 = Proxy.create(handler3); |
+var proxy3 = new Proxy({}, handler3); |
var o3 = {__proto__: proxy3}; |
function f5() { |