Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 18998789abb8e23d2d78691bbb2865dc1d624868
      
https://github.com/WebKit/WebKit/commit/18998789abb8e23d2d78691bbb2865dc1d624868
  Author: David Kilzer <[email protected]>
  Date:   2025-05-17 (Sat, 17 May 2025)

  Changed paths:
    M Source/WTF/WTF.xcodeproj/project.pbxproj
    M Source/WTF/wtf/Assertions.h
    R Source/WTF/wtf/spi/darwin/AbortWithReasonSPI.h
    A Source/WTF/wtf/spi/darwin/ReasonSPI.h
    M Source/WebCore/platform/ios/wak/WebCoreThread.mm
    R Source/WebKit/Platform/spi/Cocoa/ReasonSPI.h
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj
    M Source/WebKitLegacy/mac/WebView/WebView.mm

  Log Message:
  -----------
  Enable logging of WebKit1 use for all Apple-owned processes
<https://bugs.webkit.org/show_bug.cgi?id=293032>
<rdar://151351729>

Reviewed by Ryosuke Niwa.

Use os_fault_with_payload() to log WebKit1 use in iOS and macOS, but
only one out of 100 times on average.

* Source/WTF/WTF.xcodeproj/project.pbxproj:
- Rename AbortWithReasonSPI.h to ReasonSPI.h.
* Source/WTF/wtf/Assertions.h:
- Update #include for ReasonSPI.h.
* Source/WTF/wtf/spi/darwin/ReasonSPI.h: Rename from 
Source/WTF/wtf/spi/darwin/AbortWithReasonSPI.h.
- Merge declarations from Source/WebKit/Platform/spi/Cocoa/ReasonSPI.h.
(os_fault_with_payload): Add declaration.
- Switch to WTF_EXTERN_C_BEGIN/WTF_EXTERN_C_END and limit scope.
* Source/WebCore/platform/ios/wak/WebCoreThread.mm:
(WebThreadEnable):
- Switch to os_fault_with_payload() to enable logging.
* Source/WebKit/Platform/spi/Cocoa/ReasonSPI.h: Remove.
- Merge with Source/WTF/wtf/spi/darwin/ReasonSPI.h.
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
- Remove ReasonSPI.h.
* Source/WebKitLegacy/mac/WebView/WebView.mm:
(+[WebView initialize]):
- Add os_fault_with_payload() to enable logging.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to