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

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: Fix. 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 | LayoutTests/svg/dom/set-class-attribute-expected.txt » ('j') | no next file with comments »
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..a0a0be0c717393f79f075e35b7804685dca7382c
--- /dev/null
+++ b/LayoutTests/svg/dom/set-class-attribute.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<script src="../../resources/js-test.js"></script>
+<script>
+description("Test for crbug.com/345178: This test passes if it does not crash");
+</script>
+</head>
+<body>
+<br/>
+<svg>
+ <set attributename="class" />
+</svg>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/svg/dom/set-class-attribute-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698