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

Unified Diff: test/mjsunit/harmony/proxies-for.js

Issue 1498593006: [proxies] Use JSReceiver::GetKeys() for more purposes (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
« test/cctest/test-debug.cc ('K') | « test/cctest/test-debug.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/harmony/proxies-for.js
diff --git a/test/mjsunit/harmony/proxies-for.js b/test/mjsunit/harmony/proxies-for.js
index f0b36abbee71e0634154bc50fc56c7640dc2e874..92916f1c7e9ac7869914a13c1b93c788bd86bd98 100644
--- a/test/mjsunit/harmony/proxies-for.js
+++ b/test/mjsunit/harmony/proxies-for.js
@@ -142,7 +142,6 @@ TestForInThrow(new Proxy({}, {
})();
(function () {
- var p = new Proxy({}, {getOwnPropertyNames:
- function() { return [1, Symbol(), 2] }});
+ var p = new Proxy({}, {ownKeys: function() { return ["1", Symbol(), "2"] }});
assertEquals(["1","2"], Object.getOwnPropertyNames(p));
})();
« test/cctest/test-debug.cc ('K') | « test/cctest/test-debug.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698