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

Unified Diff: test/mjsunit/third_party/object-keys.js

Issue 193112: Added test suite adapter for es5conform. (Closed)
Patch Set: regression-test Created 11 years, 3 months 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/es5conform/harness-adapt.js ('K') | « test/es5conform/testcfg.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/third_party/object-keys.js
diff --git a/test/mjsunit/third_party/object-keys.js b/test/mjsunit/third_party/object-keys.js
index 883937d53c282a70121fb9e26713dc746f1e9332..206ee949127c6308b7e5009d21ecb1bcd8eec29a 100644
--- a/test/mjsunit/third_party/object-keys.js
+++ b/test/mjsunit/third_party/object-keys.js
@@ -49,6 +49,7 @@ assertEquals(Object.keys({__proto__:[1,2,3]}), []);
var x = [];
x.__proto__ = [1, 2, 3];
assertEquals(Object.keys(x), []);
+assertEquals(Object.keys(function () {}), []);
function argsTest(a, b, c) {
assertEquals([], Object.keys(arguments));
« test/es5conform/harness-adapt.js ('K') | « test/es5conform/testcfg.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698