Sign in
webkit
/
WebKit
/
fd79f2a4935c68cf089ff37005bc0c4762152d8d
/
.
/
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
;
}