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

Issue 2931033005: Small fixes for Servicified SW code path (Closed)

Created:
3 years, 6 months ago by kinuko
Modified:
3 years, 6 months ago
Reviewers:
falken
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, nasko+codewatch_chromium.org, creis+watch_chromium.org, mlamouri+watch-content_chromium.org, shimazu+serviceworker_chromium.org, serviceworker-reviews, nhiroki, kinuko+serviceworker, horo+watch_chromium.org, darin-cc_chromium.org, kinuko+watch, tzik, blink-worker-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Small fixes for Servicified SW code path - Add ServiceWorkerUtils::IsServicificationEnabled() for easier check. Currently this simply internally check --enable-network-service && PlzNavigate enabled. - Disable request interception via Network provider if servicified code path is enabled (temporarily; otherwise various DCHECK could fail) - Small fixes in ServiceWorkerURLLoaderJob BUG=715640 Review-Url: https://codereview.chromium.org/2931033005 Cr-Commit-Position: refs/heads/master@{#478548} Committed: https://chromium.googlesource.com/chromium/src/+/15a31111592e8676f488b42c39007ea6e2679ed4

Patch Set 1 #

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -5 lines) Patch
M content/browser/service_worker/service_worker_url_loader_job.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M content/child/service_worker/service_worker_network_provider.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/service_worker/service_worker_utils.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/service_worker/service_worker_utils.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 4 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (12 generated)
kinuko
PTL
3 years, 6 months ago (2017-06-12 00:49:22 UTC) #7
falken
lgtm https://codereview.chromium.org/2931033005/diff/20001/content/common/service_worker/service_worker_utils.h File content/common/service_worker/service_worker_utils.h (right): https://codereview.chromium.org/2931033005/diff/20001/content/common/service_worker/service_worker_utils.h#newcode53 content/common/service_worker/service_worker_utils.h:53: Maybe a lightweight comment like: "Returns true if ...
3 years, 6 months ago (2017-06-12 01:10:37 UTC) #10
kinuko
Thanks!
3 years, 6 months ago (2017-06-12 02:15:35 UTC) #11
kinuko
https://codereview.chromium.org/2931033005/diff/20001/content/common/service_worker/service_worker_utils.h File content/common/service_worker/service_worker_utils.h (right): https://codereview.chromium.org/2931033005/diff/20001/content/common/service_worker/service_worker_utils.h#newcode53 content/common/service_worker/service_worker_utils.h:53: On 2017/06/12 01:10:36, falken wrote: > Maybe a lightweight ...
3 years, 6 months ago (2017-06-12 02:16:51 UTC) #12
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/2931033005/40001
3 years, 6 months ago (2017-06-12 02:17:28 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/15a31111592e8676f488b42c39007ea6e2679ed4
3 years, 6 months ago (2017-06-12 03:57:41 UTC) #18
jam
FYI this started to make ServiceWorkerDisableWebSecurityTest.RegisterNoCrash ServiceWorkerDisableWebSecurityTest.GetRegistrationNoCrash fail with --enable-network-service, see https://build.chromium.org/p/chromium.fyi/builders/Mojo%20Linux/builds/2012
3 years, 6 months ago (2017-06-12 15:26:54 UTC) #19
kinuko
On 2017/06/12 15:26:54, jam wrote: > FYI this started to make > ServiceWorkerDisableWebSecurityTest.RegisterNoCrash > ServiceWorkerDisableWebSecurityTest.GetRegistrationNoCrash ...
3 years, 6 months ago (2017-06-13 01:10:21 UTC) #20
kinuko
On 2017/06/13 01:10:21, kinuko wrote: > On 2017/06/12 15:26:54, jam wrote: > > FYI this ...
3 years, 6 months ago (2017-06-13 05:28:45 UTC) #21
jam
On 2017/06/13 05:28:45, kinuko wrote: > On 2017/06/13 01:10:21, kinuko wrote: > > On 2017/06/12 ...
3 years, 6 months ago (2017-06-13 17:15:51 UTC) #22
kinuko
3 years, 6 months ago (2017-06-14 07:51:02 UTC) #23
Message was sent while issue was closed.
On 2017/06/13 17:15:51, jam (ooo 6-14 - 6-20) wrote:
> On 2017/06/13 05:28:45, kinuko wrote:
> > On 2017/06/13 01:10:21, kinuko wrote:
> > > On 2017/06/12 15:26:54, jam wrote:
> > > > FYI this started to make
> > > > ServiceWorkerDisableWebSecurityTest.RegisterNoCrash
> > > > ServiceWorkerDisableWebSecurityTest.GetRegistrationNoCrash
> > > > fail with --enable-network-service, see
> > > >
> https://build.chromium.org/p/chromium.fyi/builders/Mojo%20Linux/builds/2012
> > > 
> > > Will take a look...
> > 
> > Ok, mojo.fyi.network_content_browsertests.filter is the one I should look?
> 
> Yep I updated it to green the bot in the meantime.

Fyi, updating it again for the fix: https://codereview.chromium.org/2937903002/

Powered by Google App Engine
This is Rietveld 408576698