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

Issue 2735443002: Refactor ServiceWorker tests for inclusion in WPT (Closed)

Created:
3 years, 9 months ago by mike3
Modified:
3 years, 9 months ago
Reviewers:
tkent, falken
CC:
blink-reviews, blink-reviews-w3ctests_chromium.org, chromium-reviews, falken+watch_chromium.org, horo+watch_chromium.org, jsbell+serviceworker_chromium.org, jshin+watch_chromium.org, kenjibaheux+watch_chromium.org, kinuko+serviceworker, michaeln, nhiroki, serviceworker-reviews, shimazu+serviceworker_chromium.org, tzik
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Upstream service worker nav. preload tests to WPT BUG=688116 R=falken@chromium.org Review-Url: https://codereview.chromium.org/2735443002 Cr-Commit-Position: refs/heads/master@{#457537} Committed: https://chromium.googlesource.com/chromium/src/+/6e01aaaf5d8005a96e817d458e6d2c1de43331d6

Patch Set 1 #

Total comments: 5

Patch Set 2 : Upstream service worker nav. preload tests to WPT #

Total comments: 4

Patch Set 3 : Upstream service worker nav. preload tests to WPT #

Patch Set 4 : Add requisite README file #

Total comments: 2

Patch Set 5 : Make criteria more explicit and add tests #

