Skip to content

Commit 61aaa44

Browse files
committed
user agent automation section and update the algorithms
1 parent 43b94dc commit 61aaa44

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

index.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -982,6 +982,18 @@ <h3>
982982
</li>
983983
</ol>
984984
</li>
985+
<li>If the session's "next wallet behavior" is set:
986+
</li>
987+
<ol>
988+
<li>If the mode is "respond", resolve the promise with a new `DigitalCredential` object whose `data` member is set to the stored `data`.
989+
</il>
990+
<li>If the mode is "wait", the promise never resolves.
991+
</il>
992+
<li>If the mode is "decline", reject the promise with a "NotAllowedError" `DOMException`.
993+
</il>
994+
</ol>
995+
<li>Otherwise (if "next wallet behavior" is not set), proceed with the normal user-interactive flow to select and use a digital credential.
996+
</li>
985997
<li>
986998
<aside class="issue">
987999
Details of how to actually get the [=digital credential=] are
@@ -1043,6 +1055,18 @@ <h3>
10431055
</li>
10441056
</ol>
10451057
</li>
1058+
<li>If the session's "next wallet behavior" is set:
1059+
</li>
1060+
<ol>
1061+
<li>If the mode is "respond", resolve the promise with a new `DigitalCredential` object whose `data` member is set to the stored `data`.
1062+
</il>
1063+
<li>If the mode is "wait", the promise never resolves.
1064+
</il>
1065+
<li>If the mode is "decline", reject the promise with a "NotAllowedError" `DOMException`.
1066+
</il>
1067+
</ol>
1068+
<li>Otherwise (if "next wallet behavior" is not set), proceed with the normal user-interactive flow to select and use a digital credential.
1069+
</li>
10461070
<li>
10471071
<aside class="issue">
10481072
Details of how to actually issue the [=digital credential=] are

0 commit comments

Comments
 (0)