Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Side by Side Diff: LayoutTests/plugins/destroy-reentry.html

Issue 625073002: Merge RenderWidget into single subclass, RenderPart (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 function destroyed() 5 function destroyed()
6 { 6 {
7 var target = document.getElementById("target"); 7 var target = document.getElementById("target");
8 target.parentNode.removeChild(target); 8 target.parentNode.removeChild(target);
9 } 9 }
10 10
11 function loaded() 11 function loaded()
12 { 12 {
13 if (window.testRunner) { 13 if (window.testRunner) {
14 testRunner.dumpAsText(); 14 testRunner.dumpAsText();
15 testRunner.waitUntilDone(); 15 testRunner.waitUntilDone();
16 } 16 }
17 17
18 document.body.offsetTop; 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>"; 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 } 20 }
21 </script> 21 </script>
22 <body onload="loaded()"> 22 <body onload="loaded()">
23 <p> 23 <p>
24 Test for <i><a href="rdar://problem/6937089">rdar://problem/6937089</a> Cras hes at RenderWidget::destroy()</i>. 24 Test for <i><a href="rdar://problem/6937089">rdar://problem/6937089</a> Cras hes at RenderPart::destroy()</i>.
25 </p> 25 </p>
26 <p> 26 <p>
27 This test should not crash or cause an assertion failure. 27 This test should not crash or cause an assertion failure.
28 </p> 28 </p>
29 <div id="target"> 29 <div id="target">
30 <embed type="application/x-webkit-test-netscape" ondestroy="destroyed()"> 30 <embed type="application/x-webkit-test-netscape" ondestroy="destroyed()">
31 </div> 31 </div>
32 </body> 32 </body>
33 </html> 33 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/defer-updateFromElement-expected.txt ('k') | Source/core/accessibility/AXRenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698