File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 594
594
< pre class ="idl ">
595
595
[Exposed=Window, SecureContext]
596
596
interface DigitalCredential : Credential {
597
+ [Default] object toJSON();
597
598
readonly attribute DOMString protocol;
598
599
[SameObject] readonly attribute object data;
599
600
static boolean userAgentAllowsProtocol(DOMString protocol);
@@ -689,6 +690,14 @@ <h3>
689
690
</ li >
690
691
< li > If |requests| is empty, [=exception/throw=] a {{TypeError}}.
691
692
</ li >
693
+ < li > [=List/For each=] |request| of |requests|:
694
+ < ol >
695
+ < li > [=serialize a JavaScript value to a JSON string|Serialize=]
696
+ |request| to a JSON string. [=exception/throw|Re-throw=] any
697
+ [=exception=].
698
+ </ li >
699
+ </ ol >
700
+ </ li >
692
701
< li >
693
702
< aside class ="issue ">
694
703
Details of how to actually get the [=digital credential=] are
@@ -738,6 +747,14 @@ <h3>
738
747
</ li >
739
748
< li > If |requests| is empty, [=exception/throw=] a {{TypeError}}.
740
749
</ li >
750
+ < li > [=List/For each=] |request| of |requests|:
751
+ < ol >
752
+ < li > [=serialize a JavaScript value to a JSON string|Serialize=]
753
+ |request| to a JSON string. [=exception/throw|Re-throw=] any
754
+ [=exception=].
755
+ </ li >
756
+ </ ol >
757
+ </ li >
741
758
< li >
742
759
< aside class ="issue ">
743
760
Details of how to actually issue the [=digital credential=] are
You can’t perform that action at this time.
0 commit comments