Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / workers / worker-custom-event.html
blobb7e8e08af1791531e7ba0ad8a09554064e22db22
1 <body>
2 <p>Test CustomEvents on workers. Should print "SUCCESS".</p>
3 <div id=result></div>
4 <script>
5 function log(message)
7 document.getElementById("result").innerHTML += message + "<br>";
10 if (window.testRunner) {
11 testRunner.dumpAsText();
12 testRunner.waitUntilDone();
15 var worker = new Worker('resources/worker-custom-event.js');
16 worker.postMessage("");
17 worker.onmessage = function(evt) {
18 log(evt.data);
19 if (window.testRunner)
20 testRunner.notifyDone();
23 </script>
24 </body>
25 </html>