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

Unified Diff: test/mjsunit/harmony/proxies-symbols.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/proxies-json.js ('k') | test/mjsunit/harmony/proxies-with.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/harmony/proxies-symbols.js
diff --git a/test/mjsunit/harmony/proxies-symbols.js b/test/mjsunit/harmony/proxies-symbols.js
index 52353c036d4a4c25b6b47b52df8f82dde0f3d1f3..35e8a8fb5fc76380cd5e0957cc282c8b0a2b828d 100644
--- a/test/mjsunit/harmony/proxies-symbols.js
+++ b/test/mjsunit/harmony/proxies-symbols.js
@@ -31,8 +31,10 @@
// Helper.
function TestWithProxies(test, x, y, z) {
- test(Proxy.create, x, y, z)
- test(function(h) {return Proxy.createFunction(h, function() {})}, x, y, z)
+ test(function(h) { return new Proxy({}, h) }, x, y, z)
+ test(function(h) {
+ return Proxy.createFunction(h, function() {})
+ }, x, y, z)
}
« no previous file with comments | « test/mjsunit/harmony/proxies-json.js ('k') | test/mjsunit/harmony/proxies-with.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698