Odd readable stream throw with 'pause on exceptions' |
|
Issue description1. Visit https://fetch-flow-control-demo.glitch.me/ 2. Open devtools. 3. In the "Sources" tab select "Pause on exceptions". 4. Under the no-store heading, click 'fetch', then 'read 500k'. The code breaks on reader.releaseLock() - TypeError: The readable stream reader has been released. If you repeat the above steps without "Pause on exceptions", there's no observable error. Reproducible in stable and 73.0.3673.0 Mac.
,
Jan 18
(4 days ago)
I think this is related to issue 807998, although it's happening in a different part of the code. Similar to that issue, the relevant lines are (from third_party/blink/renderer/core/streams/ReadableStream.js:736): rejectPromise( reader[_closedPromise], new TypeError(errReleasedReaderClosedPromise)); markPromiseAsHandled(reader[_closedPromise]); The second line will prevent an uncaught rejection being reported to user JS, but doesn't seem to stop it being reported by devtools. |
|
►
Sign in to add a comment |
|
Comment 1 by l...@chromium.org
, Jan 18 (5 days ago)Status: Assigned (was: Untriaged)