| Summary: | Consider allowing the background page to throttle or be suspended | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Timothy Hatcher <timothy> |
| Component: | WebKit Extensions | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | timothy, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
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).