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

Issue 2805313003: Upstream service worker `fetch` tests to WPT (Closed)

Created:
3 years, 8 months ago by mike3
Modified:
3 years, 8 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 service worker `fetch` tests to WPT The Web Platform Tests project includes equivalent versions of the following tests: - third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-canvas-tainting.html - third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-cors-xhr.html Remove the above Chromium-specific files to promote the use of the more widely shared versions. The following test file is more thorough than the equivalent version in WPT. It contains the same assertions as those found in the WPT version, but it also includes versions with an alternative value of the `img-src` CSP directive. - third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-csp.html Extend the WPT version with the new assertions and remove the Chromium-specific file. Also remove infrastructure configuration which previously prevented the WPT version from being executed. BUG=688116, 658997 R=falken@chromium.org Review-Url: https://codereview.chromium.org/2805313003 Cr-Commit-Position: refs/heads/master@{#466697} Committed: https://chromium.googlesource.com/chromium/src/+/b5cd9b369845c99709d101b09c350170b34fd51f

Patch Set 1 #

Total comments: 2

Patch Set 2 : Re-introduce Chromium-specific tests #

Patch Set 3 : Move files up a directory #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -282 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-canvas-tainting.https-expected.txt View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-cors-xhr.https-expected.txt View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/fetch-csp.https.html View 1 chunk +96 lines, -17 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/fetch-csp-iframe.html View 1 chunk +12 lines, -68 lines 0 comments Download
A + third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium.fetch-canvas-tainting.html View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium.fetch-cors-xhr.html View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium.fetch-csp.html View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium.fetch-csp-expected.txt View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-canvas-tainting.html View 1 chunk +0 lines, -38 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-cors-xhr.html View 1 chunk +0 lines, -38 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-csp.html View 1 chunk +0 lines, -111 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-csp-expected.txt View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 30 (11 generated)
mike3
Getting started with a few `fetch`-related tests. This contains two test deletion and one test ...
3 years, 8 months ago (2017-04-07 22:36:06 UTC) #1
jsbell
Drive by... On 2017/04/07 22:36:06, mike3 wrote: > Second, the Chromium version had a corresponding ...
3 years, 8 months ago (2017-04-08 00:00:00 UTC) #2
falken
lgtm, the fetch-csp test is much easier to read! But external/wpt/service-workers/service-worker/fetch-csp.https.html was skipped because it ...
3 years, 8 months ago (2017-04-10 14:10:51 UTC) #3
mike3
> Did the test change somehow fix the timeout problem? That's difficult for me to ...
3 years, 8 months ago (2017-04-10 16:59:34 UTC) #4
falken
Actually "Release" build is the typical build when you build Chromium locally. It's distinguished from ...
3 years, 8 months ago (2017-04-11 06:52:08 UTC) #5
mike3
This test is one of a set of tests that has apparently been causing issues ...
3 years, 8 months ago (2017-04-14 22:52:21 UTC) #6
falken
Yes we never tracked down the cause of the timeout failures. Actually all the tests ...
3 years, 8 months ago (2017-04-17 02:25:53 UTC) #7
falken
On 2017/04/17 02:25:53, falken wrote: > Yes we never tracked down the cause of the ...
3 years, 8 months ago (2017-04-17 03:25:56 UTC) #8
mike3
Thanks for the help, @falken! Unfortunately, I was unable to make use of it today ...
3 years, 8 months ago (2017-04-17 23:04:04 UTC) #13
falken
On 2017/04/17 23:04:04, mike3 wrote: > Thanks for the help, @falken! Unfortunately, I was unable ...
3 years, 8 months ago (2017-04-18 01:41:30 UTC) #14
mike3
Okay, I've made those changes with one slight difference: I've moved the tests to the ...
3 years, 8 months ago (2017-04-18 16:54:10 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/2805313003/20001
3 years, 8 months ago (2017-04-18 16:54:37 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/433305)
3 years, 8 months ago (2017-04-18 18:09:21 UTC) #20
mike3
As reported by commit-bot, the build is failing. Relevant details: > Unexpected Failures: > * ...
3 years, 8 months ago (2017-04-18 22:29:51 UTC) #21
falken
On 2017/04/18 22:29:51, mike3 wrote: > As reported by commit-bot, the build is failing. Relevant ...
3 years, 8 months ago (2017-04-18 22:52:53 UTC) #22
falken
... though I have a meeting soon... probably it's too late for your time zone ...
3 years, 8 months ago (2017-04-18 22:59:06 UTC) #23
falken
On 2017/04/18 22:59:06, falken (away until May 8) wrote: > ... though I have a ...
3 years, 8 months ago (2017-04-19 01:53:49 UTC) #24
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/2805313003/40001
3 years, 8 months ago (2017-04-24 17:20:30 UTC) #27
commit-bot: I haz the power
3 years, 8 months ago (2017-04-24 18:39:33 UTC) #30
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/b5cd9b369845c99709d101b09c35...

Powered by Google App Engine
This is Rietveld 408576698