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

Unified Diff: LayoutTests/fast/html/empty-q-crash.html

Issue 729173003: The caseConvert function should not truncate strings with zero length. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove assert Created 6 years, 1 month 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/fast/html/empty-q-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/html/empty-q-crash.html
diff --git a/LayoutTests/fast/html/empty-q-crash.html b/LayoutTests/fast/html/empty-q-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..fe98c579e2d70e6dffc898ed3ae0facf42db0e58
--- /dev/null
+++ b/LayoutTests/fast/html/empty-q-crash.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+<q lang="lt-US" style="text-transform:uppercase;"></q>
+<p>This test passes if it doesn't crash</p>
+<script>
+if (window.testRunner)
+ window.testRunner.dumpAsText();
+</script>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/html/empty-q-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698