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

Issue 474193002: Migrate some tests to use ServiceWorkerRegistration.unregister() (Closed)

Created:
6 years, 4 months ago by falken
Modified:
6 years, 4 months ago
Reviewers:
nhiroki
CC:
blink-reviews, michaeln, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, tzik, serviceworker-reviews, nhiroki, falken, kinuko+serviceworker, horo+watch_chromium.org
Project:
blink
Visibility:
Public.

Description

Migrate some tests to use ServiceWorkerRegistration.unregister() ServiceWorkerContainer.unregister() is going away but the change will be done in steps. This patch updates some select tests focused on unregistration to use the new unregister() function. BUG=404064 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180354

Patch Set 1 #

Patch Set 2 : forgot a file #

Total comments: 7

Patch Set 3 : review comments #

Total comments: 4

Patch Set 4 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+307 lines, -278 lines) Patch
M LayoutTests/http/tests/serviceworker/unregister.html View 1 2 3 1 chunk +62 lines, -55 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/unregister-controller.html View 1 2 1 chunk +72 lines, -68 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/unregister-then-register.html View 1 2 7 chunks +29 lines, -155 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/unregister-then-register-new-script.html View 1 2 1 chunk +144 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
falken
PTAL
6 years, 4 months ago (2014-08-15 08:30:12 UTC) #1
nhiroki
Looks pretty good. nits only. https://codereview.chromium.org/474193002/diff/20001/LayoutTests/http/tests/serviceworker/unregister-controller.html File LayoutTests/http/tests/serviceworker/unregister-controller.html (right): https://codereview.chromium.org/474193002/diff/20001/LayoutTests/http/tests/serviceworker/unregister-controller.html#newcode61 LayoutTests/http/tests/serviceworker/unregister-controller.html:61: return registration.unregister(scope); You don't ...
6 years, 4 months ago (2014-08-15 09:53:41 UTC) #2
falken
Thanks, revised the patch. PTAL.
6 years, 4 months ago (2014-08-15 10:02:54 UTC) #3
nhiroki
lgtm https://codereview.chromium.org/474193002/diff/40001/LayoutTests/http/tests/serviceworker/unregister.html File LayoutTests/http/tests/serviceworker/unregister.html (right): https://codereview.chromium.org/474193002/diff/40001/LayoutTests/http/tests/serviceworker/unregister.html#newcode21 LayoutTests/http/tests/serviceworker/unregister.html:21: navigator.serviceWorker.register('resources/empty-worker.js', {scope: scope}) Can you wrap at 80-columns? ...
6 years, 4 months ago (2014-08-15 10:25:31 UTC) #4
falken
Thanks! Addressed comments.
6 years, 4 months ago (2014-08-15 10:42:34 UTC) #5
falken
The CQ bit was checked by falken@chromium.org
6 years, 4 months ago (2014-08-15 10:42:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/falken@chromium.org/474193002/60001
6 years, 4 months ago (2014-08-15 10:43:45 UTC) #7
commit-bot: I haz the power
6 years, 4 months ago (2014-08-15 11:44:37 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 (60001) as 180354

Powered by Google App Engine
This is Rietveld 408576698