Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0d2a7ef45b96b34fbd77c9bfeceb53f266a15405
      
https://github.com/WebKit/WebKit/commit/0d2a7ef45b96b34fbd77c9bfeceb53f266a15405
  Author: Alex Christensen <achristen...@apple.com>
  Date:   2025-04-08 (Tue, 08 Apr 2025)

  Changed paths:
    M Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
    M Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h
    M Tools/TestWebKitAPI/SourcesCocoa.txt
    M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
    M Tools/TestWebKitAPI/Tests/WTF/cocoa/URLExtras.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/ApplePay.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/ScreenTime.mm

  Log Message:
  -----------
  Add SPI for WTF::userVisibleString in WebKit.framework
https://bugs.webkit.org/show_bug.cgi?id=290884

Reviewed by Richard Robinson.

This is a step towards being able to remove WebKitLegacy on macOS Recovery
This SPI does the same thing as URL.FormatStyle but it is updated with Safari.

* Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:
(+[WKWebView _userVisibleStringForURL:]):
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h:
* Tools/TestWebKitAPI/SourcesCocoa.txt:
* Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/WTF/cocoa/URLExtras.mm:
(TestWebKitAPI::userVisibleString):
(TestWebKitAPI::TEST(URLExtras, URLExtras)):
(TestWebKitAPI::TEST(URLExtras, URLExtras_Spoof)):
(TestWebKitAPI::TEST(URLExtras, URLExtras_NotSpoofed)):
(TestWebKitAPI::TEST(URLExtras, URLExtras_DivisionSign)):
(TestWebKitAPI::TEST(URLExtras, URLExtras_Space)):
(TestWebKitAPI::TEST(URLExtras, URLExtras_File)):
(TestWebKitAPI::TEST(URLExtras, URLExtras_ParsingError)):
(TestWebKitAPI::TEST(URLExtras, URLExtras_Nil)):
(TestWebKitAPI::TEST(URLExtras, CreateNSArray)):
(TestWebKitAPI::TEST(WTF_URLExtras, URLExtras)): Deleted.
(TestWebKitAPI::TEST(WTF_URLExtras, URLExtras_Spoof)): Deleted.
(TestWebKitAPI::TEST(WTF_URLExtras, URLExtras_NotSpoofed)): Deleted.
(TestWebKitAPI::TEST(WTF_URLExtras, URLExtras_DivisionSign)): Deleted.
(TestWebKitAPI::TEST(WTF_URLExtras, URLExtras_Space)): Deleted.
(TestWebKitAPI::TEST(WTF_URLExtras, URLExtras_File)): Deleted.
(TestWebKitAPI::TEST(WTF_URLExtras, URLExtras_ParsingError)): Deleted.
(TestWebKitAPI::TEST(WTF_URLExtras, URLExtras_Nil)): Deleted.
(TestWebKitAPI::TEST(WTF_URLExtras, CreateNSArray)): Deleted.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/ScreenTime.mm:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to