[webkit-changes] [WebKit/WebKit] 9fcb49: Include an optional top origin SecurityOriginData ...
Matthew Finkel
noreply at github.com
Wed Jul 12 21:16:59 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9fcb4920e2c1f470e3e22c3ce7f922d30be2834f
https://github.com/WebKit/WebKit/commit/9fcb4920e2c1f470e3e22c3ce7f922d30be2834f
Author: Matthew Finkel <sysrqb at apple.com>
Date: 2023-07-12 (Wed, 12 Jul 2023)
Changed paths:
M Source/WebCore/page/SecurityOriginData.h
M Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp
M Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.h
Log Message:
-----------
Include an optional top origin SecurityOriginData in NetworkConnectionToWebProcess's Blob URL sets
https://bugs.webkit.org/show_bug.cgi?id=258995
rdar://111926766
Reviewed by Chris Dumez.
We need to cache the top SecurityOriginData along with the blob URL in
NetworkConnectionToWebProcess so we can unregister a blob URL or handle when
the web content progress is disconnected. This is a pre-patch that brings us
closer to partitioning Blobs URLs in the Blob registry.
* Source/WebCore/page/SecurityOriginData.h:
(WebCore::SecurityOriginDataHash::hash):
(WebCore::SecurityOriginDataHash::equal):
* Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp:
(WebKit::NetworkConnectionToWebProcess::didClose):
(WebKit::NetworkConnectionToWebProcess::registerInternalFileBlobURL):
(WebKit::NetworkConnectionToWebProcess::registerInternalBlobURL):
(WebKit::NetworkConnectionToWebProcess::registerBlobURL):
(WebKit::NetworkConnectionToWebProcess::registerInternalBlobURLOptionallyFileBacked):
(WebKit::NetworkConnectionToWebProcess::registerInternalBlobURLForSlice):
(WebKit::NetworkConnectionToWebProcess::unregisterBlobURL):
(WebKit::NetworkConnectionToWebProcess::registerBlobURLHandle):
(WebKit::NetworkConnectionToWebProcess::unregisterBlobURLHandle):
* Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.h:
Canonical link: https://commits.webkit.org/266022@main
More information about the webkit-changes
mailing list