Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 63f150f71811b244be1809398ece9f52dabb5059
      
https://github.com/WebKit/WebKit/commit/63f150f71811b244be1809398ece9f52dabb5059
  Author: Ryosuke Niwa <[email protected]>
  Date:   2026-02-09 (Mon, 09 Feb 2026)

  Changed paths:
    M Tools/Scripts/build-and-analyze
    M Tools/TestWebKitAPI/Tests/WebKit Swift/URLSchemeHandlerTests.swift
    M Tools/TestWebKitAPI/Tests/WebKit Swift/WKWebViewSwiftOverlayTests.swift
    M Tools/TestWebKitAPI/Tests/WebKit Swift/WebPageNavigationTests.swift
    M Tools/TestWebKitAPI/Tests/WebKit Swift/WebPageTests.swift
    M Tools/TestWebKitAPI/Tests/WebKit Swift/WebPageTransferableTests.swift

  Log Message:
  -----------
  Latest Swift toolchain cannot build WebKit due to an error in TestWebKitAPI
https://bugs.webkit.org/show_bug.cgi?id=307230

Reviewed by Geoffrey Garen and David Kilzer.

This PR works around a Swift compiler bug affecting TestWebKitAPI by disabling
some Swift tests when using the latest Swift toolchain built for WebKit.

To distinguish this variant of Swift toolchain, this PR adds new option
--swift-conditions to set active compilation conditions.

An active compilation condition of SWIFT_WEBKIT_TOOLCHAIN is used to enable
the workaround with our locally built Swift toolchain. The Swift toolchain bug
is tracked by webkit.org/b/307344.

* Tools/Scripts/build-and-analyze:
(main):
(parse_args):
* Tools/TestWebKitAPI/Tests/WebKit Swift/URLSchemeHandlerTests.swift:
* Tools/TestWebKitAPI/Tests/WebKit Swift/WKWebViewSwiftOverlayTests.swift:
* Tools/TestWebKitAPI/Tests/WebKit Swift/WebPageNavigationTests.swift:
* Tools/TestWebKitAPI/Tests/WebKit Swift/WebPageTests.swift:
* Tools/TestWebKitAPI/Tests/WebKit Swift/WebPageTransferableTests.swift:

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



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

Reply via email to