Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a7a82ef808090ad3313aa07271e948bd41227bc1
      
https://github.com/WebKit/WebKit/commit/a7a82ef808090ad3313aa07271e948bd41227bc1
  Author: Sihui Liu <[email protected]>
  Date:   2026-06-26 (Fri, 26 Jun 2026)

  Changed paths:
    M Tools/TestWebKitAPI/PlatformMac.cmake

  Log Message:
  -----------
  [CMake] Copy test resources into TestWebKitAPIResources.bundle instead of 
symlinking
https://bugs.webkit.org/show_bug.cgi?id=317902
rdar://180688173

Reviewed by Per Arne Vollan.

Symlinks in TestWebKitAPIResources.bundle resolve to their canonical path in 
the source tree, which is outside
WEBKIT2_FRAMEWORK_DIR. The WebContent sandbox profile only allows 
file-issue-extension for subpaths of
WEBKIT2_FRAMEWORK_DIR, so the kernel denies the extension and file URL loads 
fail. Copying instead of symlinking keeps
the canonical path inside the build directory where the sandbox rule permits it.

This fixes API test failures like 
SiteIsolation.LocalIframeOpensBlobURLFromFileMainFrame and 
WKWebView.LoadTwoFiles
when running with a CMake-built TestWebKitAPI.

* Tools/TestWebKitAPI/PlatformMac.cmake:

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



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

Reply via email to