Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / frames / iframe-option-crash.xhtml
blobe20684fe6dc928214758cb6372f85d1379d7f1a8
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head>
4 <script>
5 function test()
7 if (window.testRunner)
8 testRunner.waitUntilDone();
10 var frame = document.getElementsByTagName("iframe")[0];
11 var body = document.getElementById("body");
12 body.appendChild(document.getElementById("option"));
13 body.appendChild(frame);
15 document.getElementById("result").appendChild(document.createTextNode("If no crash while painting, the test passed (requires pixel test mode)."));
17 if (window.testRunner)
18 testRunner.notifyDone();
20 </script>
22 </head>
24 <body id="body" onload="test()">
25 <div id="result"></div>
26 <iframe src="javascript:55"/>
27 <option id="option"><iframe src="data:text/html,11"/></option>
28 </body>
30 </html>