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

Issue 238993003: ServiceWorker: "minimal" end-to-end sample as a W3C test (Closed)

Created:
6 years, 8 months ago by jsbell
Modified:
6 years, 7 months ago
CC:
blink-reviews, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, nhiroki, horo+watch_chromium.org, alecflett+watch_chromium.org
Visibility:
Public.

Description

ServiceWorker: "minimal" end-to-end sample as a W3C test A few NYI things are commented out. Also removes [NoInterfaceObject] from ServiceWorkerContainer since script should be able to see the type. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173022

Patch Set 1 #

Patch Set 2 : Clarify registration promise chain #

Total comments: 8

Patch Set 3 : Review feedback #

Patch Set 4 : Sync with github #

Total comments: 14

Patch Set 5 : minify, rebase #

Total comments: 2

Patch Set 6 : Add 'parsed' to observed states #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -0 lines) Patch
A LayoutTests/http/tests/serviceworker/registration-end-to-end.html View 1 2 3 4 5 1 chunk +103 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/registration-end-to-end-expected.txt View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/resources/end-to-end-worker.js View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M LayoutTests/http/tests/serviceworker/resources/test-helpers.js View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
A LayoutTests/virtual/serviceworker/http/tests/serviceworker/registration-end-to-end-expected.txt View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
jsbell
Please take a look. Could probably be tweaked further, feedback welcome.
6 years, 8 months ago (2014-04-15 22:54:46 UTC) #1
kinuko
Thanks for working on this. Probably we should give this test a better name.. registration-end-to-end ...
6 years, 8 months ago (2014-04-16 03:28:38 UTC) #2
kinuko
Josh, btw dominicc and I have fixed & cleaned up the test code today, as ...
6 years, 8 months ago (2014-04-16 08:59:48 UTC) #3
jsbell
Renamed / specific nits updated. Will sync with github next. https://codereview.chromium.org/238993003/diff/20001/LayoutTests/http/tests/serviceworker/minimal-end-to-end.html File LayoutTests/http/tests/serviceworker/minimal-end-to-end.html (right): https://codereview.chromium.org/238993003/diff/20001/LayoutTests/http/tests/serviceworker/minimal-end-to-end.html#newcode85 ...
6 years, 8 months ago (2014-04-16 17:04:18 UTC) #4
jsbell
Sync'd with github's out-of-scope test update. A few notes below... https://codereview.chromium.org/238993003/diff/60001/LayoutTests/http/tests/serviceworker/registration-end-to-end.html File LayoutTests/http/tests/serviceworker/registration-end-to-end.html (right): https://codereview.chromium.org/238993003/diff/60001/LayoutTests/http/tests/serviceworker/registration-end-to-end.html#newcode19 ...
6 years, 8 months ago (2014-04-16 17:43:37 UTC) #5
kinuko
Responses inline... btw please feel free to fix this test with your best judge, the ...
6 years, 8 months ago (2014-04-17 11:32:54 UTC) #6
falken
https://codereview.chromium.org/238993003/diff/60001/LayoutTests/http/tests/serviceworker/registration-end-to-end.html File LayoutTests/http/tests/serviceworker/registration-end-to-end.html (right): https://codereview.chromium.org/238993003/diff/60001/LayoutTests/http/tests/serviceworker/registration-end-to-end.html#newcode74 LayoutTests/http/tests/serviceworker/registration-end-to-end.html:74: onTestFinished(); FYI, I think the flaky timeouts are caused ...
6 years, 8 months ago (2014-04-22 14:03:08 UTC) #7
jsbell
I replaced the onTestFinished logic with a Promise.all() join over the dependent states. If we ...
6 years, 8 months ago (2014-04-25 23:21:47 UTC) #8
falken
On 2014/04/25 23:21:47, jsbell wrote: > I replaced the onTestFinished logic with a Promise.all() join ...
6 years, 8 months ago (2014-04-27 03:26:35 UTC) #9
kinuko
On 2014/04/25 23:21:47, jsbell wrote: > I replaced the onTestFinished logic with a Promise.all() join ...
6 years, 7 months ago (2014-04-28 06:01:07 UTC) #10
jsbell
Can I get an lgtm, or is there anything else?
6 years, 7 months ago (2014-04-29 21:16:33 UTC) #11
kinuko
On 2014/04/29 21:16:33, jsbell wrote: > Can I get an lgtm, or is there anything ...
6 years, 7 months ago (2014-04-30 04:04:32 UTC) #12
kinuko
The CQ bit was checked by kinuko@chromium.org
6 years, 7 months ago (2014-04-30 04:04:58 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/238993003/70001
6 years, 7 months ago (2014-04-30 04:06:52 UTC) #14
kinuko
The CQ bit was unchecked by kinuko@chromium.org
6 years, 7 months ago (2014-04-30 04:10:08 UTC) #15
kinuko
https://codereview.chromium.org/238993003/diff/70001/LayoutTests/http/tests/serviceworker/registration-end-to-end.html File LayoutTests/http/tests/serviceworker/registration-end-to-end.html (right): https://codereview.chromium.org/238993003/diff/70001/LayoutTests/http/tests/serviceworker/registration-end-to-end.html#newcode68 LayoutTests/http/tests/serviceworker/registration-end-to-end.html:68: // FIXME: Not currently seen. Is this issue fixed ...
6 years, 7 months ago (2014-04-30 04:11:42 UTC) #16
kinuko
The CQ bit was checked by kinuko@chromium.org
6 years, 7 months ago (2014-04-30 04:11:51 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/238993003/70001
6 years, 7 months ago (2014-04-30 04:12:44 UTC) #18
falken
https://codereview.chromium.org/238993003/diff/70001/LayoutTests/http/tests/serviceworker/registration-end-to-end.html File LayoutTests/http/tests/serviceworker/registration-end-to-end.html (right): https://codereview.chromium.org/238993003/diff/70001/LayoutTests/http/tests/serviceworker/registration-end-to-end.html#newcode68 LayoutTests/http/tests/serviceworker/registration-end-to-end.html:68: // FIXME: Not currently seen. On 2014/04/30 04:11:43, kinuko ...
6 years, 7 months ago (2014-04-30 04:21:31 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 04:51:42 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink
6 years, 7 months ago (2014-04-30 04:51:43 UTC) #21
jsbell
The CQ bit was checked by jsbell@chromium.org
6 years, 7 months ago (2014-04-30 19:15:14 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/238993003/90001
6 years, 7 months ago (2014-04-30 19:15:37 UTC) #23
jsbell
On 2014/04/30 04:21:31, falken wrote: > https://codereview.chromium.org/238993003/diff/70001/LayoutTests/http/tests/serviceworker/registration-end-to-end.html > File LayoutTests/http/tests/serviceworker/registration-end-to-end.html (right): > > https://codereview.chromium.org/238993003/diff/70001/LayoutTests/http/tests/serviceworker/registration-end-to-end.html#newcode68 > ...
6 years, 7 months ago (2014-04-30 19:18:32 UTC) #24
commit-bot: I haz the power
6 years, 7 months ago (2014-04-30 20:32:13 UTC) #25
Message was sent while issue was closed.
Change committed as 173022

Powered by Google App Engine
This is Rietveld 408576698