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

Issue 564773004: Fix conversion to WebServiceWorkerResponse headers. (Closed)

Created:
6 years, 3 months ago by jkarlin
Modified:
6 years, 3 months ago
CC:
abarth-chromium, blink-reviews, dglazkov+blink, falken, horo+watch_chromium.org, jamesr, jsbell+serviceworker_chromium.org, kinuko+serviceworker, michaeln, nhiroki, serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Fix conversion to WebServiceWorkerResponse headers. When converting from Response headers to WebServiceWorkerResponse headers the fields aren't coalesced. This CL adds coalescing by using appendHeader instead of setHeader. A similar CL for WebServiceWorkerRequest headers is here: https://codereview.chromium.org/578763003 BUG=415109 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182364

Patch Set 1 #

Patch Set 2 : Be Blinky #

Patch Set 3 : Rebase #

Patch Set 4 : Lowercase test headers #

Patch Set 5 : Remove lower restriction, use HTTPHeaderMap in WebServiceWorkerResponse #

Patch Set 6 : Added xhr end-to-end test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -18 lines) Patch
A + LayoutTests/http/tests/serviceworker/fetch-response-xhr.html View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/resources/fetch-response-xhr-iframe.html View 1 2 3 4 5 1 chunk +33 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/resources/fetch-response-xhr-worker.js View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/FetchResponseData.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/serviceworkers/Response.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/exported/WebServiceWorkerResponse.cpp View 1 2 3 4 5 chunks +14 lines, -10 lines 0 comments Download
M public/platform/WebServiceWorkerResponse.h View 1 2 3 4 3 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
jkarlin
Thanks!
6 years, 3 months ago (2014-09-17 14:12:58 UTC) #2
jkarlin
jochen@chromium.org: Please review changes in the platform/ directories. Thanks!
6 years, 3 months ago (2014-09-17 14:19:04 UTC) #4
horo
On 2014/09/17 14:12:58, jkarlin wrote: > Thanks! Could you please add LayoutTest using XMLHttpRequest's getResponseHeader?
6 years, 3 months ago (2014-09-17 21:55:18 UTC) #5
jkarlin
On 2014/09/17 21:55:18, horo wrote: > On 2014/09/17 14:12:58, jkarlin wrote: > > Thanks! > ...
6 years, 3 months ago (2014-09-18 14:25:04 UTC) #6
jkarlin
I've removed the lower() restriction. PTAL.
6 years, 3 months ago (2014-09-18 14:25:35 UTC) #7
jochen (gone - plz use gerrit)
lgtm, but please wait for horo's lgtm as well
6 years, 3 months ago (2014-09-18 18:36:49 UTC) #8
horo
On 2014/09/18 14:25:04, jkarlin wrote: > On 2014/09/17 21:55:18, horo wrote: > > On 2014/09/17 ...
6 years, 3 months ago (2014-09-19 03:21:26 UTC) #9
jkarlin
On 2014/09/19 03:21:26, horo wrote: > On 2014/09/18 14:25:04, jkarlin wrote: > > On 2014/09/17 ...
6 years, 3 months ago (2014-09-19 19:30:53 UTC) #10
horo
lgtm Thank you!
6 years, 3 months ago (2014-09-20 01:35:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/564773004/100001
6 years, 3 months ago (2014-09-20 02:05:02 UTC) #13
commit-bot: I haz the power
6 years, 3 months ago (2014-09-20 02:11:24 UTC) #14
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as 182364

Powered by Google App Engine
This is Rietveld 408576698