Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 46b7e98a3b6793e6189acd5d72bc58276fc2ca3e
      
https://github.com/WebKit/WebKit/commit/46b7e98a3b6793e6189acd5d72bc58276fc2ca3e
  Author: Richard Robinson <[email protected]>
  Date:   2024-11-21 (Thu, 21 Nov 2024)

  Changed paths:
    M Source/WebKit/UIProcess/API/Swift/WKNavigationDelegateAdapter.swift
    M Source/WebKit/UIProcess/API/Swift/WebPage+Navigation.swift
    M Source/WebKit/UIProcess/API/Swift/WebPage.swift
    M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
    A Tools/TestWebKitAPI/Tests/WebKit Swift/WebPage.swift
    R Tools/TestWebKitAPI/Tests/WebKit Swift/WebPageNavigation.swift

  Log Message:
  -----------
  [SwiftUI] Add some observable and settable properties to WebPage
https://bugs.webkit.org/show_bug.cgi?id=283452
rdar://140312960

Reviewed by Aditya Keerthi.

Bring over some of the properties from WKWebView to WebPage, and translate 
their KVO-ness to become Observable properties.

* Source/WebKit/UIProcess/API/Swift/WebPage.swift:
(WebPage_v0.url):
(WebPage_v0.title):
(WebPage_v0.estimatedProgress):
(WebPage_v0.isLoading):
(WebPage_v0.serverTrust):
(WebPage_v0.hasOnlySecureContent):
(WebPage_v0.themeColor):
(WebPage_v0.mediaType):
(WebPage_v0.customUserAgent):
(WebPage_v0.isInspectable):
(WebPage_v0.load(_:)):
(WebPage_v0.load(_:baseURL:)):
(KeyValueObservations.contents):
* Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/WebKit Swift/WebPage.swift: Renamed from 
Tools/TestWebKitAPI/Tests/WebKit Swift/WebPageNavigation.swift.
(URL.aboutBlank):
(WebPageTests.basicNavigation):
(WebPageTests.sequenceOfNavigations):
(WebPageTests.navigationWithFailedProvisionalNavigationEvent):
(WebPageTests.observableProperties):

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

Reply via email to