Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0a42c3ec4efe93011700a571e67915f1dd171aad
      
https://github.com/WebKit/WebKit/commit/0a42c3ec4efe93011700a571e67915f1dd171aad
  Author: Alex Christensen <[email protected]>
  Date:   2026-09-25 (Fri, 25 Sep 2026)

  Changed paths:
    A LayoutTests/fast/files/blob-read-not-added-to-memory-cache-expected.txt
    A LayoutTests/fast/files/blob-read-not-added-to-memory-cache.html
    M Source/WebCore/fileapi/FileReaderLoader.cpp

  Log Message:
  -----------
  CachedRawResource objects accumulate after WebSocket Blob-to-ArrayBuffer 
conversion in WKWebView
https://bugs.webkit.org/show_bug.cgi?id=324952
rdar://188322145

Reviewed by Ben Nham.

m_urlForReading is never used for anything else and can't be used again, so 
there's no reason to
cache the load for future use.  Caching is just a waste of memory.

Test: fast/files/blob-read-not-added-to-memory-cache.html

* LayoutTests/fast/files/blob-read-not-added-to-memory-cache-expected.txt: 
Added.
* LayoutTests/fast/files/blob-read-not-added-to-memory-cache.html: Added.
* Source/WebCore/fileapi/FileReaderLoader.cpp:
(WebCore::FileReaderLoader::start):

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



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

Reply via email to