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

Unified Diff: LayoutTests/fast/forms/paste-multiline-text-input.html

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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/forms/paste-multiline-text-input.html
diff --git a/LayoutTests/fast/forms/paste-multiline-text-input.html b/LayoutTests/fast/forms/paste-multiline-text-input.html
index f5f643c29cdd0d1fe6e708dd208c2d80dfddd8bf..dd3b23a2ac22d85be268a10977144cbd87e9a811 100644
--- a/LayoutTests/fast/forms/paste-multiline-text-input.html
+++ b/LayoutTests/fast/forms/paste-multiline-text-input.html
@@ -12,10 +12,8 @@
var DEFAULT_LINE_1 = "line\t(1 of 2)\r\nline\t(2 of 2)";
var EXPECTED_LINE_1 = "line\t(1 of 2) line\t(2 of 2)";
- // FIXME: Is this really expected behavior to truncate the string at a null byte?
- // It doesn't match Firefox 4 and common sense.
var DEFAULT_LINE_2 = "null\0char";
- var EXPECTED_LINE_2 = "null";
+ var EXPECTED_LINE_2 = "null\0char";
var DEFAULT_LINE_3 = "line with trailing newlines\r\n\r\n";
var EXPECTED_LINE_3 = "line with trailing newlines";
« no previous file with comments | « LayoutTests/fast/forms/input-value-sanitization-expected.txt ('k') | Source/core/html/forms/TextFieldInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698