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

Issue 212593010: Implement the ServiceWorker "activate" event during activation (Closed)

Created:
6 years, 9 months ago by dominicc (has gone to gerrit)
Modified:
6 years, 8 months ago
Reviewers:
kinuko, jschuh
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, nhiroki, joi+watch-content_chromium.org, darin-cc_chromium.org, horo+watch_chromium.org, kinuko+watch, alecflett+watch_chromium.org
Visibility:
Public.

Description

This dispatches the "activate" event to service workers after they're installed, and will indicate that the service worker failed if it rejects a promise. BUG=356021 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260820

Patch Set 1 #

Patch Set 2 : Ready, set... #

Total comments: 8

Patch Set 3 : Remove default parameter. #

Patch Set 4 : Add a FIXME to rename OnSendMessageToBrowser. #

Patch Set 5 : Bring to ToT. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -21 lines) Patch
M content/browser/service_worker/embedded_worker_registry.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/service_worker/embedded_worker_registry.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/service_worker/embedded_worker_test_helper.h View 1 4 chunks +10 lines, -10 lines 0 comments Download
M content/browser/service_worker/embedded_worker_test_helper.cc View 1 3 chunks +19 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_browsertest.cc View 1 2 3 chunks +36 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 1 1 chunk +7 lines, -8 lines 0 comments Download
M content/common/service_worker/service_worker_messages.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M content/renderer/service_worker/embedded_worker_context_client.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/service_worker/embedded_worker_context_client.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M content/renderer/service_worker/service_worker_script_context.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/service_worker/service_worker_script_context.cc View 1 3 chunks +12 lines, -1 line 0 comments Download
A + content/test/data/service_worker/worker_activate_rejected.js View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
dominicc (has gone to gerrit)
WIP but if anyone has cycles for a sanity check, much appreciated. This dispatches the ...
6 years, 9 months ago (2014-03-27 09:24:01 UTC) #1
dominicc (has gone to gerrit)
Oops, I mean the Blink side is <https://codereview.chromium.org/214413004>.
6 years, 9 months ago (2014-03-27 09:25:10 UTC) #2
dominicc (has gone to gerrit)
PTAL This depends on the Blink side 216603003 and 214413004 going first.
6 years, 9 months ago (2014-03-28 10:34:08 UTC) #3
dominicc (has gone to gerrit)
On 2014/03/28 10:34:08, dominicc wrote: > PTAL > > This depends on the Blink side ...
6 years, 9 months ago (2014-03-28 10:35:54 UTC) #4
jschuh
My questions are more with the surrounding code than the additions. Could you provide a ...
6 years, 9 months ago (2014-03-28 21:27:29 UTC) #5
dominicc (has gone to gerrit)
Thanks jschuh, comments inline. Hmm, no response from michaeln; kinuko, could you take a look? ...
6 years, 8 months ago (2014-03-31 03:59:33 UTC) #6
kinuko
lgtm + one style nit (As for method naming I don't expect we fix it ...
6 years, 8 months ago (2014-03-31 04:31:02 UTC) #7
jschuh
lgtm for ipc security, but lets see if we can come up with something to ...
6 years, 8 months ago (2014-03-31 13:36:15 UTC) #8
dominicc (has gone to gerrit)
The CQ bit was checked by dominicc@chromium.org
6 years, 8 months ago (2014-04-01 04:17:52 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominicc@chromium.org/212593010/80001
6 years, 8 months ago (2014-04-01 04:18:02 UTC) #10
commit-bot: I haz the power
6 years, 8 months ago (2014-04-01 09:39:29 UTC) #11
Message was sent while issue was closed.
Change committed as 260820

Powered by Google App Engine
This is Rietveld 408576698