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

Issue 875363002: Sort header names in Access-Control-Request-Headers (Closed)

Created:
5 years, 11 months ago by hiroshige
Modified:
5 years, 10 months ago
CC:
yhirano, blink-reviews, tyoshino+watch_chromium.org, Nate Chapin, gavinp+loader_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Sort header names in Access-Control-Request-Headers This is required by the Fetch API Spec: https://fetch.spec.whatwg.org/#cors-preflight-fetch-0 BUG=452391 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189183

Patch Set 1 #

Patch Set 2 : Add Fetch/XHR tests. Call lower() before sorting. #

Patch Set 3 : Remove unnecessary lower(). #

Patch Set 4 : Add missing expect.txt #

Total comments: 16

Patch Set 5 : tyoshino's comments #

Messages

Total messages: 13 (2 generated)
Mike West
Test?
5 years, 11 months ago (2015-01-27 10:56:49 UTC) #2
tyoshino (SeeGerritForStatus)
On 2015/01/27 10:56:49, Mike West wrote: > Test? HTTPHeaderMap is using case folding hash but ...
5 years, 11 months ago (2015-01-27 12:22:01 UTC) #3
tyoshino (SeeGerritForStatus)
On 2015/01/27 12:22:01, tyoshino wrote: > On 2015/01/27 10:56:49, Mike West wrote: > > Test? ...
5 years, 11 months ago (2015-01-27 12:22:21 UTC) #4
hiroshige
Thanks for comments! > Test? I'll add tests and update this CL later. (Actually I ...
5 years, 11 months ago (2015-01-27 13:07:31 UTC) #5
hiroshige
> > Test? Add Fetch and XHR tests. > > HTTPHeaderMap is using case folding ...
5 years, 10 months ago (2015-01-28 10:57:44 UTC) #6
Mike West
LGTM if bots are happy, thanks for adding tests.
5 years, 10 months ago (2015-01-28 11:22:44 UTC) #7
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/875363002/diff/60001/LayoutTests/http/tests/fetch/script-tests/fetch-access-control-cors.js File LayoutTests/http/tests/fetch/script-tests/fetch-access-control-cors.js (right): https://codereview.chromium.org/875363002/diff/60001/LayoutTests/http/tests/fetch/script-tests/fetch-access-control-cors.js#newcode134 LayoutTests/http/tests/fetch/script-tests/fetch-access-control-cors.js:134: // Test Access-Control-ARequest-Headers is sorted https://crbug.com/452391 ARequest -> Request ...
5 years, 10 months ago (2015-01-29 10:44:53 UTC) #8
hiroshige
https://codereview.chromium.org/875363002/diff/60001/LayoutTests/http/tests/fetch/script-tests/fetch-access-control-cors.js File LayoutTests/http/tests/fetch/script-tests/fetch-access-control-cors.js (right): https://codereview.chromium.org/875363002/diff/60001/LayoutTests/http/tests/fetch/script-tests/fetch-access-control-cors.js#newcode134 LayoutTests/http/tests/fetch/script-tests/fetch-access-control-cors.js:134: // Test Access-Control-ARequest-Headers is sorted https://crbug.com/452391 On 2015/01/29 10:44:53, ...
5 years, 10 months ago (2015-01-29 11:08:11 UTC) #9
tyoshino (SeeGerritForStatus)
lgtm
5 years, 10 months ago (2015-01-29 11:13:24 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/875363002/70001
5 years, 10 months ago (2015-01-29 11:19:00 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-01-29 12:34:34 UTC) #13
Message was sent while issue was closed.
Committed patchset #5 (id:70001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189183

Powered by Google App Engine
This is Rietveld 408576698