From 1d9e832b13fe82af051ab569228ca7ec1bc829fb Mon Sep 17 00:00:00 2001 From: Marcos Caceres Date: Fri, 24 Oct 2025 12:25:28 +0800 Subject: [PATCH 1/3] Fix create call support check --- index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 4b271d9f..acab80ed 100644 --- a/index.html +++ b/index.html @@ -1011,12 +1011,12 @@

When invoked, the [[\Create]](origin, options, - sameOriginWithAncestors) internal method, if the user agent doesn't - support issuance, call the default implementation of {{Credential}}'s - {{Credential/[[Create]](origin,options, sameOriginWithAncestors)}} - internal method with the same arguments. Otherwise: + sameOriginWithAncestors) internal method:

    +
  1. If the user agent doesn't support [=digital credential/issuance + requests=], throw {{NotSupportedError}} {{DOMException}}. +
  2. Let |global| be [=this=]'s [=relevant global object=].
  3. Let |document| be |global|'s [=associated `Document`=]. From 666e3d6139ae1c01eb58d43a8c871f1a63dbfe13 Mon Sep 17 00:00:00 2001 From: Marcos Caceres Date: Thu, 30 Oct 2025 14:37:28 +0800 Subject: [PATCH 2/3] add presentation check --- index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.html b/index.html index acab80ed..303723c9 100644 --- a/index.html +++ b/index.html @@ -956,6 +956,9 @@

    sameOriginWithAncestors) internal method MUST:

      +
    1. If the user agent doesn't support [=digital credential/presentation + requests=], throw {{NotSupportedError}} {{DOMException}}. +
    2. Let |global| be [=this=]'s [=relevant global object=].
    3. Let |document| be |global|'s [=associated `Document`=]. From a883dee4c483304c6ba3779aa0093da6fce1acd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20C=C3=A1ceres?= Date: Thu, 30 Oct 2025 14:39:25 +0800 Subject: [PATCH 3/3] Apply suggestions from code review --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 303723c9..2eaf5a7b 100644 --- a/index.html +++ b/index.html @@ -957,7 +957,7 @@

      1. If the user agent doesn't support [=digital credential/presentation - requests=], throw {{NotSupportedError}} {{DOMException}}. + requests=], throw {{"NotSupportedError"}} {{DOMException}}.
      2. Let |global| be [=this=]'s [=relevant global object=].
      3. @@ -1018,7 +1018,7 @@

        1. If the user agent doesn't support [=digital credential/issuance - requests=], throw {{NotSupportedError}} {{DOMException}}. + requests=], throw {{"NotSupportedError"}} {{DOMException}}.
        2. Let |global| be [=this=]'s [=relevant global object=].