4 if (window.layoutTestController) {
5 layoutTestController.waitUntilDone();
6 layoutTestController.dumpAsText();
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);
15 var span = document.createElement("span");
16 document.getElementById("console").appendChild(span);
17 span.innerHTML = msg + '<br />';
20 function bodyLoaded() {
22 if (window.layoutTestController)
23 layoutTestController.notifyDone();
29 <div style="display:none">
30 <iframe name="testiframe" id="testiframe"
31 src="resources/iframe-content-with-swf-plugin.html">
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.
43 <div id="console"></div>