[webkit-changes] [WebKit/WebKit] c5fa77: REGRESSION(275943 at main) TestWebKitAPI tests timing...

Jer Noble noreply at github.com
Tue Mar 12 16:49:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c5fa77c084b88ace87bb6b2ec49f0012a23da574
      https://github.com/WebKit/WebKit/commit/c5fa77c084b88ace87bb6b2ec49f0012a23da574
  Author: Jer Noble <jer.noble at apple.com>
  Date:   2024-03-12 (Tue, 12 Mar 2024)

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

  Log Message:
  -----------
  REGRESSION(275943 at 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


More information about the webkit-changes mailing list