OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <script> | |
5 function destroyed() | |
6 { | |
7 var target = document.getElementById("target"); | |
8 target.innerHTML = "text"; | |
9 } | |
10 | |
11 function loaded() | |
12 { | |
13 if (window.testRunner) { | |
14 testRunner.dumpAsText(); | |
15 testRunner.waitUntilDone(); | |
16 } | |
17 | |
18 document.body.offsetTop; | |
19 location.href = "data:text/html,<head><scr" + "ipt>function loaded() { i
f (window.testRunner) testRunner.notifyDone(); }</scr" + "ipt></head><body onloa
d='loaded()'>Test for rdar://problem/7194735 PASSED.</body>"; | |
20 } | |
21 </script> | |
22 </head> | |
23 <body onload="loaded()"> | |
24 <p> | |
25 Test for <i><a href="rdar://problem/7194735">rdar://problem/7194735</a> Cras
hes at LayoutText::LayoutText()</i>. | |
26 </p> | |
27 <p> | |
28 This test should not crash or cause an assertion failure. | |
29 </p> | |
30 <embed type="application/x-webkit-test-netscape" ondestroy="destroyed()"> | |
31 <div id="target"></div> | |
32 </body> | |
33 </html> | |
OLD | NEW |