Repository navigation
Restarted and context-menu downloads escape private relay's set fail-closed policy - #78748
Merged
webkit-commit-queue merged 1 commit intoOct 30, 2026
Conversation
Author
Author
|
At the time this pull request was created the following files were in conflict and need to be resolved:
|
Collaborator
|
EWS run on previous version of this PR (hash d97e04b) Details |
beidson
force-pushed
the
integration/conflict/f9920fbf2e67_f9920fbf2e67_main
branch
from
October 30, 2026 04:57
d97e04b to
06ac700
Compare
Collaborator
|
EWS run on previous version of this PR (hash 06ac700) Details |
rjepstein
force-pushed
the
integration/conflict/f9920fbf2e67_f9920fbf2e67_main
branch
from
October 30, 2026 05:36
06ac700 to
20eaab4
Compare
Collaborator
|
EWS run on previous version of this PR (hash 20eaab4) Details |
beidson
force-pushed
the
integration/conflict/f9920fbf2e67_f9920fbf2e67_main
branch
from
October 30, 2026 05:40
20eaab4 to
667e016
Compare
Collaborator
|
EWS run on current version of this PR (hash 667e016) Details |
Contributor
|
The mac-intel-wk2 situation is not because of this patch. Blaming general infrastructure |
…closed policy rdar://186531546 Reviewed by Chris Dumez. Downloads that don't come from a normal navigation never carried the page's privacy settings, so they could quietly bypass Private Relay. Pass those settings along with the download request. Test: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/AdvancedPrivacyProtections.mm * Source/WebKit/NetworkProcess/Downloads/DownloadManager.cpp: (WebKit::DownloadManager::startDownload): * Source/WebKit/NetworkProcess/Downloads/DownloadManager.h: (WebKit::DownloadManager::startDownload): * Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.cpp: (WebKit::NetworkConnectionToWebProcess::startDownload): (WebKit::NetworkConnectionToWebProcess::convertMainResourceLoadToDownload): * Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.h: * Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.messages.in: * Source/WebKit/NetworkProcess/NetworkProcess.cpp: (WebKit::NetworkProcess::downloadRequest): * Source/WebKit/NetworkProcess/NetworkProcess.h: * Source/WebKit/NetworkProcess/NetworkProcess.messages.in: * Source/WebKit/NetworkProcess/NetworkResourceLoader.cpp: (WebKit::NetworkResourceLoader::convertToDownload): * Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp: (WebKit::WebsiteDataStore::download): * Source/WebKit/WebProcess/WebPage/WebFrame.cpp: (WebKit::WebFrame::startDownload): * Tools/TestWebKitAPI/Tests/WebKit/WKWebView/AdvancedPrivacyProtections.mm: (TestWebKitAPI::nonexistentDownloadDestination): (TestWebKitAPI::redirectingAttachmentServer): (TestWebKitAPI::downloadDelegateObservingRedirect): (TestWebKitAPI::webViewWithFailClosedPrivacyProtections): (TestWebKitAPI::TEST(AdvancedPrivacyProtections, DownloadRedirectPreservesPrivacyFlagsFromRequest)): (TestWebKitAPI::TEST(AdvancedPrivacyProtections, DownloadStartedFromRequestInheritsPrivacyFlagsFromPage)): (TestWebKitAPI::TEST(AdvancedPrivacyProtections, PolicyDecisionDownloadInheritsPrivacyFlagsFromPage)): Originally-landed-as: 316606.751@safari-7625-branch (f9920fb). rdar://191050419 Canonical link: https://commits.webkit.org/325317@main
webkit-commit-queue
force-pushed
the
integration/conflict/f9920fbf2e67_f9920fbf2e67_main
branch
from
October 30, 2026 23:09
667e016 to
e049cc7
Compare
Collaborator
|
Committed 325317@main (e049cc7): https://commits.webkit.org/325317@main Reviewed commits have been landed. Closing PR #78748 and removing active labels. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
e049cc7
667e016
🛠 mac🛠 win🧪 win-tests