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

Issue 2393503002: Don't speculatively start ServiceWorker if it doesn't have FetchEvent handler (Closed)

Created:
4 years, 2 months ago by horo
Modified:
4 years, 2 months ago
CC:
blink-worker-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, horo+watch_chromium.org, jam, jsbell+serviceworker_chromium.org, kinuko+watch, kinuko+serviceworker, michaeln, nhiroki, serviceworker-reviews, shimazu+serviceworker_chromium.org, tzik
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't speculatively start ServiceWorker if it doesn't have FetchEvent handler ServiceWorkers without FetchEvent handlers should not be started up on navigation, see https://crbug.com/616502#c38 BUG=616502, 640132 Committed: https://crrev.com/c2ace594258d2912d8732b263aabb13594fed912 Cr-Commit-Position: refs/heads/master@{#422796}

Patch Set 1 #

Patch Set 2 : add test #

Total comments: 14

Patch Set 3 : incorporated falken's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -55 lines) Patch
M chrome/browser/chrome_service_worker_browsertest.cc View 1 2 3 chunks +77 lines, -55 lines 0 comments Download
M content/browser/service_worker/service_worker_context_wrapper.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (22 generated)
horo
falken@ Could you please review this?
4 years, 2 months ago (2016-10-04 04:27:29 UTC) #7
falken
Maybe a brief justification in the CL description would help for future maintainers ("Service workers ...
4 years, 2 months ago (2016-10-04 04:50:51 UTC) #10
horo
https://codereview.chromium.org/2393503002/diff/20001/chrome/browser/chrome_service_worker_browsertest.cc File chrome/browser/chrome_service_worker_browsertest.cc (right): https://codereview.chromium.org/2393503002/diff/20001/chrome/browser/chrome_service_worker_browsertest.cc#newcode554 chrome/browser/chrome_service_worker_browsertest.cc:554: } On 2016/10/04 04:50:51, falken wrote: > nit: add ...
4 years, 2 months ago (2016-10-04 06:54:07 UTC) #16
falken
lgtm typo in CL Description "not started up" -> "not be started up"
4 years, 2 months ago (2016-10-04 07:23:52 UTC) #19
horo
jochen@ Could you please review chrome/browser/chrome_service_worker_browsertest.cc?
4 years, 2 months ago (2016-10-04 08:18:12 UTC) #24
jochen (gone - plz use gerrit)
lgtm
4 years, 2 months ago (2016-10-04 14:49:51 UTC) #25
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/2393503002/60001
4 years, 2 months ago (2016-10-04 15:04:54 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 2 months ago (2016-10-04 15:09:03 UTC) #29
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 15:11:08 UTC) #31
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c2ace594258d2912d8732b263aabb13594fed912
Cr-Commit-Position: refs/heads/master@{#422796}

Powered by Google App Engine
This is Rietveld 408576698