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

Issue 894983002: ServiceWorker: Make "ready" fetches registration from browser process(1/3). (Closed)

Created:
5 years, 10 months ago by xiang
Modified:
5 years, 9 months ago
CC:
blink-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, nhiroki, falken, dglazkov+blink, kinuko+serviceworker, horo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

ServiceWorker: Make "ready" fetches registration from browser process(1/3). This's the Blink side patch to make ServiceWorkerContainer .ready property more align with the current spec. Before this change, "ready" could be resolved before user access it. After this change, "ready" property promise will only be created the first time accessed. And the request will be handled by browser process as the associated registration might not be the matched registration for "ready". This means now "ready" maybe resolved with a later registered longer matched registration other than the registration associated when navigation. Chrome CL: https://codereview.chromium.org/894973003/ Test: https://codereview.chromium.org/912443002/ BUG=454726 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191183

Patch Set 1 #

Patch Set 2 : add assertion #

Patch Set 3 : rename get-ready -> get-for-ready #

Patch Set 4 : disable test #

Patch Set 5 : pass the build #

Patch Set 6 : pass layout tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -0 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerContainer.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerContainer.cpp View 1 2 3 4 5 4 chunks +25 lines, -0 lines 0 comments Download
M public/platform/WebServiceWorkerProvider.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M public/platform/WebServiceWorkerProviderClient.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 26 (9 generated)
xiang
Hi, would you take a look of this? I think this's an issue, if you ...
5 years, 10 months ago (2015-02-03 09:17:33 UTC) #2
falken
Dominic should have a look at this as I remember there was some trickiness to ...
5 years, 10 months ago (2015-02-09 01:47:08 UTC) #3
dominicc (has gone to gerrit)
On 2015/02/09 at 01:47:08, falken wrote: > Dominic should have a look at this as ...
5 years, 10 months ago (2015-02-09 06:53:24 UTC) #4
xiang
Thanks for the reviews! On 2015/02/09 06:53:24, dominicc wrote: > On 2015/02/09 at 01:47:08, falken ...
5 years, 10 months ago (2015-02-09 08:29:57 UTC) #6
dominicc (has gone to gerrit)
On 2015/02/09 at 08:29:57, xiang.long wrote: > > I don't think this is user-visible behavior. ...
5 years, 10 months ago (2015-02-10 02:46:07 UTC) #7
dominicc (has gone to gerrit)
On 2015/02/10 at 02:46:07, dominicc wrote: > On 2015/02/09 at 08:29:57, xiang.long wrote: > > ...
5 years, 10 months ago (2015-02-10 03:02:13 UTC) #8
falken
This looks good to me too. Can you update the CL description to include a ...
5 years, 10 months ago (2015-02-16 08:36:57 UTC) #10
xiang
On 2015/02/16 08:36:57, falken wrote: > This looks good to me too. > > Can ...
5 years, 9 months ago (2015-02-26 06:50:28 UTC) #11
falken
lgtm
5 years, 9 months ago (2015-03-02 01:29:50 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/894983002/60001
5 years, 9 months ago (2015-03-02 08:00:48 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/28015)
5 years, 9 months ago (2015-03-02 08:16:03 UTC) #17
xiang
On 2015/03/02 08:19:27, xiang wrote: > mailto:xiang.long@intel.com changed reviewers: > + mailto:tkent@chromium.org kent@ would you ...
5 years, 9 months ago (2015-03-02 08:21:45 UTC) #19
tkent
On 2015/03/02 08:21:45, xiang wrote: > On 2015/03/02 08:19:27, xiang wrote: > > mailto:xiang.long@intel.com changed ...
5 years, 9 months ago (2015-03-02 08:26:35 UTC) #20
xiang
On 2015/03/02 08:26:35, tkent wrote: > On 2015/03/02 08:21:45, xiang wrote: > > On 2015/03/02 ...
5 years, 9 months ago (2015-03-03 07:12:10 UTC) #21
tkent
rs lgtm
5 years, 9 months ago (2015-03-03 08:09:26 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/894983002/100001
5 years, 9 months ago (2015-03-03 08:57:11 UTC) #25
commit-bot: I haz the power
5 years, 9 months ago (2015-03-03 10:17:21 UTC) #26
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=191183

Powered by Google App Engine
This is Rietveld 408576698