Summary: | [WK2] Notify client when a process exceeds background CPU limit while in the foreground | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||
Component: | WebKit2 | Assignee: | Chris Dumez <cdumez> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, ggaren, kling, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | 172244 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Description
Chris Dumez
2017-05-17 15:04:16 PDT
Created attachment 310450 [details]
WIP Patch
Comment on attachment 310450 [details] WIP Patch View in context: https://bugs.webkit.org/attachment.cgi?id=310450&action=review > Source/WebKit2/UIProcess/WebProcessProxy.cpp:1167 > + // FIXME: We should call a delegate to notify the client we exceeded the background CPU limit while in the foreground (i.e. we would have terminated the process if it weren't visible). I am holding off on this part since Andreas seems pretty far along on Bug 172244, and we'll likely use the same client callback (with a different parameter). Created attachment 310687 [details]
Patch
Comment on attachment 310687 [details]
Patch
r=me
Comment on attachment 310687 [details] Patch Clearing flags on attachment: 310687 Committed r217153: <http://trac.webkit.org/changeset/217153> All reviewed patches have been landed. Closing bug. |