| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |