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 66b8b43 commit f3ff249
Show file tree
Hide file tree
Showing 5 changed files with 187 additions and 134 deletions.
Loading

0 comments on commit f3ff249

Please sign in to comment.