Chromium Code Reviews
DescriptionRevert of Input type url with line break and leading-trailing whitespace should be stripped. (patchset #2 id:20001 of https://codereview.chromium.org/836113002/)
Reason for revert:
Reverting this Patch, as this will break the old behavior of browser in case of user types spaces into input box type url.
It need to be discussed with wider audience, what should be the correct behavior in case of user inputting and JavaScript setting the input value, to reland this patch.
Original issue's description:
> Input type url with line break and leading-trailing whitespace should be stripped.
>
> According to spec https://html.spec.whatwg.org/multipage/forms.html#url-state-%28type=url%29,
> we have to strip the line break and leading-trailing whitespaces from the url value, so added santization
> algorithm to strip the line break and leading-trailing whitespaces.
> Firefox works according to spec and strips the linebreak and whitespaces from value.
>
> BUG=446108
>
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188106
TBR=eae@chromium.org,mlamouri@chromium.org,tkent@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=446108
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189534
Patch Set 1 #
Created: 5 years, 10 months ago
(Patch set is too large to download)
Messages
Total messages: 8 (2 generated)
|
|||||||||||||||||||||||||||||||||||||