Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c2108a1ff19421107b45402a89468a0dcf356456
      
https://github.com/WebKit/WebKit/commit/c2108a1ff19421107b45402a89468a0dcf356456
  Author: David Kilzer <[email protected]>
  Date:   2026-08-03 (Mon, 03 Aug 2026)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WebKit/WebPage/WebViewTests.swift

  Log Message:
  -----------
  Build failure: WebViewTests.swift uses try/await outside of #expect
<https://bugs.webkit.org/show_bug.cgi?id=320879>
<rdar://183899413>

Unreviewed build fix.

Move `try await` inside the `#expect(...)` macro in
`applyingContentEnvironmentAffectsPageSemantics`.  The async, throwing
`isContentEditable()` call is evaluated inside the macro's autoclosure,
which is neither an async nor a throwing context, so placing `try await`
outside the macro fails to compile.

* Tools/TestWebKitAPI/Tests/WebKit/WebPage/WebViewTests.swift:
(WebViewTests.applyingContentEnvironmentAffectsPageSemantics):

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



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

Reply via email to