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

Unified Diff: test/mjsunit/array-length.js

Issue 1433473003: Ship Harmony ToLength (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: add --harmony-tolength flag back into tests 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
« no previous file with comments | « test/mjsunit/array-indexing.js ('k') | test/mjsunit/es6/array-length.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/array-length.js
diff --git a/test/mjsunit/array-length.js b/test/mjsunit/array-length.js
index c2b325061bad562f53f27d22080e2d4430e32962..02103fa3713e22ee6256068f490292019036f1eb 100644
--- a/test/mjsunit/array-length.js
+++ b/test/mjsunit/array-length.js
@@ -115,7 +115,7 @@ assertEquals(20, a.length);
var o = { length: -23 };
Array.prototype.pop.apply(o);
-assertEquals(4294967272, o.length);
+assertEquals(0, o.length);
// Check case of compiled stubs.
var a = [];
« no previous file with comments | « test/mjsunit/array-indexing.js ('k') | test/mjsunit/es6/array-length.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698