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

Unified Diff: test/mjsunit/regress/regress-splice-large-index.js

Issue 1159433003: Use GetProperty for getting elements. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments Created 5 years, 7 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/mjsunit/regress/regress-581.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-splice-large-index.js
diff --git a/test/mjsunit/regress/regress-splice-large-index.js b/test/mjsunit/regress/regress-splice-large-index.js
index 5da17eecf1fa57699af86521adefc3fbe62a262f..1f4eb9ce59c614751ff88e2aae0dbf39db364796 100644
--- a/test/mjsunit/regress/regress-splice-large-index.js
+++ b/test/mjsunit/regress/regress-splice-large-index.js
@@ -30,6 +30,7 @@ a[0xfffffffe] = 10;
assertThrows("a.unshift(1);", RangeError);
assertEquals(0xffffffff, a.length);
assertEquals(10, a[0xffffffff]);
+assertEquals(0xffffffff, a.length);
assertEquals(undefined, a[0xfffffffe]);
a = [1,2,3];
« no previous file with comments | « test/mjsunit/regress/regress-581.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698