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