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

Unified Diff: LayoutTests/svg/custom/image-with-attr-change-after-delete-crash.html

Issue 1158433004: Remove Attr child nodes (making Attr a Node, not a ContainerNode) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address feedback Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698