[Webkit-unassigned] [Bug 163813] New: WebPage should take UserActivity directly for user input

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 21 15:01:20 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=163813

            Bug ID: 163813
           Summary: WebPage should take UserActivity directly for user
                    input
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: barraclough at apple.com

When we receive mouse/keyboard events in a page, we want to prevent AppNap. We currently do so via the PageThrottler. This patch is to just make the WebPage drive the UserActivity directly.

Two reasons to do so: (1) to cleanup & simplify for further refactoring. (2) The current code isn't really achieving the desired effect. The page setting the flag in the throttler to get the activity to be set is now a less effective way of achieving this goal, since the PageActivityState bounces back across to the UI process & then messages back to the WebContent process to take the UserActivity. These extra hops defeat the purpose of making sure the boost from the initial message isn't lost.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161021/0e737f41/attachment.html>


More information about the webkit-unassigned mailing list