5 window
.isOnErrorTest
= true;
7 <script src=
"../../resources/js-test.js"></script>
8 <script src=
"resources/onerror-test.js"></script>
11 <!-- This script's body will be used to build a Blob URL to use as a Worker. -->
12 <script id=
"workerCode" type=
"text/plain">
13 onerror = function(message, filename, lineno, colno, error) {
27 description("This tests that exceptions trigger a worker's onerror in addition to the page-level 'worker.onerror'.");
30 message
: "Uncaught ReferenceError: foo is not defined",
31 filename
: "[blob: URL]",
36 checkErrorEventInHandler({
37 message
: "Uncaught ReferenceError: foo is not defined",
38 filename
: "[blob: URL]",