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.
<rdar://89931043>
Created attachment 454778 [details] Patch
Patch is ready for review. The EWS failure is unrelated.
Comment on attachment 454778 [details] Patch r=me Looks like a nice simplification too.
Comment on attachment 454778 [details] Patch Thanks for reviewing.
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].