3 <p>Test worker fetch of blocked url. Should print a "PASS" statement.</p>
6 if (window.layoutTestController)
7 layoutTestController.dumpAsText();
11 document.getElementById("result").innerHTML += message + "<br>";
15 // DumpRenderTree allows a request to this url, but then blocks it
16 // during the "willSendRequest" callback (which caused a crash).
17 // In a browser, this will throw a security exception.
18 new Worker("http://example.com/worker.js");
24 new SharedWorker("http://example.com/worker.js");