Sign in
webkit
/
WebKit
/
60c3f717a9141a0f8afd6e8437d26c6404e4424c
/
.
/
JSTests
/
stress
/
set-iterator-check-before-fail.js
blob: fb5063fe930f5cfa8c83e8e38154c48829276b35 [
file
] [
log
] [
blame
]
var
entries
=
Set
.
prototype
.
entries
;
function
test
(
set
)
{
entries
.
call
(
set
);
}
noInline
(
test
);
var
set
=
new
Set
();
for
(
var
i
=
0
;
i
<
1e6
;
++
i
)
{
test
(
set
);
}
var
array
=
[];
for
(
var
i
=
0
;
i
<
1e3
;
++
i
)
{
try
{
test
(
array
);
}
catch
{
}
}