[webkit-changes] [WebKit/WebKit] e33ada: [macOS] Fix SuspendServiceWorkerProcessBasedOnClie...

Miguel Salinas noreply at github.com
Tue Nov 29 14:30:28 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e33ada3ec1ab3c0501d7aee485dcb38008f010ae
      https://github.com/WebKit/WebKit/commit/e33ada3ec1ab3c0501d7aee485dcb38008f010ae
  Author: Miguel Salinas <miguel_salinas at apple.com>
  Date:   2022-11-29 (Tue, 29 Nov 2022)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm

  Log Message:
  -----------
  [macOS] Fix SuspendServiceWorkerProcessBasedOnClientProcessesWithoutSeparateServiceWorkerProcess test when RunningBoard is enabled.
https://bugs.webkit.org/show_bug.cgi?id=247894
rdar://102320977

Reviewed by Darin Adler and Timothy Hatcher.

This test assumes that all webcontent processes associated with the
service worker have a suspended assertion. However, we currently 'leak'
a foreground assertion on every webcontent process by default when
we build with RunningBoard enabled. We should manually take a suspended
assertion on web content processes associated with this service worker
instead of assuming they already have a suspended assertion.

* Tools/TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm:

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




More information about the webkit-changes mailing list