2 <pre id='console'
></pre>
7 document
.getElementById('console').appendChild(document
.createTextNode(message
+ "\n"));
11 var worker
= new Worker('resources/worker-navigator-hardware-concurrency.js');
12 worker
.onmessage = function(event
) {
13 if (event
.data
== 'DONE') {
14 if (window
.testRunner
)
15 testRunner
.notifyDone();
19 worker
.postMessage('');
22 if (window
.testRunner
) {
23 testRunner
.dumpAsText();
24 testRunner
.waitUntilDone();
26 window
.onload
= runTest
;