Index: test/mjsunit/es7/object-observe.js |
diff --git a/test/mjsunit/es7/object-observe.js b/test/mjsunit/es7/object-observe.js |
index 26f5503a855cb6f69e958bea58fa984c1998c54f..6b18ce74d025378761bc3696bb47184538a08d5d 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) { |