Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1182)

Unified Diff: test/mjsunit/harmony/regress/regress-2219.js

Issue 1417063011: [runtime] support new Proxy() instead of Proxy.create and install getPrototypeOf trap (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: removing unreachable code Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/harmony/reflect-enumerate-opt.js ('k') | test/mjsunit/harmony/regress/regress-2225.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/harmony/regress/regress-2219.js
diff --git a/test/mjsunit/harmony/regress/regress-2219.js b/test/mjsunit/harmony/regress/regress-2219.js
index 946c75bd804ae54d8f515f9f863688287a103e84..eb369db9a5f614cb12da84986742865ce6562445 100644
--- a/test/mjsunit/harmony/regress/regress-2219.js
+++ b/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({}, {getPropertyDescriptor: function() { gc() }});
var o = Object.create(p);
assertSame(23, o.x = 23);
« no previous file with comments | « test/mjsunit/harmony/reflect-enumerate-opt.js ('k') | test/mjsunit/harmony/regress/regress-2225.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698