[WebAuthN] PublicKeyCredentialCreationOptions::AuthenticatorSelectionCriteria::Authen...
authorjiewen_tan@apple.com <jiewen_tan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Nov 2018 20:28:07 +0000 (20:28 +0000)
committerjiewen_tan@apple.com <jiewen_tan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Nov 2018 20:28:07 +0000 (20:28 +0000)
commitf4b55f5dbd65ea40e50fa03d6179a7de0684aae7
tree26a2a342ea60cfe3fa8870001f444386fc02b000
parent568821a2935036cafb70c2490b66c99861d3a7bf
[WebAuthN] PublicKeyCredentialCreationOptions::AuthenticatorSelectionCriteria::AuthenticatorAttachment should be optional
https://bugs.webkit.org/show_bug.cgi?id=191522

Reviewed by Brent Fulgham.

Source/WebCore:

Accordign to the WebIDL, AuthenticatorSelectionCriteria::AuthenticatorAttachment should be optional.
https://www.w3.org/TR/webauthn/#dictdef-authenticatorselectioncriteria

Covered by existing tests.

* Modules/webauthn/PublicKeyCredentialCreationOptions.h:
(WebCore::PublicKeyCredentialCreationOptions::AuthenticatorSelectionCriteria::decode):

Source/WebKit:

* UIProcess/WebAuthentication/AuthenticatorManager.cpp:
(WebKit::AuthenticatorManagerInternal::collectTransports):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@238240 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/Modules/webauthn/PublicKeyCredentialCreationOptions.h
Source/WebKit/ChangeLog
Source/WebKit/UIProcess/WebAuthentication/AuthenticatorManager.cpp