gecko-dev/dom/webauthn
Tim Taubert ce066246b7 Bug 1410428 - Handle stales messages in {WebAuthn,U2F}Manager r=jcj
Summary:
With both managers storing transaction infos in `Maybe<Info> mTransaction` now,
it occurred to me that we can't actually assert that
`mTransaction.isSome() == true` when we receive a message.

At least with the U2F API the request could be cancelled (and mTransaction
cleared) while there's a pending completion message. For WebAuthn it probably
doesn't hurt to handle this properly either.

(As a bonus, I snuck in the removal of an unused enum.)

Reviewers: jcj

Reviewed By: jcj

Bug #: 1410428

Differential Revision: https://phabricator.services.mozilla.com/D145
2017-10-21 11:34:44 +02: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 1407829 - WebAuthn: Implement CredMan's Store method r=qdot,ttaubert 2017-10-12 17:02:22 -07:00
u2f-hid-rs Bug 1404556 - Support libc::ioctl() call on musl libc 2017-10-04 16:53:17 +02:00
AuthenticatorAssertionResponse.cpp Bug 1406456 - WebAuthn WebIDL Updates for WD-07 (part 1) r=keeler,qdot 2017-10-06 16:10:57 -07:00
AuthenticatorAssertionResponse.h Bug 1406456 - WebAuthn WebIDL Updates for WD-07 (part 1) r=keeler,qdot 2017-10-06 16:10:57 -07:00
AuthenticatorAttestationResponse.cpp Bug 1401803 - WebAuthn types need to return ArrayBuffers r=keeler 2017-09-20 07:32:07 -07:00
AuthenticatorAttestationResponse.h Bug 1384623 - WebAuthn [SameObject] attributes must cache those objects r=qdot 2017-07-26 10:03:17 -07:00
AuthenticatorResponse.cpp Bug 1401803 - WebAuthn types need to return ArrayBuffers r=keeler 2017-09-20 07:32:07 -07:00
AuthenticatorResponse.h Bug 1384623 - WebAuthn [SameObject] attributes must cache those objects r=qdot 2017-07-26 10:03:17 -07:00
PWebAuthnTransaction.ipdl Bug 1409116 - Rename {WebAuthn,U2F}TransactionParent::Cancel message to Abort r=jcj 2017-10-17 11:30:55 +02:00
PublicKeyCredential.cpp Bug 1406456 - WebAuthn WebIDL Updates for WD-07 (part 1) r=keeler,qdot 2017-10-06 16:10:57 -07:00
PublicKeyCredential.h Bug 1406456 - WebAuthn WebIDL Updates for WD-07 (part 1) r=keeler,qdot 2017-10-06 16:10:57 -07:00
U2FHIDTokenManager.cpp Bug 1400668 - Process key handle exclusion list when registering a token r=jcj 2017-09-21 16:09:53 +02:00
U2FHIDTokenManager.h Bug 1388851 - Implement U2FHIDTokenManager r=jcj,qdot,keeler 2017-08-09 21:24:50 +02:00
U2FSoftTokenManager.cpp Bug 1380954 - Forward WebAuthnTransactionInfo::TimeoutMS() to U2F*TokenManagers r=jcj 2017-07-14 19:27:53 +02:00
U2FSoftTokenManager.h Bug 1380954 - Forward WebAuthnTransactionInfo::TimeoutMS() to U2F*TokenManagers r=jcj 2017-07-14 19:27:53 +02:00
U2FTokenManager.cpp Bug 1409116 - Rename {WebAuthn,U2F}TransactionParent::Cancel message to Abort r=jcj 2017-10-17 11:30:55 +02:00
U2FTokenManager.h Bug 1410428 - Handle stales messages in {WebAuthn,U2F}Manager r=jcj 2017-10-21 11:34:44 +02:00
U2FTokenTransport.h Bug 1388851 - Implement U2FHIDTokenManager r=jcj,qdot,keeler 2017-08-09 21:24:50 +02:00
WebAuthnCBORUtil.cpp Bug 1380529 - Use CBOR for the Create Credential WebAuthn call (2/3) r=ttaubert 2017-07-13 18:12:50 -07:00
WebAuthnCBORUtil.h Bug 1380529 - Use CBOR for the Create Credential WebAuthn call (2/3) r=ttaubert 2017-07-13 18:12:50 -07:00
WebAuthnCoseIdentifiers.h Bug 1381190 - Change to COSE Algorithm identifiers for WebAuthn r=qdot,ttaubert 2017-10-12 15:21:06 -07:00
WebAuthnManager.cpp Bug 1410428 - Handle stales messages in {WebAuthn,U2F}Manager r=jcj 2017-10-21 11:34:44 +02:00
WebAuthnManager.h Bug 1409434 - Rework WebAuthnManager state machine r=jcj 2017-10-18 15:04:56 +02:00
WebAuthnTransactionChild.cpp Bug 1409116 - Rename {WebAuthn,U2F}TransactionParent::Cancel message to Abort r=jcj 2017-10-17 11:30:55 +02:00
WebAuthnTransactionChild.h Bug 1409116 - Rename {WebAuthn,U2F}TransactionParent::Cancel message to Abort r=jcj 2017-10-17 11:30:55 +02:00
WebAuthnTransactionParent.cpp Bug 1407179 - Use AssertIsOnBackgroundThread() in U2F and WebAuthn BackgroundParentImpls r=jcj 2017-10-10 18:31:30 +02:00
WebAuthnTransactionParent.h Bug 1323339 - Add U2FTokenManager class and support IPC Parent classes; r=jcj r=baku 2017-05-09 13:21:23 -07:00
WebAuthnUtil.cpp Bug 1387820 - WebAuthn WD-05 Get Assertion Data Fix r=keeler 2017-08-09 20:05:23 -07:00
WebAuthnUtil.h Bug 1387820 - WebAuthn WD-05 Get Assertion Data Fix r=keeler 2017-08-09 20:05:23 -07:00
moz.build Bug 1381190 - Remove WebAuthnRequest dead code r=ttaubert 2017-10-12 15:17:51 -07:00