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

Issue 2828753002: XHR: Lowercase header names returned by getAllResponseHeaders(). (Closed)

Created:
3 years, 8 months ago by Raphael Kubo da Costa (rakuco)
Modified:
3 years, 7 months ago
CC:
chromium-reviews, blink-reviews, blink-reviews-w3ctests_chromium.org, tyoshino+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

XHR: 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)
Raphael Kubo da Costa (rakuco)
PTAL
3 years, 8 months ago (2017-04-19 15:46:38 UTC) #1
yhirano
I'm not sure if intent-to-(ship? change?) is needed for this change. I sent a email ...
3 years, 8 months ago (2017-04-20 04:49:00 UTC) #6
tyoshino (SeeGerritForStatus)
Regarding the spec side changes to cite, https://github.com/whatwg/xhr/commit/ecce3904ace0dbe382a652ea1d8e29c7885fe8c4 was the change that let XHR switch ...
3 years, 8 months ago (2017-04-20 05:47:39 UTC) #7
tyoshino (SeeGerritForStatus)
On 2017/04/20 05:47:39, tyoshino wrote: > Regarding the spec side changes to cite, > > ...
3 years, 8 months ago (2017-04-20 05:48:33 UTC) #8
tyoshino (SeeGerritForStatus)
Change looks good. Please wait for conclusion at the thread yhirano@ created.
3 years, 8 months ago (2017-04-20 09:18:00 UTC) #9
Raphael Kubo da Costa (rakuco)
Thanks, guys. Since yhirano's thread seems to indicate people would prefer an intent email to ...
3 years, 8 months ago (2017-04-20 15:10:18 UTC) #11
Raphael Kubo da Costa (rakuco)
Today I got the third required LGTM for this change, and I've now rebased the ...
3 years, 7 months ago (2017-05-22 11:17:43 UTC) #13
yhirano
lgtm
3 years, 7 months ago (2017-05-22 12:55:11 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2828753002/20001
3 years, 7 months ago (2017-05-22 13:23:44 UTC) #20
commit-bot: I haz the power
3 years, 7 months ago (2017-05-22 13:28:39 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/99c274ae8e7d366261dcfb89e0b9...

Powered by Google App Engine
This is Rietveld 408576698