WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
259706
WebKit shouldn't be modifying the value of UIApplication.idleTimerDisabled
https://bugs.webkit.org/show_bug.cgi?id=259706
Summary
WebKit shouldn't be modifying the value of UIApplication.idleTimerDisabled
Chris Dumez
Reported
2023-08-01 14:16:11 PDT
WebKit shouldn't be modifying the value of UIApplication.idleTimerDisabled because we're a framework. The hosting application can rely on this flag to prevent screen sleep and it is not good for WebKit to be potentially overriding a value set by the application. To address the issue, the UIKit code indicates that frameworks are expected to call the `_setIdleTimerDisabled:forReason:` SPI instead.
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2023-08-01 14:19:02 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/16291
EWS
Comment 2
2023-08-01 16:54:30 PDT
Committed
266499@main
(9ed33f8f5890): <
https://commits.webkit.org/266499@main
> Reviewed commits have been landed. Closing PR #16291 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2023-08-01 16:55:18 PDT
<
rdar://problem/113236414
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug