[webkit-changes] [WebKit/WebKit] f8787e: Plumb SecurityOriginData through register/unregist...
Matthew Finkel
noreply at github.com
Tue Aug 8 12:01:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f8787e3ceed24897cf8b46de01fb325f53578007
https://github.com/WebKit/WebKit/commit/f8787e3ceed24897cf8b46de01fb325f53578007
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/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 register/unregister Blob URL Handle functions
https://bugs.webkit.org/show_bug.cgi?id=259307
rdar://112472978
Reviewed by Chris Dumez.
This change plumbs the SecurityOriginData of the main frame down into the Blob
Registry for the Blob URL handles. 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::registerBlobURLHandle):
(WebCore::ThreadableBlobRegistry::unregisterBlobURLHandle):
* Source/WebCore/platform/network/BlobRegistry.h:
* Source/WebCore/platform/network/BlobRegistryImpl.cpp:
(WebCore::BlobRegistryImpl::registerBlobURLHandle):
(WebCore::BlobRegistryImpl::unregisterBlobURLHandle):
* Source/WebCore/platform/network/BlobRegistryImpl.h:
* Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp:
(WebKit::NetworkConnectionToWebProcess::didClose):
(WebKit::NetworkConnectionToWebProcess::registerBlobURLHandle):
(WebKit::NetworkConnectionToWebProcess::unregisterBlobURLHandle):
* 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::registerBlobURLHandle):
(WebKit::BlobRegistryProxy::unregisterBlobURLHandle):
* Source/WebKit/WebProcess/FileAPI/BlobRegistryProxy.h:
* Source/WebKitLegacy/mac/WebCoreSupport/WebPlatformStrategies.mm:
Canonical link: https://commits.webkit.org/266693@main
More information about the webkit-changes
mailing list