Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1011,27 +1011,27 @@ <h3>
top-level traversable with user attention=], return [=a promise rejected
with=] a {{"NotAllowedError"}} {{DOMException}}.
</li>
<li>If |window| does not have [=transient activation=], return [=a
promise rejected with=] a {{"NotAllowedError"}} {{DOMException}}.
</li>
<li>[=Consume user activation=] of |window|.
</li>
<li>Let |requests| be |options|'s {{CredentialRequestOptions/digital}}'s
{{DigitalCredentialRequestOptions/requests}} member.
</li>
<li>If |requests| is empty, return [=a promise rejected with=] a
<li>If |requests| [=list/is empty=], return [=a promise rejected with=] a
{{TypeError}}.
</li>
<li>[=List/For each=] |request| of |requests|:
<ol>
<li>[=serialize a JavaScript value to a JSON string|Serialize=]
|request| to a JSON string.
|request|'s {{DigitalCredentialGetRequest/data}} to a JSON string.
</li>
<li>If serialization results in an [=exception=], return [=a promise
rejected with=] that [=exception=].
</li>
</ol>
</li>
<li>If |global| does not have [=transient activation=], return [=a
promise rejected with=] a {{"NotAllowedError"}} {{DOMException}}.
</li>
<li>[=Consume user activation=] of |global|.
</li>
<li>
<aside class="issue">
Details of how to actually get the [=digital credential=] are
Expand Down Expand Up @@ -1076,27 +1076,27 @@ <h3>
top-level traversable with user attention=], return [=a promise rejected
with=] a {{"NotAllowedError"}} {{DOMException}}.
</li>
<li>If |window| does not have [=transient activation=], return [=a
promise rejected with=] a {{"NotAllowedError"}} {{DOMException}}.
</li>
<li>[=Consume user activation=] of |window|.
</li>
<li>Let |requests| be |options|'s {{CredentialCreationOptions/digital}}'s
{{DigitalCredentialCreationOptions/requests}} member.
</li>
<li>If |requests| is empty, return [=a promise rejected with=] a
{{TypeError}}.
<li>If |requests| is [=list/is empty=], return [=a promise rejected
with=] a {{TypeError}}.
</li>
<li>[=List/For each=] |request| of |requests|:
<ol>
<li>[=serialize a JavaScript value to a JSON string|Serialize=]
|request| to a JSON string.
|request|'s {{DigitalCredentialGetRequest/data}} to a JSON string.
</li>
<li>If serialization results in an [=exception=], return [=a promise
rejected with=] that [=exception=].
</li>
</ol>
</li>
<li>If |global| does not have [=transient activation=], return [=a
promise rejected with=] a {{"NotAllowedError"}} {{DOMException}}.
</li>
<li>[=Consume user activation=] of |global|.
</li>
<li>
<aside class="issue">
Details of how to actually issue the [=digital credential=] are
Expand Down