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

Issue 2500133002: Replace streams tests with automatically-imported ones (Closed)

Created:
4 years, 1 month ago by domenic
Modified:
3 years, 8 months ago
CC:
blink-reviews, blink-reviews-w3ctests_chromium.org, chromium-reviews, tfarina, yhirano
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace streams tests with automatically-imported ones This replaces the manually-imported and maintained testharness.js tests for streams, with the automatically-imported web platform tests. This allows us to benefit from a couple upstream fixes, including the one contributing to bug 662172. The failing expectations here are related to the fact that the upstream tests test for the presence of the pipeTo and pipeThrough methods, which we do not support yet. BUG=662172

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixup test failures #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+495 lines, -4022 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 1 chunk +3 lines, -13 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.html View 1 chunk +0 lines, -13 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/byte-length-queuing-strategy.js View 1 chunk +0 lines, -107 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/count-queuing-strategy.html View 1 chunk +0 lines, -13 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/count-queuing-strategy.js View 1 chunk +0 lines, -106 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/bad-strategies.html View 1 chunk +0 lines, -13 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/bad-strategies.js View 1 chunk +0 lines, -175 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/bad-underlying-sources.html View 1 chunk +0 lines, -13 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/bad-underlying-sources.js View 1 chunk +0 lines, -383 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/brand-checks.html View 1 chunk +0 lines, -14 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/brand-checks.js View 1 chunk +0 lines, -151 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/cancel.html View 1 chunk +0 lines, -15 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/cancel.js View 1 chunk +0 lines, -241 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/count-queuing-strategy-integration.html View 1 chunk +0 lines, -13 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/count-queuing-strategy-integration.js View 1 chunk +0 lines, -213 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/count-queuing-strategy-integration-expected.txt View 1 chunk +0 lines, -20 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/garbage-collection.html View 1 chunk +0 lines, -14 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/garbage-collection.js View 1 chunk +0 lines, -75 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/general.html View 1 chunk +0 lines, -15 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/general.js View 1 chunk +0 lines, -853 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/readable-stream-reader.html View 1 chunk +0 lines, -13 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/readable-stream-reader.js View 1 chunk +0 lines, -485 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/tee.html View 1 chunk +0 lines, -14 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/tee.js View 1 chunk +0 lines, -254 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/templated.html View 1 chunk +0 lines, -16 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/readable-streams/templated.js View 1 chunk +0 lines, -148 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/streams/resources/rs-test-templates.js View 1 chunk +0 lines, -632 lines 0 comments Download
A third_party/WebKit/LayoutTests/imported/wpt/streams/readable-streams/general.https-expected.txt View 1 2 1 chunk +144 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/imported/wpt/streams/readable-streams/templated.https-expected.txt View 1 2 1 chunk +348 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (8 generated)
domenic
4 years, 1 month ago (2016-11-14 21:41:15 UTC) #3
Adam Rice
lgtm https://codereview.chromium.org/2500133002/diff/1/third_party/WebKit/LayoutTests/imported/wpt/streams/readable-streams/general.https-expected.txt File third_party/WebKit/LayoutTests/imported/wpt/streams/readable-streams/general.https-expected.txt (right): https://codereview.chromium.org/2500133002/diff/1/third_party/WebKit/LayoutTests/imported/wpt/streams/readable-streams/general.https-expected.txt#newcode11 third_party/WebKit/LayoutTests/imported/wpt/streams/readable-streams/general.https-expected.txt:11: FAIL ReadableStream start should be called with the ...
4 years, 1 month ago (2016-11-15 06:55:42 UTC) #4
domenic
On 2016/11/15 at 06:55:42, ricea wrote: > lgtm > > https://codereview.chromium.org/2500133002/diff/1/third_party/WebKit/LayoutTests/imported/wpt/streams/readable-streams/general.https-expected.txt > File third_party/WebKit/LayoutTests/imported/wpt/streams/readable-streams/general.https-expected.txt (right): ...
4 years, 1 month ago (2016-11-15 16:34:01 UTC) #5
tyoshino (SeeGerritForStatus)
lgtm
4 years, 1 month ago (2016-11-16 04:17:12 UTC) #6
Adam Rice
On 2016/11/15 16:34:01, domenic wrote: > We can change from > > constructor(stream, underlyingSource, size, ...
4 years, 1 month ago (2016-11-16 05:01:03 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/2500133002/1
4 years, 1 month ago (2016-11-16 19:28:50 UTC) #9
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/338816)
4 years, 1 month ago (2016-11-16 20:46:04 UTC) #11
domenic
On 2016/11/16 at 20:46:04, commit-bot wrote: > Try jobs failed on following builders: > linux_chromium_rel_ng ...
4 years, 1 month ago (2016-11-16 21:23:38 UTC) #12
Adam Rice
On 2016/11/16 21:23:38, domenic wrote: > I also am confused why they would pass on ...
4 years, 1 month ago (2016-11-17 03:20:51 UTC) #13
domenic
On 2016/11/17 at 03:20:51, ricea wrote: > On 2016/11/16 21:23:38, domenic wrote: > > I ...
4 years, 1 month ago (2016-11-18 19:53:11 UTC) #14
domenic
On 2016/11/18 at 19:53:11, domenic wrote: > On 2016/11/17 at 03:20:51, ricea wrote: > > ...
4 years ago (2016-12-21 22:13:13 UTC) #19
qyearsley
On 2016/12/21 at 22:13:13, domenic wrote: > On 2016/11/18 at 19:53:11, domenic wrote: > > ...
3 years, 11 months ago (2017-01-18 00:35:47 UTC) #20
domenic
3 years, 8 months ago (2017-04-17 22:24:48 UTC) #21
Message was sent while issue was closed.
This was superceded by ricea@'s work in
https://chromium.googlesource.com/chromium/src/+/ba36ef765de08362765f726520fb...
, although we still have one leftover file I've asked ricea@ about separately.

Powered by Google App Engine
This is Rietveld 408576698