Align FormData CRLF normalization behavior with standards
According to xhr spec[1], no CRLF normalize operation need to be performed when invoking FormData methods, so all normalization call is removed in this commit. But in form sepc[2], when appending data from form controls to FormData, both name and value should be normalized. New methods |FormData::AppendFromElement| will perform the normalize operation. [1] https://xhr.spec.whatwg.org/#dom-formdata-append [2] https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#append-an-entry BUG=798030 Change-Id: If90a8e500705013c2935e5290624d4414dd32a72 Reviewed-on: https://chromium-review.googlesource.com/1091238Reviewed-by:Kent Tamura <tkent@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#566723}
Showing
Please register or sign in to comment