Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
gc
/
bug-978802.js
blob: 33c2012ec102747703213b2d063cd2f35dcdba65 [
file
] [
log
] [
blame
]
if
(!(
'oomTest'
in
this
))
quit
();
oomTest
(()
=>
{
try
{
var
max
=
400
;
function
f
(
b
)
{
if
(
b
)
{
f
(
b
-
1
);
}
else
{
g
=
{};
}
g
.
apply
(
null
,
arguments
);
}
f
(
max
-
1
);
}
catch
(
exc0
)
{}
f
();
});