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

Issue 576973004: Make ServiceWorkerFetchRequest and ServiceWorkerResponse header maps case insensitive (Closed)

Created:
6 years, 3 months ago by jkarlin
Modified:
6 years, 3 months ago
Reviewers:
michaeln, Tom Sepez, jsbell, horo
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, kinuko+serviceworker, nhiroki, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, horo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Make ServiceWorkerFetchRequest and ServiceWorkerResponse header maps case insensitive When storing headers in a map the map should be case insensitive (like HTTPHeaderMap in Blink) so that headers can be easily searched for and coalesced when necessary. BUG=392621 Committed: https://crrev.com/f96d19ba7ea5be53ece63b9f6da963aaba2039c2 Cr-Commit-Position: refs/heads/master@{#296387}

Patch Set 1 #

Patch Set 2 : Missed a couple constructors #

Patch Set 3 : Rebase #

Patch Set 4 : Unit test #

Total comments: 2

Patch Set 5 : Rebase #

Patch Set 6 : Addresses comment from PS4 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -43 lines) Patch
M content/browser/service_worker/embedded_worker_test_helper.cc View 1 chunk +6 lines, -10 lines 0 comments Download
M content/browser/service_worker/service_worker_browsertest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_cache.cc View 4 chunks +5 lines, -7 lines 0 comments Download
M content/browser/service_worker/service_worker_cache_unittest.cc View 1 2 3 2 chunks +24 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_url_request_job.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_url_request_job.cc View 1 2 3 4 2 chunks +4 lines, -5 lines 0 comments Download
M content/browser/service_worker/service_worker_url_request_job_unittest.cc View 1 chunk +2 lines, -5 lines 0 comments Download
M content/common/service_worker/service_worker_types.h View 3 chunks +14 lines, -4 lines 0 comments Download
M content/common/service_worker/service_worker_types.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/service_worker/embedded_worker_context_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/service_worker/service_worker_script_context.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ipc/ipc_message_utils.h View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
jkarlin
Thanks!
6 years, 3 months ago (2014-09-18 16:52:09 UTC) #2
jsbell
lgtm, FWIW Can you add a trivial unit test that does a colliding insert (e.g. ...
6 years, 3 months ago (2014-09-22 20:55:04 UTC) #4
jkarlin
On 2014/09/22 20:55:04, jsbell wrote: > lgtm, FWIW > > Can you add a trivial ...
6 years, 3 months ago (2014-09-23 12:10:09 UTC) #5
jkarlin
Thanks jsbell! horo: please review service_worker/ tsepez: please review ipc/ jam: please review content/common/* and ...
6 years, 3 months ago (2014-09-23 12:12:57 UTC) #7
Tom Sepez
LGTM otherwise. https://codereview.chromium.org/576973004/diff/60001/ipc/ipc_message_utils.h File ipc/ipc_message_utils.h (right): https://codereview.chromium.org/576973004/diff/60001/ipc/ipc_message_utils.h#newcode367 ipc/ipc_message_utils.h:367: template <class K, class V, class C> ...
6 years, 3 months ago (2014-09-23 18:01:04 UTC) #8
Tom Sepez
> while we're at it, do we want to add a 4th parameter |class A| ...
6 years, 3 months ago (2014-09-23 18:07:08 UTC) #9
jkarlin
https://codereview.chromium.org/576973004/diff/60001/ipc/ipc_message_utils.h File ipc/ipc_message_utils.h (right): https://codereview.chromium.org/576973004/diff/60001/ipc/ipc_message_utils.h#newcode367 ipc/ipc_message_utils.h:367: template <class K, class V, class C> On 2014/09/23 ...
6 years, 3 months ago (2014-09-23 18:35:48 UTC) #10
horo
lgtm
6 years, 3 months ago (2014-09-24 02:18:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/576973004/100001
6 years, 3 months ago (2014-09-24 11:06:12 UTC) #13
commit-bot: I haz the power
Committed patchset #6 (id:100001) as e32b62d4b23bcc0a118d16695ff4136a7df59cd9
6 years, 3 months ago (2014-09-24 11:42:44 UTC) #14
commit-bot: I haz the power
6 years, 3 months ago (2014-09-24 11:43:24 UTC) #15
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f96d19ba7ea5be53ece63b9f6da963aaba2039c2
Cr-Commit-Position: refs/heads/master@{#296387}

Powered by Google App Engine
This is Rietveld 408576698