Sign in
webkit
/
WebKit
/
9a43d7e8bb9093ccc493831ef3377ee933abb11e
/
.
/
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
());
}
}