[webkit-changes] [WebKit/WebKit] dcc220: Cherry-pick eecd46d1010c. rdar://problem/103389902
Wenson Hsieh
noreply at github.com
Thu Dec 15 10:55:38 PST 2022
Branch: refs/heads/safari-7615.1.15-branch
Home: https://github.com/WebKit/WebKit
Commit: dcc220142e58787f5fdd38fd0e1b3e37af2f210b
https://github.com/WebKit/WebKit/commit/dcc220142e58787f5fdd38fd0e1b3e37af2f210b
Author: Wenson Hsieh <wenson_hsieh at apple.com>
Date: 2022-12-15 (Thu, 15 Dec 2022)
Changed paths:
M Source/WebCore/platform/network/NetworkLoadMetrics.h
M Source/WebCore/platform/network/cocoa/WebCoreNSURLSession.mm
M Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm
Log Message:
-----------
Cherry-pick eecd46d1010c. rdar://problem/103389902
Fix the build when `nw_connection_privacy_stance_failed_unreachable` is available
https://bugs.webkit.org/show_bug.cgi?id=249393
Reviewed by Alexey Proskuryakov.
* Source/WebCore/platform/network/NetworkLoadMetrics.h:
Add support for `PrivacyStance::FailedUnreachable`, which corresponds to the new
`nw_connection_privacy_stance_failed_unreachable` enum type exposed via the Network framework.
* Source/WebCore/platform/network/cocoa/WebCoreNSURLSession.mm:
(-[WebCoreNSURLSessionTaskTransactionMetrics _privacyStance]):
* Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(toPrivacyStance):
(privacyStanceToString):
Canonical link: https://commits.webkit.org/257923@main
Canonical link: https://commits.webkit.org/257698.10@safari-7615.1.15-branch
More information about the webkit-changes
mailing list