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

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: 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-2225.js ('k') | test/mjsunit/harmony/regress/regress-crbug-448730.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 25c8295cb2a388d2749cdb6a8aba524f5ed0ea6f..4962ec2c78cd8912d454ea34c315a9d10e60a209 100644
--- a/test/mjsunit/harmony/regress/regress-405844.js
+++ b/test/mjsunit/harmony/regress/regress-405844.js
@@ -4,13 +4,10 @@
//
// Flags: --harmony-proxies --harmony-object-observe
-// TODO(neis): These tests are temporarily commented out because of ongoing
-// changes to the implementation of proxies.
+var proxy = new Proxy({}, { fix: function() { return {}; } });
+Object.preventExtensions(proxy);
+Object.observe(proxy, function(){});
-//var proxy = Proxy.create({ fix: function() { return {}; } });
-//Object.preventExtensions(proxy);
-//Object.observe(proxy, function(){});
-//
-//var functionProxy = Proxy.createFunction({ fix: function() { return {}; } }, function(){});
-//Object.preventExtensions(functionProxy);
-//Object.observe(functionProxy, function(){});
+var functionProxy = Proxy.createFunction({ fix: function() { return {}; } }, function(){});
+Object.preventExtensions(functionProxy);
+Object.observe(functionProxy, function(){});
« no previous file with comments | « test/mjsunit/harmony/regress/regress-2225.js ('k') | test/mjsunit/harmony/regress/regress-crbug-448730.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698