[webkit-changes] [WebKit/WebKit] 857e02: [macOS] Fix TestWebKitAPI.WebKit.ResponsivenessTim...

Miguel Salinas noreply at github.com
Thu Mar 30 17:20:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 857e02522abcceb9cb46dd2f9ac2e79a0a899c39
      https://github.com/WebKit/WebKit/commit/857e02522abcceb9cb46dd2f9ac2e79a0a899c39
  Author: Miguel Salinas <miguel_salinas at apple.com>
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
    M Source/WebKit/UIProcess/ProcessThrottler.h

  Log Message:
  -----------
  [macOS] Fix TestWebKitAPI.WebKit.ResponsivenessTimerCrash timeout
https://bugs.webkit.org/show_bug.cgi?id=253660
rdar://problem/106509558

Reviewed by Chris Dumez.

The ProcessThrottler is effectively disabled until didConnectToProcess()
is called. m_processIdentifier is 0 until didConnectToProcess(). Some OS
versions never call didConnectToProcess(). We should not return true for
isSuspended() when the ProcessThrottler is effectively disabled.

* Source/WebKit/UIProcess/ProcessThrottler.h:
(WebKit::ProcessThrottler::isSuspended const):

Canonical link: https://commits.webkit.org/262381@main




More information about the webkit-changes mailing list