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

Side by Side Diff: LayoutTests/fast/dom/adopt-node-crash-2.html

Issue 11415245: Merge 135914 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 years 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/adopt-node-crash-2-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <div>Tests for a crash due to adopting a DOM node during DOMFocusOut event. Test passes if it doesn't crash.</div> 3 <div>Tests for a crash due to adopting a DOM node during DOMFocusOut event. Test passes if it doesn't crash.</div>
4 <script> 4 <script>
5 if (window.testRunner) { 5 if (window.testRunner) {
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 testRunner.waitUntilDone(); 7 testRunner.waitUntilDone();
8 } 8 }
9 </script> 9 </script>
10 <div id="div1"></div> 10 <div id="div1"></div>
(...skipping 10 matching lines...) Expand all
21 function doit() 21 function doit()
22 { 22 {
23 div2.addEventListener("DOMFocusOut", function () { document.implementation.c reateDocument("", "", null).adoptNode(div2); }, false); 23 div2.addEventListener("DOMFocusOut", function () { document.implementation.c reateDocument("", "", null).adoptNode(div2); }, false);
24 div1.outerHTML = header1.outerHTML; 24 div1.outerHTML = header1.outerHTML;
25 if (window.testRunner) 25 if (window.testRunner)
26 testRunner.notifyDone(); 26 testRunner.notifyDone();
27 } 27 }
28 document.addEventListener("DOMContentLoaded", setTimeout("doit()", 1), false); 28 document.addEventListener("DOMContentLoaded", setTimeout("doit()", 1), false);
29 </script> 29 </script>
30 </html> 30 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/adopt-node-crash-2-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698