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