Chromium Code Reviews

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: fix Mozilla test Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 = [];

Powered by Google App Engine