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