Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
testBug579602.js
blob: 5871c24d46e34603e6ab800dafb9c7d02cf1bf89 [
file
] [
log
] [
blame
]
// don't panic
f
=
function
()
{
x
=
yield
}
rv
=
f
()
for
(
a in rv
)
(
function
()
{})
x
=
Proxy
.
create
((
function
()
{
return
{
defineProperty
:
gc
}
})(),
x
)
with
({
d
:
(({
x
:
Object
.
defineProperty
(
x
,
""
,
({
set
:
Array
.
e
}))
}))
})
{}
// don't crash