| OLD | NEW |
| 1 <iframe src="resources/crash-textPath-attributes-iframe.svg" onload="go(this)"><
/iframe> | 1 <iframe src="resources/crash-textPath-attributes-iframe.svg" onload="go(this)"><
/iframe> |
| 2 <script> | 2 <script> |
| 3 if (window.layoutTestController) | 3 if (window.layoutTestController) |
| 4 layoutTestController.dumpAsText(); | 4 layoutTestController.dumpAsText(); |
| 5 | 5 |
| 6 function go(oIframe) { | 6 function go(oIframe) { |
| 7 var oSelection = oIframe.contentWindow.getSelection(); | 7 var oSelection = oIframe.contentWindow.getSelection(); |
| 8 oSelection.selectAllChildren(oIframe.contentDocument); | 8 oSelection.selectAllChildren(oIframe.contentDocument); |
| 9 oSelection.deleteFromDocument(); | 9 oSelection.deleteFromDocument(); |
| 10 } | 10 } |
| 11 </script> | 11 </script> |
| 12 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=62439">Update SVG p
osition values on SVG DOM updates</a></p> | 12 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=62439">Update SVG p
osition values on SVG DOM updates</a></p> |
| 13 <p>This test PASSES if he does not crash</p> | 13 <p>This test PASSES if he does not crash</p> |
| OLD | NEW |