WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
211240
WebCore::systemHasBattery() is unnecessarily expensive on iOS
https://bugs.webkit.org/show_bug.cgi?id=211240
Summary
WebCore::systemHasBattery() is unnecessarily expensive on iOS
Chris Dumez
Reported
2020-04-30 10:51:51 PDT
WebCore::systemHasBattery() is unnecessarily expensive on iOS since iOS devices always have a battery.
Attachments
Patch
(1.82 KB, patch)
2020-04-30 10:53 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2020-04-30 10:52:01 PDT
<
rdar://problem/62619971
>
Chris Dumez
Comment 2
2020-04-30 10:53:43 PDT
Created
attachment 398066
[details]
Patch
Geoffrey Garen
Comment 3
2020-04-30 11:01:35 PDT
Comment on
attachment 398066
[details]
Patch I look forward to finding this code ten years from now, to fix a new hardware bug. 😬
EWS
Comment 4
2020-04-30 12:43:19 PDT
Committed
r260960
: <
https://trac.webkit.org/changeset/260960
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 398066
[details]
.
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