Closed Bug 1594646 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 20143 - ReadableStream: test pipe options exceptions

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox72 fixed)

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 20143 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/20143
Details from upstream follow.

Adam Rice <ricea@chromium.org> wrote:

ReadableStream: test pipe options exceptions

Coverage indicated that the case where there is an exception looking up
a pipeTo or pipeThrough option was not actually tested. Add a web
platform test to verify that exceptions are thrown and that options are
accessed in the correct order.

Change-Id: I88d889a42853ee0625cc51fe30cd119b118289b8
Reviewed-on: https://chromium-review.googlesource.com/1903169
WPT-Export-Revision: aac88dbbc74614a288263718f79594454910ef7c

GitHub CI Results

wpt.fyi PR Results Base Results

Ran 5 tests and 32 subtests

Firefox

OK : 4
FAIL: 32

Chrome

PASS : 24
FAIL : 4
TIMEOUT: 8

Safari

OK : 3
FAIL : 24
ERROR : 1

New tests that's don't pass

/streams/piping/throwing-options.any.sharedworker.html
pipeTo should stop after getting preventClose throws: Firefox: FAIL, Chrome: PASS, Safari: MISSING
pipeThrough should stop after getting preventAbort throws: Firefox: FAIL, Chrome: PASS, Safari: MISSING
pipeThrough should stop after getting preventClose throws: Firefox: FAIL, Chrome: PASS, Safari: MISSING
pipeTo should stop after getting preventCancel throws: Firefox: FAIL, Chrome: PASS, Safari: MISSING
pipeThrough should stop after getting signal throws: Firefox: FAIL, Chrome: FAIL, Safari: MISSING
pipeThrough should stop after getting preventCancel throws: Firefox: FAIL, Chrome: PASS, Safari: MISSING
pipeTo should stop after getting preventAbort throws: Firefox: FAIL, Chrome: PASS, Safari: MISSING
pipeTo should stop after getting signal throws: Firefox: FAIL, Chrome: TIMEOUT, Safari: MISSING

/streams/piping/throwing-options.any.html
pipeTo should stop after getting preventClose throws: Firefox: FAIL, Chrome: PASS, Safari: FAIL
pipeThrough should stop after getting preventAbort throws: Firefox: FAIL, Chrome: PASS, Safari: FAIL
pipeThrough should stop after getting preventClose throws: Firefox: FAIL, Chrome: PASS, Safari: FAIL
pipeTo should stop after getting preventCancel throws: Firefox: FAIL, Chrome: PASS, Safari: FAIL
pipeThrough should stop after getting signal throws: Firefox: FAIL, Chrome: FAIL, Safari: FAIL
pipeThrough should stop after getting preventCancel throws: Firefox: FAIL, Chrome: PASS, Safari: FAIL
pipeTo should stop after getting preventAbort throws: Firefox: FAIL, Chrome: PASS, Safari: FAIL
pipeTo should stop after getting signal throws: Firefox: FAIL, Chrome: TIMEOUT, Safari: FAIL

/streams/piping/throwing-options.any.serviceworker.html
pipeTo should stop after getting preventClose throws: Firefox: FAIL, Chrome: PASS, Safari: FAIL
pipeThrough should stop after getting preventAbort throws: Firefox: FAIL, Chrome: PASS, Safari: FAIL
pipeThrough should stop after getting preventClose throws: Firefox: FAIL, Chrome: PASS, Safari: FAIL
pipeTo should stop after getting preventCancel throws: Firefox: FAIL, Chrome: PASS, Safari: FAIL
pipeThrough should stop after getting signal throws: Firefox: FAIL, Chrome: FAIL, Safari: FAIL
pipeThrough should stop after getting preventCancel throws: Firefox: FAIL, Chrome: PASS, Safari: FAIL
pipeTo should stop after getting preventAbort throws: Firefox: FAIL, Chrome: PASS, Safari: FAIL
pipeTo should stop after getting signal throws: Firefox: FAIL, Chrome: TIMEOUT, Safari: FAIL

/streams/piping/throwing-options.any.worker.html
pipeTo should stop after getting preventClose throws: Firefox: FAIL, Chrome: PASS, Safari: FAIL
pipeThrough should stop after getting preventAbort throws: Firefox: FAIL, Chrome: PASS, Safari: FAIL
pipeThrough should stop after getting preventClose throws: Firefox: FAIL, Chrome: PASS, Safari: FAIL
pipeTo should stop after getting preventCancel throws: Firefox: FAIL, Chrome: PASS, Safari: FAIL
pipeThrough should stop after getting signal throws: Firefox: FAIL, Chrome: FAIL, Safari: FAIL
pipeThrough should stop after getting preventCancel throws: Firefox: FAIL, Chrome: PASS, Safari: FAIL
pipeTo should stop after getting preventAbort throws: Firefox: FAIL, Chrome: PASS, Safari: FAIL
pipeTo should stop after getting signal throws: Firefox: FAIL, Chrome: TIMEOUT, Safari: FAIL

/streams/piping/throwing-options.any.js: Firefox: SKIP, Chrome: SKIP, Safari: SKIP

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/642b3083e492
[wpt PR 20143] - ReadableStream: test pipe options exceptions, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.