Closed Bug 690387 Opened 13 years ago Closed 9 years ago

Enable/Disable wifi geolocation

Categories

(Core :: DOM: Geolocation, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: Bill, Unassigned)

Details

Now that the issue in bug 654154 (https://bugzilla.mozilla.org/show_bug.cgi?id=654154) has been resolved there remains one question.

Is there any "clean" way to have geolocation enabled but the wifi (i.e., asking Google for wi-fi based location) disabled?

I have achieved that as I noted in the original bug report (654154) by setting the geo.wifi.uri  to blank. That causes an exception in NetworkGeolocationProvider.js when the URI can't be parsed. But that seems to be a rather clumsy way to turn off the geo.wifi capability.

What I would like to see is a geo.wifi.enabled config item, set to true as default, but if false would disable the NetworkGeolocationProvider. And perhaps the same for GPSDGeolocationProvider: a config item geo.gpsd.enabled true or false.
Component: General → Geolocation
Product: Firefox → Core
QA Contact: general → geolocation
OS: Linux → All
Hardware: x86 → All
These days there is a "geo.enabled" config setting, which lets you disable all of geolocation.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.