Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
-->
<window title="Testing the worker loader"
onload="test();">
<script type="application/javascript"
src="utils_mainthread.js"/>
<script type="application/javascript">
<![CDATA[
let worker;
let main = this;
function test() {
info("Starting test " + document.uri);
worker = new ChromeWorker("test_loading.worker.js");
SimpleTest.waitForExplicitFinish();
info("Chrome worker created");
worker_handler(worker);
worker.postMessage(document.uri);
ok(true, "Test in progress");
};
]]>
</script>
<p id="display"></p>
<div id="content" style="display:none;"></div>
<pre id="test"></pre>
</body>
<label id="test-result"/>
</window>