haikuwebkit/Source/WebKit/NetworkProcess/ios
Chris Dumez 6a417637d5 RunningBoard kills the network process if it is still holding the "holding locked file" assertion upon suspension
https://bugs.webkit.org/show_bug.cgi?id=228148

Reviewed by Sihui Liu.

RunningBoard kills the network process if it is still holding the "holding locked file" assertion upon suspension
because our assertion type is "uninterruptible" and we don't release it when it gets invalidated. To address the
issue, we now use an "interruptible" assertion instead when holding locked files.

* NetworkProcess/ios/NetworkProcessIOS.mm:
(WebKit::NetworkProcess::setIsHoldingLockedFiles):
* UIProcess/ProcessAssertion.h:
* UIProcess/ProcessThrottler.cpp:
(WebKit::ProcessThrottler::assertionName const):
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::didSetAssertionType):
* UIProcess/ios/ProcessAssertionIOS.mm:
(WebKit::runningBoardNameForAssertionType):
(WebKit::runningBoardDomainForAssertionType):


Canonical link: https://commits.webkit.org/239857@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-07-21 20:59:27 +00:00
..
NetworkConnectionToWebProcessIOS.mm REGRESSION (r261254): Broke Apple Pay on macOS 2020-05-13 16:02:31 +00:00
NetworkProcessIOS.mm RunningBoard kills the network process if it is still holding the "holding locked file" assertion upon suspension 2021-07-21 20:59:27 +00:00