[webkit-changes] [WebKit/WebKit] 396156: Update safe browsing warning for phishing sites

Commit Queue noreply at github.com
Wed Feb 26 14:09:26 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3961561ee02f85644515ee1be18429c3e5123585
      https://github.com/WebKit/WebKit/commit/3961561ee02f85644515ee1be18429c3e5123585
  Author: Pascoe <pascoe at apple.com>
  Date:   2025-02-26 (Wed, 26 Feb 2025)

  Changed paths:
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebCore/en.lproj/Localizable.strings
    M Source/WebKit/Platform/spi/Cocoa/SafeBrowsingSPI.h
    M Source/WebKit/UIProcess/Cocoa/BrowsingWarningCocoa.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm

  Log Message:
  -----------
  Update safe browsing warning for phishing sites
https://bugs.webkit.org/show_bug.cgi?id=288586
rdar://145601460

Reviewed by Charlie Wolfe.

Update the phishing warning text according to
requirements laid out in radar.

This patch also cleans up HAVE_SAFE_BROWSING_RESULT_DETAILS,
which is no longer needed.

* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/en.lproj/Localizable.strings:
* Source/WebKit/Platform/spi/Cocoa/SafeBrowsingSPI.h:
* Source/WebKit/UIProcess/Cocoa/BrowsingWarningCocoa.mm:
(WebKit::malwareDetailsBase):
(WebKit::learnMoreURL):
(WebKit::reportAnErrorBase):
(WebKit::localizedProviderDisplayName):
(WebKit::localizedProviderName):
(WebKit::browsingDetailsText):
(WebKit::localizedProvider): Deleted.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm:
(-[TestServiceLookupResult localizedProviderDisplayName]):

Canonical link: https://commits.webkit.org/291164@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list