Changeset 276509 in webkit
- Timestamp:
- Apr 23, 2021, 11:57:30 AM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
NetworkProcess/cocoa/NetworkSessionCocoa.mm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r276506 r276509 1 2021-04-23 Kate Cheney <katherine_cheney@apple.com> 2 3 Set proper network logging level for full web browsers 4 https://bugs.webkit.org/show_bug.cgi?id=224982 5 <rdar://problem/76903650> 6 7 Reviewed by Brent Fulgham. 8 9 Full web browsers have different low-level network logging requirements 10 for ephemeral sessions. 11 12 No new tests. There's no automated way to test if network level logs 13 show up. I tested that logging is correct for web browser and non web 14 browser apps manually. 15 16 * NetworkProcess/cocoa/NetworkSessionCocoa.mm: 17 (WebKit::configurationForSessionID): 18 (WebKit::NetworkSessionCocoa::NetworkSessionCocoa): 19 1 20 2021-04-23 Chris Dumez <cdumez@apple.com> 2 21 -
trunk/Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm
r275765 r276509 1029 1029 #endif 1030 1030 1031 static NSURLSessionConfiguration *configurationForSessionID(const PAL::SessionID& session )1031 static NSURLSessionConfiguration *configurationForSessionID(const PAL::SessionID& session, bool isFullWebBrowser) 1032 1032 { 1033 1033 #if HAVE(LOGGING_PRIVACY_LEVEL) … … 1039 1039 configuration = [NSURLSessionConfiguration ephemeralSessionConfiguration]; 1040 1040 #if HAVE(LOGGING_PRIVACY_LEVEL) && defined(NW_CONTEXT_HAS_PRIVACY_LEVEL_SILENT) 1041 loggingPrivacyLevel = nw_context_privacy_level_silent; 1041 if (isFullWebBrowser) 1042 loggingPrivacyLevel = nw_context_privacy_level_silent; 1042 1043 #endif 1043 1044 } else … … 1184 1185 #endif 1185 1186 1186 NSURLSessionConfiguration *configuration = configurationForSessionID(m_sessionID );1187 NSURLSessionConfiguration *configuration = configurationForSessionID(m_sessionID, isParentProcessAFullWebBrowser(networkProcess)); 1187 1188 1188 1189 #if HAVE(HSTS_STORAGE)
Note:
See TracChangeset
for help on using the changeset viewer.