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: Use helper methods on stream instances instead of directly invoking AOs #3029

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

shannonbooth
Copy link
Contributor

This reads a bit nicer, and follows the streams spec pattern on
performing operations on a stream outside of the streams spec.

Noticed as part of investigating improving the implementation of ReadableStreamPipeTo to make it less crashy and correct (notably, started out of making signal a JS::Value instead of Optional<JS::Value> in that AO)

Copy link
Contributor

@kennethmyhra kennethmyhra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reads much better!

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.

2 participants