[webkit-changes] [WebKit/WebKit] f01c61: Simplify WKWebViewConfiguration handling in WebKit...

Alex Christensen noreply at github.com
Tue Mar 26 08:31:42 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f01c6123341051af8531de0eb3e7158c3211b2bd
      https://github.com/WebKit/WebKit/commit/f01c6123341051af8531de0eb3e7158c3211b2bd
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2024-03-26 (Tue, 26 Mar 2024)

  Changed paths:
    M Source/WebKit/UIProcess/API/C/WKPageConfigurationRef.cpp
    M Source/WebKit/UIProcess/API/C/WKPageConfigurationRef.h
    M Tools/WebKitTestRunner/PlatformWebView.h
    M Tools/WebKitTestRunner/cocoa/TestControllerCocoa.mm
    M Tools/WebKitTestRunner/ios/PlatformWebViewIOS.mm
    M Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm

  Log Message:
  -----------
  Simplify WKWebViewConfiguration handling in WebKitTestRunner
https://bugs.webkit.org/show_bug.cgi?id=271671
rdar://125373165

Reviewed by Charlie Wolfe.

Now that WKWebViewConfiguration and WKPageConfigurationRef are equivalent,
we can remove some of the strange Cocoa-specific stuff in WebKitTestRunner.

* Source/WebKit/UIProcess/API/C/WKPageConfigurationRef.cpp:
(WKPageConfigurationSetPortsForUpgradingInsecureSchemeForTesting):
(WKPageConfigurationCopySiteIsolationState): Deleted.
* Source/WebKit/UIProcess/API/C/WKPageConfigurationRef.h:
* Tools/WebKitTestRunner/PlatformWebView.h:
* Tools/WebKitTestRunner/cocoa/TestControllerCocoa.mm:
(WTR::TestController::platformCreateWebView):
(WTR::TestController::platformCreateOtherPage):
* Tools/WebKitTestRunner/ios/PlatformWebViewIOS.mm:
(WTR::PlatformWebView::PlatformWebView):
* Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm:
(WTR::PlatformWebView::PlatformWebView):

Canonical link: https://commits.webkit.org/276692@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