Bug 312748
| Summary: | Geolocation: add support for approximate position | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Marcos Caceres <marcosc> |
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Marcos Caceres
There is a proposal to add approximate (coarse-grained) positioning to the Geolocation API specification.
The proposed API additions are:
- `AccuracyMode` enum (`"precise"`, `"approximate"`)
- `PositionOptions.accuracyMode` member (defaults to `"precise"`)
- `GeolocationCoordinates.accuracyMode` read-only attribute
- A new `"geolocation-approximate"` permission alongside the existing `"geolocation"` permission
This would give users more control over their privacy by allowing them to share only an approximate position (e.g., city-level) when precise coordinates are not needed.
WebKit standards position: support (https://github.com/WebKit/standards-positions/issues/470)
Spec PR: https://github.com/w3c/geolocation/pull/195
Explainer: https://github.com/explainers-by-googlers/approximate-geolocation
Feature request: https://github.com/w3c/geolocation/issues/182
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/175140297>