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

Issue 540823003: ServiceWorker: Implement navigator.serviceWorker.getRegistration [3/3] (Closed)

Created:
6 years, 3 months ago by Kunihiko Sakamoto
Modified:
6 years, 3 months ago
Reviewers:
nhiroki, horo
CC:
blink-reviews, michaeln, jsbell+serviceworker_chromium.org, jamesr, tzik, serviceworker-reviews, abarth-chromium, falken, dglazkov+blink, kinuko+serviceworker, horo+watch_chromium.org
Project:
blink
Visibility:
Public.

Description

ServiceWorker: Implement navigator.serviceWorker.getRegistration [3/3] This completes the implementation of ServiceWorkerContainer#getRegistration(). Spec: https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#navigator-service-worker-getRegistration [1/3] https://codereview.chromium.org/553983010/ [2/3] https://codereview.chromium.org/535753002/ BUG=404951 TEST=LayoutTests/http/tests/serviceworker/getregistration.html,webkit_unit_tests Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181952

Patch Set 1 : #

Patch Set 2 : rebase #

Patch Set 3 : #

Patch Set 4 : patch for review #

Total comments: 6

Patch Set 5 : #

Total comments: 10

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -0 lines) Patch
M LayoutTests/http/tests/serviceworker/chromium/url-limits.html View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/getregistration.html View 1 2 3 4 5 1 chunk +67 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerContainer.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerContainer.cpp View 1 2 2 chunks +48 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerContainer.idl View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp View 1 2 3 4 6 chunks +60 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
Kunihiko Sakamoto
6 years, 3 months ago (2014-09-09 07:29:35 UTC) #4
nhiroki
https://codereview.chromium.org/540823003/diff/100001/LayoutTests/http/tests/serviceworker/getregistration.html File LayoutTests/http/tests/serviceworker/getregistration.html (right): https://codereview.chromium.org/540823003/diff/100001/LayoutTests/http/tests/serviceworker/getregistration.html#newcode33 LayoutTests/http/tests/serviceworker/getregistration.html:33: How about testing following cases? - getRegistration() without a ...
6 years, 3 months ago (2014-09-10 07:45:04 UTC) #5
Kunihiko Sakamoto
https://codereview.chromium.org/540823003/diff/100001/LayoutTests/http/tests/serviceworker/getregistration.html File LayoutTests/http/tests/serviceworker/getregistration.html (right): https://codereview.chromium.org/540823003/diff/100001/LayoutTests/http/tests/serviceworker/getregistration.html#newcode33 LayoutTests/http/tests/serviceworker/getregistration.html:33: On 2014/09/10 07:45:04, nhiroki wrote: > How about testing ...
6 years, 3 months ago (2014-09-10 09:34:51 UTC) #6
nhiroki
https://codereview.chromium.org/540823003/diff/120001/LayoutTests/http/tests/serviceworker/getregistration.html File LayoutTests/http/tests/serviceworker/getregistration.html (right): https://codereview.chromium.org/540823003/diff/120001/LayoutTests/http/tests/serviceworker/getregistration.html#newcode20 LayoutTests/http/tests/serviceworker/getregistration.html:20: navigator.serviceWorker.register('resources/empty-worker.js', Can you use service_worker_unregister_and_register()? If the previous test ...
6 years, 3 months ago (2014-09-11 11:30:34 UTC) #7
Kunihiko Sakamoto
https://codereview.chromium.org/540823003/diff/120001/LayoutTests/http/tests/serviceworker/getregistration.html File LayoutTests/http/tests/serviceworker/getregistration.html (right): https://codereview.chromium.org/540823003/diff/120001/LayoutTests/http/tests/serviceworker/getregistration.html#newcode20 LayoutTests/http/tests/serviceworker/getregistration.html:20: navigator.serviceWorker.register('resources/empty-worker.js', On 2014/09/11 11:30:34, nhiroki wrote: > Can you ...
6 years, 3 months ago (2014-09-12 01:32:13 UTC) #8
nhiroki
lgtm https://codereview.chromium.org/540823003/diff/120001/LayoutTests/http/tests/serviceworker/getregistration.html File LayoutTests/http/tests/serviceworker/getregistration.html (right): https://codereview.chromium.org/540823003/diff/120001/LayoutTests/http/tests/serviceworker/getregistration.html#newcode50 LayoutTests/http/tests/serviceworker/getregistration.html:50: {scope: location.href}) On 2014/09/12 01:32:13, Kunihiko Sakamoto wrote: ...
6 years, 3 months ago (2014-09-12 02:23:26 UTC) #9
nhiroki
You may want to add a test for a long url case in http/tests/serviceworker/chromium/url-limits.html.
6 years, 3 months ago (2014-09-12 07:07:54 UTC) #10
Kunihiko Sakamoto
On 2014/09/12 07:07:54, nhiroki wrote: > You may want to add a test for a ...
6 years, 3 months ago (2014-09-12 07:23:18 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/540823003/200001
6 years, 3 months ago (2014-09-13 05:11:37 UTC) #15
commit-bot: I haz the power
6 years, 3 months ago (2014-09-13 06:13:15 UTC) #16
Message was sent while issue was closed.
Committed patchset #7 (id:200001) as 181952

Powered by Google App Engine
This is Rietveld 408576698