Skip to content

Commit

Permalink
Merge pull request #1992 from w3c/mm/conditional-ui-autofill-token-order
Browse files Browse the repository at this point in the history
SHA: 2c63082
Reason: push, by nicksteele

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
nicksteele and github-actions[bot] committed Nov 29, 2023
1 parent 4e244a3 commit c36951b
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta content="ED" name="w3c-status">
<meta content="Bikeshed version 82ce88815, updated Thu Sep 7 16:33:55 2023 -0700" name="generator">
<link href="https://www.w3.org/TR/webauthn-3/" rel="canonical">
<meta content="065b83648d83c2b4caba83c91051f124b2b63dfa" name="document-revision">
<meta content="2c63082453188ff91cd49101ef4998330d010db5" name="document-revision">
<style type="text/css">
body {
counter-reset: table;
Expand Down Expand Up @@ -3148,9 +3148,17 @@ <h5 class="heading settled" data-level="5.1.4.1" id="sctn-discover-from-external
<dd data-md>
<p><a data-link-type="dfn" href="https://infra.spec.whatwg.org/#list-iterate" id="ref-for-list-iterate①②">For each</a> <var>authenticator</var> in <var>issuedRequests</var> invoke the <a data-link-type="dfn" href="#authenticatorcancel" id="ref-for-authenticatorcancel⑧">authenticatorCancel</a> operation on <var>authenticator</var> and <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#list-remove" id="ref-for-list-remove①③">remove</a> <var>authenticator</var> from <var>issuedRequests</var>. Then
throw the <code><var>options</var>.<code class="idl"><a data-link-type="idl" href="https://w3c.github.io/webappsec-credential-management/#dom-credentialrequestoptions-signal" id="ref-for-dom-credentialrequestoptions-signal③">signal</a></code></code>’s <a data-link-type="dfn" href="https://dom.spec.whatwg.org/#abortsignal-abort-reason" id="ref-for-abortsignal-abort-reason③">abort reason</a>.</p>
<dt id="GetAssn-ConditionalMediation-Interact-FormControl"><a class="self-link" href="#GetAssn-ConditionalMediation-Interact-FormControl"></a> If <code><var>options</var>.<code class="idl"><a data-link-type="idl" href="https://w3c.github.io/webappsec-credential-management/#dom-credentialrequestoptions-mediation" id="ref-for-dom-credentialrequestoptions-mediation③">mediation</a></code></code> is <code class="idl"><a data-link-type="idl" href="https://w3c.github.io/webappsec-credential-management/#dom-credentialmediationrequirement-conditional" id="ref-for-dom-credentialmediationrequirement-conditional⑧">conditional</a></code> and the user interacts with an <code><a data-link-type="element" href="https://html.spec.whatwg.org/multipage/input.html#the-input-element" id="ref-for-the-input-element①">input</a></code> or <code><a data-link-type="element" href="https://html.spec.whatwg.org/multipage/form-elements.html#the-textarea-element" id="ref-for-the-textarea-element">textarea</a></code> form control with an <code><a data-link-type="element-sub" href="https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete" id="ref-for-attr-fe-autocomplete">autocomplete</a></code> attribute whose value
contains a <code>"webauthn"</code> <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill-detail-tokens" id="ref-for-autofill-detail-tokens①">autofill detail token</a>,
<dt id="GetAssn-ConditionalMediation-Interact-FormControl"><a class="self-link" href="#GetAssn-ConditionalMediation-Interact-FormControl"></a> If <code><var>options</var>.<code class="idl"><a data-link-type="idl" href="https://w3c.github.io/webappsec-credential-management/#dom-credentialrequestoptions-mediation" id="ref-for-dom-credentialrequestoptions-mediation③">mediation</a></code></code> is <code class="idl"><a data-link-type="idl" href="https://w3c.github.io/webappsec-credential-management/#dom-credentialmediationrequirement-conditional" id="ref-for-dom-credentialmediationrequirement-conditional⑧">conditional</a></code> and the user interacts with an <code><a data-link-type="element" href="https://html.spec.whatwg.org/multipage/input.html#the-input-element" id="ref-for-the-input-element①">input</a></code> or <code><a data-link-type="element" href="https://html.spec.whatwg.org/multipage/form-elements.html#the-textarea-element" id="ref-for-the-textarea-element">textarea</a></code> form control with an <code><a data-link-type="element-sub" href="https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete" id="ref-for-attr-fe-autocomplete">autocomplete</a></code> attribute whose <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#non-autofill-credential-type" id="ref-for-non-autofill-credential-type">non-autofill credential type</a> is <code>"webauthn"</code>,
<dd data-md>
<div class="note" role="note">
Note: The <code>"webauthn"</code> <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill-detail-tokens" id="ref-for-autofill-detail-tokens①">autofill detail token</a> must appear immediately after the last <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill-detail-tokens" id="ref-for-autofill-detail-tokens②">autofill detail token</a> of type "Normal" or "Contact". For example:
<ul>
<li data-md>
<p><code>"username webauthn"</code></p>
<li data-md>
<p><code>"current-password webauthn"</code></p>
</ul>
</div>
<ol>
<li data-md>
<p>If <var>silentlyDiscoveredCredentials</var> is not <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#list-empty" id="ref-for-list-empty③">empty</a>:</p>
Expand Down Expand Up @@ -9755,6 +9763,7 @@ <h3 class="no-num no-ref heading settled" id="index-defined-elsewhere"><span cla
<li><span class="dfn-paneled" id="d7d642a2">input</span>
<li><span class="dfn-paneled" id="a76569bf">is a registrable domain suffix of or is equal to</span>
<li><span class="dfn-paneled" id="4a044e45">is not a registrable domain suffix of and is not equal to</span>
<li><span class="dfn-paneled" id="d74c0894">non-autofill credential type</span>
<li><span class="dfn-paneled" id="e0660c76">opaque origin</span>
<li><span class="dfn-paneled" id="a944ac4c">origin</span>
<li><span class="dfn-paneled" id="43ac8374">origin <small>(for environment settings object)</small></span>
Expand Down Expand Up @@ -11105,7 +11114,7 @@ <h2 class="no-num no-ref heading settled" id="issues-index"><span class="content
window.dfnpanelData['3610bd67'] = {"dfnID": "3610bd67", "url": "https://html.spec.whatwg.org/multipage/iframe-embed-object.html#allowed-to-use", "dfnText": "allowed to use", "refSections": [{"refs": [{"id": "ref-for-allowed-to-use"}], "title": "5.1.7. Availability of User-Verifying Platform Authenticator - PublicKeyCredential\u2019s isUserVerifyingPlatformAuthenticatorAvailable() Method"}, {"refs": [{"id": "ref-for-allowed-to-use\u2460"}], "title": "5.1.8. Availability of a passkey platform authenticator - PublicKeyCredential\u2019s isPasskeyPlatformAuthenticatorAvailable() Method"}, {"refs": [{"id": "ref-for-allowed-to-use\u2461"}, {"id": "ref-for-allowed-to-use\u2462"}], "title": "5.9. Permissions Policy integration"}], "external": true};
window.dfnpanelData['b410a6ef'] = {"dfnID": "b410a6ef", "url": "https://html.spec.whatwg.org/multipage/browsers.html#ascii-serialisation-of-an-origin", "dfnText": "ascii serialization of an origin", "refSections": [{"refs": [{"id": "ref-for-ascii-serialisation-of-an-origin"}, {"id": "ref-for-ascii-serialisation-of-an-origin\u2460"}], "title": "5.1.3. Create a New Credential - PublicKeyCredential\u2019s [[Create]](origin, options, sameOriginWithAncestors) Method"}, {"refs": [{"id": "ref-for-ascii-serialisation-of-an-origin\u2461"}, {"id": "ref-for-ascii-serialisation-of-an-origin\u2462"}], "title": "5.1.4.1. PublicKeyCredential\u2019s [[DiscoverFromExternalSource]](origin, options, sameOriginWithAncestors) Method"}], "external": true};
window.dfnpanelData['9d07aa9a'] = {"dfnID": "9d07aa9a", "url": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete", "dfnText": "autocomplete", "refSections": [{"refs": [{"id": "ref-for-attr-fe-autocomplete"}], "title": "5.1.4.1. PublicKeyCredential\u2019s [[DiscoverFromExternalSource]](origin, options, sameOriginWithAncestors) Method"}], "external": true};
window.dfnpanelData['19a777c9'] = {"dfnID": "19a777c9", "url": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill-detail-tokens", "dfnText": "autofill detail token", "refSections": [{"refs": [{"id": "ref-for-autofill-detail-tokens"}, {"id": "ref-for-autofill-detail-tokens\u2460"}], "title": "5.1.4.1. PublicKeyCredential\u2019s [[DiscoverFromExternalSource]](origin, options, sameOriginWithAncestors) Method"}], "external": true};
window.dfnpanelData['19a777c9'] = {"dfnID": "19a777c9", "url": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill-detail-tokens", "dfnText": "autofill detail token", "refSections": [{"refs": [{"id": "ref-for-autofill-detail-tokens"}, {"id": "ref-for-autofill-detail-tokens\u2460"}, {"id": "ref-for-autofill-detail-tokens\u2461"}], "title": "5.1.4.1. PublicKeyCredential\u2019s [[DiscoverFromExternalSource]](origin, options, sameOriginWithAncestors) Method"}], "external": true};
window.dfnpanelData['faf954d6'] = {"dfnID": "faf954d6", "url": "https://html.spec.whatwg.org/multipage/browsers.html#browsing-context", "dfnText": "browsing context", "refSections": [{"refs": [{"id": "ref-for-browsing-context"}], "title": "3. Dependencies"}, {"refs": [{"id": "ref-for-browsing-context\u2460"}], "title": "5.1.7. Availability of User-Verifying Platform Authenticator - PublicKeyCredential\u2019s isUserVerifyingPlatformAuthenticatorAvailable() Method"}, {"refs": [{"id": "ref-for-browsing-context\u2461"}], "title": "5.1.8. Availability of a passkey platform authenticator - PublicKeyCredential\u2019s isPasskeyPlatformAuthenticatorAvailable() Method"}], "external": true};
window.dfnpanelData['aca22383'] = {"dfnID": "aca22383", "url": "https://html.spec.whatwg.org/multipage/interaction.html#consume-user-activation", "dfnText": "consume user activation", "refSections": [{"refs": [{"id": "ref-for-consume-user-activation"}], "title": "5.1.3. Create a New Credential - PublicKeyCredential\u2019s [[Create]](origin, options, sameOriginWithAncestors) Method"}], "external": true};
window.dfnpanelData['12b8dfc0'] = {"dfnID": "12b8dfc0", "url": "https://html.spec.whatwg.org/multipage/webappapis.html#current-settings-object", "dfnText": "current settings object", "refSections": [{"refs": [{"id": "ref-for-current-settings-object"}], "title": "5.9. Permissions Policy integration"}], "external": true};
Expand All @@ -11118,6 +11127,7 @@ <h2 class="no-num no-ref heading settled" id="issues-index"><span class="content
window.dfnpanelData['d7d642a2'] = {"dfnID": "d7d642a2", "url": "https://html.spec.whatwg.org/multipage/input.html#the-input-element", "dfnText": "input", "refSections": [{"refs": [{"id": "ref-for-the-input-element"}, {"id": "ref-for-the-input-element\u2460"}], "title": "5.1.4.1. PublicKeyCredential\u2019s [[DiscoverFromExternalSource]](origin, options, sameOriginWithAncestors) Method"}], "external": true};
window.dfnpanelData['a76569bf'] = {"dfnID": "a76569bf", "url": "https://html.spec.whatwg.org/multipage/browsers.html#is-a-registrable-domain-suffix-of-or-is-equal-to", "dfnText": "is a registrable domain suffix of or is equal to", "refSections": [{"refs": [{"id": "ref-for-is-a-registrable-domain-suffix-of-or-is-equal-to"}], "title": "3. Dependencies"}, {"refs": [{"id": "ref-for-is-a-registrable-domain-suffix-of-or-is-equal-to\u2460"}, {"id": "ref-for-is-a-registrable-domain-suffix-of-or-is-equal-to\u2461"}], "title": "4. Terminology"}, {"refs": [{"id": "ref-for-is-a-registrable-domain-suffix-of-or-is-equal-to\u2462"}], "title": "5.1.3. Create a New Credential - PublicKeyCredential\u2019s [[Create]](origin, options, sameOriginWithAncestors) Method"}, {"refs": [{"id": "ref-for-is-a-registrable-domain-suffix-of-or-is-equal-to\u2463"}], "title": "5.1.4.1. PublicKeyCredential\u2019s [[DiscoverFromExternalSource]](origin, options, sameOriginWithAncestors) Method"}], "external": true};
window.dfnpanelData['4a044e45'] = {"dfnID": "4a044e45", "url": "https://html.spec.whatwg.org/multipage/browsers.html#is-a-registrable-domain-suffix-of-or-is-equal-to", "dfnText": "is not a registrable domain suffix of and is not equal to", "refSections": [{"refs": [{"id": "ref-for-is-a-registrable-domain-suffix-of-or-is-equal-to"}], "title": "3. Dependencies"}, {"refs": [{"id": "ref-for-is-a-registrable-domain-suffix-of-or-is-equal-to\u2460"}, {"id": "ref-for-is-a-registrable-domain-suffix-of-or-is-equal-to\u2461"}], "title": "4. Terminology"}, {"refs": [{"id": "ref-for-is-a-registrable-domain-suffix-of-or-is-equal-to\u2462"}], "title": "5.1.3. Create a New Credential - PublicKeyCredential\u2019s [[Create]](origin, options, sameOriginWithAncestors) Method"}, {"refs": [{"id": "ref-for-is-a-registrable-domain-suffix-of-or-is-equal-to\u2463"}], "title": "5.1.4.1. PublicKeyCredential\u2019s [[DiscoverFromExternalSource]](origin, options, sameOriginWithAncestors) Method"}], "external": true};
window.dfnpanelData['d74c0894'] = {"dfnID": "d74c0894", "url": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#non-autofill-credential-type", "dfnText": "non-autofill credential type", "refSections": [{"refs": [{"id": "ref-for-non-autofill-credential-type"}], "title": "5.1.4.1. PublicKeyCredential\u2019s [[DiscoverFromExternalSource]](origin, options, sameOriginWithAncestors) Method"}], "external": true};
window.dfnpanelData['e0660c76'] = {"dfnID": "e0660c76", "url": "https://html.spec.whatwg.org/multipage/origin.html#concept-origin-opaque", "dfnText": "opaque origin", "refSections": [{"refs": [{"id": "ref-for-concept-origin-opaque"}], "title": "3. Dependencies"}, {"refs": [{"id": "ref-for-concept-origin-opaque\u2460"}], "title": "5.1.3. Create a New Credential - PublicKeyCredential\u2019s [[Create]](origin, options, sameOriginWithAncestors) Method"}, {"refs": [{"id": "ref-for-concept-origin-opaque\u2461"}], "title": "5.1.4.1. PublicKeyCredential\u2019s [[DiscoverFromExternalSource]](origin, options, sameOriginWithAncestors) Method"}], "external": true};
window.dfnpanelData['a944ac4c'] = {"dfnID": "a944ac4c", "url": "https://html.spec.whatwg.org/multipage/origin.html#concept-origin", "dfnText": "origin", "refSections": [{"refs": [{"id": "ref-for-concept-origin"}], "title": "1. Introduction"}, {"refs": [{"id": "ref-for-concept-origin\u2460"}], "title": "1.3.3. Authentication"}, {"refs": [{"id": "ref-for-concept-origin\u2461"}], "title": "3. Dependencies"}, {"refs": [{"id": "ref-for-concept-origin\u2462"}], "title": "4. Terminology"}, {"refs": [{"id": "ref-for-concept-origin\u2463"}, {"id": "ref-for-concept-origin\u2464"}, {"id": "ref-for-concept-origin\u2465"}, {"id": "ref-for-concept-origin\u2466"}, {"id": "ref-for-concept-origin\u2467"}, {"id": "ref-for-concept-origin\u2468"}, {"id": "ref-for-concept-origin\u2460\u24ea"}], "title": "5. Web Authentication API"}, {"refs": [{"id": "ref-for-concept-origin\u2460\u2460"}], "title": "5.1.3. Create a New Credential - PublicKeyCredential\u2019s [[Create]](origin, options, sameOriginWithAncestors) Method"}, {"refs": [{"id": "ref-for-concept-origin\u2460\u2461"}], "title": "5.5. Options for Assertion Generation (dictionary PublicKeyCredentialRequestOptions)"}, {"refs": [{"id": "ref-for-concept-origin\u2460\u2462"}], "title": "5.8.1. Client Data Used in WebAuthn Signatures (dictionary CollectedClientData)"}, {"refs": [{"id": "ref-for-concept-origin\u2460\u2463"}, {"id": "ref-for-concept-origin\u2460\u2464"}], "title": "7.1. Registering a New Credential"}, {"refs": [{"id": "ref-for-concept-origin\u2460\u2465"}, {"id": "ref-for-concept-origin\u2460\u2466"}], "title": "7.2. Verifying an Authentication Assertion"}, {"refs": [{"id": "ref-for-concept-origin\u2460\u2467"}], "title": "10.1.1. FIDO AppID Extension (appid)"}, {"refs": [{"id": "ref-for-concept-origin\u2460\u2468"}], "title": "10.1.2. FIDO AppID Exclusion Extension (appidExclude)"}], "external": true};
window.dfnpanelData['43ac8374'] = {"dfnID": "43ac8374", "url": "https://html.spec.whatwg.org/multipage/webappapis.html#concept-settings-object-origin", "dfnText": "origin (for environment settings object)", "refSections": [{"refs": [{"id": "ref-for-concept-settings-object-origin"}, {"id": "ref-for-concept-settings-object-origin\u2460"}], "title": "4. Terminology"}, {"refs": [{"id": "ref-for-concept-settings-object-origin\u2461"}, {"id": "ref-for-concept-settings-object-origin\u2462"}], "title": "5.1.3. Create a New Credential - PublicKeyCredential\u2019s [[Create]](origin, options, sameOriginWithAncestors) Method"}, {"refs": [{"id": "ref-for-concept-settings-object-origin\u2463"}, {"id": "ref-for-concept-settings-object-origin\u2464"}], "title": "5.1.4.1. PublicKeyCredential\u2019s [[DiscoverFromExternalSource]](origin, options, sameOriginWithAncestors) Method"}, {"refs": [{"id": "ref-for-concept-settings-object-origin\u2465"}], "title": "5.4. Options for Credential Creation (dictionary PublicKeyCredentialCreationOptions)"}, {"refs": [{"id": "ref-for-concept-settings-object-origin\u2466"}], "title": "5.5. Options for Assertion Generation (dictionary PublicKeyCredentialRequestOptions)"}], "external": true};
Expand Down

0 comments on commit c36951b

Please sign in to comment.