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

Issue 1216093003: Service Worker: Migrate to version_uuid and surface ServiceWorker.id. (Blink 1/3) (Closed)

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

Description

Service Worker: Migrate to version_uuid and surface ServiceWorker.id. (Blink 1/3) Migrate ServiceWorkerVerion's int64 type version_id to std::string type version_uuid: - Replace next_avail_version_id semantic with a UUID based versioning. - Migrate leveldb schema . Deprecate INITDATA_NEXT_VERSION_ID . Change data format for ServiceWorkerResourceRecord Surface ServiceWorker.id attribute as per spec: https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#client-id-attribute Spec issue: https://github.com/slightlyoff/ServiceWorker/issues/635 Companion CL (Chromium): https://codereview.chromium.org/1221643014/ Companion CL (Blink layout test): https://codereview.chromium.org/1216933008/ BUG=470031

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -15 lines) Patch
M Source/core/fetch/FetchContext.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fetch/ResourceFetcher.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/EmptyClients.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/FrameFetchContext.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/FrameFetchContext.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/FrameLoaderClient.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/serviceworkers/ServiceWorker.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorker.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorker.idl View 1 chunk +2 lines, -1 line 0 comments Download
M Source/web/FrameLoaderClientImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/FrameLoaderClientImpl.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/web/WebSharedWorkerImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebSharedWorkerImpl.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M public/platform/WebServiceWorker.h View 1 chunk +1 line, -0 lines 0 comments Download
M public/web/WebFrameClient.h View 1 chunk +1 line, -1 line 0 comments Download
M public/web/WebServiceWorkerNetworkProvider.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (2 generated)
jungkees
PTAL
5 years, 5 months ago (2015-07-01 13:57:07 UTC) #2
lgombos
peer review looks good to me (I deffer the detailed review to OWNERS).
5 years, 5 months ago (2015-07-02 00:29:41 UTC) #3
jungkees
PTAL I think we might additionally need a dynamic db migration for running instances that's ...
5 years, 5 months ago (2015-07-02 01:22:40 UTC) #5
kinuko
I think you/we need a bit clearer transition plan? E.g. how you plan to land ...
5 years, 5 months ago (2015-07-03 14:00:04 UTC) #6
jungkees
On 2015/07/03 14:00:04, kinuko wrote: > I think you/we need a bit clearer transition plan? ...
5 years, 5 months ago (2015-07-06 06:15:39 UTC) #7
michaeln
Does exposing the id to script require changing from a sequence num to a uuid?
5 years, 5 months ago (2015-07-08 22:58:59 UTC) #8
jungkees
Using a uuid seems not a functional requirement. A serialized string of a unique number ...
5 years, 5 months ago (2015-07-09 01:35:33 UTC) #9
jungkees
5 years, 5 months ago (2015-07-24 02:06:04 UTC) #10
Message was sent while issue was closed.
Closed the CL as per the consensus at f2f to punt ServiceWorker.id to v2 or
since there's not a clear
use case yet.

Powered by Google App Engine
This is Rietveld 408576698