Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 317de2bcccacb44987c56afe145fdf09d0a4c7a7
https://github.com/WebKit/WebKit/commit/317de2bcccacb44987c56afe145fdf09d0a4c7a7
Author: Marta Darbinyan <[email protected]>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M Tools/TestWebKitAPI/Tests/WTF/cocoa/SwiftCxxInteropTests.swift
M Tools/TestWebKitAPI/Tests/WebKit/WebPage/UserContentControllerTests.swift
Log Message:
-----------
Fix watchOS 27 TestWebKitAPI Swift build failures
rdar://187699525
https://bugs.webkit.org/show_bug.cgi?id=324457
Reviewed by Richard Robinson.
wtfFunctionCanBeInvokedFromSwift() crashed the Swift compiler on
arm64_32: giving the closure explicit parameter and return types
avoids it. Filed as rdar://187815038.
jsBufferInjectsWebKitNamespace() used an API that isn't available
on watchOS. Built the same bytes a different way instead.
Verified with a full local build against the public watchOS 27 SDK:
no errors.
* Tools/TestWebKitAPI/Tests/WTF/cocoa/SwiftCxxInteropTests.swift:
* Tools/TestWebKitAPI/Tests/WebKit/WebPage/UserContentControllerTests.swift:
Canonical link: https://commits.webkit.org/321808@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications