[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / LayoutTests / svg / animations / smil-element-target-crash-main.html
1 <!DOCTYPE html>
2 <html>
3 <script>
4 if (window.layoutTestController) {
5     layoutTestController.dumpAsText();
6     layoutTestController.waitUntilDone();
7 }
8
9 function crash()
10 {
11     var doc = document.implementation.createDocument();
12     doc.adoptNode(object1.contentDocument.getElementsByTagName("svg")[0]);
13     delete doc;
14
15     if (window.GCController)
16         GCController.collect();
17
18     document.open();
19     document.write('PASS');
20     document.close();
21
22     if (window.layoutTestController)
23         layoutTestController.notifyDone();
24 }
25
26 function runTest()
27 {
28     setTimeout("crash()", 0);
29 }
30 </script>
31 <object data="resources/smil-element-target-crash.svg" id="object1" onload="runTest()"></object>
32 <iframe id="iframe1"></iframe>
33 </html>