Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4652f6dcb2990797743c0f7ac22fa2ac0555464a
      
https://github.com/WebKit/WebKit/commit/4652f6dcb2990797743c0f7ac22fa2ac0555464a
  Author: Adrian Taylor <[email protected]>
  Date:   2026-01-28 (Wed, 28 Jan 2026)

  Changed paths:
    M Source/WebKit/Configurations/WebKit.xcconfig

  Log Message:
  -----------
  Swift WebBackForwardList (off by default) - xcconfig changes
https://bugs.webkit.org/show_bug.cgi?id=305483
rdar://159589815

Reviewed by Richard Robinson.

We're introducing a Swift version of the Back Forward List. For the general
design and rationale, see
https://github.com/WebKit/WebKit/pull/55393
It will be landed as a series of separate commits in order to ease code review.

In this commit, we make the required xcconfig changes. As this Swift
implementation is off-by-default, nothing happens here unless
ENABLE_BACK_FORWARD_LIST_SWIFT is specified in LocalOverrides.xcconfig. If
that's specified, we pass this as a preprocessor definition, and we also pass
an extra flag to swiftc: -emit-clang-header-min-access internal. This allows us
to expose non-public Swift functions and types to C++, and is crucial to avoid
needing to pub the language boundary into WebKit's public API.

We are adding these config flags separately in order to ease code review of
subsequent stages. It's not useful until later commits also land.
It should however be harmless meanwhile.

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



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

Reply via email to