mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 1125411 - OSX: turn CoreLocation provider on, r=cpeterson
Also, expose this setting in about:config
This commit is contained in:
parent
f731776422
commit
e7db1cc8a3
@ -1711,6 +1711,11 @@ pref("dom.debug.propagate_gesture_events_through_content", false);
|
||||
// The request URL of the GeoLocation backend.
|
||||
pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
|
||||
|
||||
// On Mac, the default geo provider is corelocation.
|
||||
#ifdef XP_MACOSX
|
||||
pref("geo.provider.use_corelocation", true);
|
||||
#endif
|
||||
|
||||
// Necko IPC security checks only needed for app isolation for cookies/cache/etc:
|
||||
// currently irrelevant for desktop e10s
|
||||
pref("network.disable.ipc.security", true);
|
||||
|
@ -809,7 +809,7 @@ nsresult nsGeolocationService::Init()
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_WIDGET_COCOA
|
||||
if (Preferences::GetBool("geo.provider.use_corelocation", false)) {
|
||||
if (Preferences::GetBool("geo.provider.use_corelocation", true)) {
|
||||
mProvider = new CoreLocationLocationProvider();
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user