| Summary: | Disable App Nap in WebKitTestRunner UI process | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> | ||||
| Component: | Tools / Tests | Assignee: | Alexey Proskuryakov <ap> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | andersca, barraclough, cdumez, dbates, sam | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=108400 https://bugs.webkit.org/show_bug.cgi?id=144155 |
||||||
| Attachments: |
|
||||||
|
Description
Alexey Proskuryakov
2015-04-27 19:46:18 PDT
Created attachment 251808 [details]
proposed patch
This changes process role from TASK_BACKGROUND_APPLICATION to TASK_UNSPECIFIED. I don't know all the ramifications, but at least the patch is not a no-op, and it makes WKTR more like DRT.
Comment on attachment 251808 [details] proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=251808&action=review This looks sane to me. > Tools/WebKitTestRunner/mac/main.mm:45 > + static id assertion = [[[NSProcessInfo processInfo] beginActivityWithOptions:options reason:@"DumpRenderTree should not be subject to process suppression"] retain]; DumpRenderTree => WebKitTestRunner |