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