diff --git a/index.html b/index.html index 97a6837..0317ed5 100644 --- a/index.html +++ b/index.html @@ -1225,7 +1225,7 @@

         dictionary PermissionSetParameters {
-          required PermissionDescriptor descriptor;
+          required object descriptor;
           required PermissionState state;
         };
       
@@ -1317,12 +1317,12 @@

{{PermissionState/"denied"}} at this step.

-
  • Let |rootDesc| be |parameters|.{{PermissionSetParameters/descriptor}}. +
  • Let |rootDesc| be |parametersDict|.{{PermissionSetParameters/descriptor}}.
  • -
  • Let |typedDescriptor| be the object |rootDesc| refers to, converted to an IDL - value of |rootDesc|.{{PermissionDescriptor/name}}'s [=powerful feature/permission - descriptor type=]. If this throws an exception, return a [=invalid argument=] - [=error=]. +
  • Let |typedDescriptor| be the object |rootDesc| refers to, + [=converted to an IDL value=] of [=powerful feature/permission descriptor type=] + matching the result of Get(|rootDesc|, + "`name`"). If this throws an exception, return a [=invalid argument=] [=error=].
  • [=Set a permission=] with |typedDescriptor| and |parametersDict|.{{PermissionSetParameters/state}}.