[webkit-changes] [WebKit/WebKit] 94b54a: Avoid taking near suspended assertion in processes...

bnham noreply at github.com
Thu Feb 29 12:25:57 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 94b54aa0adda3759b52e929aeaba50c409e520c0
      https://github.com/WebKit/WebKit/commit/94b54aa0adda3759b52e929aeaba50c409e520c0
  Author: Ben Nham <nham at apple.com>
  Date:   2024-02-29 (Thu, 29 Feb 2024)

  Changed paths:
    M Source/WebKit/UIProcess/WebProcessProxy.cpp

  Log Message:
  -----------
  Avoid taking near suspended assertion in processes with no pages
https://bugs.webkit.org/show_bug.cgi?id=270252
rdar://123788018

Reviewed by Chris Dumez.

In 272937 at main, we stopped taking the near suspended assertion by default in most cases. However, I
forgot to change WebProcessProxy::shouldTakeNearSuspendedAssertion() to consult that default value
in the no page case. This fixes that issue.

* Source/WebKit/UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::shouldTakeNearSuspendedAssertion const):

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