[webkit-changes] [WebKit/WebKit] f72ca7: Plumb SecurityOriginData through the register/unre...

Matthew Finkel noreply at github.com
Tue Aug 8 11:59:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f72ca735a42e521bcc521a0b8812b4725d21567a
      https://github.com/WebKit/WebKit/commit/f72ca735a42e521bcc521a0b8812b4725d21567a
  Author: Matthew Finkel <sysrqb at apple.com>
  Date:   2023-08-08 (Tue, 08 Aug 2023)

  Changed paths:
    M Source/WebCore/fileapi/ThreadableBlobRegistry.cpp
    M Source/WebCore/fileapi/ThreadableBlobRegistry.h
    M Source/WebCore/platform/network/BlobRegistry.h
    M Source/WebCore/platform/network/BlobRegistryImpl.cpp
    M Source/WebCore/platform/network/BlobRegistryImpl.h
    M Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp
    M Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.h
    M Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.messages.in
    M Source/WebKit/NetworkProcess/NetworkProcessPlatformStrategies.cpp
    M Source/WebKit/WebProcess/FileAPI/BlobRegistryProxy.cpp
    M Source/WebKit/WebProcess/FileAPI/BlobRegistryProxy.h
    M Source/WebKitLegacy/mac/WebCoreSupport/WebPlatformStrategies.mm

  Log Message:
  -----------
  Plumb SecurityOriginData through the register/unregister Blob URL functions
https://bugs.webkit.org/show_bug.cgi?id=250155
rdar://103929930

Reviewed by Chris Dumez.

This change plumbs the SecurityOriginData of the main frame down into the Blob
Registry. The SecurityOriginData will be used in a follow-up patch for
partitioning the blob registry. This patch should not make any behavioral
changes.

* Source/WebCore/fileapi/ThreadableBlobRegistry.cpp:
(WebCore::ThreadableBlobRegistry::registerBlobURL):
(WebCore::ThreadableBlobRegistry::unregisterBlobURL):
* Source/WebCore/fileapi/ThreadableBlobRegistry.h: Swap the URL parameter order
because I added it incorrectly in 266021 at main

* Source/WebCore/platform/network/BlobRegistry.h:
* Source/WebCore/platform/network/BlobRegistryImpl.cpp:
(WebCore::BlobRegistryImpl::registerBlobURL):
(WebCore::BlobRegistryImpl::unregisterBlobURL):
* Source/WebCore/platform/network/BlobRegistryImpl.h:
* Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp:
(WebKit::NetworkConnectionToWebProcess::didClose):
(WebKit::NetworkConnectionToWebProcess::registerBlobURL):
(WebKit::NetworkConnectionToWebProcess::unregisterBlobURL):
* Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.h:
* Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.messages.in:
* Source/WebKit/NetworkProcess/NetworkProcessPlatformStrategies.cpp:
(WebKit::NetworkProcessPlatformStrategies::createBlobRegistry):
* Source/WebKit/WebProcess/FileAPI/BlobRegistryProxy.cpp:
(WebKit::BlobRegistryProxy::registerBlobURL):
(WebKit::BlobRegistryProxy::unregisterBlobURL):
* Source/WebKit/WebProcess/FileAPI/BlobRegistryProxy.h:
* Source/WebKitLegacy/mac/WebCoreSupport/WebPlatformStrategies.mm:

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




More information about the webkit-changes mailing list