Chromium Code Reviews| Index: LayoutTests/svg/custom/image-with-attr-change-after-delete-crash.html |
| diff --git a/LayoutTests/svg/custom/image-with-attr-change-after-delete-crash.html b/LayoutTests/svg/custom/image-with-attr-change-after-delete-crash.html |
| index 228b4aedeae37d66599cf333771b7d24636ee2fc..7ae226a2e26b9945e559b45e4494fd012afbe6e6 100644 |
| --- a/LayoutTests/svg/custom/image-with-attr-change-after-delete-crash.html |
| +++ b/LayoutTests/svg/custom/image-with-attr-change-after-delete-crash.html |
| @@ -22,7 +22,7 @@ |
| setTimeout("crash()", 0); |
| function crash() { |
| - svgImage.attributes[5].replaceChild(newTextNode, svgImage.attributes[5].childNodes[0]); |
| + svgImage.href.baseVal = "no-image"; |
|
davve
2015/05/28 14:32:14
Nit: may want to change href through .value to get
philipj_slow
2015/05/28 15:28:36
Done.
|
| svgImage.parentNode.removeChild(svgImage); |
| delete svgImage; |
| forceGC(); |