4 <script src=
"../../resources/js-test.js"></script>
8 description("This tests that errors from nested importScripts have the expected provenance.");
10 self
.jsTestIsAsync
= true;
12 var worker
= startWorker("resources/importScripts-1.js");
14 worker
.onerror = function (e
) {
16 shouldBeEqualToString("event.type", "error");
17 shouldBeTrue("event.filename.indexOf('invalidScript.js') >= 0");