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

Issue 2751113005: Upstream service worker message event tests to WPT (Closed)

Created:
3 years, 9 months ago by mike3
Modified:
3 years, 8 months ago
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 message event tests to WPT This patch corrects invalid assertions relating to the `ports` property described by the ExtendableMessageEvent API (see crbug.com/702352 and crbug.com/702361). It also re-formats the tests to improve test precision (by reducing reliance on the `toString` operation) and more closely align with the patterns used within the Web Platform Tests project. BUG=688116, 702352, 702361 R=falken@chromium.org Review-Url: https://codereview.chromium.org/2751113005 Cr-Commit-Position: refs/heads/master@{#459099} Committed: https://chromium.googlesource.com/chromium/src/+/7d998666c33c0eaaf9c6b2fa874644c1c03f31fc

Patch Set 1 #

Patch Set 2 : Simplify expectations #

Total comments: 6

Patch Set 3 : Incorporate review feedback #

Total comments: 14

Patch Set 4 : Incorporate review feedback #

Total comments: 4

Patch Set 5 : Incorporate review feedback #

Patch Set 6 : Remove redundant comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+421 lines, -635 lines) Patch
A third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/extendable-message-event-constructor.https.html View 1 chunk +10 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/extendable-message-event-constructor.https-expected.txt View 1 1 chunk +13 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/extendable-message-event.https.html View 1 2 7 chunks +100 lines, -89 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/extendable-message-event-constructor-worker.js View 1 2 3 4 5 1 chunk +193 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/extendable-message-event-loopback-worker.js View 1 2 3 chunks +10 lines, -18 lines 0 comments Download
A + third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/extendable-message-event-ping-worker.js View 1 2 2 chunks +6 lines, -9 lines 0 comments Download
A + third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/extendable-message-event-pong-worker.js View 1 2 1 chunk +6 lines, -9 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/extendable-message-event-utils.js View 1 2 3 1 chunk +78 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/extendable-message-event-worker.js View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/extendable-message-event.html View 1 chunk +0 lines, -215 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/extendable-message-event-constructor-worker.js View 1 chunk +0 lines, -190 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/extendable-message-event-loopback-worker.js View 1 chunk +0 lines, -44 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/extendable-message-event-ping-worker.js View 1 chunk +0 lines, -26 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/extendable-message-event-pong-worker.js View 1 chunk +0 lines, -21 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/extendable-message-event-worker.js View 1 chunk +0 lines, -14 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
mike3
Would you mind taking a look, Matt?
3 years, 9 months ago (2017-03-16 21:49:37 UTC) #1
falken
I like what you've done to the tests, though I haven't fully examined the diff ...
3 years, 9 months ago (2017-03-17 03:34:43 UTC) #2
mike3
On 2017/03/17 03:34:43, falken wrote: > I like what you've done to the tests, though ...
3 years, 9 months ago (2017-03-17 15:06:19 UTC) #6
falken
I'd like to give this a proper review but it's late now and I won't ...
3 years, 9 months ago (2017-03-17 15:37:48 UTC) #8
mike3
I've made the improvements you've requested and updated the patch description. Thanks for the review, ...
3 years, 9 months ago (2017-03-17 16:31:41 UTC) #10
falken
I think this looks good. For the CL description, it looks like the common format ...
3 years, 9 months ago (2017-03-21 14:42:56 UTC) #11
mike3
> For the CL description, it looks like the common format in other commits is ...
3 years, 9 months ago (2017-03-21 17:15:29 UTC) #13
falken
lgtm, thanks! Regarding the whitespace in the BUG= list, let's not worry about it. Probably ...
3 years, 9 months ago (2017-03-22 00:55:15 UTC) #14
mike3
Thanks for the review! https://codereview.chromium.org/2751113005/diff/60001/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/extendable-message-event-constructor-worker.js File third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/extendable-message-event-constructor-worker.js (right): https://codereview.chromium.org/2751113005/diff/60001/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/extendable-message-event-constructor-worker.js#newcode6 third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/extendable-message-event-constructor-worker.js:6: var ports = [channel1.port1, channel1.port2, ...
3 years, 9 months ago (2017-03-22 22:45:28 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/2751113005/100001
3 years, 9 months ago (2017-03-23 14:53:28 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-03-23 16:01:14 UTC) #21
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/7d998666c33c0eaaf9c6b2fa8746...

Powered by Google App Engine
This is Rietveld 408576698