2 <p>Test simultaneous shared worker construction case (document + iframe).</p>
3 <p>Prints "DONE" if the test is successful</p>
8 document.getElementById("result").innerHTML += message + "<br>";
11 if (window.layoutTestController) {
12 layoutTestController.dumpAsText();
13 layoutTestController.waitUntilDone();
16 var worker = new SharedWorker('resources/shared-worker-count-connections.js');
17 worker.port.onmessage = function(event) {
18 if (event.data == 2) {
26 if (window.layoutTestController)
27 layoutTestController.notifyDone();
30 <iframe src='resources/shared-worker-iframe.html'></iframe>