Skip to content

Commit

Permalink
Use object for PermissionSetParameters.descriptor (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
saschanaz authored Mar 8, 2024
1 parent ceeb6a3 commit 32c905c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@ <h2 id="automation">
</p>
<pre class='idl'>
dictionary PermissionSetParameters {
required PermissionDescriptor descriptor;
required object descriptor;
required PermissionState state;
};
</pre>
Expand Down Expand Up @@ -1317,12 +1317,12 @@ <h4 id="webdriver-command-set-permission">
{{PermissionState/"denied"}} at this step.
</p>
</li>
<li>Let |rootDesc| be |parameters|.{{PermissionSetParameters/descriptor}}.
<li>Let |rootDesc| be |parametersDict|.{{PermissionSetParameters/descriptor}}.
</li>
<li>Let |typedDescriptor| be the object |rootDesc| refers to, <a>converted to an IDL
value</a> of |rootDesc|.{{PermissionDescriptor/name}}'s [=powerful feature/permission
descriptor type=]. If this throws an exception, return a [=invalid argument=]
[=error=].
<li>Let |typedDescriptor| be the object |rootDesc| refers to,
[=converted to an IDL value=] of [=powerful feature/permission descriptor type=]
matching the result of <a data-cite="ecma-262#sec-get-o-p">Get</a>(|rootDesc|,
"`name`"). If this throws an exception, return a [=invalid argument=] [=error=].
</li>
<li>[=Set a permission=] with |typedDescriptor| and
|parametersDict|.{{PermissionSetParameters/state}}.
Expand Down

0 comments on commit 32c905c

Please sign in to comment.