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

Issue 205563006: Add a status code to install event handled message from Service Worker (Closed)

Created:
6 years, 9 months ago by falken
Modified:
6 years, 9 months ago
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

Add a status code to install event handled message from Service Worker The Service Worker can reject an install event by passing a promise to waitUntil that is rejected. This patch allows handling for this situation. This patch depends on the Blink change: https://codereview.chromium.org/210833004/ BUG=285976 R=jam@chromium.org, kinuko@chromium.org, tkent@chromium.org, tsepez@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260356

Patch Set 1 #

Total comments: 10

Patch Set 2 : use enum and other review comments #

Patch Set 3 : sync #

Patch Set 4 : fix expected -> expected_status #

Total comments: 2

Patch Set 5 : add comment and fix alphabetical ordering #

Total comments: 1

Messages

Total messages: 20 (0 generated)
falken
PTL This will be a three-sided change: 1) Chrome: This patch 2) Blink: https://codereview.chromium.org/210833004/ 3) ...
6 years, 9 months ago (2014-03-25 10:29:44 UTC) #1
kinuko
looks good. https://codereview.chromium.org/205563006/diff/1/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/205563006/diff/1/content/browser/service_worker/service_worker_version.cc#newcode88 content/browser/service_worker/service_worker_version.cc:88: void HandleInstallEventFinished(base::WeakPtr<ServiceWorkerVersion> version, I think we'll want ...
6 years, 9 months ago (2014-03-25 11:16:48 UTC) #2
kinuko
https://codereview.chromium.org/205563006/diff/1/content/common/service_worker/service_worker_messages.h File content/common/service_worker/service_worker_messages.h (right): https://codereview.chromium.org/205563006/diff/1/content/common/service_worker/service_worker_messages.h#newcode84 content/common/service_worker/service_worker_messages.h:84: int /* active_version_embedded_worker_id */) While you're there can we ...
6 years, 9 months ago (2014-03-25 11:18:42 UTC) #3
dominicc (has gone to gerrit)
DBC https://codereview.chromium.org/205563006/diff/1/content/browser/service_worker/service_worker_browsertest.cc File content/browser/service_worker/service_worker_browsertest.cc (right): https://codereview.chromium.org/205563006/diff/1/content/browser/service_worker/service_worker_browsertest.cc#newcode221 content/browser/service_worker/service_worker_browsertest.cc:221: ServiceWorkerStatusCode expected) { Would it be better to ...
6 years, 9 months ago (2014-03-26 01:28:00 UTC) #4
falken
Thanks for the reviews. https://codereview.chromium.org/205563006/diff/1/content/browser/service_worker/service_worker_browsertest.cc File content/browser/service_worker/service_worker_browsertest.cc (right): https://codereview.chromium.org/205563006/diff/1/content/browser/service_worker/service_worker_browsertest.cc#newcode221 content/browser/service_worker/service_worker_browsertest.cc:221: ServiceWorkerStatusCode expected) { On 2014/03/26 ...
6 years, 9 months ago (2014-03-26 07:53:56 UTC) #5
kinuko
lgtm https://codereview.chromium.org/205563006/diff/110001/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/205563006/diff/110001/content/browser/service_worker/service_worker_version.cc#newcode26 content/browser/service_worker/service_worker_version.cc:26: struct HandleInstallPhaseEventFinishedParameters { Ah this starts looking a ...
6 years, 9 months ago (2014-03-27 09:21:21 UTC) #6
falken
Thanks! Can OWNERS please review? jam: content/ tsepez: messages/ This adds an exception to content/common/DEPS. ...
6 years, 9 months ago (2014-03-27 11:13:17 UTC) #7
jam
lgtm
6 years, 9 months ago (2014-03-27 17:10:23 UTC) #8
Tom Sepez
Messages LGTM.
6 years, 9 months ago (2014-03-27 17:45:13 UTC) #9
falken
The CQ bit was checked by falken@chromium.org
6 years, 9 months ago (2014-03-27 23:22:16 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/falken@chromium.org/205563006/140001
6 years, 9 months ago (2014-03-27 23:23:38 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-27 23:54:54 UTC) #12
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=58141
6 years, 9 months ago (2014-03-27 23:54:55 UTC) #13
falken
tkent: can you approve the DEPS change as public/platform OWNER?
6 years, 9 months ago (2014-03-28 00:01:46 UTC) #14
tkent
https://codereview.chromium.org/205563006/diff/140001/content/common/DEPS File content/common/DEPS (right): https://codereview.chromium.org/205563006/diff/140001/content/common/DEPS#newcode26 content/common/DEPS:26: "+third_party/WebKit/public/platform/WebServiceWorkerEventResult.h", This is a simple enum header. lgtm.
6 years, 9 months ago (2014-03-28 00:49:46 UTC) #15
falken
The CQ bit was checked by falken@chromium.org
6 years, 9 months ago (2014-03-28 01:05:52 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/falken@chromium.org/205563006/140001
6 years, 9 months ago (2014-03-28 01:06:19 UTC) #17
falken
The CQ bit was unchecked by falken@chromium.org
6 years, 9 months ago (2014-03-28 21:45:19 UTC) #18
falken
The CQ bit was checked by falken@chromium.org
6 years, 9 months ago (2014-03-28 21:45:44 UTC) #19
falken
6 years, 9 months ago (2014-03-29 04:09:09 UTC) #20
Message was sent while issue was closed.
Committed patchset #5 manually as r260356 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698