Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibWeb: Enable callbacks in chunk steps for ReadableStreamDefaultTee #24420

Merged

Conversation

ADKaster
Copy link
Member

We enqueue a microtask for this readable stream AO, and the methods that we call from the chunk steps manipulate promises. As such, we need to enable callbacks for the entire microtask's temporary execution context.

Fixes #24419

Now the nytimes website spins on something instead of crashing outright :)

We enqueue a microtask for this readable stream AO, and the methods that
we call from the chunk steps manipulate promises. As such, we need to
enable callbacks for the entire microtask's temporary execution
context.
@github-actions github-actions bot added the 👀 pr-needs-review PR needs review from a maintainer or community member label May 23, 2024
@awesomekling awesomekling merged commit a68222f into SerenityOS:master May 23, 2024
11 checks passed
@github-actions github-actions bot removed the 👀 pr-needs-review PR needs review from a maintainer or community member label May 23, 2024
@trflynn89
Copy link
Member

Ah we should actually do this for all of the tee-ing request types - I have that in #24396, ca71895

but that PR is blocked on spec issues. I can pull the bug fixes out of that PR into their own PR though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LibWeb: Crash within readable_stream_default_controller_can_pull_if_needed() on nytimes.com
3 participants