DescriptionXHR: Lowercase header names returned by getAllResponseHeaders().
Adapt to https://github.com/whatwg/xhr/issues/109 and its related
https://github.com/whatwg/xhr/commit/ecce3904ace, which aligned some of
XHR's behavior with Fetch's.
Specifically in this case, getAllResponseHeaders() is supposed to execute
Fetch's "sort and combine" steps, which include lowercasing all header
names.
Note that this commit does not fully implement the "sort" bit: that one is
currently done only in the Fetch code, and we should instead move that part
of the code to core/ or platform/loader/ instead.
Intent to implement thread:
https://groups.google.com/a/chromium.org/d/msg/blink-dev/_oxlCPNsrck/2FePT4QaBwAJ
BUG=700434
R=mkwst@chromium.org,tyoshino@chromium.org,yhirano@chromium.org
Review-Url: https://codereview.chromium.org/2828753002
Cr-Commit-Position: refs/heads/master@{#473567}
Committed: https://chromium.googlesource.com/chromium/src/+/99c274ae8e7d366261dcfb89e0b98e733fb9d5f4
Patch Set 1 #Patch Set 2 : Rebased patch #
Messages
Total messages: 23 (13 generated)
|