Index: test/mjsunit/es6/regress/regress-cr493566.js |
diff --git a/test/mjsunit/es6/regress/regress-cr493566.js b/test/mjsunit/es6/regress/regress-cr493566.js |
index 9bb313ffbef5339ccadaedd3dfdbff4d3bd8eb73..95a5a3edd09eb061bbfcfaabf648fc9adb6e73f8 100644 |
--- a/test/mjsunit/es6/regress/regress-cr493566.js |
+++ b/test/mjsunit/es6/regress/regress-cr493566.js |
@@ -30,8 +30,8 @@ var global = this; |
} |
}; |
- var proto = {}; |
- var proxy = Proxy.create(handler, proto); |
+ var target = {}; |
+ var proxy = new Proxy(target, handler); |
var object = { |
__proto__: proxy, |
setX(v) { |
@@ -74,7 +74,7 @@ var global = this; |
} |
}; |
- var proxy = Proxy.create(handler); |
+ var proxy = new Proxy({}, handler); |
object.setY.call(proxy, 3); |
assertEquals(1, calls); |
})(); |