[email protected] | ab7ffe7 | 2011-06-27 23:26:18 | [diff] [blame] | 1 | <html> |
| 2 | <head> |
| 3 | <script> |
[email protected] | f94dcec | 2012-06-15 07:38:37 | [diff] [blame] | 4 | if (window.testRunner) { |
| 5 | testRunner.waitUntilDone(); |
| 6 | testRunner.dumpAsText(); |
[email protected] | ab7ffe7 | 2011-06-27 23:26:18 | [diff] [blame] | 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"); |
[email protected] | f94dcec | 2012-06-15 07:38:37 | [diff] [blame] | 22 | if (window.testRunner) |
| 23 | testRunner.notifyDone(); |
[email protected] | ab7ffe7 | 2011-06-27 23:26:18 | [diff] [blame] | 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> |