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