blob: 98f7cdd2a724ecaad9a728c6998fe471e2d01d39 [file] [log] [blame]
[email protected]ab7ffe72011-06-27 23:26:181<html>
2<head>
3<script>
[email protected]f94dcec2012-06-15 07:38:374if (window.testRunner) {
5 testRunner.waitUntilDone();
6 testRunner.dumpAsText();
[email protected]ab7ffe72011-06-27 23:26:187}
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).
11window.setTimeout( "bodyLoaded();", 300);
12
13function log(msg)
14{
15 var span = document.createElement("span");
16 document.getElementById("console").appendChild(span);
17 span.innerHTML = msg + '<br />';
18}
19
20function bodyLoaded() {
21 log("PASSED");
[email protected]f94dcec2012-06-15 07:38:3722 if (window.testRunner)
23 testRunner.notifyDone();
[email protected]ab7ffe72011-06-27 23:26:1824}
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">
35This page tests<br/>
36https://bugs.webkit.org/show_bug.cgi?id=56393<br/>
37Bug 56393 - Crash on www.crave.cnet.com in FrameView::windowClipRect()<br/>
38It contains an iframe element with display:none that loads an HTML page
39with an object element of a .swf file. Object must be in a separate page
40(data: scheme won't show problem).<br/>
41If 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>