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

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 test expectation. 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..dfa58dc930edc5050ff2beb9307cc76c6ac87b78
--- /dev/null
+++ b/LayoutTests/svg/dom/set-class-attribute.html
@@ -0,0 +1,16 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<script src="../../resources/js-test.js"></script>
adamk 2014/02/24 22:58:48 Including this means you don't need...
chrishtr 2014/02/24 23:05:22 Done.
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
adamk 2014/02/24 22:58:48 ...these two lines...
chrishtr 2014/02/24 23:05:22 Done.
+</script>
+</head>
+<body>
+Test for crbug.com/345178: This test passes if it does not crash<br/>
adamk 2014/02/24 22:58:48 but this text should be passed to description()
chrishtr 2014/02/24 23:05:22 Done.
+<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