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

Issue 480943002: Service Worker: Add tests for same-scope new script registration (Closed)

Created:
6 years, 4 months ago by falken
Modified:
6 years, 3 months ago
Reviewers:
michaeln, 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

Service Worker: Add tests for same-scope, new script registration Tests for Chromium patch: https://codereview.chromium.org/506043002/ BUG=398355 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180948

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 14

Patch Set 4 : review comments #

Total comments: 2

Patch Set 5 : sync #

Patch Set 6 : review feedback and test expectation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+364 lines, -33 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/register-same-scope-different-script-url.html View 1 2 3 4 5 1 chunk +254 lines, -0 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/resources/test-helpers.js View 1 2 1 chunk +18 lines, -8 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/unregister-then-register-new-script.html View 1 2 3 6 chunks +92 lines, -23 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
falken
6 years, 4 months ago (2014-08-20 09:35:57 UTC) #1
nhiroki
LGTM with nits. https://codereview.chromium.org/480943002/diff/40001/LayoutTests/http/tests/serviceworker/register-same-scope-different-script-url.html File LayoutTests/http/tests/serviceworker/register-same-scope-different-script-url.html (right): https://codereview.chromium.org/480943002/diff/40001/LayoutTests/http/tests/serviceworker/register-same-scope-different-script-url.html#newcode19 LayoutTests/http/tests/serviceworker/register-same-scope-different-script-url.html:19: register_promise2 = navigator.serviceWorker.register(script2, {scope: scope}); nit: ...
6 years, 4 months ago (2014-08-21 09:26:04 UTC) #2
falken
Thanks for the review. https://codereview.chromium.org/480943002/diff/40001/LayoutTests/http/tests/serviceworker/register-same-scope-different-script-url.html File LayoutTests/http/tests/serviceworker/register-same-scope-different-script-url.html (right): https://codereview.chromium.org/480943002/diff/40001/LayoutTests/http/tests/serviceworker/register-same-scope-different-script-url.html#newcode19 LayoutTests/http/tests/serviceworker/register-same-scope-different-script-url.html:19: register_promise2 = navigator.serviceWorker.register(script2, {scope: scope}); ...
6 years, 4 months ago (2014-08-21 09:42:57 UTC) #3
michaeln
lgtm, these tests are awesome! https://codereview.chromium.org/480943002/diff/60001/LayoutTests/http/tests/serviceworker/register-same-scope-different-script-url.html File LayoutTests/http/tests/serviceworker/register-same-scope-different-script-url.html (right): https://codereview.chromium.org/480943002/diff/60001/LayoutTests/http/tests/serviceworker/register-same-scope-different-script-url.html#newcode232 LayoutTests/http/tests/serviceworker/register-same-scope-different-script-url.html:232: var active_seen = wait_for_state(t, ...
6 years, 3 months ago (2014-08-26 23:17:05 UTC) #4
falken
Thanks! https://codereview.chromium.org/480943002/diff/60001/LayoutTests/http/tests/serviceworker/register-same-scope-different-script-url.html File LayoutTests/http/tests/serviceworker/register-same-scope-different-script-url.html (right): https://codereview.chromium.org/480943002/diff/60001/LayoutTests/http/tests/serviceworker/register-same-scope-different-script-url.html#newcode232 LayoutTests/http/tests/serviceworker/register-same-scope-different-script-url.html:232: var active_seen = wait_for_state(t, On 2014/08/26 23:17:05, michaeln ...
6 years, 3 months ago (2014-08-27 04:19:41 UTC) #5
falken
The CQ bit was checked by falken@chromium.org
6 years, 3 months ago (2014-08-27 07:22:58 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/480943002/100001
6 years, 3 months ago (2014-08-27 07:23:30 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_gpu_retina_triggered_tests on tryserver.chromium.gpu ...
6 years, 3 months ago (2014-08-27 08:25:18 UTC) #8
commit-bot: I haz the power
Committed patchset #6 (100001) as 180948
6 years, 3 months ago (2014-08-27 08:47:01 UTC) #9
mlamouri (slow - plz ping)
6 years, 3 months ago (2014-08-27 10:38:32 UTC) #10
Message was sent while issue was closed.
A revert of this CL (patchset #6) has been created in
https://codereview.chromium.org/512703002/ by mlamouri@chromium.org.

The reason for reverting is: This is crashing on Mac..

Powered by Google App Engine
This is Rietveld 408576698