Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6f0fc8db1d712a755ae25127fc7c336fc9f6f5bd
      
https://github.com/WebKit/WebKit/commit/6f0fc8db1d712a755ae25127fc7c336fc9f6f5bd
  Author: David Kilzer <ddkil...@apple.com>
  Date:   2025-08-29 (Fri, 29 Aug 2025)

  Changed paths:
    M Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.h
    M Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.mm
    M Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm
    M Source/WebCore/rendering/RenderLayerBacking.cpp

  Log Message:
  -----------
  Ignore DumpRenderTree when logging WebKit1 usage
<https://bugs.webkit.org/show_bug.cgi?id=297749>
<rdar://158812344>

Reviewed by Alexey Proskuryakov and Brent Fulgham.

* Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.h:
(WTF::CocoaApplication::isDumpRenderTree): Add.
(WTF::IOSApplication::isDumpRenderTree): Delete.
* Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.mm:
(WTF::CocoaApplication::isDumpRenderTree): Add.
- Incorporate IOSApplication::isDumpRenderTree() and add support for
  DumpRenderTree on macOS.
- Remove long-obsolete comments about numbered DumpRenderTree.app bundle
  IDs since we start one Simulator per DumpRenderTree.app now.
(WTF::CocoaApplication::shouldOSFaultLogForAppleApplicationUsingWebKit1):
- Add lambda to make criteria easier to read.
- Disable WebKit1 logging for DumpRenderTree and TestWebKitAPI.
- Decrease probability of logging from 1/100 to 1/1000.
(WTF::IOSApplication::isDumpRenderTree): Delete.
* Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(-[WebAccessibilityObjectWrapper _accessibilityWebDocumentView]):
- Update to use CocoaApplication::isDumpRenderTree().
* Source/WebCore/rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::needsIOSDumpRenderTreeMainFrameRenderViewLayerIsAlwaysOpaqueHack
 const):
- Update to use CocoaApplication::isDumpRenderTree().

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



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

Reply via email to