Skip to content

Commit

Permalink
add missing fields to AuthenticatorAttestationResponse toJSON web-pla…
Browse files Browse the repository at this point in the history
…tform test.

Differential Revision: https://phabricator.services.mozilla.com/D197959

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1873537
gecko-commit: 7f87b0764c74048b838db26d830890ad54891dd3
gecko-reviewers: keeler
  • Loading branch information
jschanck authored and moz-wptsync-bot committed Jan 11, 2024
1 parent c18cfd4 commit de8d293
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webauthn/public-key-credential-to-json.https.window.js
Expand Up @@ -97,6 +97,9 @@ function authenticatorResponseToJson(response) {
(isAttestation ?
[
'clientDataJSON', 'attestationObject',
{name: 'getAuthenticatorData', target: 'authenticatorData'},
{name: 'getPublicKey', target: 'publicKey'},
{name: 'getPublicKeyAlgorithm', target: 'publicKeyAlgorithm'},
{name: 'getTransports', target: 'transports'}
] :
['clientDataJSON', 'authenticatorData', 'signature', 'userHandle']);
Expand Down

0 comments on commit de8d293

Please sign in to comment.