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

Issue 416003003: Test for register canceling an unregister. (Closed)

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

Description

Service Worker: Tests for unregister then register These are tests for the Chromium patch r288994: https://codereview.chromium.org/413063004 Our current shortcomings are: - New-scope registration overrides the existing registration. This is an existing bug: https://code.google.com/p/chromium/issues/detail?id=398355 - register() should wait before resolving if docs are using an unregistered registration. This is a new spec requirement. - We don't do "early-rejection" described by https://github.com/slightlyoff/ServiceWorker/issues/396. Also a new spec requirement. BUG=388095 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180141

Patch Set 1 #

Patch Set 2 : update test #

Total comments: 2

Patch Set 3 : fix test #

Patch Set 4 : more tests #

Total comments: 2

Patch Set 5 : fix test #

Patch Set 6 : repurpose patch to assert what we currently do #

Total comments: 1

Patch Set 7 : revise again for new patch #

Patch Set 8 : sync #

Patch Set 9 : sync #

Patch Set 10 : mostly formatting fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+284 lines, -3 lines) Patch
A LayoutTests/http/tests/serviceworker/resources/reject-install-worker.js View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/resources/test-helpers.js View 1 2 3 4 5 6 7 8 9 2 chunks +14 lines, -3 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/unregister-controller.html View 1 2 3 4 5 6 1 chunk +26 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/unregister-then-register.html View 1 2 3 4 5 6 1 chunk +241 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
falken
Test for https://codereview.chromium.org/413063004/ https://codereview.chromium.org/416003003/diff/60001/LayoutTests/http/tests/serviceworker/unregister-controller.html File LayoutTests/http/tests/serviceworker/unregister-controller.html (right): https://codereview.chromium.org/416003003/diff/60001/LayoutTests/http/tests/serviceworker/unregister-controller.html#newcode121 LayoutTests/http/tests/serviceworker/unregister-controller.html:121: // FIXME: Failing expectation. I think ...
6 years, 4 months ago (2014-07-28 12:23:23 UTC) #1
falken
https://codereview.chromium.org/416003003/diff/60001/LayoutTests/http/tests/serviceworker/unregister-controller.html File LayoutTests/http/tests/serviceworker/unregister-controller.html (right): https://codereview.chromium.org/416003003/diff/60001/LayoutTests/http/tests/serviceworker/unregister-controller.html#newcode121 LayoutTests/http/tests/serviceworker/unregister-controller.html:121: // FIXME: Failing expectation. On 2014/07/28 12:23:23, falken wrote: ...
6 years, 4 months ago (2014-07-28 12:24:52 UTC) #2
falken
Fixed and simplified the test.
6 years, 4 months ago (2014-07-29 02:37:37 UTC) #3
nhiroki
lgtm
6 years, 4 months ago (2014-07-29 09:06:21 UTC) #4
michaeln
lgtm, but... i think you should ask jake/alex to look at these tests too, to ...
6 years, 4 months ago (2014-07-30 02:49:43 UTC) #5
falken
On 2014/07/30 02:49:43, michaeln wrote: > i think you should ask jake/alex to look at ...
6 years, 4 months ago (2014-07-30 09:41:49 UTC) #6
falken
michaeln, nhiroki: PTAL. I'd like to revive this patch to assert what we're currently doing. ...
6 years, 4 months ago (2014-08-07 12:53:50 UTC) #7
falken
On 2014/08/07 12:53:50, falken wrote: > michaeln, nhiroki: PTAL. I'd like to revive this patch ...
6 years, 4 months ago (2014-08-08 05:52:16 UTC) #8
falken
Revised patch to be more in line with current spec. PTAL Our current shortcomings are: ...
6 years, 4 months ago (2014-08-08 07:44:22 UTC) #9
falken
On 2014/08/08 07:44:22, falken wrote: > Revised patch to be more in line with current ...
6 years, 4 months ago (2014-08-11 11:27:47 UTC) #10
michaeln
lgtm, wdyt about putting the comment below in the CL description? > Revised patch to ...
6 years, 4 months ago (2014-08-12 03:14:28 UTC) #11
nhiroki
LGTM2
6 years, 4 months ago (2014-08-12 04:58:13 UTC) #12
falken
The CQ bit was checked by falken@chromium.org
6 years, 4 months ago (2014-08-13 04:55:04 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/falken@chromium.org/416003003/220001
6 years, 4 months ago (2014-08-13 04:55:34 UTC) #14
falken
The CQ bit was unchecked by falken@chromium.org
6 years, 4 months ago (2014-08-13 05:14:07 UTC) #15
falken
On 2014/08/12 03:14:28, michaeln wrote: > lgtm, wdyt about putting the comment below in the ...
6 years, 4 months ago (2014-08-13 05:16:50 UTC) #16
falken
The CQ bit was checked by falken@chromium.org
6 years, 4 months ago (2014-08-13 05:17:14 UTC) #17
falken
The CQ bit was unchecked by falken@chromium.org
6 years, 4 months ago (2014-08-13 05:17:44 UTC) #18
falken
The CQ bit was checked by falken@chromium.org
6 years, 4 months ago (2014-08-13 05:17:59 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/falken@chromium.org/416003003/220001
6 years, 4 months ago (2014-08-13 05:18:13 UTC) #20
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 05:52:45 UTC) #21
Message was sent while issue was closed.
Change committed as 180141

Powered by Google App Engine
This is Rietveld 408576698