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

Issue 2933913002: Upstream service worker prototype test to WPT

Created:
3 years, 6 months ago by mike3
Modified:
3 years, 4 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 prototype test to WPT Recent improvements to the Web Platform Test's `idlharness.js` utility introduced tests for immutable prototype objects [1] [2]. Update WPT's existing interface tests (and Chromium "expectations" files) to use `idlharness.js` and remove the Service-Worker-specific `interfaces.js` utility (which is far less thorough). Refactor tests across two files to avoid duplicating sub-test names within the same test. [1] https://github.com/w3c/web-platform-tests/commit/55f606ec31b88e7ab7689c2ab3e630cfd2348fae [2] https://github.com/w3c/web-platform-tests/commit/13b0e2d8d609603b0230ba950404ea21c149f0db BUG=688116 R=falken@chromium.org

Patch Set 1 #

Total comments: 3

Patch Set 2 : Migrate test for immutable prototype #

Unified diffs Side-by-side diffs Delta from patch set Stats (+470 lines, -194 lines) Patch
M third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/close-worker.js View 1 chunk +0 lines, -1 line 0 comments Download
A + third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/immutable-prototype-serviceworker.https.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/interfaces-sw.https.html View 1 chunk +12 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/interfaces-sw.https-expected.txt View 1 chunk +171 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/interfaces-window.https.html View 1 chunk +37 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/interfaces-window.https-expected.txt View 1 chunk +97 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/interfaces.https.html View 1 chunk +0 lines, -58 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/interfaces.https-expected.txt View 1 chunk +0 lines, -13 lines 0 comments Download
A + third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/immutable-prototype-serviceworker.js View 1 0 chunks +-1 lines, --1 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/interfaces.js View 1 chunk +0 lines, -15 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/interfaces-idls.js View 1 chunk +130 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/resources/interfaces-worker.sub.js View 1 chunk +22 lines, -64 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/immutable-prototype-serviceworker.html View 1 chunk +0 lines, -23 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/immutable-prototype-serviceworker.js View 1 chunk +0 lines, -19 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
mike3
Mind taking a look, Matt?
3 years, 6 months ago (2017-06-12 19:26:03 UTC) #1
falken
I think I might not be the best to review this. Adding yukishiino@ who reviewed ...
3 years, 6 months ago (2017-06-13 06:03:43 UTC) #3
Yuki
This only changes WPTs and I'm not a right reviewer, neither. domenic@, would you mind ...
3 years, 6 months ago (2017-06-13 08:33:30 UTC) #5
falken
On 2017/06/13 08:33:30, Yuki wrote: > This only changes WPTs and I'm not a right ...
3 years, 6 months ago (2017-06-13 08:42:54 UTC) #6
Yuki
On 2017/06/13 08:42:54, falken wrote: > On 2017/06/13 08:33:30, Yuki wrote: > > This only ...
3 years, 6 months ago (2017-06-13 09:09:36 UTC) #7
domenic
NOT l-g-t-m due to removed coverage. https://codereview.chromium.org/2933913002/diff/1/third_party/WebKit/LayoutTests/http/tests/serviceworker/immutable-prototype-serviceworker.html File third_party/WebKit/LayoutTests/http/tests/serviceworker/immutable-prototype-serviceworker.html (left): https://codereview.chromium.org/2933913002/diff/1/third_party/WebKit/LayoutTests/http/tests/serviceworker/immutable-prototype-serviceworker.html#oldcode1 third_party/WebKit/LayoutTests/http/tests/serviceworker/immutable-prototype-serviceworker.html:1: <!DOCTYPE html> We ...
3 years, 6 months ago (2017-06-13 15:49:34 UTC) #8
mike3
The test named `immutable-prototype-serviceworker.html` concerned details that I would have expected to be covered by ...
3 years, 5 months ago (2017-06-30 22:12:51 UTC) #9
domenic
On 2017/06/30 at 22:12:51, mike wrote: > The test named `immutable-prototype-serviceworker.html` concerned details that > ...
3 years, 5 months ago (2017-06-30 22:43:00 UTC) #11
falken
Hi Mike, this lgtm to me too. Shall we put it in the CQ? In ...
3 years, 4 months ago (2017-07-30 14:18:05 UTC) #12
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/2933913002/20001
3 years, 4 months ago (2017-08-02 06:06:19 UTC) #15
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/515868)
3 years, 4 months ago (2017-08-02 07:19:30 UTC) #17
falken
Rebaselined and reuploaded at https://chromium-review.googlesource.com/c/598829
3 years, 4 months ago (2017-08-03 02:36:19 UTC) #18
badaczanala
3 years, 4 months ago (2017-08-03 07:12:49 UTC) #20
lgtm

Powered by Google App Engine
This is Rietveld 408576698