abarth@webkit.org | 9e5ef12 | 2013-02-12 01:07:33 +0000 | [diff] [blame] | 1 | <html> |
2 | <head> | ||||
3 | <script> | ||||
4 | if (window.testRunner) { | ||||
5 | testRunner.dumpAsText(); | ||||
6 | testRunner.dumpChildFramesAsText(); | ||||
7 | } | ||||
8 | |||||
9 | function runTests() { | ||||
10 | alert("PASS (1 of 3)"); | ||||
11 | var f = document.getElementById('theframe'); | ||||
12 | f.parentNode.removeChild(f); | ||||
13 | alert("PASS (2 of 3)"); | ||||
14 | } | ||||
15 | </script> | ||||
16 | </head> | ||||
17 | <body onload="runTests()"> | ||||
18 | <iframe id="theframe" src="data:text/html,FAIL"></iframe> | ||||
19 | <div> | ||||
20 | PASS (3 of 3) | ||||
21 | </div> | ||||
22 | </body> | ||||
23 | </html> |