688
688
< li > Let |requests| be |options|'s {{CredentialRequestOptions/digital}}'s
689
689
{{DigitalCredentialRequestOptions/requests}} member.
690
690
</ li >
691
- < li > If |requests| is empty, [=exception/throw=] a {{TypeError}}.
691
+ < li > If |requests| [=list/ is empty=] , [=exception/throw=] a {{TypeError}}.
692
692
</ li >
693
693
< li > [=List/For each=] |request| of |requests|:
694
694
< ol >
@@ -700,25 +700,27 @@ <h3>
700
700
allowed by the user agent, [=exception/throw=] a
701
701
{{NotSupportedError}} {{DOMException}}.
702
702
</ li >
703
- < li > If the [=digital credential/exchange protocol=] defines an IDL
704
- [=dictionary=] for [=converted to an idl value|conversion=]:
703
+ < li > If |protocol| is not supported by the user agent,
704
+ [=exception/throw=] a {{NotSupportedError}} {{DOMException}}.
705
+ </ li >
706
+ < li > If the [=registry/link|specification=] corresponding to
707
+ |protocol| defines an IDL {{dictionary}} for [=converted to an idl
708
+ value|conversion=]:
705
709
< ol >
706
710
< li > Let |request| be |requests|'s
707
711
{{DigitalCredentialGetRequest/data}} [=converted to an idl
708
- value|converted=] to a | dictionary| . [=exception/throw|Rethrow=]
712
+ value|converted=] to that dictionary. [=exception/throw|Rethrow=]
709
713
any exceptions.
710
714
</ li >
711
715
</ ol >
712
716
</ li >
713
717
< li > Otherwise, let |request| be |requests|'s
714
718
{{DigitalCredentialGetRequest/data}}.
715
719
</ li >
716
- < li > Validate |request| against any validation rules set forth in the
717
- corresponding [=registry/link|Specification=]. If any of |request|'s
718
- members are invalid, [=exception/throw=] a {{TypeError}}.
719
- </ li >
720
- < li > Set [=list/item=] at |providers|'s |n| index's
721
- {{DigitalCredentialGetRequest/data}} to |request|
720
+ < li > Validate |converted| against any validation rules set forth in
721
+ the corresponding [=registry/link|specification=]. If any of
722
+ |converted|'s members are invalid, [=exception/throw=] a
723
+ {{TypeError}}.
722
724
</ li >
723
725
</ ol >
724
726
</ li >
0 commit comments