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

Unified Diff: test/mjsunit/es6/classes-proxy.js

Issue 1509603005: [runtime] [proxy] implement [[Construct]] (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@2015-12-03_JSProxy_Call_1499593003
Patch Set: fimpsing Created 5 years 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 | « src/x87/builtins-x87.cc ('k') | test/mjsunit/harmony/proxies-construct.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/es6/classes-proxy.js
diff --git a/test/mjsunit/es6/classes-proxy.js b/test/mjsunit/es6/classes-proxy.js
index d438b01ad8a3a5022f12084c695b39f4193e5f96..430720a9f93de1957fb2153216bd91680d6f3945 100644
--- a/test/mjsunit/es6/classes-proxy.js
+++ b/test/mjsunit/es6/classes-proxy.js
@@ -5,7 +5,7 @@
// Flags: --allow-natives-syntax --harmony-proxies --harmony-reflect
function CreateConstructableProxy(handler) {
- return Proxy.createFunction(handler, function() {}, function() {});
+ return new Proxy(function(){}, handler);
}
(function() {
« no previous file with comments | « src/x87/builtins-x87.cc ('k') | test/mjsunit/harmony/proxies-construct.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698