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

Issue 424693004: ServiceWorker: Add 'updatefound' and version attributes on SWRegistration (Blink) (Closed)

Created:
6 years, 4 months ago by nhiroki
Modified:
6 years, 4 months ago
Reviewers:
falken, tkent
CC:
blink-reviews, michaeln, jsbell+serviceworker_chromium.org, jamesr, tzik, serviceworker-reviews, abarth-chromium, falken, dglazkov+blink, kinuko+serviceworker, horo+watch_chromium.org, alecflett+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

ServiceWorker: Add 'updatefound' and version attributes on SWRegistration (Blink) This change... - adds 'onupdatefound' event and version attribtues (eg. '.installing') into ServiceWorkerRegistration interface. - adds WebServiceWorkerRegistrationProxy interface to talk to the registration object from embedder. [NOTE] ServiceWorkerRegistration is still disabled by the macro since Chromium side is still actively being implemented: https://codereview.chromium.org/427523002/ [Spec] https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#service-worker-registration-obj BUG=396400 TEST=compile (layout tests will be added after enabling the registration interface) Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179903

Patch Set 1 : #

Total comments: 8

Patch Set 2 : address falken's comments #

Total comments: 6

Patch Set 3 : address tkent's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -18 lines) Patch
M Source/core/events/EventTypeNames.in View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorker.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/serviceworkers/ServiceWorker.cpp View 1 2 4 chunks +24 lines, -15 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerRegistration.h View 2 chunks +21 lines, -2 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerRegistration.cpp View 1 2 4 chunks +45 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerRegistration.idl View 1 chunk +5 lines, -0 lines 0 comments Download
M public/platform/WebServiceWorkerRegistration.h View 1 chunk +3 lines, -0 lines 0 comments Download
A public/platform/WebServiceWorkerRegistrationProxy.h View 1 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
nhiroki
Hi falken, can you review this? Chromium-side patches are still actively under development, but Blink-side, ...
6 years, 4 months ago (2014-08-08 08:09:24 UTC) #1
falken
looks good https://codereview.chromium.org/424693004/diff/200001/Source/modules/serviceworkers/ServiceWorker.cpp File Source/modules/serviceworkers/ServiceWorker.cpp (right): https://codereview.chromium.org/424693004/diff/200001/Source/modules/serviceworkers/ServiceWorker.cpp#newcode145 Source/modules/serviceworkers/ServiceWorker.cpp:145: // should be changed to the ready ...
6 years, 4 months ago (2014-08-08 10:09:03 UTC) #2
nhiroki
Thanks! Updated. https://codereview.chromium.org/424693004/diff/200001/Source/modules/serviceworkers/ServiceWorker.cpp File Source/modules/serviceworkers/ServiceWorker.cpp (right): https://codereview.chromium.org/424693004/diff/200001/Source/modules/serviceworkers/ServiceWorker.cpp#newcode145 Source/modules/serviceworkers/ServiceWorker.cpp:145: // should be changed to the ready ...
6 years, 4 months ago (2014-08-08 10:36:24 UTC) #3
nhiroki
+tkent@ Hi kent-san, can you review Source/core/* and public/platform/*? Thanks!
6 years, 4 months ago (2014-08-08 10:40:43 UTC) #4
falken
lgtm
6 years, 4 months ago (2014-08-08 12:12:12 UTC) #5
tkent
lgtm https://codereview.chromium.org/424693004/diff/220001/Source/modules/serviceworkers/ServiceWorker.cpp File Source/modules/serviceworkers/ServiceWorker.cpp (right): https://codereview.chromium.org/424693004/diff/220001/Source/modules/serviceworkers/ServiceWorker.cpp#newcode142 Source/modules/serviceworkers/ServiceWorker.cpp:142: RefPtr<ServiceWorker> serviceWorker = getOrCreate(executionContext, worker); RefPtr -> RefPtrWillBeRawPtr ...
6 years, 4 months ago (2014-08-11 01:31:32 UTC) #6
nhiroki
Thank you for reviewing. https://codereview.chromium.org/424693004/diff/220001/Source/modules/serviceworkers/ServiceWorker.cpp File Source/modules/serviceworkers/ServiceWorker.cpp (right): https://codereview.chromium.org/424693004/diff/220001/Source/modules/serviceworkers/ServiceWorker.cpp#newcode142 Source/modules/serviceworkers/ServiceWorker.cpp:142: RefPtr<ServiceWorker> serviceWorker = getOrCreate(executionContext, worker); ...
6 years, 4 months ago (2014-08-11 02:26:06 UTC) #7
nhiroki
The CQ bit was checked by nhiroki@chromium.org
6 years, 4 months ago (2014-08-11 02:26:10 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nhiroki@chromium.org/424693004/260001
6 years, 4 months ago (2014-08-11 02:26:36 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_blink_rel on tryserver.blink ...
6 years, 4 months ago (2014-08-11 03:25:49 UTC) #10
commit-bot: I haz the power
6 years, 4 months ago (2014-08-11 04:05:35 UTC) #11
Message was sent while issue was closed.
Change committed as 179903

Powered by Google App Engine
This is Rietveld 408576698