blob: 46078c12ea42775664bd21cd574f18d9a6fd4e7d [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function foo()
{
throw new Error();
}
function bar()
{
foo();
}
function baz()
{
bar();
}
function thingy()
{
try {
baz();
} catch (e) {
if (e.constructor != Error)
throw new Error("Bad error: " + e);
}
}
for (var i = 0; i < 10000; ++i)
thingy();