LibWeb: Use WebIDL::invoke_promise_callback in Streams where appropriate
Some checks are pending
CI / Lagom (x86_64, Fuzzers_CI, false, ubuntu-24.04, Linux, Clang) (push) Waiting to run
CI / Lagom (arm64, Sanitizer_CI, false, macos-15, macOS, Clang) (push) Waiting to run
CI / Lagom (x86_64, Sanitizer_CI, false, ubuntu-24.04, Linux, GNU) (push) Waiting to run
CI / Lagom (x86_64, Sanitizer_CI, true, ubuntu-24.04, Linux, Clang) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (arm64, macos-15, macOS, macOS-universal2) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (x86_64, ubuntu-24.04, Linux, Linux-x86_64) (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run

This avoids an issue where rejected JS::Promise types were converted to
a resolved WebIDL::Promise type.
This commit is contained in:
Timothy Flynn 2025-04-15 13:45:00 -04:00 committed by Tim Flynn
commit b1a189acfa
Notes: github-actions[bot] 2025-04-16 08:06:22 +00:00
2 changed files with 36 additions and 52 deletions

View file

@ -2,12 +2,11 @@ Harness status: OK
Found 26 tests
25 Pass
1 Fail
26 Pass
Pass ReadableStream teeing: rs.tee() returns an array of two ReadableStreams
Pass ReadableStream teeing: should be able to read one branch to the end without affecting the other
Pass ReadableStream teeing: values should be equal across each branch
Fail ReadableStream teeing: errors in the source should propagate to both branches
Pass ReadableStream teeing: errors in the source should propagate to both branches
Pass ReadableStream teeing: canceling branch1 should not impact branch2
Pass ReadableStream teeing: canceling branch2 should not impact branch1
Pass Running templatedRSTeeCancel with ReadableStream teeing