Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c5fa77c084b88ace87bb6b2ec49f0012a23da574
      
https://github.com/WebKit/WebKit/commit/c5fa77c084b88ace87bb6b2ec49f0012a23da574
  Author: Jer Noble <[email protected]>
  Date:   2024-03-12 (Tue, 12 Mar 2024)

  Changed paths:
    M Source/WebKit/UIProcess/ApplicationStateTracker.mm

  Log Message:
  -----------
  REGRESSION(275943@main) TestWebKitAPI tests timing out
https://bugs.webkit.org/show_bug.cgi?id=270875
rdar://124475961

Reviewed by Ben Nham and Chris Dumez.

TestWebKitAPI, when running against iOS, is not a "real" UI application. As 
such, the UIWindows
it creates are not associated with any UIWindowScene. This breaks the 
foreground/background checking
logic in ApplicationStateTracker.

Update ApplicationStateTracker to treat the view as "not background" if it has 
a UIWindow but no
UIScene.

* Source/WebKit/UIProcess/ApplicationStateTracker.mm:
(WebKit::ApplicationStateTracker::setScene):

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