[webkit-changes] [WebKit/WebKit] 9be1d8: ShouldDropNearSuspendedAssertionAfterDelay setting...
Chris Dumez
noreply at github.com
Tue May 9 15:55:30 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9be1d82ea16f9b778ae5d800448aa468ad562fd8
https://github.com/WebKit/WebKit/commit/9be1d82ea16f9b778ae5d800448aa468ad562fd8
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-05-09 (Tue, 09 May 2023)
Changed paths:
M Source/WebKit/UIProcess/ProcessThrottler.cpp
M Source/WebKit/UIProcess/ProcessThrottler.h
Log Message:
-----------
ShouldDropNearSuspendedAssertionAfterDelay setting has no effect
https://bugs.webkit.org/show_bug.cgi?id=256541
Reviewed by Geoffrey Garen.
The "ShouldDropNearSuspendedAssertionAfterDelay" setting has no effect. This
setting is connected to a linked-on-after flag and was meant to only enable
full process suspension once apps get rebuilt against the latest SDK. Because
of this bug, every app is currently opted into full process suspension even if
they don't rebuild with the latest SDK.
* Source/WebKit/UIProcess/ProcessThrottler.cpp:
(WebKit::ProcessThrottler::setThrottleState):
(WebKit::ProcessThrottler::dropNearSuspendedAssertionTimerFired):
(WebKit::ProcessThrottler::setShouldDropNearSuspendedAssertionAfterDelay):
* Source/WebKit/UIProcess/ProcessThrottler.h:
(WebKit::ProcessThrottler::setShouldDropNearSuspendedAssertionAfterDelay): Deleted.
Canonical link: https://commits.webkit.org/263882@main
More information about the webkit-changes
mailing list