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

Issue 2865313003: Upstream service worker tests to WPT (Closed)

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

Description

Upstream service worker tests to WPT **install-event-type-worker** This test is nearly identical to the version available in the Web Platform Tests project. Update the upstream version with the only meaningful difference between the tests: an additional assertion for the event object provided to the service worker's `oninstall` event handler. Extend assertions with description strings to aid debugging in case of test failure. **interfaces** Extend the upstream version with the additional assertions found in the Chromium-specific version. Remove the Chromium-specific version. Re-locate the associated "resource" file as it is reference by unrelated tests. **invalid-blobtype** Remove the Chromium-specific version because it is equivalent to the upstream version. Simplify script resource URLs in the upstream version. **invalid-header** Remove the Chromium-specific version because it is equivalent to the upstream version. Simplify script resource URLs in the upstream version. **multiple-register** Remove the Chromium-specific version because it is equivalent to the upstream version. Correct a typo in an assertion message in the upstream version. BUG=688116, 724212 R=mek@chromium.org Review-Url: https://codereview.chromium.org/2865313003 Cr-Commit-Position: refs/heads/master@{#472916} Committed: https://chromium.googlesource.com/chromium/src/+/dca85dac110e00bb8a22e1b9d94fb44d44b2d518

Patch Set 1 #

Patch Set 2 : Rebase and resolve conflicts with latest WPT versions #

Patch Set 3 : Re-introduce resource script #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -505 lines) Patch
M third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/invalid-blobtype.https.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/invalid-header.https.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/multiple-register.https.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/install-event-type-worker.js View 1 chunk +5 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/interfaces-worker.sub.js View 1 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/invalid-blobtype-iframe.https.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/invalid-header-iframe.https.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-basics.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-get-basics.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-get-errors.html View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/credentialmanager/federatedcredential-basics.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-basics.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-fetch.html View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-redirect.html View 1 2 1 chunk +0 lines, -1 line 0 comments Download
A + third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/interfaces.js View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/install-event-type.html View 1 chunk +0 lines, -29 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/interfaces.html View 1 chunk +0 lines, -57 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/invalid-blobtype.html View 1 chunk +0 lines, -30 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/invalid-header.html View 1 chunk +0 lines, -30 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/multiple-register.html View 1 chunk +0 lines, -115 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/install-event-type-worker.js View 1 chunk +0 lines, -9 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/interfaces.js View 1 chunk +0 lines, -15 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/interfaces-worker.js View 1 chunk +0 lines, -125 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/invalid-blobtype-iframe.html View 1 chunk +0 lines, -30 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/invalid-blobtype-worker.js View 1 chunk +0 lines, -11 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/invalid-header-iframe.html View 1 chunk +0 lines, -27 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/invalid-header-worker.js View 1 chunk +0 lines, -12 lines 0 comments Download

Messages

Total messages: 29 (12 generated)
mike3
Hi Mek, Relatively light migration this time around. I'm proposal removal of all related Chromium ...
3 years, 7 months ago (2017-05-09 18:48:54 UTC) #1
Marijn Kruisselbrink
lgtm
3 years, 7 months ago (2017-05-16 18:35:16 UTC) #2
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/2865313003/1
3 years, 7 months ago (2017-05-16 22:39:40 UTC) #4
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/269616) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 7 months ago (2017-05-16 22:49:40 UTC) #6
mike3
On 2017/05/16 22:49:40, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 7 months ago (2017-05-17 19:23:10 UTC) #7
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/2865313003/20001
3 years, 7 months ago (2017-05-17 19:24:21 UTC) #10
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/457826) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 7 months ago (2017-05-17 20:21:04 UTC) #12
mike3
On 2017/05/17 20:21:04, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 7 months ago (2017-05-17 21:23:34 UTC) #13
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/2865313003/20001
3 years, 7 months ago (2017-05-17 21:25:41 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/447692)
3 years, 7 months ago (2017-05-17 23:06:02 UTC) #17
mike3
On 2017/05/17 23:06:02, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 7 months ago (2017-05-17 23:10:23 UTC) #18
Marijn Kruisselbrink
On 2017/05/17 at 23:10:23, mike wrote: > On 2017/05/17 23:06:02, commit-bot: I haz the power ...
3 years, 7 months ago (2017-05-17 23:17:56 UTC) #19
mike3
On 2017/05/17 23:17:56, Marijn Kruisselbrink wrote: > On 2017/05/17 at 23:10:23, mike wrote: > > ...
3 years, 7 months ago (2017-05-17 23:28:59 UTC) #20
jsbell
On 2017/05/17 23:17:56, Marijn Kruisselbrink wrote: > These seemingly unrelated tests try to include the ...
3 years, 7 months ago (2017-05-17 23:31:41 UTC) #21
mike3
On 2017/05/17 23:31:41, jsbell wrote: > On 2017/05/17 23:17:56, Marijn Kruisselbrink wrote: > > These ...
3 years, 7 months ago (2017-05-18 18:39:36 UTC) #23
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/2865313003/40001
3 years, 7 months ago (2017-05-18 18:43:34 UTC) #26
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 20:36:45 UTC) #29
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/dca85dac110e00bb8a22e1b9d94f...

Powered by Google App Engine
This is Rietveld 408576698