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

Side by Side Diff: LayoutTests/svg/custom/tref-nested-events-crash.svg

Issue 10916125: Merge 125162 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1229/
Patch Set: Created 8 years, 3 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
OLDNEW
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg onload="CFcrash()" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://w ww.w3.org/1999/xlink"> 2 <svg onload="CFcrash()" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://w ww.w3.org/1999/xlink">
3 <!-- Test for https://bugs.webkit.org/show_bug.cgi?id=93004 --> 3 <!-- Test for https://bugs.webkit.org/show_bug.cgi?id=93004 -->
4 <g id="test-body-content"> 4 <g id="test-body-content">
5 <defs> 5 <defs>
6 <text id="hello"> 6 <text id="hello">
7 <tspan id="tspan">##</tspan> 7 <tspan id="tspan">##</tspan>
8 </text> 8 </text>
9 </defs> 9 </defs>
10 10
(...skipping 13 matching lines...) Expand all
24 var tspan = document.getElementById("tspan"); 24 var tspan = document.getElementById("tspan");
25 25
26 function CFcrash() { 26 function CFcrash() {
27 test_body_content.addEventListener("DOMCharacterDataModified", function () { 27 test_body_content.addEventListener("DOMCharacterDataModified", function () {
28 try { test_body_content.parentNode.removeChild(test_body_content); } catch (e) {} 28 try { test_body_content.parentNode.removeChild(test_body_content); } catch (e) {}
29 29
30 if (window.testRunner) 30 if (window.testRunner)
31 setTimeout('testRunner.notifyDone()', 0); 31 setTimeout('testRunner.notifyDone()', 0);
32 }, false); 32 }, false);
33 document.adoptNode(tspan); 33 document.adoptNode(tspan);
34 if (window.testRunner)
35 setTimeout('testRunner.notifyDone()', 10);
34 } 36 }
35 </script> 37 </script>
36 </svg> 38 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/textarea-and-mutation-events-appending-text-expected.txt ('k') | Source/WebCore/dom/CharacterData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698