Sign in
webkit
/
WebKit
/
f769e514944504ab0f19dbc22e4bc75842cebc49
/
.
/
LayoutTests
/
fast
/
workers
/
resources
/
use-machine-stack.js
blob: b3f8dc16947c481240c9a51df0ec44a634e97872 [
file
] [
log
] [
blame
]
// Try a few ways to exhaust machine stack.
function
f
()
{
arguments
.
callee
.
call
();
}
function
g
()
{
eval
(
"g()"
);
}
try
{
f
();
}
catch
(
ex
)
{
try
{
g
();
}
catch
(
ex
)
{
postMessage
(
ex
.
toString
());
}
}