Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 88df87f94496dffe265df6d5281c7043cf7becbc
      
https://github.com/WebKit/WebKit/commit/88df87f94496dffe265df6d5281c7043cf7becbc
  Author: Richard Robinson <[email protected]>
  Date:   2026-08-01 (Sat, 01 Aug 2026)

  Changed paths:
    A Source/WebKit/UIProcess/API/Swift/WebPage+SPI.swift
    M Source/WebKit/UIProcess/API/Swift/WebPage.swift
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj
    M Source/WebKit/_WebKit_SwiftUI/API/View+WebViewModifiers.swift
    M Source/WebKit/_WebKit_SwiftUI/API/WebView.swift
    M 
Source/WebKit/_WebKit_SwiftUI/Implementation/EnvironmentValues+Extras.swift
    M Source/WebKit/_WebKit_SwiftUI/Implementation/WebViewRepresentable.swift
    M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
    A Tools/TestWebKitAPI/Tests/WebKit/WebPage/WebViewTests.swift

  Log Message:
  -----------
  [SwiftUI WebKit API] Expose _editable on WebPage
https://bugs.webkit.org/show_bug.cgi?id=320772
rdar://183774945

Reviewed by Aditya Keerthi.

Expose SPI to define the content environment of a page, a more flexible version 
of the existing `_editable` WKWebView SPI.

Also refactor WebPage to have a dedicated SPI file.

* Source/WebKit/UIProcess/API/Swift/WebPage+SPI.swift: Added.
(WebPage.setMenuBuilder(_:)):
(WebPage.smartListsEnabled):
(terminateWebContentProcess):
(editorStateSnapshots):
(contentEnvironment):
* Source/WebKit/UIProcess/API/Swift/WebPage.swift:
(editorStateSnapshotsContinuations):
(setMenuBuilder(_:)): Deleted.
(smartListsEnabled): Deleted.
(terminateWebContentProcess): Deleted.
(editorStateSnapshots): Deleted.
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:

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



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

Reply via email to