Hi,
I would like to discuss with this group a proposal to solve the following use case:
Currently, the only mechanism to share your geolocation with a website is through the JS Geolocation API. This means that in order to have the server know the client’s location there are two full roundtrips required (one roundtrip to load the page with Javascript code, and a second roundtrip to actually send the location to the server and get back a location-aware response).
For example, for services like Search, it means that the very first response from a server will contain non-localized results, and a second roundtrip would be required to refresh those results (assuming Geolocation permission is already granted for the origin).
It looks like Client Hints (CH) would be a great mechanism to solve this use case, so I started a draft trying to explain how a CH-extension could look like. You can find it here: https://github.com/luisbargu/geolocation-client-hint
It would be great to get your opinion on this, and whether this is something that might be interesting for people in this group.
Thanks! Luis