Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
bug677957-2.js
blob: 7778dd02a7941f5bb91ccfce408b5663c6f996eb [
file
] [
log
] [
blame
]
var
x
=
{
f
:
1
,
g
:
0
};
function
f
()
{
for
each
(
new
f
().
nosuch
.
prop in x
)
throw
'FAIL'
;
}
var
e
;
try
{
f
();
}
catch
(
exc
)
{
e
=
exc
;
}
assertEq
(
e instanceof
InternalError
,
true
);