Bug 263286
| 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: | nekohayo, timothy, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Timothy Hatcher
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/117096430>