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

Unified Diff: third_party/WebKit/LayoutTests/svg/text/invalid-glyph-crash.html

Issue 2063813003: Guard against invalid glyph shaping results (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 6 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 | third_party/WebKit/LayoutTests/svg/text/invalid-glyph-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/svg/text/invalid-glyph-crash.html
diff --git a/third_party/WebKit/LayoutTests/svg/text/invalid-glyph-crash.html b/third_party/WebKit/LayoutTests/svg/text/invalid-glyph-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..4fb6c69a5b0eb206b550d99a307e27e01c957ed1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/text/invalid-glyph-crash.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<p>This test passes if the text says PASS followed by a U+180E (Mongolian vowel separator).</p>
+<svg width="200" height="200">
+ <text y="20">PASS&#x180e;</text>
+</svg>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/text/invalid-glyph-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698