Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / workers / worker-call.html
blob7f0a0e0a9368359624d1b80dfe8158a08ef56c23
1 <body>
2 <p>Test calling functions from WorkerContext. Should print multiple SUCCESS lines, followed by DONE.</p>
3 <div id=result></div>
4 <script>
6 if (window.testRunner) {
7 testRunner.dumpAsText();
8 testRunner.waitUntilDone();
11 function log(message)
13 document.getElementById("result").innerHTML += message + "<br>";
16 var worker = new Worker("resources/worker-call.js");
17 worker.onmessage = function(event) {
18 log(event.data);
19 if (event.data == "DONE") {
20 if (window.testRunner)
21 testRunner.notifyDone();
24 </script>
25 </body>