Bug 163556 - UIProcess should determine throttle state for WebContent process
Summary: UIProcess should determine throttle state for WebContent process
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Gavin Barraclough
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-17 11:34 PDT by Gavin Barraclough
Modified: 2016-10-17 13:21 PDT (History)
0 users

See Also:


Attachments
Fix (13.74 KB, patch)
2016-10-17 11:56 PDT, Gavin Barraclough
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Barraclough 2016-10-17 11:34:39 PDT
This is a step towards merging page/process throttling code for mac & iOS.

Previously WebPage determined whether to start a UserActivity based on page activity, visibility and the preference to disable. Now WebPage passes the activity state across to WebPageProxy, which makes the decision & explicitly instructs WebPage to start/stop the UserActivity.
Comment 1 Gavin Barraclough 2016-10-17 11:56:06 PDT
Created attachment 291851 [details]
Fix
Comment 2 Gavin Barraclough 2016-10-17 13:21:23 PDT
Committed revision 207424.