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

Unified Diff: test/mjsunit/harmony/reflect-enumerate-opt.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/reflect-enumerate-opt.js
diff --git a/test/mjsunit/harmony/reflect-enumerate-opt.js b/test/mjsunit/harmony/reflect-enumerate-opt.js
index 34cd660c8ff0b93497e4fb322bd6de09e0b0096d..770f60083a39539bade95a534e87f2a0dfa51e67 100644
--- a/test/mjsunit/harmony/reflect-enumerate-opt.js
+++ b/test/mjsunit/harmony/reflect-enumerate-opt.js
@@ -48,7 +48,7 @@ var handler = {
};
-var proxy = Proxy.create(handler);
+var proxy = new Proxy({}, handler);
var o = {__proto__: proxy};
function f2(o) {

Powered by Google App Engine
This is Rietveld 408576698