LibWeb: Commit pull-into descriptors after filling from queue

These changes make sure that we postpone calls to
ReadableByteStreamControllerCommitPullIntoDescriptor until after all
pull-into descriptors have been filled up by
ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue.

Also pulls in the WPT test which was created in relation to this spec
change. The test verifies that a patched then() will see a null
byobRequest.
This commit is contained in:
Kenneth Myhra 2024-12-01 21:40:58 +01:00 committed by Tim Flynn
commit 861f6e3965
Notes: github-actions[bot] 2024-12-05 18:21:31 +00:00
5 changed files with 154 additions and 31 deletions

View file

@ -0,0 +1,6 @@
Harness status: OK
Found 1 tests
1 Pass
Pass Patched then() sees byobRequest after filling all pending pull-into descriptors