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

Issue 2399063002: PlzNavigate: make ServiceWorker ForeignFetch work (Closed)

Created:
4 years, 2 months ago by clamy
Modified:
4 years, 2 months ago
Reviewers:
falken, mmenke
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, shimazu+serviceworker_chromium.org, serviceworker-reviews, jam, Randy Smith (Not in Mondays), nhiroki, blink-reviews, kinuko+serviceworker, darin-cc_chromium.org, blink-worker-reviews_chromium.org, loading-reviews_chromium.org, horo+watch_chromium.org, kinuko+watch, tzik
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: make ServiceWorker ForeignFetch work This CL fixes an issue that was preventing foreign fetch to work on subframes when browser-side-navigation was enabled. The issue was that there was no way to retrieve the ServiceWorkerContext from the navigation URLRequest, and so the ServiceWorker specified by the link header could not be registered. BUG=440463 Committed: https://crrev.com/37e10ddfe88bcf59a9f8065b16891ad0ae191f35 Cr-Commit-Position: refs/heads/master@{#423833}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -1 line) Patch
M content/browser/loader/DEPS View 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/loader/resource_request_info_impl.h View 1 3 chunks +13 lines, -0 lines 0 comments Download
M content/browser/service_worker/link_header_support.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/FlagExpectations/enable-browser-side-navigation View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 17 (10 generated)
clamy
@falken, mmenke: PTAL
4 years, 2 months ago (2016-10-06 15:45:22 UTC) #5
mmenke
On 2016/10/06 15:45:22, clamy wrote: > @falken, mmenke: PTAL LGTM, rubberstamp, deferring to falken.
4 years, 2 months ago (2016-10-06 15:50:48 UTC) #6
falken
lgtm https://codereview.chromium.org/2399063002/diff/1/content/browser/loader/resource_request_info_impl.h File content/browser/loader/resource_request_info_impl.h (right): https://codereview.chromium.org/2399063002/diff/1/content/browser/loader/resource_request_info_impl.h#newcode213 content/browser/loader/resource_request_info_impl.h:213: ServiceWorkerContextWrapper* service_worker_context) { nit: in modern Chromium style ...
4 years, 2 months ago (2016-10-07 03:49:32 UTC) #9
clamy
Thanks! https://codereview.chromium.org/2399063002/diff/1/content/browser/loader/resource_request_info_impl.h File content/browser/loader/resource_request_info_impl.h (right): https://codereview.chromium.org/2399063002/diff/1/content/browser/loader/resource_request_info_impl.h#newcode213 content/browser/loader/resource_request_info_impl.h:213: ServiceWorkerContextWrapper* service_worker_context) { On 2016/10/07 03:49:32, falken wrote: ...
4 years, 2 months ago (2016-10-07 10:01:52 UTC) #10
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/2399063002/20001
4 years, 2 months ago (2016-10-07 10:02:10 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-07 11:04:14 UTC) #15
commit-bot: I haz the power
4 years, 2 months ago (2016-10-07 11:06:15 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/37e10ddfe88bcf59a9f8065b16891ad0ae191f35
Cr-Commit-Position: refs/heads/master@{#423833}

Powered by Google App Engine
This is Rietveld 408576698