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

Unified Diff: LayoutTests/fast/forms/input-value-sanitization-expected.txt

Issue 189843008: Value sanitization for input[type=text] should not truncate a value at control character (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@bug196640
Patch Set: Removed control characters truncation logic to match firefox and IE behavior Created 6 years, 9 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
Index: LayoutTests/fast/forms/input-value-sanitization-expected.txt
diff --git a/LayoutTests/fast/forms/input-value-sanitization-expected.txt b/LayoutTests/fast/forms/input-value-sanitization-expected.txt
index a04292a46b6e58563b9eb1ee8d272b054e99d969..8f63a3643b9fe901a87829eb85dade166a12b303 100644
--- a/LayoutTests/fast/forms/input-value-sanitization-expected.txt
+++ b/LayoutTests/fast/forms/input-value-sanitization-expected.txt
@@ -18,6 +18,14 @@ Text:
PASS input.value is " foo bar "
PASS document.getSelection().toString() is " foo bar "
PASS input.value is String.fromCharCode(0xD800)
+PASS input.value is "foo\0bar"
+PASS input.value is "foo\abar"
+PASS input.value is "foo\bbar"
+PASS input.value is "foo\tbar"
+PASS input.value is "foo\vbar"
+PASS input.value is "foo\fbar"
+PASS input.value is "foo\ebar"
+PASS input.value is "foo\^?bar"
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698