Sign in
webkit
/
WebKit
/
f6013b2d8a67a21431419ad45d183d56cb11b105
/
.
/
LayoutTests
/
js
/
slow-stress
/
script-tests
/
Int32Array-alloc-large-long-lived.js
blob: 36d70ea63c449de71e5beb7414efca5349a6650b [
file
] [
log
] [
blame
]
//@ skip
var
array
=
new
Array
(
10000
);
for
(
var
i
=
0
;
i
<
1000000
;
++
i
)
array
[
i
%
array
.
length
]
=
new
Int32Array
(
1000
);
for
(
var
i
=
0
;
i
<
array
.
length
;
++
i
)
{
if
(
array
[
i
].
length
!=
1000
)
throw
"Error: bad array length: "
+
array
[
i
].
length
;
}