[Release] Webkit-EFL Ver. 2.0_beta_118996_0.6.22
[framework/web/webkit-efl.git] / LayoutTests / plugins / hidden-iframe-with-swf-plugin.html
1 <html>
2 <head>
3 <script>
4 if (window.layoutTestController) {
5     layoutTestController.waitUntilDone();
6     layoutTestController.dumpAsText();
7 }
8
9 // This was the only way that I was able to wait long enough
10 // for the test to crash while still running under DumpRenderTree(DRT).
11 window.setTimeout( "bodyLoaded();", 300);
12
13 function log(msg)
14 {
15     var span = document.createElement("span");
16     document.getElementById("console").appendChild(span);
17     span.innerHTML = msg + '<br />';
18 }
19
20 function bodyLoaded() {
21     log("PASSED");
22     if (window.layoutTestController)
23         layoutTestController.notifyDone();
24 }
25 </script>
26 </head>
27
28 <body>
29 <div style="display:none">
30   <iframe name="testiframe" id="testiframe"
31           src="resources/iframe-content-with-swf-plugin.html">
32   </iframe>
33 </div>
34 <p id="description">
35 This page tests<br/>
36 https://bugs.webkit.org/show_bug.cgi?id=56393<br/>
37 Bug 56393 - Crash on www.crave.cnet.com in FrameView::windowClipRect()<br/>
38 It contains an iframe element with display:none that loads an HTML page
39 with an object element of a .swf file. Object must be in a separate page
40 (data: scheme won't show problem).<br/>
41 If this test does not assert or crash and the line below reads "PASSED", it passes.
42 </p>
43 <div id="console"></div>
44 </body>
45 </html>