Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / workers / shared-worker-in-iframe.html
blobe8d8f4bebea18fa07406812f714e5be69fc050c4
1 <body>
2 <p>Test simultaneous shared worker construction case (document + iframe).</p>
3 <p>Prints "DONE" if the test is successful</p>
4 <div id=result></div>
5 <script>
6 function log(message)
8 document.getElementById("result").innerHTML += message + "<br>";
11 if (window.testRunner) {
12 testRunner.dumpAsText();
13 testRunner.waitUntilDone();
16 var worker = new SharedWorker('resources/shared-worker-count-connections.js');
17 worker.port.onmessage = function(event) {
18 if (event.data == 2) {
19 done();
23 function done()
25 log("DONE");
26 if (window.testRunner)
27 testRunner.notifyDone();
29 </script>
30 <iframe src='resources/shared-worker-iframe.html'></iframe>
31 </body>