WebKit Bugzilla
Attachment 368331 Details for
Bug 197317
: [iOS] Our process assertion should not allow idle sleep
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-197317-20190426102941.patch (text/plain), 2.04 KB, created by
Chris Dumez
on 2019-04-26 10:29:42 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Chris Dumez
Created:
2019-04-26 10:29:42 PDT
Size:
2.04 KB
patch
obsolete
>Subversion Revision: 244685 >diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog >index 0c67f75b22d6a11e78580f19f57e3d3164a12038..39c98f42efab8cb35b06876bd3f90e6091c11109 100644 >--- a/Source/WebKit/ChangeLog >+++ b/Source/WebKit/ChangeLog >@@ -1,3 +1,16 @@ >+2019-04-26 Chris Dumez <cdumez@apple.com> >+ >+ [iOS] Our process assertion should not allow idle sleep >+ https://bugs.webkit.org/show_bug.cgi?id=197317 >+ <rdar://problem/50137740> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Our process assertion should not allow idle sleep. This is bad for power because the device >+ may switch between sleep and awake state frequently, as it get woken up by network packages. >+ >+ * UIProcess/ios/ProcessAssertionIOS.mm: >+ > 2019-04-25 Myles C. Maxfield <mmaxfield@apple.com> > > [iOS] Add internal setting to force -webkit-text-size-adjust to "auto" >diff --git a/Source/WebKit/UIProcess/ios/ProcessAssertionIOS.mm b/Source/WebKit/UIProcess/ios/ProcessAssertionIOS.mm >index b8e6cfd67bb61b5f9145096d74c35a69172d5056..0c9adf3f5c13929d160ef44ac09acf27242bcbdf 100644 >--- a/Source/WebKit/UIProcess/ios/ProcessAssertionIOS.mm >+++ b/Source/WebKit/UIProcess/ios/ProcessAssertionIOS.mm >@@ -130,8 +130,8 @@ @end > namespace WebKit { > > const BKSProcessAssertionFlags suspendedTabFlags = (BKSProcessAssertionAllowIdleSleep); >-const BKSProcessAssertionFlags backgroundTabFlags = (BKSProcessAssertionAllowIdleSleep | BKSProcessAssertionPreventTaskSuspend); >-const BKSProcessAssertionFlags foregroundTabFlags = (BKSProcessAssertionAllowIdleSleep | BKSProcessAssertionPreventTaskSuspend | BKSProcessAssertionWantsForegroundResourcePriority | BKSProcessAssertionPreventTaskThrottleDown); >+const BKSProcessAssertionFlags backgroundTabFlags = (BKSProcessAssertionPreventTaskSuspend); >+const BKSProcessAssertionFlags foregroundTabFlags = (BKSProcessAssertionPreventTaskSuspend | BKSProcessAssertionWantsForegroundResourcePriority | BKSProcessAssertionPreventTaskThrottleDown); > > static BKSProcessAssertionFlags flagsForState(AssertionState assertionState) > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 197317
:
368330
| 368331