Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1bcccddc7c00bb163950a5707e9b18c4a2861609
      
https://github.com/WebKit/WebKit/commit/1bcccddc7c00bb163950a5707e9b18c4a2861609
  Author: Adrian Taylor <[email protected]>
  Date:   2026-09-04 (Fri, 04 Sep 2026)

  Changed paths:
    M Source/cmake/WebKitMacros.cmake

  Log Message:
  -----------
  Fix test failures using cmake and most recent MacOS SDK
https://bugs.webkit.org/show_bug.cgi?id=323370
rdar://186605623

Reviewed by Elliott Williams.

This section in PlatformEnable.h depends on a valid -target
argument, which was supplied to clang but not to swiftc's built-in clang 
importer.

  #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 270000
  #define ENABLE_SCROLL_POCKET_IN_FULLSCREEN 1
  #endif

This resulted in a differing layout of WebPageProxy based on fields such
as m_windowIsInNativeFullScreen which were predicated on this condition.
This resulted in a runtime crash related to BrowsingContextGroup which was
a result of the different object layout interpretations.

This happens only when the deployment target is less than the SDK version.

Solve by informing Swift of th correct clang target to use.

* Source/cmake/WebKitMacros.cmake:

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



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

Reply via email to