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