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

Unified Diff: test/mjsunit/enumeration-order.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/cctest/test-api-interceptors.cc ('k') | test/mjsunit/es6/indexed-integer-exotics.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/enumeration-order.js
diff --git a/test/mjsunit/enumeration-order.js b/test/mjsunit/enumeration-order.js
index 70942ee13c163fcaf88af54af26df55815c7385d..d2ac90485ebc31cef291d920ea1e1bf9b66a3d8e 100644
--- a/test/mjsunit/enumeration-order.js
+++ b/test/mjsunit/enumeration-order.js
@@ -71,9 +71,9 @@ proto2.a = 0;
proto2[2] = 0;
proto2[3] = 0; // also on the 'proto1' object
proto2.b = 0;
-proto2[4294967295] = 0;
+proto2[4294967294] = 0;
proto2.c = 0;
-proto2[4294967296] = 0;
+proto2[4294967295] = 0;
var proto1 = {};
proto1[5] = 0;
@@ -98,8 +98,8 @@ var expected = ['23', '42', // indexed from 'o'
'-23', '300000000000', 'f', 'g', '-4', // named from 'o'
'3', '5', // indexed from 'proto1'
'd', 'e', // named from 'proto1'
- '2', '140000', '4294967295', // indexed from 'proto2'
- 'a', 'b', 'c', '4294967296']; // named from 'proto2'
+ '2', '140000', '4294967294', // indexed from 'proto2'
+ 'a', 'b', 'c', '4294967295']; // named from 'proto2'
var actual = [];
for (var p in o) actual.push(p);
assertArrayEquals(expected, actual);
« no previous file with comments | « test/cctest/test-api-interceptors.cc ('k') | test/mjsunit/es6/indexed-integer-exotics.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698