Re: Privileged context features and JavaScript

On 4/17/15 2:44 AM, Mike West wrote:
> Consider Geolocation, for instance: users can disable the API entirely
> in Chrome (and, I assume, other browsers). Should we remove the API in
> these cases as well?

There's no user-facing UI to disable geolocation in Firefox, but there 
is a preference that can be changed in about:config and there are some 
instructions for how to change that preference in about:rights on some 
Firefox platforms (e.g. Firefox on Android).

If that preference is toggled, we in fact remove the API entirely, so 
that "'geolocation' in navigator" tests false.

-Boris

Received on Friday, 17 April 2015 06:53:12 UTC