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

Issue 2559273005: [Fetch API] Implement combining of Headers with same keys. (Closed)

Created:
4 years ago by dhna
Modified:
4 years ago
Reviewers:
jsbell, yhirano
CC:
chromium-reviews, blink-reviews, haraken
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Fetch API] Implement combining of Headers for same keys. Currently FetchHeaderList::sortAndCombine() only sorts the list and does not combine values for the same key. This CL implements the missing part in the function. BUG=670439, 667376 Committed: https://crrev.com/da6e2412d9e3547954e1196c3b8d523be7090df6 Cr-Commit-Position: refs/heads/master@{#438615}

Patch Set 1 #

Patch Set 2 : Fix test #

Patch Set 3 : Fix test #

Patch Set 4 : String concat change from "+" to append() #

Patch Set 5 : String concat change from "+" to append #

Patch Set 6 : ', ' to ',' #

Total comments: 8

Patch Set 7 : Fix for jsbell comment. #

Total comments: 2

Patch Set 8 : Fix #

Patch Set 9 : fix #

Total comments: 2

Patch Set 10 : fix nit #

Patch Set 11 : webkit layout test fix #

Total comments: 1

Patch Set 12 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -8 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/headers.js View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +14 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/fetch/FetchHeaderList.cpp View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -2 lines 0 comments Download

Messages

Total messages: 50 (24 generated)
dhna
yhirano@ PTAL. And should I fix third_party/WebKit/LayoutTests/TestExpectations also?
4 years ago (2016-12-10 07:46:10 UTC) #3
yhirano
memo CLA: ok src/AUTHORS: ok
4 years ago (2016-12-12 08:49:17 UTC) #6
jsbell
Sorry about the delay in replying - was out of office. https://codereview.chromium.org/2559273005/diff/100001/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/headers.js File third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/headers.js (right): ...
4 years ago (2016-12-12 16:54:51 UTC) #7
dhna
On 2016/12/12 16:54:51, jsbell wrote: > Sorry about the delay in replying - was out ...
4 years ago (2016-12-12 19:56:31 UTC) #8
dhna
On 2016/12/12 19:56:31, dhna wrote: > On 2016/12/12 16:54:51, jsbell wrote: > > Sorry about ...
4 years ago (2016-12-12 20:25:55 UTC) #9
jsbell
https://codereview.chromium.org/2559273005/diff/120001/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/headers.js File third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/headers.js (right): https://codereview.chromium.org/2559273005/diff/120001/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/headers.js#newcode259 third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/headers.js:259: "The values should be combined and seperated by ',' ...
4 years ago (2016-12-12 21:00:24 UTC) #10
dhna
On 2016/12/12 21:00:24, jsbell wrote: > https://codereview.chromium.org/2559273005/diff/120001/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/headers.js > File third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/headers.js > (right): > > https://codereview.chromium.org/2559273005/diff/120001/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/headers.js#newcode259 ...
4 years ago (2016-12-12 21:39:43 UTC) #11
jsbell
lgtm with nits, but yhirano@ should definitely review as well. https://codereview.chromium.org/2559273005/diff/160001/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/headers.js File third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/headers.js (right): https://codereview.chromium.org/2559273005/diff/160001/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/headers.js#newcode252 ...
4 years ago (2016-12-12 22:38:31 UTC) #12
dhna
On 2016/12/12 22:38:31, jsbell wrote: > lgtm with nits, but yhirano@ should definitely review as ...
4 years ago (2016-12-13 01:36:48 UTC) #13
yhirano
lgtm Can you rewrite the issue description? Also, the issue title should be included in ...
4 years ago (2016-12-13 03:54:29 UTC) #14
dhna
On 2016/12/13 03:54:29, yhirano wrote: > lgtm > > Can you rewrite the issue description? ...
4 years ago (2016-12-13 04:05:53 UTC) #16
yhirano
On 2016/12/13 04:05:53, dhna wrote: > On 2016/12/13 03:54:29, yhirano wrote: > > lgtm > ...
4 years ago (2016-12-13 04:28:58 UTC) #20
dhna
On 2016/12/13 04:28:58, yhirano wrote: > On 2016/12/13 04:05:53, dhna wrote: > > On 2016/12/13 ...
4 years ago (2016-12-13 04:31:41 UTC) #22
yhirano
On 2016/12/13 04:31:41, dhna wrote: > On 2016/12/13 04:28:58, yhirano wrote: > > On 2016/12/13 ...
4 years ago (2016-12-13 04:33:18 UTC) #24
dhna
On 2016/12/13 04:33:18, yhirano wrote: > On 2016/12/13 04:31:41, dhna wrote: > > On 2016/12/13 ...
4 years ago (2016-12-13 06:54:25 UTC) #27
dhna
On 2016/12/13 06:54:25, dhna wrote: > On 2016/12/13 04:33:18, yhirano wrote: > > On 2016/12/13 ...
4 years ago (2016-12-13 08:43:33 UTC) #28
dhna
On 2016/12/13 08:43:33, dhna wrote: > On 2016/12/13 06:54:25, dhna wrote: > > On 2016/12/13 ...
4 years ago (2016-12-13 09:12:23 UTC) #29
dhna
On 2016/12/13 09:12:23, dhna wrote: > On 2016/12/13 08:43:33, dhna wrote: > > On 2016/12/13 ...
4 years ago (2016-12-13 11:13:32 UTC) #34
yhirano
https://codereview.chromium.org/2559273005/diff/200001/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/headers.js File third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/headers.js (right): https://codereview.chromium.org/2559273005/diff/200001/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/headers.js#newcode135 third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/headers.js:135: headers.append('X-FETCH-TEST', 'response test field - append'); Can you append ...
4 years ago (2016-12-13 11:14:54 UTC) #35
dhna
On 2016/12/13 11:14:54, yhirano wrote: > https://codereview.chromium.org/2559273005/diff/200001/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/headers.js > File third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/headers.js > (right): > > https://codereview.chromium.org/2559273005/diff/200001/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/headers.js#newcode135 ...
4 years ago (2016-12-13 11:48:36 UTC) #38
yhirano
lgtm
4 years ago (2016-12-13 11:56:55 UTC) #39
dhna
On 2016/12/13 11:56:55, yhirano wrote: > lgtm yhirano@ Thanks~! jsbell@ All test were passed. If ...
4 years ago (2016-12-13 13:25:33 UTC) #42
jsbell
lgtm
4 years ago (2016-12-14 16:55:35 UTC) #43
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/2559273005/220001
4 years ago (2016-12-14 19:00:45 UTC) #45
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years ago (2016-12-14 20:48:05 UTC) #48
commit-bot: I haz the power
4 years ago (2016-12-14 20:50:31 UTC) #50
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/da6e2412d9e3547954e1196c3b8d523be7090df6
Cr-Commit-Position: refs/heads/master@{#438615}

Powered by Google App Engine
This is Rietveld 408576698