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

Unified Diff: LayoutTests/svg/custom/invalid-xslt-crash.svg

Issue 23103007: Avoid reparsing an XSLT stylesheet after the first failure. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 | « LayoutTests/TestExpectations ('k') | Source/core/xml/XSLStyleSheet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/custom/invalid-xslt-crash.svg
diff --git a/LayoutTests/svg/custom/invalid-xslt-crash.svg b/LayoutTests/svg/custom/invalid-xslt-crash.svg
new file mode 100644
index 0000000000000000000000000000000000000000..e212f2bb5d675e4f4c367ae4a56e9cf6a06a6300
--- /dev/null
+++ b/LayoutTests/svg/custom/invalid-xslt-crash.svg
@@ -0,0 +1,7 @@
+<?xml-stylesheet type="application/xml" href=""?>
+<svg xmlns="http://www.w3.org/2000/svg"
+ xmlns:xslt="http://www.w3.org/1999/XSL/Transform"
+ xslt:version="1.0">
+ <!-- The test passes if it doesn't crash -->
+ <xslt:attribute nnnnnnnnnnname="fill">lime</xslt:attribute>
+</svg>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/xml/XSLStyleSheet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698