Changeset 293990 in webkit
- Timestamp:
- May 9, 2022 2:17:57 PM (2 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r293980 r293990 1 2022-05-09 Per Arne Vollan <pvollan@apple.com> 2 3 [macOS] HTTP traffic is not filtered in the parental controls filter 4 https://bugs.webkit.org/show_bug.cgi?id=240180 5 <rdar://problem/92875540> 6 7 Reviewed by Alexey Proskuryakov. 8 9 Add HAVE macro which tells us which OS versions are filtering HTTP traffic on behalf of WebKit. 10 11 * wtf/PlatformHave.h: 12 1 13 2022-05-08 Wenson Hsieh <wenson_hsieh@apple.com> 2 14 -
trunk/Source/WTF/wtf/PlatformHave.h
r293980 r293990 1176 1176 #define HAVE_UI_CONTEXT_MENU_PREVIEW_ITEM_IDENTIFIER 1 1177 1177 #endif 1178 1179 #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 120000) || (PLATFORM(MACCATALYST) && __IPHONE_OS_VERSION_MIN_REQUIRED < 150000) 1180 #define HAVE_SYSTEM_HTTP_CONTENT_FILTERING 1 1181 #endif -
trunk/Source/WebCore/ChangeLog
r293989 r293990 1 2022-05-09 Per Arne Vollan <pvollan@apple.com> 2 3 [macOS] HTTP traffic is not filtered in the parental controls filter 4 https://bugs.webkit.org/show_bug.cgi?id=240180 5 <rdar://problem/92875540> 6 7 Reviewed by Alexey Proskuryakov. 8 9 Traditionally, we have not filtered HTTP in the parental controls filter on macOS, since other parts of the system 10 has taken care of this. This has changed in the most recent macOS version, and WebKit should also filter HTTP in 11 addition to HTTPS. 12 13 * platform/cocoa/ParentalControlsContentFilter.mm: 14 (WebCore::canHandleResponse): 15 1 16 2022-05-09 Simon Fraser <simon.fraser@apple.com> 2 17 -
trunk/Source/WebCore/platform/cocoa/ParentalControlsContentFilter.mm
r293929 r293990 75 75 static inline bool canHandleResponse(const ResourceResponse& response) 76 76 { 77 #if HAVE(SYSTEM_HTTP_CONTENT_FILTERING) 78 return response.url().protocolIs("https"); 79 #else 77 80 return response.url().protocolIsInHTTPFamily(); 81 #endif 78 82 } 79 83
Note: See TracChangeset
for help on using the changeset viewer.