Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3b8f24768a086f94196ce1af1ab252f7146083a4
      
https://github.com/WebKit/WebKit/commit/3b8f24768a086f94196ce1af1ab252f7146083a4
  Author: David Kilzer <[email protected]>
  Date:   2026-04-27 (Mon, 27 Apr 2026)

  Changed paths:
    M Configurations/WebKitProjectPaths.xcconfig
    M Source/WebCore/Configurations/WebCoreTestSupport.xcconfig
    M Tools/TestWebKitAPI/Configurations/Base.xcconfig
    M 
Tools/TestWebKitAPI/InjectedBundle/cocoa/WebProcessPlugIn/WebProcessPlugInWithInternals.mm
    M Tools/TestWebKitAPI/Tests/InjectInternals_Bundle.cpp
    M 
Tools/TestWebKitAPI/Tests/WebCore/cocoa/MediaPlayerPrivateAVFoundationObjCTests.mm
    M Tools/TestWebKitAPI/Tests/WebCore/cocoa/XMLParsing.mm
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ClickAutoFillButton.mm
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/DisableSpellcheckPlugIn.mm
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/InjectedBundleHitTestPlugIn.mm
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/PreferredAudioBufferSize.mm
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TLSDeprecation.mm
    M 
Tools/TestWebKitAPI/Tests/WebKit/WKWebView/mac/MediaPlaybackSleepAssertion.mm

  Log Message:
  -----------
  [TestWebKitAPI] Use framework-style include for WebCoreTestSupport.h
<https://bugs.webkit.org/show_bug.cgi?id=313373>
<rdar://175638226>

Reviewed by Richard Robinson.

Change `#import "WebCoreTestSupport.h"` to
`#import <WebCoreTestSupport/WebCoreTestSupport.h>` in all TestWebKitAPI
source files.

This is possible since WebCoreTest headers were changed to install to
`$(WK_LIBRARY_HEADERS_FOLDER_PATH)/WebCoreTestSupport/` for all build
configurations, not just Production.

* Configurations/WebKitProjectPaths.xcconfig:
(WEBCORE_TEST_SUPPORT_DIR_Engineering):
- Update to use `$(WK_LIBRARY_HEADERS_FOLDER_PATH)` to match the new
  install path for WebCoreTestSupport headers in engineering builds.

* Source/WebCore/Configurations/WebCoreTestSupport.xcconfig:
(PRIVATE_HEADERS_FOLDER_PATH):
- Change WebCoreTest headers to install to
  `$(WK_LIBRARY_HEADERS_FOLDER_PATH)/WebCoreTestSupport/` for all
  build configurations.

* Tools/TestWebKitAPI/Configurations/Base.xcconfig:
(HEADER_SEARCH_PATHS):
- Remove now unused `$(BUILT_PRODUCTS_DIR)/WebCoreTestSupport`.
* 
Tools/TestWebKitAPI/InjectedBundle/cocoa/WebProcessPlugIn/WebProcessPlugInWithInternals.mm:
* Tools/TestWebKitAPI/Tests/InjectInternals_Bundle.cpp:
* 
Tools/TestWebKitAPI/Tests/WebCore/cocoa/MediaPlayerPrivateAVFoundationObjCTests.mm:
* Tools/TestWebKitAPI/Tests/WebCore/cocoa/XMLParsing.mm:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ClickAutoFillButton.mm:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/DisableSpellcheckPlugIn.mm:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/InjectedBundleHitTestPlugIn.mm:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/PreferredAudioBufferSize.mm:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TLSDeprecation.mm:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/mac/MediaPlaybackSleepAssertion.mm:
- Switch to `#import <WebCoreTestSupport/WebCoreTestSupport.h>`.

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



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

Reply via email to