Closed Bug 1901363 Opened 19 days ago Closed 13 days ago

[wpt-sync] Sync PR 46662 - streams: underlyingSource.cancel() should called when abort, event with pending pull

Categories

(Core :: DOM: Streams, task, P4)

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Milly <milly.ca@gmail.com> wrote:

streams: underlyingSource.cancel() should called when abort, event with pending pull

The spec ReadableStreamPipeTo and ReadableStreamCancel define that the signal aborted algorithm calls underlyingSource.cancel(). However, Webkit does not call underlyingSource.cancel() if signal aborted occurs while underlyingSource.pull() is pending.

The Webkit issue only occurs when canceling with a signal, but I added a similar test for reader.cancel() just to be sure.

Component: web-platform-tests → DOM: Streams
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 10 tests and 11 subtests

Status Summary

Firefox

OK : 8
PASS : 172
FAIL : 4
ERROR: 2

Chrome

OK : 8
PASS : 176
ERROR: 2

Safari

OK : 8
PASS : 160
FAIL : 16
ERROR: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c9df9486cd3c
[wpt PR 46662] - streams: underlyingSource.cancel() should called when abort, even with pending pull, a=testonly
Status: NEW → RESOLVED
Closed: 13 days ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.