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

Issue 210833004: Inform the client when the Service Worker rejects an install event (Closed)

Created:
6 years, 9 months ago by falken
Modified:
6 years, 9 months ago
CC:
blink-reviews, jsbell+serviceworker_chromium.org, jamesr, tzik, serviceworker-reviews, nhiroki, abarth-chromium, kinuko, falken, dglazkov+blink, horo+watch_chromium.org, alecflett+watch_chromium.org
Visibility:
Public.

Description

Inform the client when the Service Worker rejects an install event BUG=285976 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170073

Patch Set 1 #

Total comments: 6

Patch Set 2 : use WebServiceWorkerEventResult enum #

Patch Set 3 : sync #

Total comments: 5

Patch Set 4 : use m_hasError in WaitUntilObserver #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -5 lines) Patch
M Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M Source/modules/serviceworkers/WaitUntilObserver.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/WaitUntilObserver.cpp View 1 2 3 4 chunks +6 lines, -1 line 0 comments Download
M Source/web/ServiceWorkerGlobalScopeClientImpl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/web/ServiceWorkerGlobalScopeClientImpl.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
A public/platform/WebServiceWorkerEventResult.h View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M public/web/WebServiceWorkerContextClient.h View 1 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
falken
Blink-side of https://codereview.chromium.org/205563006/
6 years, 9 months ago (2014-03-25 10:30:14 UTC) #1
kinuko
almost looks good https://codereview.chromium.org/210833004/diff/1/Source/modules/serviceworkers/WaitUntilObserver.h File Source/modules/serviceworkers/WaitUntilObserver.h (right): https://codereview.chromium.org/210833004/diff/1/Source/modules/serviceworkers/WaitUntilObserver.h#newcode47 Source/modules/serviceworkers/WaitUntilObserver.h:47: bool m_error; m_hasError might be better? ...
6 years, 9 months ago (2014-03-25 11:26:50 UTC) #2
dominicc (has gone to gerrit)
DBC: There's a subtle domain shift that happens from "has error" to "is rejected", by ...
6 years, 9 months ago (2014-03-26 01:23:15 UTC) #3
falken
Thanks for the comments! I uploaded a new patch that uses an enum in public/platform, ...
6 years, 9 months ago (2014-03-26 07:26:36 UTC) #4
falken
+tkent for public/ OWNER review https://codereview.chromium.org/210833004/diff/40002/public/web/WebServiceWorkerContextClient.h File public/web/WebServiceWorkerContextClient.h (right): https://codereview.chromium.org/210833004/diff/40002/public/web/WebServiceWorkerContextClient.h#newcode87 public/web/WebServiceWorkerContextClient.h:87: didHandleInstallEvent(installEventID); Note: Using the ...
6 years, 9 months ago (2014-03-26 07:55:23 UTC) #5
tkent
lgtm https://codereview.chromium.org/210833004/diff/40002/public/platform/WebServiceWorkerEventResult.h File public/platform/WebServiceWorkerEventResult.h (right): https://codereview.chromium.org/210833004/diff/40002/public/platform/WebServiceWorkerEventResult.h#newcode2 public/platform/WebServiceWorkerEventResult.h:2: The blank line should be removed.
6 years, 9 months ago (2014-03-26 08:46:03 UTC) #6
kinuko
lgtm w/ one comment https://codereview.chromium.org/210833004/diff/40002/Source/modules/serviceworkers/WaitUntilObserver.cpp File Source/modules/serviceworkers/WaitUntilObserver.cpp (right): https://codereview.chromium.org/210833004/diff/40002/Source/modules/serviceworkers/WaitUntilObserver.cpp#newcode87 Source/modules/serviceworkers/WaitUntilObserver.cpp:87: , m_result(blink::WebServiceWorkerEventResultCompleted) nit: it feels ...
6 years, 9 months ago (2014-03-26 12:53:56 UTC) #7
falken
Thanks! https://codereview.chromium.org/210833004/diff/40002/Source/modules/serviceworkers/WaitUntilObserver.cpp File Source/modules/serviceworkers/WaitUntilObserver.cpp (right): https://codereview.chromium.org/210833004/diff/40002/Source/modules/serviceworkers/WaitUntilObserver.cpp#newcode87 Source/modules/serviceworkers/WaitUntilObserver.cpp:87: , m_result(blink::WebServiceWorkerEventResultCompleted) On 2014/03/26 12:53:56, kinuko wrote: > ...
6 years, 9 months ago (2014-03-26 14:38:32 UTC) #8
falken
The CQ bit was checked by falken@chromium.org
6 years, 9 months ago (2014-03-26 14:39:44 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/falken@chromium.org/210833004/150001
6 years, 9 months ago (2014-03-26 14:39:54 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-26 15:45:50 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-26 15:45:50 UTC) #12
falken
The CQ bit was checked by falken@chromium.org
6 years, 9 months ago (2014-03-26 15:47:02 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/falken@chromium.org/210833004/150001
6 years, 9 months ago (2014-03-26 15:47:08 UTC) #14
commit-bot: I haz the power
6 years, 9 months ago (2014-03-26 17:54:49 UTC) #15
Message was sent while issue was closed.
Change committed as 170073

Powered by Google App Engine
This is Rietveld 408576698