Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e8735879f11dc05aa47e5a7862ac7e927c181060
https://github.com/WebKit/WebKit/commit/e8735879f11dc05aa47e5a7862ac7e927c181060
Author: Pascoe <[email protected]>
Date: 2025-06-26 (Thu, 26 Jun 2025)
Changed paths:
M Source/WebKit/UIProcess/API/APINavigation.h
M Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Source/WebKit/UIProcess/WebPageProxy.h
M Tools/TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm
Log Message:
-----------
Show safe browsing warnings that are received after timeout
rdar://153254680
https://bugs.webkit.org/show_bug.cgi?id=294963
Reviewed by Matthew Finkel.
Sometimes the safe browsing daemon can be slow to respond, like
when it is starting up. We should show the browsing warning even
if we get it after a timeout.
Added API test to exercise behavior.
* Source/WebKit/UIProcess/API/APINavigation.h:
(API::Navigation::setSafeBrowsingCheckTimedOut):
(API::Navigation::safeBrowsingCheckTimedOut):
* Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm:
(WebKit::WebPageProxy::beginSafeBrowsingCheck):
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::decidePolicyForResponseShared):
(WebKit::WebPageProxy::showBrowsingWarning):
* Source/WebKit/UIProcess/WebPageProxy.h:
* Tools/TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm:
(TEST(SafeBrowsing, PostTimeout)):
Canonical link: https://commits.webkit.org/296682@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes