Source code

Revision control

Copy as Markdown

Other Tools

/**
* Any copyright is dedicated to the Public Domain.
*/
onerror = function (event) {
throw "bar";
};
var count = 0;
onmessage = function (event) {
if (!count++) {
throw "foo";
}
postMessage("");
};