Closed Bug 1739564 Opened 3 years ago Closed 3 years ago

Use AbortSignal.reason in Streams code

Categories

(Core :: DOM: Streams, enhancement)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: nidhijaju, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36

Steps to reproduce:

Use the AbortSignal's abort reason in the Streams code, specifically in ReadableStreamPipeTo and WritableStreamAbort.

See https://github.com/whatwg/streams/issues/1165 and https://github.com/whatwg/streams/pull/1182.

Depends on: 1737771
Blocks: dom-streams

Thanks for reporting this directly. We are already use abort reason in the new implementation of WritableStreamAbort. ReadableStreamPipeTo isn't implemented yet, but will obviously support it as well. I don't think we need to keep this open.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.