Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Private relay should fail closed for third party loads if the main re…
…source was loaded over private relay https://bugs.webkit.org/show_bug.cgi?id=240483 Reviewed by Chris Dumez. This re-lands the change from r293861 along with r293481 except it uses ResourceRequest.firstPartyForCookies instead of NetworkLoadParameters.topOrigin, which ought to be equivalent but the latter seems less reliable and has been the cause of performance regressions associated with a few previous attempts at this fix. * Source/WebKit/NetworkProcess/cocoa/NetworkDataTaskCocoa.mm: (WebKit::NetworkDataTaskCocoa::NetworkDataTaskCocoa): * Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm: (-[WKNetworkSessionDelegate URLSession:dataTask:didReceiveResponse:completionHandler:]): (WebKit::NetworkSessionCocoa::createWebSocketTask): Canonical link: https://commits.webkit.org/250925@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information