[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / LayoutTests / fast / workers / shared-worker-in-iframe.html
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)
7 {
8     document.getElementById("result").innerHTML += message + "<br>";
9 }
10
11 if (window.layoutTestController) {
12     layoutTestController.dumpAsText();
13     layoutTestController.waitUntilDone();
14 }
15
16 var worker = new SharedWorker('resources/shared-worker-count-connections.js');
17 worker.port.onmessage = function(event) {
18   if (event.data == 2) {
19     done();
20   }
21 };
22
23 function done()
24 {
25     log("DONE");
26     if (window.layoutTestController)
27         layoutTestController.notifyDone();
28 }
29 </script>
30 <iframe src='resources/shared-worker-iframe.html'></iframe>
31 </body>