From 6175ccf8bcdb7fb816ae43ea1d0c0565f932beff Mon Sep 17 00:00:00 2001 From: Mohamed Amir Yosef Date: Wed, 24 Sep 2025 19:11:14 -0400 Subject: [PATCH 1/5] user agent automation section and update the algorithms --- index.html | 168 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 168 insertions(+) diff --git a/index.html b/index.html index af0ffd41..bdcc11a6 100644 --- a/index.html +++ b/index.html @@ -856,6 +856,18 @@

+
  • If the session's "next wallet behavior" is set: +
  • +
      +
    1. If the mode is "respond", resolve the promise with a new `DigitalCredential` object whose `data` member is set to the stored `data`. + +
    2. If the mode is "wait", the promise never resolves. + +
    3. If the mode is "decline", reject the promise with a "NotAllowedError" `DOMException`. + +
    +
  • Otherwise (if "next wallet behavior" is not set), proceed with the normal user-interactive flow to select and use a digital credential. +
  • +
  • If the session's "next wallet behavior" is set: +
  • +
      +
    1. If the mode is "respond", resolve the promise with a new `DigitalCredential` object whose `data` member is set to the stored `data`. + +
    2. If the mode is "wait", the promise never resolves. + +
    3. If the mode is "decline", reject the promise with a "NotAllowedError" `DOMException`. + +
    +
  • Otherwise (if "next wallet behavior" is not set), proceed with the normal user-interactive flow to select and use a digital credential. +
  • -
  • If the session's "next wallet behavior" is set: +
  • If the session's [=next wallet behavior=] is set:
    1. If the mode is "respond", resolve the promise with a new `DigitalCredential` object whose `data` member is set to the stored `data`. @@ -866,7 +866,7 @@

    2. If the mode is "decline", reject the promise with a "NotAllowedError" `DOMException`.
    -
  • Otherwise (if "next wallet behavior" is not set), proceed with the normal user-interactive flow to select and use a digital credential. +
  • Otherwise (if [=next wallet behavior=] is not set), proceed with the normal user-interactive flow to select and use a digital credential.
  • -
  • If the session's "next wallet behavior" is set: +
  • If the session's [=next wallet behavior=] is set:
    1. If the mode is "respond", resolve the promise with a new `DigitalCredential` object whose `data` member is set to the stored `data`. @@ -939,7 +939,7 @@

    2. If the mode is "decline", reject the promise with a "NotAllowedError" `DOMException`.
    -
  • Otherwise (if "next wallet behavior" is not set), proceed with the normal user-interactive flow to select and use a digital credential. +
  • Otherwise (if [=next wallet behavior=] is not set), proceed with the normal user-interactive flow to select and use a digital credential.
  • If the session's [=next wallet behavior=] is set: -
    1. -
    2. If the mode is "respond", resolve the promise with a new `DigitalCredential` object whose `data` member is set to the stored `data`. - +
    3. If the mode is "respond", resolve the promise with a new + `DigitalCredential` object whose `data` member is set to the stored + `data`. +
    4. If the mode is "wait", the promise never resolves. - -
    5. If the mode is "decline", reject the promise with a "NotAllowedError" `DOMException`. - +
    6. +
    7. If the mode is "decline", reject the promise with a + "NotAllowedError" `DOMException`. +
    -
  • Otherwise (if [=next wallet behavior=] is not set), proceed with the normal user-interactive flow to select and use a digital credential. +
  • +
  • Otherwise (if [=next wallet behavior=] is not set), proceed with the + normal user-interactive flow to select and use a digital credential.
  • If the session's [=next wallet behavior=] is set: -
    1. -
    2. If the mode is "respond", resolve the promise with a new `DigitalCredential` object whose `data` member is set to the stored `data`. - +
    3. If the mode is "respond", resolve the promise with a new + `DigitalCredential` object whose `data` member is set to the stored + `data`. +
    4. If the mode is "wait", the promise never resolves. - -
    5. If the mode is "decline", reject the promise with a "NotAllowedError" `DOMException`. - +
    6. +
    7. If the mode is "decline", reject the promise with a + "NotAllowedError" `DOMException`. +
    -
  • Otherwise (if [=next wallet behavior=] is not set), proceed with the normal user-interactive flow to select and use a digital credential. +
  • +
  • Otherwise (if [=next wallet behavior=] is not set), proceed with the + normal user-interactive flow to select and use a digital credential.
  • -
  • If the session's [=next wallet behavior=] is set: -
      -
    1. If the mode is "respond", resolve the promise with a new - `DigitalCredential` object whose `data` member is set to the stored - `data`. -
    2. -
    3. If the mode is "wait", the promise never resolves. -
    4. -
    5. If the mode is "decline", reject the promise with a - "NotAllowedError" `DOMException`. -
    6. -
    -
  • -
  • Otherwise (if [=next wallet behavior=] is not set), proceed with the - normal user-interactive flow to select and use a digital credential. -
  • -
  • If the session's [=next wallet behavior=] is set: -
      -
    1. If the mode is "respond", resolve the promise with a new - `DigitalCredential` object whose `data` member is set to the stored - `data`. -
    2. -
    3. If the mode is "wait", the promise never resolves. -
    4. -
    5. If the mode is "decline", reject the promise with a - "NotAllowedError" `DOMException`. -
    6. -
    -
  • -
  • Otherwise (if [=next wallet behavior=] is not set), proceed with the - normal user-interactive flow to select and use a digital credential. -