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

Unified Diff: test/mjsunit/harmony/regress/regress-405844.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: adding proxy trap strings 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-405844.js
diff --git a/test/mjsunit/harmony/regress/regress-405844.js b/test/mjsunit/harmony/regress/regress-405844.js
index 3d3561f7a55fdd6681ff503652711899a4a52862..4962ec2c78cd8912d454ea34c315a9d10e60a209 100644
--- a/test/mjsunit/harmony/regress/regress-405844.js
+++ b/test/mjsunit/harmony/regress/regress-405844.js
@@ -4,7 +4,7 @@
//
// Flags: --harmony-proxies --harmony-object-observe
-var proxy = Proxy.create({ fix: function() { return {}; } });
+var proxy = new Proxy({}, { fix: function() { return {}; } });
Object.preventExtensions(proxy);
Object.observe(proxy, function(){});

Powered by Google App Engine
This is Rietveld 408576698