Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geolocation API #529

Closed
1 task done
xfq opened this issue Jun 24, 2020 · 11 comments
Closed
1 task done

Geolocation API #529

xfq opened this issue Jun 24, 2020 · 11 comments
Assignees
Labels
Resolution: satisfied The TAG is satisfied with this design Venue: Devices & Sensors WG

Comments

@xfq
Copy link
Contributor

xfq commented Jun 24, 2020

Saluton TAG!

I'm requesting a TAG review of Geolocation API.

This specification defines an API that provides scripted access to geographical location information associated with the hosting device. It is now maintained by the Devices and Sensors WG, and contains the following substantive changes since the last REC:


Further details:

  • I have reviewed the TAG's API Design Principles
  • The group where the work on this specification is currently being done: W3C DAS WG
  • Major unresolved issues with or opposition to this specification: no known issues

We'd prefer the TAG provide feedback as:

☂️ open a single issue in our GitHub repo for the entire review

@hadleybeeman
Copy link
Member

Hi @xfq! We're looking at this at our W3C TAG virtual face-to-face. Do you have an explainer we could look at?

@xfq
Copy link
Contributor Author

xfq commented Sep 24, 2020

We're looking at this at our W3C TAG virtual face-to-face. Do you have an explainer we could look at?

@hadleybeeman Not yet. I just filed w3c/geolocation#59 for this.

@plinss plinss removed this from the 2020-09-21-F2F-Cork milestone Oct 14, 2020
@torgo
Copy link
Member

torgo commented Jan 26, 2021

Hi @xfq - I guess this has fallen through the cracks for you folks - and we haven't been the best at following it up either. I want to make sure we're able to do this. Can you provide a more substantive discussion / description of the changes including the justification and user needs behind them? And what has happened since the last REC regarding security & privacy and the move to secure contexts? Hope this helps to focus the activity so we can complete this review.

@hadleybeeman
Copy link
Member

Looking at this in our W3C TAG virtual face-to-face. Specifically looking at the 3.2 Privacy considerations for recipients of location information section, we aren't sure that it makes sense to put normative references on the recipients of geolocation information. They aren't implementing the spec. Perhaps you'd want to make these non-normative?

@marcoscaceres
Copy link
Contributor

Just FYI, I've updated the README to be more like an explainer:
w3c/geolocation#65

I've also called out the examples in the spec, as they also serve the role of an explainer.

@hadleybeeman:

we aren't sure that it makes sense to put normative references on the recipients of geolocation information. They aren't implementing the spec. Perhaps you'd want to make these non-normative?

Yeah, you are right... recipients are not a conformance class, so the conformance requirements make no sense there. I'll send a PR to fix that up.

@marcoscaceres
Copy link
Contributor

marcoscaceres commented Mar 22, 2021

Sent PR w3c/geolocation#66 .... the section is now informative, with lowercase "must, should, can". Also added a clarifying note about what a "recipient" is (basically a developer... that was not clear).

@marcoscaceres
Copy link
Contributor

Fixed link to pull request above 😅

@hadleybeeman
Copy link
Member

Thanks for addressing that comment, @marcoscaceres!

We're looking at this in our virtual TAG face-to-face. The Privacy and Security section looks stronger now, though it still has more text for recipients than implementers (in a document whose audience is more likely to be implementers).

We suggest strengthening the section for implementers 3.2 Implementation considerations:

However, in designing these measures, implementers are advised to enable user awareness of location sharing, and to provide access to user interfaces that enable revocation of permissions.

...by adding additional examples like periodic permissions prompts (for example, "$website still has access to your location. Would you like it to continue to know where you are?"), visual indicators of when location is being used, etc.

@hadleybeeman hadleybeeman added Progress: pending external feedback The TAG is waiting on response to comments/questions asked by the TAG during the review and removed Progress: stalled labels May 13, 2021
@torgo torgo added this to the 2021-05-17-week milestone May 13, 2021
@marcoscaceres
Copy link
Contributor

Thanks @hadleybeeman.

Prompted (no pun intended!) by this and related discussion, we are looking at adding such recommendations/examples generally to the Permissions API as part of w3c/permissions#233

@hadleybeeman
Copy link
Member

Thanks, @marcoscaceres. To clarify: we were thinking more about advice to implementers of geolocation, rather than making changes to the Permissions API. Repeated prompts and UI indicators should be in the suite of options that browsers can use to empower/inform their users.

Beyond that though, we don't think we have much more to add. We're glad to see the progression this effort has taken, given the years in its development and our privacy concerns on earlier iterations. We are proposing to close this issue, but let us know if we can help with anything else.

@hadleybeeman hadleybeeman added Progress: propose closing we think it should be closed but are waiting on some feedback or consensus and removed Progress: pending external feedback The TAG is waiting on response to comments/questions asked by the TAG during the review labels Jun 1, 2021
@marcoscaceres
Copy link
Contributor

Thanks, @marcoscaceres. To clarify: we were thinking more about advice to implementers of geolocation, rather than making changes to the Permissions API. Repeated prompts and UI indicators should be in the suite of options that browsers can use to empower/inform their users.

TBH, I'm hesitant to add anything that makes UI suggestions. Having worked at multiple browser vendor companies, the privacy UI teams of those companies are exceptionally professional (and scientific!) at coming up with innovative solutions to the UI challenges of the Web. I'd feel like we would be overstepping or being patronizing if we suggested anything, given that we are not user-testing anything we would propose.

Case in point, Mozilla's solution for annoying notification requests and the underlying research that went into that solution.

Beyond that though, we don't think we have much more to add. We're glad to see the progression this effort has taken, given the years in its development and our privacy concerns on earlier iterations. We are proposing to close this issue, but let us know if we can help with anything else.

Thanks again @hadleybeeman and TAG members. This has been very fruitful!

@torgo torgo added Resolution: satisfied The TAG is satisfied with this design and removed Progress: propose closing we think it should be closed but are waiting on some feedback or consensus labels Jun 2, 2021
@torgo torgo removed this from the 2021-05-31-week milestone Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: satisfied The TAG is satisfied with this design Venue: Devices & Sensors WG
Projects
None yet
Development

No branches or pull requests

6 participants