Index: test/mjsunit/es7/object-observe.js |
diff --git a/test/mjsunit/es7/object-observe.js b/test/mjsunit/es7/object-observe.js |
index 7bb579f0c1462b6b33ff1bc6c3229067317f2845..813b84c468f754e65e0bd48c973712fa3be81a1d 100644 |
--- a/test/mjsunit/es7/object-observe.js |
+++ b/test/mjsunit/es7/object-observe.js |
@@ -1234,8 +1234,9 @@ observer2.assertCallbackRecords([ |
// Updating length on large (slow) array |
reset(); |
-var slow_arr = new Array(1000000000); |
+var slow_arr = %NormalizeElements([]); |
slow_arr[500000000] = 'hello'; |
+slow_arr.length = 1000000000; |
Object.observe(slow_arr, observer.callback); |
var spliceRecords; |
function slowSpliceCallback(records) { |