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

Unified Diff: test/mjsunit/arguments.js

Issue 7187007: Merge arguments branch to bleeding edge (second try). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Undelete external-array test. Created 9 years, 6 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
« no previous file with comments | « test/cctest/test-heap.cc ('k') | test/mjsunit/bugs/bug-900066.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/arguments.js
diff --git a/test/mjsunit/arguments.js b/test/mjsunit/arguments.js
index 5b57a37df5abf324f56ea32c913be73fbe6784a7..e38dcea74c4bc55e7a192978a2445c2ba57c47d2 100644
--- a/test/mjsunit/arguments.js
+++ b/test/mjsunit/arguments.js
@@ -152,8 +152,8 @@ function f6(x, y) {
return [arguments.length, arguments[0], y, arguments[2]];
}
-assertArrayEquals([0, "x", "y", void 0], f6());
-assertArrayEquals([1, "x", "y", void 0], f6(1));
+assertArrayEquals([0, void 0, void 0, void 0], f6());
+assertArrayEquals([1, "x", void 0, void 0], f6(1));
assertArrayEquals([2, "x", "y", void 0], f6(9, 17));
assertArrayEquals([3, "x", "y", 7], f6(3, 5, 7));
assertArrayEquals([4, "x", "y", "c"], f6("a", "b", "c", "d"));
« no previous file with comments | « test/cctest/test-heap.cc ('k') | test/mjsunit/bugs/bug-900066.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698