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

Issue 637243003: Service Worker: Obey content settings when deciding to control a page (Closed)

Created:
6 years, 2 months ago by falken
Modified:
6 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org, horo+watch_chromium.org, jam, jsbell+serviceworker_chromium.org, kinuko+serviceworker, michaeln, nhiroki, serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@content
Project:
chromium
Visibility:
Public.

Description

Service Worker: Obey content settings when deciding to control a page When AllowServiceWorker is false, don't let a worker control a new page. Existing controllees remain controlled until their tab closes. BUG=419282 Committed: https://crrev.com/32f683f577e7155103f329a0a266b1db9126bc97 Cr-Commit-Position: refs/heads/master@{#299852}

Patch Set 1 #

Patch Set 2 : consistent fmt #

Total comments: 3

Patch Set 3 : sync #

Total comments: 1

Patch Set 4 : explicit, and better log #

Messages

Total messages: 19 (8 generated)
falken
Michael, PTAL. This depends on https://codereview.chromium.org/625533002/
6 years, 2 months ago (2014-10-08 09:04:14 UTC) #2
michaeln
lgtm https://codereview.chromium.org/637243003/diff/20001/content/browser/service_worker/service_worker_controllee_request_handler.cc File content/browser/service_worker/service_worker_controllee_request_handler.cc (right): https://codereview.chromium.org/637243003/diff/20001/content/browser/service_worker/service_worker_controllee_request_handler.cc#newcode192 content/browser/service_worker/service_worker_controllee_request_handler.cc:192: "Status", status); I wonder if it makes sense ...
6 years, 2 months ago (2014-10-10 22:26:32 UTC) #3
falken
jochen: can you please review as content/browser OWNER? https://codereview.chromium.org/637243003/diff/20001/content/browser/service_worker/service_worker_controllee_request_handler.cc File content/browser/service_worker/service_worker_controllee_request_handler.cc (right): https://codereview.chromium.org/637243003/diff/20001/content/browser/service_worker/service_worker_controllee_request_handler.cc#newcode192 content/browser/service_worker/service_worker_controllee_request_handler.cc:192: "Status", ...
6 years, 2 months ago (2014-10-15 04:39:37 UTC) #6
jochen (gone - plz use gerrit)
lgtm https://codereview.chromium.org/637243003/diff/60001/content/browser/service_worker/service_worker_request_handler.cc File content/browser/service_worker/service_worker_request_handler.cc (right): https://codereview.chromium.org/637243003/diff/60001/content/browser/service_worker/service_worker_request_handler.cc#newcode32 content/browser/service_worker/service_worker_request_handler.cc:32: ServiceWorkerRequestInterceptor(ResourceContext* resource_context) explicit
6 years, 2 months ago (2014-10-15 15:26:10 UTC) #8
michaeln1
https://codereview.chromium.org/637243003/diff/20001/content/browser/service_worker/service_worker_controllee_request_handler.cc File content/browser/service_worker/service_worker_controllee_request_handler.cc (right): https://codereview.chromium.org/637243003/diff/20001/content/browser/service_worker/service_worker_controllee_request_handler.cc#newcode192 content/browser/service_worker/service_worker_controllee_request_handler.cc:192: "Status", status); On 2014/10/15 04:39:37, falken wrote: > On ...
6 years, 2 months ago (2014-10-15 19:33:05 UTC) #10
falken
Thanks for the reviews. I've added explicit and also gave better TRACE_ log output when ...
6 years, 2 months ago (2014-10-16 01:41:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/637243003/80001
6 years, 2 months ago (2014-10-16 01:43:48 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_swarming/builds/22630)
6 years, 2 months ago (2014-10-16 04:09:45 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/637243003/80001
6 years, 2 months ago (2014-10-16 04:18:18 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:80001)
6 years, 2 months ago (2014-10-16 05:34:38 UTC) #18
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 05:35:16 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/32f683f577e7155103f329a0a266b1db9126bc97
Cr-Commit-Position: refs/heads/master@{#299852}

Powered by Google App Engine
This is Rietveld 408576698