Closed Bug 1125411 Opened 10 years ago Closed 10 years ago

Enable OS X CoreLocation provider

Categories

(Core :: DOM: Geolocation, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla38

People

(Reporter: cpeterson, Assigned: garvan)

References

Details

Attachments

(1 file, 3 obsolete files)

No description provided.
Changed the default to enabled.
Attachment #8554556 - Flags: review?(cpeterson)
Comment on attachment 8554556 [details] [diff] [review] enable-corelocation-by-default.diff Review of attachment 8554556 [details] [diff] [review]: ----------------------------------------------------------------- LGTM. Do you plan to enable CoreLocation before or after you land the MLS GeoIP fallback (bug 1121265)? It would be nice if the "geo.provider.use_corelocation" pref was defined in browser/app/profile/firefox.js. That way it will show up in about:config and people can toggle it without needing to know some secret pref name.
Attachment #8554556 - Flags: review?(cpeterson) → review+
bug 1121265 (and before that, bug 1121497) should land first. I like your point about exposing the pref, let's do that, it is more user friendly (for the enthusiast user who likes to play in about:config).
Added: expose the corelocation pref to about:config
Attachment #8554556 - Attachment is obsolete: true
Attachment #8554624 - Flags: review?(cpeterson)
Comment on attachment 8554624 [details] [diff] [review] enable core location by default and expose in about:config Hold on, lets wrap that firefox.js line in mac-only, since I just found an example of that.
Attachment #8554624 - Attachment is obsolete: true
Attachment #8554624 - Flags: review?(cpeterson)
Added mac-only pref to firefox.js
Attachment #8554631 - Flags: review?(cpeterson)
Comment on attachment 8554631 [details] [diff] [review] enable-corelocation-by-default.diff Review of attachment 8554631 [details] [diff] [review]: ----------------------------------------------------------------- LGTM!
Attachment #8554631 - Flags: review?(cpeterson) → review+
Rebased on latest m-c. Carry over r+ from cpeterson. Try green: https://treeherder.mozilla.org/#/jobs?repo=try&revision=50f3f704e0d3
Attachment #8554631 - Attachment is obsolete: true
Attachment #8554724 - Flags: review+
Keywords: checkin-needed
sorry had to back out this changes in https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=e28ef6984108 since one of this changes caused a bustage in OS X static analysis builds like: https://treeherder.mozilla.org/logviewer.html#?job_id=5955163&repo=mozilla-inbound
Flags: needinfo?(gkeeley)
Bug 1121265 was the problem patch, is fixed
Flags: needinfo?(gkeeley)
Keywords: checkin-needed
I'm trying to evaluate documentation needs here: will this have an impact on Geolocation API? I guess it will improve accuracy on OS X.
Flags: needinfo?(gkeeley)
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
No impact on the Geolocation API is intended. Regarding accuracy: previously the Google location service was being used, the switch to Apple's service may produce different results, but both services are considered to have equivalent accuracy.
Flags: needinfo?(gkeeley)
Depends on: 1129444
Blocks: 1129696
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: