Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4dad7ec75d90b6cacaaa5aef92d7f1148a52b8a2
      
https://github.com/WebKit/WebKit/commit/4dad7ec75d90b6cacaaa5aef92d7f1148a52b8a2
  Author: Elliott Williams <[email protected]>
  Date:   2025-10-29 (Wed, 29 Oct 2025)

  Changed paths:
    M Source/WebKit/Scripts/generate-swift-availability-macros
    M Source/WebKit/Scripts/postprocess-header-rule
    M Source/WebKit/UIProcess/API/Cocoa/WebKitSwiftOverlay.swift
    M Source/WebKit/UIProcess/API/Cocoa/_WKWebExtensionBookmarks.h

  Log Message:
  -----------
  Enable WebKitSwiftOverlay on internal watchOS and tvOS builds
https://bugs.webkit.org/show_bug.cgi?id=300338
rdar://161606521

Unreviewed, reland with a needed API_UNAVAILABLE attribute to fix module
compilation.

    Reviewed by Richard Robinson.

    There are still issues using the open source watchOS and tvOS SDKs,
    but internal SDKs don't have that same issue.  Enable for internal builds.

    Swift requires that SPI declarations have an availability version in
    order to use contemporary language features. Introduce support for
    WK_WATCHOS_TBA and WK_TVOS_TBA availability versions and add
    @_spi_available attributes to these declarations.

    For completeness, also support these availability versions in ObjC
    headers, although WebKit does not have precedent for using SPI_AVAILABLE
    on SPI-only platforms.

* Source/WebKit/Scripts/generate-swift-availability-macros:
* Source/WebKit/Scripts/postprocess-header-rule:
* Source/WebKit/UIProcess/API/Cocoa/WebKitSwiftOverlay.swift:
* Source/WebKit/UIProcess/API/Cocoa/_WKWebExtensionBookmarks.h:

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



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

Reply via email to