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

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: 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..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();

Powered by Google App Engine
This is Rietveld 408576698