Closed Bug 1691559 Opened 5 years ago Closed 3 years ago

Streams: settle reader.[[closedPromise]] before performing close/error steps of read requests

Categories

(Core :: JavaScript Engine, task, P3)

Firefox 85
task

Tracking

()

RESOLVED FIXED

People

(Reporter: mattias, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0

Steps to reproduce:

The Streams standard changed ReadableStreamClose and ReadableStreamError to resolve/reject reader.[[closedPromise]] before performing the close/error steps of any pending read requests.

See https://github.com/whatwg/streams/pull/1102 for details, as well as https://github.com/web-platform-tests/wpt/pull/27236 which has added and changed tests.

Oops, I mean to file this under "Core" instead of "Firefox". And the Component should be "JavaScript Engine" to match other stream-related bugs.

Apologies for the inconvenience.

Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Type: enhancement → task
Priority: -- → P3
Severity: -- → N/A

(Fixed by DOM Streams)

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.