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: Implement transfer for Resizable/ArrayBuffer #2547

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 26, 2024

  1. LibWeb: Implement transfer for Resizable/ArrayBuffer

    Implement transfer logic for ArrayBuffer and ResizableArrayBuffer.
    
    Change TransferDataHolder data type to Vector<u32> to reuse existing
    serialization infrastructure.
    
    Fix 5 WPT tests in `window-postmessage.window.html` that relates to
    transport.
    Fix `LibWeb/Text/input/Worker/Worker-postMessage-transfer.html`.
    The latter is currently ignored due to flakiness, no rebaseline is
    needed.
    
    During serialization with transfer, initialize memory with known index
    and initialize Serializer at position that dependent on the memory.
    This is mandatory to make ArrayBuffer transport to work. It also happens
    to fix 4 WPT tests, that are related to curcular references during
    serialization.
    zetslief committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    dbb8d23 View commit details
    Browse the repository at this point in the history