Patch Set 6 : Upstream service worker nav. preload tests to WPT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -428 lines) Patch
M AUTHORS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/VirtualTestSuites View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/broken-chunked-encoding.https.html View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
A + third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/chunked-encoding.https.html View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
A + third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/get-state.https.html View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/request-headers.https.html View 1 2 3 1 chunk +41 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/resources/broken-chunked-encoding-scope.asis View 1 chunk +6 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/resources/broken-chunked-encoding-worker.js View 0 chunks +-1 lines, --1 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/resources/chunked-encoding-scope.py View 1 1 chunk +17 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/resources/chunked-encoding-worker.js View 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/resources/get-state-worker.js View 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/resources/helpers.js View 0 chunks +-1 lines, --1 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/resources/request-headers-scope.py View 1 1 chunk +9 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/resources/request-headers-worker.js View 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/resources/wait-for-activate-worker.js View 1 chunk +1 line, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-preload/broken-chunked-encoding.html View 1 chunk +0 lines, -25 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-preload/chunked-encoding.html View 1 chunk +0 lines, -25 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-preload/get-state.html View 1 chunk +0 lines, -217 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-preload/request-headers.html View 1 chunk +0 lines, -33 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-preload/resources/broken-chunked-encoding-scope.php View 1 chunk +0 lines, -5 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-preload/resources/broken-chunked-encoding-worker.js View 1 chunk +0 lines, -11 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-preload/resources/chunked-encoding-scope.php View 1 chunk +0 lines, -17 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-preload/resources/chunked-encoding-worker.js View 1 chunk +0 lines, -8 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-preload/resources/get-state-worker.js View 1 chunk +0 lines, -21 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-preload/resources/helpers.js View 1 chunk +0 lines, -5 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-preload/resources/request-headers-scope.php View 1 chunk +0 lines, -3 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-preload/resources/request-headers-worker.js View 1 chunk +0 lines, -10 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-preload/resources/wait-for-activate-worker.js View 1 chunk +0 lines, -40 lines 0 comments Download
A third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-wpt/external/wpt/service-workers/service-worker/navigation-preload/README.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base_unittest.py View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (14 generated)
falken
Thanks for the patch, Mike! More detailed comments to come. First some meta stuff: - ...
3 years, 9 months ago (2017-03-07 06:14:39 UTC) #1
falken
This looks good, just a nit and a question. https://codereview.chromium.org/2735443002/diff/1/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/resources/chunked-encoding-scope.py File third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/resources/chunked-encoding-scope.py (right): https://codereview.chromium.org/2735443002/diff/1/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/resources/chunked-encoding-scope.py#newcode9 third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/resources/chunked-encoding-scope.py:9: ...
3 years, 9 months ago (2017-03-07 06:25:59 UTC) #2
mike3
> - Do you know about the CLA steps here? > https://www.chromium.org/developers/contributing-code#TOC-Legal-stuff Yes, though I ...
3 years, 9 months ago (2017-03-07 16:44:29 UTC) #3
mike3
Thanks for the review, Matt! https://codereview.chromium.org/2735443002/diff/1/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/resources/chunked-encoding-scope.py File third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/resources/chunked-encoding-scope.py (right): https://codereview.chromium.org/2735443002/diff/1/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/resources/chunked-encoding-scope.py#newcode9 third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/navigation-preload/resources/chunked-encoding-scope.py:9: response.writer.write_header("Transfer-encoding", "chunked") On 2017/03/07 ...
3 years, 9 months ago (2017-03-07 16:47:04 UTC) #4
falken
Sorry, I was out of office today and forgo to set the ooo message. I'll ...
3 years, 9 months ago (2017-03-08 15:28:45 UTC) #5
falken
On 2017/03/07 16:44:29, mike3 wrote: > > - Do you know about the CLA steps ...
3 years, 9 months ago (2017-03-09 04:07:03 UTC) #6
falken
Looking good. FYI the CL description hasn't been altered since the original review. I think ...
3 years, 9 months ago (2017-03-09 04:18:11 UTC) #7
mike3
> Ah thanks. Yep I could verify the CLA for that email address. So all ...
3 years, 9 months ago (2017-03-09 16:05:09 UTC) #8
falken
Thanks Mike. The CL looks good, and I finally patched in your CL and ran ...
3 years, 9 months ago (2017-03-10 02:09:20 UTC) #10
falken
On 2017/03/10 02:09:20, falken wrote: > Thanks Mike. The CL looks good, and I finally ...
3 years, 9 months ago (2017-03-10 02:27:15 UTC) #11
falken
Additionally we must tell the test runner to use wptserve on the virtual test suite ...
3 years, 9 months ago (2017-03-10 03:40:30 UTC) #12
mike3
I've made the changes you requested, but I have not been able to verify them ...
3 years, 9 months ago (2017-03-11 00:46:14 UTC) #13
falken
lgtm I can patch in your change locally and the tests are run. So it ...
3 years, 9 months ago (2017-03-13 06:46:25 UTC) #18
falken
tkent: Could you review third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py?
3 years, 9 months ago (2017-03-13 06:47:01 UTC) #20
tkent
https://codereview.chromium.org/2735443002/diff/60001/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py File third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py (right): https://codereview.chromium.org/2735443002/diff/60001/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py#newcode1154 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py:1154: return "external/wpt/" in test Please add test to base_unittest.py
3 years, 9 months ago (2017-03-13 06:50:32 UTC) #21
qyearsley
https://codereview.chromium.org/2735443002/diff/60001/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py File third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py (right): https://codereview.chromium.org/2735443002/diff/60001/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py#newcode1154 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py:1154: return "external/wpt/" in test On 2017/03/13 at 06:50:32, tkent ...
3 years, 9 months ago (2017-03-14 19:46:11 UTC) #22
mike3
tkent and qyearsley: thanks for the input! I'm working on this now. falken: I haven't ...
3 years, 9 months ago (2017-03-14 22:12:05 UTC) #23
falken
Hi Mike, sorry for these hiccups. It looks like you can edit base_unittest.py and then ...
3 years, 9 months ago (2017-03-15 02:03:45 UTC) #24
mike3
> So for this patch you don't need to block on getting run-webkit-tests working Right ...
3 years, 9 months ago (2017-03-15 15:23:34 UTC) #25
tkent
lgtm
3 years, 9 months ago (2017-03-15 22:46:05 UTC) #27
falken
We're almost there :) The patch is now failing to apply. You can run "git ...
3 years, 9 months ago (2017-03-16 01:40:09 UTC) #31
mike3
On 2017/03/16 01:40:09, falken wrote: > We're almost there :) > > The patch is ...
3 years, 9 months ago (2017-03-16 19:18:38 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2735443002/100001
3 years, 9 months ago (2017-03-16 19:20:13 UTC) #35
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/chromium/src/+/6e01aaaf5d8005a96e817d458e6d2c1de43331d6
3 years, 9 months ago (2017-03-16 20:38:22 UTC) #38
mike3
On 2017/03/16 20:38:22, commit-bot: I haz the power wrote: > Committed patchset #6 (id:100001) as ...
3 years, 9 months ago (2017-03-16 20:40:02 UTC) #39
falken
3 years, 9 months ago (2017-03-17 01:06:38 UTC) #40
Message was sent while issue was closed.
On 2017/03/16 20:40:02, mike3 wrote:
> On 2017/03/16 20:38:22, commit-bot: I haz the power wrote:
> > Committed patchset #6 (id:100001) as
> >
>
https://chromium.googlesource.com/chromium/src/+/6e01aaaf5d8005a96e817d458e6d...
> 
> Thanks falken, tkent, and qyearsley!

Nice patch! Thanks for sticking with this.

Powered by Google App Engine
This is Rietveld 408576698