Skip to content

Commit

Permalink
Bug 1933826 - Commit pull-into descriptors after filling from queue r…
Browse files Browse the repository at this point in the history
…=arai,smaug

This splits ReadableByteStreamControllerCommitPullIntoDescriptor from ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue so that close/chunk steps will run only after processing all descriptors, thus preventing user JS from potentially modifying anything during the process.

Corresponding to whatwg/streams#1326 with some cleanup in whatwg/streams#1336.

Differential Revision: https://phabricator.services.mozilla.com/D232663
  • Loading branch information
saschanaz committed Jan 7, 2025
1 parent 0b87239 commit 2ead8b0
Show file tree
Hide file tree
Showing 5 changed files with 194 additions and 121 deletions.
Loading

0 comments on commit 2ead8b0

Please sign in to comment.