Name Description Size Coverage
AndroidWebAuthnService.cpp 16463 -
AndroidWebAuthnService.h 3467 -
AuthenticatorAssertionResponse.cpp 5954 82 %
AuthenticatorAssertionResponse.h 2156 100 %
AuthenticatorAttestationResponse.cpp anonymize 8005 76 %
AuthenticatorAttestationResponse.h 2372 100 %
AuthenticatorResponse.cpp 1739 79 %
AuthenticatorResponse.h 1461 50 %
authrs_bridge 73 %
AuthrsBridge_ffi.h 695 -
components.conf 549 -
libudev-sys 72 %
MacOSWebAuthnService.h 682 -
MacOSWebAuthnService.mm 65887 -
metrics.yaml 3394 -
moz.build 2332 -
nsIWebAuthnArgs.idl 5416 -
nsIWebAuthnAttObj.idl 806 -
nsIWebAuthnPromise.idl 792 -
nsIWebAuthnResult.idl 3048 -
nsIWebAuthnService.idl 5968 -
PublicKeyCredential.cpp static 30113 77 %
PublicKeyCredential.h 4398 100 %
PWebAuthnTransaction.ipdl IPC Transaction protocol for the WebAuthn DOM API. This IPC protocol allows the content process to call to the parent to access hardware for authentication registration and challenges. All transactions start in the child process, and the parent replies with a "Confirm*" message, or a "Cancel" message if there was an error (no hardware available, no registered keys, etc) or interruption (another transaction was started in another content process). Similarly, the content process can also request a cancel, either triggered explicitly by the user/script or due to UI events like selecting a different tab. 5458 -
tests 89 %
WebAuthnArgs.cpp 13717 54 %
WebAuthnArgs.h 4999 67 %
WebAuthnAutoFillEntry.cpp 858 0 %
WebAuthnAutoFillEntry.h 1586 0 %
WebAuthnCoseIdentifiers.h 716 -
WebAuthnEnumStrings.h 2542 -
WebAuthnHandler.cpp Statics ******************************************************************** 34679 84 %
WebAuthnHandler.h Content process handler for the WebAuthn protocol. Created on calls to the WebAuthentication DOM object, this is responsible for establishing IPC channels for WebAuthn transactions as well as keeping track of JS Promise objects representing transactions in flight. The WebAuthn spec (https://www.w3.org/TR/webauthn/) allows for two different types of transactions: registration and signing. When either of these is requested via the DOM API, the following steps are executed in the WebAuthnHandler: - Validation of the request. Return a failed promise to js if request does not have correct parameters. - If request is valid, open a new IPC channel for running the transaction. If another transaction is already running in this content process, cancel it. Return a pending promise to js. - Send transaction information to parent process. - On return of successful transaction information from parent process, turn information into DOM object format required by spec, and resolve promise (by running the Finish* functions of WebAuthnHandler). On cancellation request from parent, reject promise with corresponding error code. 5681 82 %
WebAuthnIPCUtils.h 755 -
WebAuthnPromiseHolder.cpp 2890 91 %
WebAuthnPromiseHolder.h WebAuthnRegisterPromiseHolder and WebAuthnSignPromiseHolder wrap a MozPromiseHolder with an XPCOM interface that allows the contained promise to be resolved, rejected, or disconnected safely from any thread. Calls to Resolve(), Reject(), and Disconnect() are dispatched to the serial event target with wich the promise holder was initialized. At most one of these calls will be processed; the first call to reach the event target wins. Once the promise is initialized with Ensure() the program MUST call at least one of Resolve(), Reject(), or Disconnect(). 2268 100 %
WebAuthnResult.cpp anonymize 8037 0 %
WebAuthnResult.h 15361 0 %
WebAuthnService.cpp 13799 93 %
WebAuthnService.h 2914 95 %
WebAuthnTransactionChild.cpp 869 100 %
WebAuthnTransactionChild.h Child process IPC implementation for WebAuthn API. Receives results of WebAuthn transactions from the parent process, and sends them to the WebAuthnHandler either cancel the transaction, or be formatted and relayed to content. 1230 67 %
WebAuthnTransactionParent.cpp out 21874 79 %
WebAuthnTransactionParent.h Parent process IPC implementation for WebAuthn. 2364 100 %
WebAuthnTransportIdentifiers.h 764 -
WebAuthnUtil.cpp out 20229 86 %
WebAuthnUtil.h out 1642 -
winwebauthn -
WinWebAuthnService.cpp WinWebAuthnService Implementation ******************************************************************** 50113 9 %
WinWebAuthnService.h 1559 100 %