Blink-layer update to match WebAuthN spec

Desktop / Chromium - kpaulhamus [chromium.org] - 13 July 2017 22:52 EDT

1 of many CLs to merge WebAuthN with the Cred Man API. This change renames idl components and updates the corresponding idl test. (This changes as much as possible short of depending on anything in credential manager).

BUG=664630

Review-Url: https://codereview.chromium.org/2966523002 Cr-Commit-Position: refs/heads/master@{#486648}

04b66da Blink-layer update to match WebAuthN spec
content/browser/webauth/authenticator_impl.cc | 30 ++-
content/browser/webauth/authenticator_impl.h | 8 +-
.../browser/webauth/authenticator_impl_unittest.cc | 94 +++++----
.../global-interface-listing-expected.txt | 27 +--
.../WebKit/LayoutTests/webauth/idl-expected.txt | 42 ++++
third_party/WebKit/LayoutTests/webauth/idl.html | 126 +++++++-----
.../global-interface-listing-expected.txt | 27 +--
.../WebKit/Source/modules/modules_idl_files.gni | 22 +-
.../modules/webauth/AuthenticationAssertion.h | 62 ------
.../modules/webauth/AuthenticationAssertion.idl | 15 --
.../webauth/AuthenticationAssertionOptions.idl | 12 --
.../modules/webauth/AuthenticationExtensions.idl | 8 -
.../webauth/AuthenticatorAssertionResponse.cpp | 33 +++
.../webauth/AuthenticatorAssertionResponse.h | 45 +++++
.../webauth/AuthenticatorAssertionResponse.idl | 13 ++
.../webauth/AuthenticatorAttestationResponse.cpp | 29 +++
.../webauth/AuthenticatorAttestationResponse.h | 41 ++++
.../webauth/AuthenticatorAttestationResponse.idl | 12 ++
.../modules/webauth/AuthenticatorResponse.cpp | 23 +++
.../Source/modules/webauth/AuthenticatorResponse.h | 38 ++++
.../modules/webauth/AuthenticatorResponse.idl | 12 ++
.../webauth/AuthenticatorSelectionCriteria.idl | 17 ++
third_party/WebKit/Source/modules/webauth/BUILD.gn | 11 +-
...ationClientData.idl => CollectedClientData.idl} | 10 +-
third_party/WebKit/Source/modules/webauth/DEPS | 1 -
.../modules/webauth/MakeCredentialOptions.idl | 16 ++
.../Source/modules/webauth/PublicKeyCredential.cpp | 24 +++
.../Source/modules/webauth/PublicKeyCredential.h | 41 ++++
.../Source/modules/webauth/PublicKeyCredential.idl | 15 ++
...iptor.idl => PublicKeyCredentialDescriptor.idl} | 8 +-
.../modules/webauth/PublicKeyCredentialEntity.idl | 11 +
.../webauth/PublicKeyCredentialParameters.idl | 16 ++
.../webauth/PublicKeyCredentialRequestOptions.idl | 13 ++
.../webauth/PublicKeyCredentialUserEntity.idl | 9 +
.../Source/modules/webauth/RelyingPartyAccount.idl | 13 --
.../Source/modules/webauth/ScopedCredential.h | 54 -----
.../Source/modules/webauth/ScopedCredential.idl | 19 --
.../Source/modules/webauth/ScopedCredentialInfo.h | 44 ----
.../modules/webauth/ScopedCredentialInfo.idl | 13 --
.../modules/webauth/ScopedCredentialOptions.idl | 12 --
.../modules/webauth/ScopedCredentialParameters.idl | 10 -
.../Source/modules/webauth/WebAuthentication.cpp | 225 +++++++++++----------
.../Source/modules/webauth/WebAuthentication.h | 32 +--
.../Source/modules/webauth/WebAuthentication.idl | 6 +-
.../platform/modules/webauth/authenticator.mojom | 136 ++++++++-----
45 files changed, 858 insertions(+), 617 deletions(-)

Upstream: git.chromium.org


  • Share