Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / transitions / transition-end-event-destroy-iframe.html
1 <html>
2 <head>
3   <style>
4     div {
5         border 2px solid blue;
6     }
7   </style>
8   <script>
9     if (window.testRunner) {
10         testRunner.dumpAsText();
11         testRunner.waitUntilDone();
12     }
13     
14     function testFinished() {
15         p = document.getElementById("parent");
16         f = document.getElementById("frame");
17         p.removeChild(f);
18         if (window.GCController)
19             GCController.collect();
20         document.getElementById('results').innerHTML = 'Did not crash, so PASSED';
21         
22         if (window.testRunner)
23             testRunner.notifyDone();
24     };
25   </script>
26 </head>
27 <body>
28
29 <p>Tests element removal and hiding in webkitTransitionEnd event handler. Should not crash.</p>
30
31 <div id="parent">
32     <iframe id="frame" src="resources/transition-end-event-destroy-iframe-inner.html" width="400px" height="400px"></iframe>
33 </div>
34 <div id="results"></div>
35 </body>
36 </html>