[webauthn] Merged Pull Request: Don't return an algorithm from [[DiscoverFromExternalSource]]

nicksteele has just merged emlun's pull request 2168 for https://github.com/w3c/webauthn:

== Don't return an algorithm from [[DiscoverFromExternalSource]] ==
Fixes #1984.

This initialization of |settings| and |global| is copied from the equivalent steps of [§2.5.4. Create a Credential][1] in CredMan, which sets the arguments used to invoke the |constructCredentialAlg| in WebAuthn's [[Create]]:

>Let |settings| be the [current settings object][2].
>
>Assert: |settings| is a [secure context][3].
>
>Let |global| be |settings|’ [global object][4].

[1]: https://w3c.github.io/webappsec-credential-management/#algorithm-create
[2]: https://html.spec.whatwg.org/multipage/webappapis.html#current-settings-object
[3]: https://html.spec.whatwg.org/multipage/webappapis.html#secure-context
[4]: https://html.spec.whatwg.org/multipage/webappapis.html#concept-settings-object-global


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://pr-preview.s3.amazonaws.com/w3c/webauthn/pull/2168.html" title="Last updated on Oct 1, 2024, 2:28 PM UTC (bdcb938)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/webauthn/2168/efdf948...bdcb938.html" title="Last updated on Oct 1, 2024, 2:28 PM UTC (bdcb938)">Diff</a>

See https://github.com/w3c/webauthn/pull/2168


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 9 October 2024 18:15:44 UTC