gecko-dev/dom/u2f
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
..
tests Bug 1244959 - Use IsRegistrableDomainSuffixOfOrEqualTo for U2F Facets r=ttaubert 2017-09-28 16:45:28 -07:00
moz.build Bug 1245527 - Rewrite U2F.cpp to use U2FTokenManager. r=keeler, r=ttaubert 2017-09-11 12:56:59 -07:00
U2F.cpp Bug 1410345 - Rework U2FManager state machine r=jcj 2017-10-21 11:34:38 +02:00
U2F.h Bug 1244959 - Use IsRegistrableDomainSuffixOfOrEqualTo for U2F Facets r=ttaubert 2017-09-28 16:45:28 -07:00
U2FAuthenticator.h Bug 1403279 - Set U2F version field on RegisterResponse r=keeler 2017-09-28 16:04:10 -07:00
U2FManager.cpp Bug 1410428 - Handle stales messages in {WebAuthn,U2F}Manager r=jcj 2017-10-21 11:34:44 +02:00
U2FManager.h Bug 1410345 - Rework U2FManager state machine r=jcj 2017-10-21 11:34:38 +02:00
U2FTransactionChild.cpp Bug 1409116 - Rename {WebAuthn,U2F}TransactionParent::Cancel message to Abort r=jcj 2017-10-17 11:30:55 +02:00
U2FTransactionChild.h Bug 1409116 - Rename {WebAuthn,U2F}TransactionParent::Cancel message to Abort r=jcj 2017-10-17 11:30:55 +02:00
U2FTransactionParent.cpp Bug 1407179 - Use AssertIsOnBackgroundThread() in U2F and WebAuthn BackgroundParentImpls r=jcj 2017-10-10 18:31:30 +02:00
U2FTransactionParent.h Bug 1245527 - Rewrite U2F.cpp to use U2FTokenManager. r=keeler, r=ttaubert 2017-09-11 12:56:59 -07:00
U2FUtil.h Bug 1245527 - Rewrite U2F.cpp to use U2FTokenManager. r=keeler, r=ttaubert 2017-09-11 12:56:59 -07:00