| OLD | NEW | 
 | (Empty) | 
|   1 <!DOCTYPE html> |  | 
|   2 <html> |  | 
|   3 <head> |  | 
|   4 <script> |  | 
|   5     function destroyed() |  | 
|   6     { |  | 
|   7         var target = document.getElementById("target"); |  | 
|   8         target.parentNode.removeChild(target); |  | 
|   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/6937089 PASSED.</body>"; |  | 
|  20     } |  | 
|  21 </script> |  | 
|  22 <body onload="loaded()"> |  | 
|  23 <p> |  | 
|  24     Test for <i><a href="rdar://problem/6937089">rdar://problem/6937089</a> Cras
    hes at LayoutPart::destroy()</i>. |  | 
|  25 </p> |  | 
|  26 <p> |  | 
|  27     This test should not crash or cause an assertion failure. |  | 
|  28 </p> |  | 
|  29 <div id="target"> |  | 
|  30     <embed type="application/x-webkit-test-netscape" ondestroy="destroyed()"> |  | 
|  31 </div> |  | 
|  32 </body> |  | 
|  33 </html> |  | 
| OLD | NEW |