3 <script src=
"../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../../http/tests/inspector/console-test.js"></script>
8 var worker
= new Worker("resources/worker.js");
13 InspectorTest
.addSniffer(WebInspector
.RuntimeModel
.prototype, "_executionContextCreated", contextCreated
);
14 InspectorTest
.evaluateInPage("startWorker()");
16 function contextCreated()
18 InspectorTest
.changeExecutionContext("\u2699 worker.js");
19 InspectorTest
.evaluateInConsole("\
33 InspectorTest
.expandConsoleMessages(step3
);
38 InspectorTest
.dumpConsoleMessages();
39 InspectorTest
.completeTest();
44 <body onload=
"runTest()">
45 <p>Tests exception message from eval on worker context in console contains stack trace.
</p>