Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / workers / worker-navigator-hardware-concurrency.html
blob336ad1b3f404bb26929b80e9180d6939741f7d0d
1 <!DOCTYPE html>
2 <pre id='console'></pre>
4 <script>
5 function log(message)
7 document.getElementById('console').appendChild(document.createTextNode(message + "\n"));
10 function runTest() {
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();
16 } else
17 log(event.data);
19 worker.postMessage('');
22 if (window.testRunner) {
23 testRunner.dumpAsText();
24 testRunner.waitUntilDone();
26 window.onload = runTest;
27 </script>
28 </body>
29 </html>