W3C home > Mailing lists > Public > public-geolocation@w3.org > March 2011

Re: Mechanism to determine whether location is currently being shared

From: Dominique Hazael-Massieux <dom@w3.org>
Date: Wed, 23 Mar 2011 10:41:47 +0100
To: Andrei Popescu <andreip@google.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, public-geolocation@w3.org, olalonde@gmail.com
Message-ID: <1300873307.15493.139.camel@altostratustier>
Le jeudi 03 mars 2011 à 13:01 +0000, Andrei Popescu a écrit :
> > A developer recently asked me for some way to tell, in the
> > getCurrentPosition callback, whether the permission grant was due to
> > the user actually seeing the permissions prompt and clicking "Allow"
> > (or the equivalent), or if it was an automatic grant due to the user
> > previously granting the site permanent access to their location.  This
> > can alternately be cast as a request to know if the user has already
> > granted permission to grab their location, such that a call to
> > getCurrentPosition() will return a position without prompting the
> > user, or not.
> >
> I see. There is this Feature Permissions spec:
> http://dev.w3.org/2006/webapi/WebNotifications/publish/FeaturePermissions..html
> but it hasn't been updated in a while. Do you happen to know what is
> the status with that spec? It looks like it would solve your problem?

FWIW, this spec has been taken up by the DAP Working Group (after having
first been started in Web Notifications); see for instance recent
discussions around it at

Received on Wednesday, 23 March 2011 09:42:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:51:02 UTC