summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/harmony/regress/regress-2219.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/harmony/regress/regress-2219.js')
-rw-r--r--deps/v8/test/mjsunit/harmony/regress/regress-2219.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/test/mjsunit/harmony/regress/regress-2219.js b/deps/v8/test/mjsunit/harmony/regress/regress-2219.js
index 946c75bd80..29e08603b5 100644
--- a/deps/v8/test/mjsunit/harmony/regress/regress-2219.js
+++ b/deps/v8/test/mjsunit/harmony/regress/regress-2219.js
@@ -27,6 +27,6 @@
// Flags: --harmony-proxies --expose-gc
-var p = Proxy.create({getPropertyDescriptor: function() { gc() }});
+var p = new Proxy({}, {getOwnPropertyDescriptor: function() { gc() }});
var o = Object.create(p);
assertSame(23, o.x = 23);