Sign in
webkit
/
WebKit
/
90848d1a03498139e72a756e822580544ca9d408
/
.
/
JSTests
/
stress
/
proxy-proto-enumerator.js
blob: d26aad0fb656c03a10d36596c87fdcb59e1f2d07 [
file
] [
log
] [
blame
]
//@ requireOptions("--forceEagerCompilation=true", "--useConcurrentJIT=false")
function
main
()
{
const
foo
=
{
x
:
0
};
foo
.
__proto__
=
new
Proxy
({},
{
ownKeys
()
{
return
[];
}
});
for
(
const
x in foo
)
{
}
}
for
(
let i
=
0
;
i
<
0x1000
;
i
++)
main
();