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

Unified Diff: LayoutTests/svg/text/unpaired-surrogate-crash.html

Issue 1150383003: Don't iterate past the end of the metrics list (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/text/unpaired-surrogate-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/text/unpaired-surrogate-crash.html
diff --git a/LayoutTests/svg/text/unpaired-surrogate-crash.html b/LayoutTests/svg/text/unpaired-surrogate-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..fe4ba78b7242a11c8b80f5ffad01af707aaabc6a
--- /dev/null
+++ b/LayoutTests/svg/text/unpaired-surrogate-crash.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<svg>
+ <text y="20"></text>
+</svg>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+document.querySelector('text').textContent = 'PASS\ud9e8';
+</script>
« no previous file with comments | « no previous file | LayoutTests/svg/text/unpaired-surrogate-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698