chromium/third_party/blink/web_tests/http/tests/workers/resources/worker-importScripts-source1.js

loadedSource1 = true;
postMessage("Loaded resource 1");
if (this.firstShouldThrow) {
    postMessage("First resource throwing an exception");
    throw "Thrown by first resource"
}