[webkit-changes] [WebKit/WebKit] 7bfec4: BlobStreamSource does not seem to enqueue aggressi...

youennf noreply at github.com
Mon May 13 09:43:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7bfec45dfb8bebb0915202c524fc5ee48efd4d93
      https://github.com/WebKit/WebKit/commit/7bfec45dfb8bebb0915202c524fc5ee48efd4d93
  Author: Youenn Fablet <youenn at apple.com>
  Date:   2024-05-13 (Mon, 13 May 2024)

  Changed paths:
    M LayoutTests/TestExpectations
    A LayoutTests/fast/files/blob-stream-chunks-expected.txt
    A LayoutTests/fast/files/blob-stream-chunks.html
    M Source/WebCore/fileapi/Blob.cpp

  Log Message:
  -----------
  BlobStreamSource does not seem to enqueue aggressively received buffers
rdar://127653288
https://bugs.webkit.org/show_bug.cgi?id=273813

Reviewed by Alex Christensen.

Instead of pushing data coming from blobs as array buffers on the internal ReadableStream queue,
we are now keeping the blob data within a queue owned by the source.
This reduces the need to convert blob data to JS objects to the time when web page actually needs it.

Skipping the test in debug as the test is timing out due to the created buffer size.

* LayoutTests/TestExpectations:
* LayoutTests/fast/files/blob-stream-chunks-expected.txt: Added.
* LayoutTests/fast/files/blob-stream-chunks.html: Added.
* Source/WebCore/fileapi/Blob.cpp:
(WebCore::Blob::stream):

Canonical link: https://commits.webkit.org/278693@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list