diff --git a/index.html b/index.html index 3e3e1c0..1f5e907 100644 --- a/index.html +++ b/index.html @@ -394,6 +394,38 @@

information also discloses the location of the user of the device, thereby potentially compromising the user's privacy.

+
+

+ User consent +

+

+ The Geolocation API is a [=powerful feature=] that + requires [=express permission=] from an end-user before any location + data is shared with a web application. This requirement is + normatively enforced by the [=check permission=] steps on which the + {{Geolocation/getCurrentPosition()}} and + {{Geolocation/watchPosition()}} methods rely. +

+

+ An end-user will generally give [=express permission=] through a user + interface, which usually present a range of permission + [=permission/lifetimes=] that the end-user can choose from. The + choice of [=permission/lifetimes=] vary across user agents, but they + are typically time-based (e.g., "a day"), or until browser is closed, + or the user might even be given the choice for the permission to be + granted indefinitely. The permission [=permission/lifetimes=] dictate + how long a user agent [=permission/grants=] a permission before that + permission is automatically reverted back to its default [=permission + state=], prompting the end-user to make a new choice upon subsequent + use. +

+

+ Although the granularity of the permission [=permission/lifetime=] + varies across user-agents, this specification urges user agents to + limit the lifetime to a single browsing session by default (see + [[[#check-permission]]] for normative requirements). +

+

Privacy considerations for recipients of location information @@ -835,13 +867,23 @@

-
+

Check permission

The Geolocation API is a [=default powerful feature=].

+

+ The user agent MAY suggest time-based [=permission=] + [=permission/lifetimes=], such as "24 hours", "1 week", or choose to + remember the permission [permission/grant=] indefinitely. However, it + is RECOMMENDED that a user agent prioritize restricting the + [=permission=] [=permission/lifetime=] to a single session: This can + be, for example, until the [=environment settings object/realm=] is + destroyed, the end-user [=navigates=] away from the [=origin=], or + the relevant browser tab is closed. +

When instructed to check permission, given a {{PositionErrorCallback}}`?` |errorCallback:PositionErrorCallback|: