gecko-dev/dom/webauthn
Tim Taubert a3256fcae8 Bug 1421616 - Have one WebAuthnManager instance per CredentialsContainer r=jcj
Summary:
We currently have a single WebAuthnManager instance per process that's shared
between all CredentialContainers. That way the nsPIDOMWindowInner parent has
to be tracked by the transaction, as multiple containers could kick off
requests simultaneously.

This patch lets us we have one WebAuthnManager instance per each
CredentialsContainer and thus each nsPIDOMWindowInner. This matches the current
U2F implementation where there is one instance per parent window too.

This somewhat simplifies the communication diagram (at least in my head), as
each U2F/WebAuthnManager instance also has their own TransactionChild/Parent
pair for IPC protocol communication. The manager and child/parent pair are
destroyed when the window is.

Reviewers: jcj

Reviewed By: jcj

Bug #: 1421616

Differential Revision: https://phabricator.services.mozilla.com/D305
2017-12-05 19:05:06 +01:00
..
cbor-cpp Bug 1380529 - Add a CBOR library for WebAuthn (1/3) r=ttaubert 2017-07-13 18:12:57 -07:00
libudev-sys Bug 1380270 - Add dlopen() version of libudev-sys r=qdot,ted 2017-08-31 19:11:27 +02:00
tests Bug 1406462 - Web Authentication - Add support for authenticator selection criteria and attachment types r=jcj,smaug 2017-11-29 13:58:33 +01:00
u2f-hid-rs Bug 1406462 - Web Authentication - Add support for authenticator selection criteria and attachment types r=jcj,smaug 2017-11-29 13:58:33 +01:00
AuthenticatorAssertionResponse.cpp Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
AuthenticatorAssertionResponse.h Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
AuthenticatorAttestationResponse.cpp Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
AuthenticatorAttestationResponse.h Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
AuthenticatorResponse.cpp Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
AuthenticatorResponse.h Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
PWebAuthnTransaction.ipdl Bug 1421616 - Have one WebAuthnManager instance per CredentialsContainer r=jcj 2017-12-05 19:05:06 +01:00
PublicKeyCredential.cpp Bug 1406468 - Web Authentication - Implement isUserVerifyingPlatformAuthenticatorAvailable() method r=jcj,smaug 2017-11-14 11:44:46 +01:00
PublicKeyCredential.h Bug 1406468 - Web Authentication - Implement isUserVerifyingPlatformAuthenticatorAvailable() method r=jcj,smaug 2017-11-14 11:44:46 +01:00
U2FHIDTokenManager.cpp Bug 1406462 - Web Authentication - Add support for authenticator selection criteria and attachment types r=jcj,smaug 2017-11-29 13:58:33 +01:00
U2FHIDTokenManager.h Bug 1406462 - Web Authentication - Add support for authenticator selection criteria and attachment types r=jcj,smaug 2017-11-29 13:58:33 +01:00
U2FSoftTokenManager.cpp Bug 1406462 - Web Authentication - Add support for authenticator selection criteria and attachment types r=jcj,smaug 2017-11-29 13:58:33 +01:00
U2FSoftTokenManager.h Bug 1406462 - Web Authentication - Add support for authenticator selection criteria and attachment types r=jcj,smaug 2017-11-29 13:58:33 +01:00
U2FTokenManager.cpp Bug 1406462 - Web Authentication - Add support for authenticator selection criteria and attachment types r=jcj,smaug 2017-11-29 13:58:33 +01:00
U2FTokenManager.h Bug 1406462 - Web Authentication - Add support for authenticator selection criteria and attachment types r=jcj,smaug 2017-11-29 13:58:33 +01:00
U2FTokenTransport.h Bug 1406462 - Web Authentication - Add support for authenticator selection criteria and attachment types r=jcj,smaug 2017-11-29 13:58:33 +01:00
WebAuthnCBORUtil.cpp Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
WebAuthnCBORUtil.h Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
WebAuthnCoseIdentifiers.h Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
WebAuthnManager.cpp Bug 1421616 - Have one WebAuthnManager instance per CredentialsContainer r=jcj 2017-12-05 19:05:06 +01:00
WebAuthnManager.h Bug 1421616 - Have one WebAuthnManager instance per CredentialsContainer r=jcj 2017-12-05 19:05:06 +01:00
WebAuthnManagerBase.h Bug 1421616 - Have one WebAuthnManager instance per CredentialsContainer r=jcj 2017-12-05 19:05:06 +01:00
WebAuthnTransactionChild.cpp Bug 1421616 - Have one WebAuthnManager instance per CredentialsContainer r=jcj 2017-12-05 19:05:06 +01:00
WebAuthnTransactionChild.h Bug 1421616 - Have one WebAuthnManager instance per CredentialsContainer r=jcj 2017-12-05 19:05:06 +01:00
WebAuthnTransactionParent.cpp Bug 1421616 - Have one WebAuthnManager instance per CredentialsContainer r=jcj 2017-12-05 19:05:06 +01:00
WebAuthnTransactionParent.h Bug 1421616 - Have one WebAuthnManager instance per CredentialsContainer r=jcj 2017-12-05 19:05:06 +01:00
WebAuthnUtil.cpp Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
WebAuthnUtil.h Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
moz.build Bug 1421616 - Have one WebAuthnManager instance per CredentialsContainer r=jcj 2017-12-05 19:05:06 +01:00