diff --git a/index.html b/index.html index 79a7308..8cce6bb 100644 --- a/index.html +++ b/index.html @@ -317,9 +317,8 @@

"powerful feature">name, which is a string literal (e.g., "geolocation").

- The user agent is responsible for tracking which powerful features each [=global - object/realm=] has the user's [=permission=] to use via the [=environment settings - object=]. + The user agent tracks which powerful features the user has [=permission=] to use + via the [=environment settings object=].

@@ -439,7 +438,7 @@

For example, {{MediaDevices/getUserMedia()}} needs to determine which cameras - the user has granted [=ECMAScript/the current realm record=] permission to access. + the user has granted permission to access.

If a {{DOMString}} |name| names one of these features, then |name|'s

  • If the user gives [=express permission=] to use the powerful feature, return {{PermissionState/"granted"}}; otherwise return {{PermissionState/"denied"}}. The user's - interaction may provide new information about the user's intent for this [=global - object/realm=] and other [=global object/realms=] with the same origin. + interaction may provide new information about the user's intent for the + [=origin=].

    This is intentionally vague about the details of the permission UI and how the user agent infers user intent. User agents should be able to explore lots of UI within @@ -714,9 +713,7 @@

  • If the user chose one or more options, return them; otherwise return - {{PermissionState/"denied"}}. If the user's interaction indicates they intend this choice - to apply to other realms, then treat this this as new information about the user's - intent for other [=global object/realms=] with the same origin. + {{PermissionState/"denied"}}.

    This is intentionally vague about the details of the permission UI and how the user agent infers user intent. User agents should be able to explore lots of UI within @@ -736,15 +733,13 @@

    Reacting to users revoking permission

    - When the user agent learns that the user no longer intends to grant permission for a - [=global object/realm=] to use a feature, react to the user revoking - permission by running these steps: + When the user agent learns that the user no longer intends to grant permission to use a + feature, react to the user revoking permission by running these steps:

    1. - Queue a task on the Realm's [=Realm/settings object=]'s [=environment settings - object/responsible event loop=] to run that feature's [=powerful feature/permission - revocation algorithm=]. + Queue a global task on the [=user interaction task source=] to run that + feature's [=powerful feature/permission revocation algorithm=].
  • @@ -1024,7 +1019,6 @@

    dictionary PermissionSetParameters { required PermissionDescriptor descriptor; required PermissionState state; - boolean oneRealm = false; };
    @@ -1080,12 +1074,9 @@

  • Let |settings| be the [=current settings object=].
  • -
  • If |parameters|.{{PermissionSetParameters/oneRealm}} is true, let |targets| be a - list whose sole member is |settings|. -
  • -
  • Otherwise, let |targets| be a list containing all environment settings - objects whose [=environment settings object/origin=] is the - same as the [=environment settings object/origin=] of |settings|. +
  • Let |targets| be a list containing all environment settings objects + whose [=environment settings object/origin=] is the same as + the [=environment settings object/origin=] of |settings|.
  • Let |tasks| be an empty list.
  • @@ -1143,8 +1134,7 @@

    A user agent SHOULD provide a means for the user to review, update, and reset the - [=permission=] [=permission/state=] of [=powerful features=] associated with a realm or - origin. + [=permission=] [=permission/state=] of [=powerful features=] associated with an [=origin=].