Improve xhr/setrequestheader-content-type.htm result
Improve xhr/setrequestheader-content-type.htm result by doing two fixes: - Apply Content-Type processing steps for Documents, just like for Strings [1]. - Apply Content-Type processing steps also for empty Content-Type value [2]. This matches Firefox and WebKit. [1] https://xhr.spec.whatwg.org/#the-send()-method 4.4.1 [2] https://xhr.spec.whatwg.org/#the-send()-method 4.4 Bug: 626703 Change-Id: Ie09df6e711b04a30b6181914f3b59bb8cf4e6a49 Reviewed-on: https://chromium-review.googlesource.com/1189602Reviewed-by:Yutaka Hirano <yhirano@chromium.org> Commit-Queue: Rob Buis <rbuis@igalia.com> Cr-Commit-Position: refs/heads/master@{#587059}
Showing
Please register or sign in to comment