blob: d0c8d2c17e5dc6c8e7dec96894589c4910f37a61 [file] [log] [blame]
function foo()
{
throw new Error();
}
function boo1()
{
foo();
}
function boo2()
{
foo();
}
onmessage = function(event) {
if (event.data === 42)
boo1();
else
boo2();
};