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..45abbf6d27e8e7ebe51dd3c8deaeb04475602e45 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.attributes[5].value = "no-image"; |
svgImage.parentNode.removeChild(svgImage); |
delete svgImage; |
forceGC(); |