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

Unified Diff: LayoutTests/svg/dom/set-class-attribute.html

Issue 174293005: Fix crash in which elementData() might be null. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed comments. Created 6 years, 10 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
« no previous file with comments | « no previous file | Source/core/dom/Element.cpp » ('j') | Source/core/svg/SVGAnimateElement.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/dom/set-class-attribute.html
diff --git a/LayoutTests/svg/dom/set-class-attribute.html b/LayoutTests/svg/dom/set-class-attribute.html
new file mode 100644
index 0000000000000000000000000000000000000000..5fe9aab3d59355c51f69aa6f765343e1d879facc
--- /dev/null
+++ b/LayoutTests/svg/dom/set-class-attribute.html
@@ -0,0 +1,9 @@
+<!DOCTYPE HTML>
+<html>
+<body>
+Test for crbug.com/345178: This test passes if it does not crash<br/>
+<svg>
+ <set attributename="class" />
+</svg>
+</body>
+</html>
« no previous file with comments | « no previous file | Source/core/dom/Element.cpp » ('j') | Source/core/svg/SVGAnimateElement.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698