WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
237933
Avoid calls to [CLLocationManager authorizationStatus] & [CLLocationManager locationServicesEnabled]
https://bugs.webkit.org/show_bug.cgi?id=237933
Summary
Avoid calls to [CLLocationManager authorizationStatus] & [CLLocationManager l...
Chris Dumez
Reported
2022-03-15 16:55:39 PDT
Avoid calls to [CLLocationManager authorizationStatus] & [CLLocationManager locationServicesEnabled] for performance reason since those APIs are synchronous. Instead, rely on the locationManagerDidChangeAuthorization delegate function to get the authorization asynchronously.
Attachments
Patch
(11.34 KB, patch)
2022-03-15 17:05 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2022-03-15 16:55:50 PDT
<
rdar://89931043
>
Chris Dumez
Comment 2
2022-03-15 17:05:02 PDT
Created
attachment 454778
[details]
Patch
Chris Dumez
Comment 3
2022-03-17 07:40:42 PDT
Patch is ready for review. The EWS failure is unrelated.
Geoffrey Garen
Comment 4
2022-03-18 11:58:20 PDT
Comment on
attachment 454778
[details]
Patch r=me Looks like a nice simplification too.
Chris Dumez
Comment 5
2022-03-18 11:58:44 PDT
Comment on
attachment 454778
[details]
Patch Thanks for reviewing.
EWS
Comment 6
2022-03-18 14:54:59 PDT
Committed
r291496
(
248608@main
): <
https://commits.webkit.org/248608@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 454778
[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