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: Integrate TransformStream into fetch_response_handover() and Streams into XHR::send() #24132

Commits on May 20, 2024

  1. LibWeb: Change Fetch's ProcessBodyError to accept a plain JS value

    This callback is meant to be triggered by streams, which does not always
    provide a WebIDL::DOMException. Pass a plain value instead. Of all the
    users of this callback, only one actually uses the value, and already
    converts the DOMException to a plain value.
    trflynn89 authored and kennethmyhra committed May 20, 2024
    Configuration menu
    Copy the full SHA
    9788efd View commit details
    Browse the repository at this point in the history
  2. LibWeb: Provide an UInt8Array to AO writable_stream_default_writer_write

    ReadLoopReadRequest::on_chunk expects an UInt8Array, so make sure we
    convert the passed in ByteBuffer to an UInt8Array before passing it to
    the AO writable_stream_default_writer_write.
    
    Co-authored-by: Timothy Flynn <trflynn89@pm.me>
    kennethmyhra and trflynn89 committed May 20, 2024
    Configuration menu
    Copy the full SHA
    91c0ce3 View commit details
    Browse the repository at this point in the history
  3. LibWeb: Close acquired writer in AO readable_stream_pipe_to()

    Also adds a test to prove that the WritableStream's close callback is
    called.
    kennethmyhra committed May 20, 2024
    Configuration menu
    Copy the full SHA
    7612188 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f8e87c3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    573771a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3a2c845 View commit details
    Browse the repository at this point in the history
  7. LibWeb: Enqueue body chunks in Fetch::extract_body()

    Co-authored-by: Timothy Flynn <trflynn89@pm.me>
    kennethmyhra and trflynn89 committed May 20, 2024
    Configuration menu
    Copy the full SHA
    3880119 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2510563 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    77ddf58 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9ace173 View commit details
    Browse the repository at this point in the history