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

Unified Diff: test/mjsunit/harmony/regress/regress-2225.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/regress/regress-2219.js ('k') | test/mjsunit/harmony/regress/regress-405844.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/harmony/regress/regress-2225.js
diff --git a/test/mjsunit/harmony/regress/regress-2225.js b/test/mjsunit/harmony/regress/regress-2225.js
index 9957d8d463dc7c6dc3f2f30a718ea75ec9b83514..12d3eee116a0c4ddd0269cb08832374b58df912e 100644
--- a/test/mjsunit/harmony/regress/regress-2225.js
+++ b/test/mjsunit/harmony/regress/regress-2225.js
@@ -28,7 +28,7 @@
// Flags: --harmony-proxies
var proxy_has_x = false;
-var proxy = Proxy.create({ getPropertyDescriptor:function(key) {
+var proxy = new Proxy({}, { getPropertyDescriptor:function(key) {
assertSame('x', key);
if (proxy_has_x) {
return { configurable:true, writable:false, value:19 };
« no previous file with comments | « test/mjsunit/harmony/regress/regress-2219.js ('k') | test/mjsunit/harmony/regress/regress-405844.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698