Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 06a683e38ea5a72ef50a454d65ef6779a90393ba
      
https://github.com/WebKit/WebKit/commit/06a683e38ea5a72ef50a454d65ef6779a90393ba
  Author: Zak Ridouh <[email protected]>
  Date:   2025-04-05 (Sat, 05 Apr 2025)

  Changed paths:
    M Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm

  Log Message:
  -----------
  [WKTR] Crash WKTR in setup if no screens returned from AppKit
https://bugs.webkit.org/show_bug.cgi?id=291122
rdar://148636042

Reviewed by David Kilzer and Alexey Proskuryakov.

We've come across some situations where the `NSScreen screens` API
doesn't return any valid screens for us to use in WKTR (for example
post WindowServer crash, or sandboxing where the app can't connect to WS),
and we should not support this configuration.

Add a release assert with message to crash the process.

* Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm:
(WTR::PlatformWebView::PlatformWebView):

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