Bug 263286

Summary: Consider allowing the background page to throttle or be suspended
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: WebKit ExtensionsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: nekohayo, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Timothy Hatcher
Reported 2023-10-17 15:00:57 PDT
Right now we disable timer throttling, and running board suspension / throttling by setting these properties: preferences._hiddenPageDOMTimerThrottlingEnabled = NO; preferences._pageVisibilityBasedProcessSuppressionEnabled = NO; preferences.inactiveSchedulingPolicy = WKInactiveSchedulingPolicyNone; We should investigate ways to allow this suspension / throttling to happen and wake the background page up as needed (when events need to fire, etc).
Attachments
Radar WebKit Bug Importer
Comment 1 2023-10-17 15:01:26 PDT
Note You need to log in before you can comment on or make changes to this bug.