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

Unified Diff: test/mjsunit/harmony/regress/regress-crbug-461520.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
Index: test/mjsunit/harmony/regress/regress-crbug-461520.js
diff --git a/test/mjsunit/harmony/regress/regress-crbug-461520.js b/test/mjsunit/harmony/regress/regress-crbug-461520.js
index c30260db72ad16f95c2b0ded0571f8a15c09eca9..5239ecb6cae602b4d27da01af1841c8de7d0f6ac 100644
--- a/test/mjsunit/harmony/regress/regress-crbug-461520.js
+++ b/test/mjsunit/harmony/regress/regress-crbug-461520.js
@@ -13,6 +13,6 @@ var handler = {
}
};
-var p = Proxy.create(handler);
+var p = new Proxy({}, handler);
var o = Object.create(p);
with (o) { f() }
« no previous file with comments | « test/mjsunit/harmony/regress/regress-crbug-448730.js ('k') | test/mjsunit/harmony/regress/regress-lookup-transition.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698