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

Issue 1286123004: Ensure that Service Worker clients are always returned in MRU order (2) (Closed)

Created:
5 years, 4 months ago by jeremyarcher
Modified:
5 years, 4 months ago
Reviewers:
falken, nhiroki
CC:
blink-reviews, michaeln, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, tzik, serviceworker-reviews, falken, kinuko+serviceworker, horo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Ensure that Service Worker clients are always returned in MRU order (2) Adds a layout test to ensure that client ordering is done properly. Spec: https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#clients-matchall-method 1. (Chromium) https://codereview.chromium.org/1285373002/ 2. (Blink) This CL. BUG=461411 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200875

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Add semicolon. #

Patch Set 3 : Ensure that tests actually test MRU ordering. #

Total comments: 10

Patch Set 4 : Switch to promise_test(...) and fix silly copypasta. #

Total comments: 2

Patch Set 5 : Restructure tests for readability. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -29 lines) Patch
M LayoutTests/http/tests/serviceworker/clients-matchall.html View 1 2 3 4 1 chunk +42 lines, -26 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/clients-matchall-client-types.html View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M LayoutTests/http/tests/serviceworker/clients-matchall-include-uncontrolled.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/resources/clients-matchall-worker.js View 1 2 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (9 generated)
jeremyarcher
5 years, 4 months ago (2015-08-14 05:22:36 UTC) #3
nhiroki
https://codereview.chromium.org/1286123004/diff/20001/LayoutTests/http/tests/serviceworker/clients-matchall-ordering.html File LayoutTests/http/tests/serviceworker/clients-matchall-ordering.html (right): https://codereview.chromium.org/1286123004/diff/20001/LayoutTests/http/tests/serviceworker/clients-matchall-ordering.html#newcode17 LayoutTests/http/tests/serviceworker/clients-matchall-ordering.html:17: .then(function() { return with_popup(scope + '#1'); }) Why don't ...
5 years, 4 months ago (2015-08-17 06:58:45 UTC) #4
falken
https://codereview.chromium.org/1286123004/diff/20001/LayoutTests/http/tests/serviceworker/clients-matchall-ordering.html File LayoutTests/http/tests/serviceworker/clients-matchall-ordering.html (right): https://codereview.chromium.org/1286123004/diff/20001/LayoutTests/http/tests/serviceworker/clients-matchall-ordering.html#newcode17 LayoutTests/http/tests/serviceworker/clients-matchall-ordering.html:17: .then(function() { return with_popup(scope + '#1'); }) On 2015/08/17 ...
5 years, 4 months ago (2015-08-17 07:10:20 UTC) #5
jeremyarcher
On 2015/08/17 06:58:45, nhiroki wrote: > https://codereview.chromium.org/1286123004/diff/20001/LayoutTests/http/tests/serviceworker/clients-matchall-ordering.html > File LayoutTests/http/tests/serviceworker/clients-matchall-ordering.html > (right): > > https://codereview.chromium.org/1286123004/diff/20001/LayoutTests/http/tests/serviceworker/clients-matchall-ordering.html#newcode17 ...
5 years, 4 months ago (2015-08-17 07:11:30 UTC) #6
nhiroki
On 2015/08/17 07:11:30, jeremyarcher wrote: > On 2015/08/17 06:58:45, nhiroki wrote: > > > https://codereview.chromium.org/1286123004/diff/20001/LayoutTests/http/tests/serviceworker/clients-matchall-ordering.html ...
5 years, 4 months ago (2015-08-17 07:57:13 UTC) #7
jeremyarcher
On 2015/08/17 07:57:13, nhiroki wrote: > On 2015/08/17 07:11:30, jeremyarcher wrote: > > On 2015/08/17 ...
5 years, 4 months ago (2015-08-19 06:23:57 UTC) #10
nhiroki
https://codereview.chromium.org/1286123004/diff/100001/LayoutTests/http/tests/serviceworker/clients-matchall.html File LayoutTests/http/tests/serviceworker/clients-matchall.html (right): https://codereview.chromium.org/1286123004/diff/100001/LayoutTests/http/tests/serviceworker/clients-matchall.html#newcode10 LayoutTests/http/tests/serviceworker/clients-matchall.html:10: t.step(function() { Can you make this promise_test? https://codereview.chromium.org/1286123004/diff/100001/LayoutTests/http/tests/serviceworker/clients-matchall.html#newcode27 LayoutTests/http/tests/serviceworker/clients-matchall.html:27: ...
5 years, 4 months ago (2015-08-19 08:01:13 UTC) #11
jeremyarcher
https://codereview.chromium.org/1286123004/diff/100001/LayoutTests/http/tests/serviceworker/clients-matchall.html File LayoutTests/http/tests/serviceworker/clients-matchall.html (right): https://codereview.chromium.org/1286123004/diff/100001/LayoutTests/http/tests/serviceworker/clients-matchall.html#newcode10 LayoutTests/http/tests/serviceworker/clients-matchall.html:10: t.step(function() { On 2015/08/19 08:01:13, nhiroki wrote: > Can ...
5 years, 4 months ago (2015-08-19 08:36:52 UTC) #12
nhiroki
LGTM! https://codereview.chromium.org/1286123004/diff/140001/LayoutTests/http/tests/serviceworker/clients-matchall.html File LayoutTests/http/tests/serviceworker/clients-matchall.html (right): https://codereview.chromium.org/1286123004/diff/140001/LayoutTests/http/tests/serviceworker/clients-matchall.html#newcode35 LayoutTests/http/tests/serviceworker/clients-matchall.html:35: frame2 = f; nit: Can you move this ...
5 years, 4 months ago (2015-08-19 09:09:45 UTC) #13
jeremyarcher
On 2015/08/19 09:09:45, nhiroki wrote: > LGTM! > > https://codereview.chromium.org/1286123004/diff/140001/LayoutTests/http/tests/serviceworker/clients-matchall.html > File LayoutTests/http/tests/serviceworker/clients-matchall.html (right): > ...
5 years, 4 months ago (2015-08-19 09:19:50 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1286123004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1286123004/160001
5 years, 4 months ago (2015-08-19 09:20:17 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/100882)
5 years, 4 months ago (2015-08-19 10:21:01 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1286123004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1286123004/160001
5 years, 4 months ago (2015-08-20 03:04:13 UTC) #22
commit-bot: I haz the power
5 years, 4 months ago (2015-08-20 03:47:29 UTC) #23
Message was sent while issue was closed.
Committed patchset #5 (id:160001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200875

Powered by Google App Engine
This is Rietveld 408576698