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

Side by Side 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: Updated as per review comments 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 unified diff | Download patch
OLDNEW
1 Tests for value sanitization algorithm. 1 Tests for value sanitization algorithm.
2 2
3 3
4 Email with multiple: 4 Email with multiple:
5 PASS input.value is "tkent@chromium.org,tkent@example.!!!" 5 PASS input.value is "tkent@chromium.org,tkent@example.!!!"
6 Email without multiple: 6 Email without multiple:
7 PASS input.value is "tkent@chromium.org, tkent@example.***" 7 PASS input.value is "tkent@chromium.org, tkent@example.***"
8 8
9 Number: 9 Number:
10 PASS input.value is "65536" 10 PASS input.value is "65536"
11 PASS input.value = "256"; input.value is "256" 11 PASS input.value = "256"; input.value is "256"
12 PASS input.value = ""; input.value is "" 12 PASS input.value = ""; input.value is ""
13 13
14 Range: 14 Range:
15 PASS input.value is "50" 15 PASS input.value is "50"
16 16
17 Text: 17 Text:
18 PASS input.value is " foo bar " 18 PASS input.value is " foo bar "
19 PASS document.getSelection().toString() is " foo bar " 19 PASS document.getSelection().toString() is " foo bar "
20 PASS input.value is String.fromCharCode(0xD800) 20 PASS input.value is String.fromCharCode(0xD800)
21 PASS input.value is "foo\u0000bar"
22 PASS input.value is "foo\bbar"
23 PASS input.value is "foo\tbar"
24 PASS input.value is "foo\u000bbar"
25 PASS input.value is "foo\fbar"
21 PASS successfullyParsed is true 26 PASS successfullyParsed is true
22 27
23 TEST COMPLETE 28 TEST COMPLETE
24 29
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/input-value-sanitization.html ('k') | LayoutTests/fast/forms/paste-multiline-text-input.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698