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

Issue 2878003003: Upstream srvc wrkr "redirected resp" test to WPT (Closed)

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

Description

Upstream srvc wrkr "redirected resp" test to WPT Reformat the test in terms of a series of distinct sub-tests with expressive titles. This provides more expressive feedback in the event of test failure. It also makes test results deterministic in the event of multiple test failures. Create a new version of this test that omits references to internal APIs and place that in the "external" directory for eventual contribution to the Web Platform Tests project. Re-name the original test file to explicitly document its role as a Chromium-specific test and limit its assertions to only those internal details. BUG=688116, 658249 R=falken@chromium.org Review-Url: https://codereview.chromium.org/2878003003 Cr-Commit-Position: refs/heads/master@{#473221} Committed: https://chromium.googlesource.com/chromium/src/+/732f505038a242a0353375cc78126b3956650b16

Patch Set 1 #

Patch Set 2 : Upstream service worker "request" test to WPT #

Total comments: 9

Patch Set 3 : Incorporate review feedback #

Total comments: 22

Patch Set 4 : Incorporate review feedback #

Total comments: 8

Patch Set 5 : Improve in-line comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+352 lines, -164 lines) Patch
A third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/redirected-response.https.html View 1 2 3 4 1 chunk +199 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium.redirected-response.html View 1 2 3 4 1 chunk +153 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/redirected-response.html View 1 chunk +0 lines, -164 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
mike3
Mind taking a look, Matt?
3 years, 7 months ago (2017-05-16 16:48:37 UTC) #2
mike3
Almost forgot! Due to a subtle difference between two project's implementation of the shared `fetch-rewrite-worker.js` ...
3 years, 7 months ago (2017-05-16 18:08:55 UTC) #3
falken
The CL description looks cut off. This looks good but I think we need to ...
3 years, 7 months ago (2017-05-17 05:09:13 UTC) #5
mike3
Thanks for the review, Matt! I think this is ready for another look. https://codereview.chromium.org/2878003003/diff/20001/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/redirected-response.https.html File ...
3 years, 7 months ago (2017-05-17 21:19:28 UTC) #7
falken
thanks, this looks good https://codereview.chromium.org/2878003003/diff/40001/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium.redirected-response.html File third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium.redirected-response.html (right): https://codereview.chromium.org/2878003003/diff/40001/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium.redirected-response.html#newcode7 third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium.redirected-response.html:7: of this test in the ...
3 years, 7 months ago (2017-05-18 01:48:07 UTC) #8
mike3
Thanks, Matt! https://codereview.chromium.org/2878003003/diff/40001/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium.redirected-response.html File third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium.redirected-response.html (right): https://codereview.chromium.org/2878003003/diff/40001/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium.redirected-response.html#newcode7 third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium.redirected-response.html:7: of this test in the Web Platform ...
3 years, 7 months ago (2017-05-18 17:49:29 UTC) #10
falken
lgtm with some comment tweaks also add BUG=658249 to aid archaeology https://codereview.chromium.org/2878003003/diff/60001/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/redirected-response.https.html File third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/redirected-response.https.html (right): ...
3 years, 7 months ago (2017-05-19 01:58:44 UTC) #11
falken
CL description should say Upstream "redirected-response" test or something like that?
3 years, 7 months ago (2017-05-19 01:59:26 UTC) #12
mike3
> CL description should say Upstream "redirected-response" test > or something like that? For sure ...
3 years, 7 months ago (2017-05-19 15:45:32 UTC) #15
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/2878003003/80001
3 years, 7 months ago (2017-05-19 15:48:33 UTC) #18
commit-bot: I haz the power
3 years, 7 months ago (2017-05-19 17:12:36 UTC) #21
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/732f505038a242a0353375cc7812...

Powered by Google App Engine
This is Rietveld 408576698