Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e0ddfac2e79f03373862da92031f92798a606f60
      
https://github.com/WebKit/WebKit/commit/e0ddfac2e79f03373862da92031f92798a606f60
  Author: Brady Eidson <beid...@apple.com>
  Date:   2025-08-27 (Wed, 27 Aug 2025)

  Changed paths:
    M Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.h
    M Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.mm
    M Source/WebCore/platform/ios/wak/WebCoreThread.mm
    M Source/WebKitLegacy/mac/WebView/WebView.mm

  Log Message:
  -----------
  "Is Apple Application?" simualated crash reports for WK1 WebView use 
sometimes result from non-Apple code
rdar://158661557
https://bugs.webkit.org/show_bug.cgi?id=297970

Reviewed by David Kilzer.

When we added the "Is a WebView created inside an Apple Application?" simulated 
crash report,
we didn't consider that the Apple Application might host 3rd party code by 
design, and that the
3rd party code might be the one creating a WebView.

This patch adds an exemption for the first known case of this, and rearchitects 
things to make
adding any future exemptions easy.

* Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.h:
* Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.mm:
(WTF::CocoaApplication::shouldOSFaultLogForAppleApplication):
* Source/WebCore/platform/ios/wak/WebCoreThread.mm:
(WebThreadEnable):
* Source/WebCore/workers/WorkerRunLoop.cpp:
(WebCore::WorkerDedicatedRunLoop::run):
* Source/WebKitLegacy/mac/WebView/WebView.mm:
(+[WebView initialize]):

Canonical link: https://commits.webkit.org/299220@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