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

Issue 358553003: Service Worker: add layout tests for behavior of controller after unregister (Closed)

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

Description

Service Worker: add layout tests for behavior of controller after unregister Unregister doesn't affect existing control over a document, but prevents the worker from controlling on future document loads. We already implement this behavior but no layout test existed yet. BUG=388095 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177054

Patch Set 1 #

Total comments: 10

Patch Set 2 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -0 lines) Patch
A LayoutTests/http/tests/serviceworker/resources/simple.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/resources/simple-intercept-worker.js View 1 1 chunk +4 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/resources/unregister-controller-page.html View 1 1 chunk +16 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/unregister-controller.html View 1 1 chunk +52 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
falken
Just adds a layout test. I figure it's useful to assert this end-to-end behavior in ...
6 years, 6 months ago (2014-06-25 09:47:10 UTC) #1
michaeln
https://codereview.chromium.org/358553003/diff/1/LayoutTests/http/tests/serviceworker/unregister-controller.html File LayoutTests/http/tests/serviceworker/unregister-controller.html (right): https://codereview.chromium.org/358553003/diff/1/LayoutTests/http/tests/serviceworker/unregister-controller.html#newcode19 LayoutTests/http/tests/serviceworker/unregister-controller.html:19: with_iframe(scope, t.step_func(function(frame) { how is 'scope' used by with_iframe? ...
6 years, 6 months ago (2014-06-26 00:41:15 UTC) #2
falken
Thanks. I've revised the test. https://codereview.chromium.org/358553003/diff/1/LayoutTests/http/tests/serviceworker/unregister-controller.html File LayoutTests/http/tests/serviceworker/unregister-controller.html (right): https://codereview.chromium.org/358553003/diff/1/LayoutTests/http/tests/serviceworker/unregister-controller.html#newcode19 LayoutTests/http/tests/serviceworker/unregister-controller.html:19: with_iframe(scope, t.step_func(function(frame) { On ...
6 years, 6 months ago (2014-06-26 03:03:16 UTC) #3
michaeln
lgtm
6 years, 6 months ago (2014-06-26 21:15:51 UTC) #4
falken
The CQ bit was checked by falken@chromium.org
6 years, 6 months ago (2014-06-27 00:51:18 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/falken@chromium.org/358553003/20001
6 years, 6 months ago (2014-06-27 00:52:37 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_gn_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-27 02:08:48 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-27 02:13:36 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_chromium_gn_rel/builds/1897)
6 years, 6 months ago (2014-06-27 02:13:37 UTC) #9
falken
The CQ bit was checked by falken@chromium.org
6 years, 6 months ago (2014-06-27 02:15:00 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/falken@chromium.org/358553003/20001
6 years, 6 months ago (2014-06-27 02:16:07 UTC) #11
commit-bot: I haz the power
6 years, 6 months ago (2014-06-27 03:34:16 UTC) #12
Message was sent while issue was closed.
Change committed as 177054

Powered by Google App Engine
This is Rietveld 408576698