Bug 1444940 [wpt PR 9926] - Streams: Modify tests to expect abort reason passthrough...
commit09c6a01a0d60c01f281881ff9ece22065a9922e1
authorAdam Rice <ricea@chromium.org>
Mon, 26 Mar 2018 15:37:06 +0000 (26 15:37 +0000)
committerJames Graham <james@hoppipolla.co.uk>
Sat, 31 Mar 2018 21:33:34 +0000 (31 22:33 +0100)
treeafac048052af419dee06112b52deb207055092f0
parente11df15978b203c4ff72638173a12342d5132797
Bug 1444940 [wpt PR 9926] - Streams: Modify tests to expect abort reason passthrough, a=testonly

Automatic update from web-platform-testsStreams: Modify tests to expect abort reason passthrough (#9926)

This tests the changes in https://github.com/whatwg/streams/pull/903.

Replace expectations that a TypeError will be stored after abort() is
called with with expectations that the reason passed to abort() will be
stored instead.

Also add a test of the stored error on the readable side of a
TransformStream after abort() has been called on the writable size. This
was not explicitly tested.

Also fix a bug in the general.js test: it didn't wrap a call to
assert_unreached properly, so a failure would have shown up as an
unhandled rejection rather than being reported properly.

wpt-commits: 81468a0b88d771af9dfa0feb5de99367e32d4b6e
wpt-pr: 9926
wpt-commits: 81468a0b88d771af9dfa0feb5de99367e32d4b6e
wpt-pr: 9926
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/streams/piping/error-propagation-backward.js
testing/web-platform/tests/streams/piping/multiple-propagation.js
testing/web-platform/tests/streams/transform-streams/errors.js
testing/web-platform/tests/streams/transform-streams/reentrant-strategies.js
testing/web-platform/tests/streams/writable-streams/aborting.js
testing/web-platform/tests/streams/writable-streams/bad-underlying-sinks.js
testing/web-platform/tests/streams/writable-streams/close.js
testing/web-platform/tests/streams/writable-streams/general.js
testing/web-platform/tests/streams/writable-streams/reentrant-strategy.js