Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
ion
/
bug1207413.js
blob: f66c65ab6c84d4d68dec3fd0d5d03b69da99e39a [
file
] [
log
] [
blame
]
if
(
typeof
oomAfterAllocations
!==
'function'
)
quit
();
function
first
(
a
)
{
return
a
[
0
];
}
try
{
first
([
function
()
{}]);
first
([
function
()
{}]);
oomAfterAllocations
(
50
);
first
([
function
()
{}]);
}
catch
(
e
)
{
// ignore oom
}