зеркало из https://github.com/mozilla/gecko-dev.git
4b548ed05e
This patch sets up the U2F system to support multiple nsIU2FToken "authenticators" simultaneously, such as having both a USB and a Bluetooth Smart implementation enabled at the same time. It also paves the way to support timeout interruptions (for Bug 1301793). - Executes operations across a list of authenticators. - Uses runnables, via MozPromise and SharedThreadPool. - Remove nsNSSShutDownPreventionLock from U2F*Task and move to U2F*Runnable - Review updates - Some of the review updates from earlier changeset are ... painful to merge back before this one, so I'm just tacking them on here. It's still missing some things, though: - It's not actually executing the operations in parallel yet, as invoking methods on NSSU2FTokenRemote from a worker thread throws exceptions while obtaining ContentChild::GetSingleton(). MozReview-Commit-ID: EUdZQesASo2 *** Bug 1297552 - Updates per review r?keeler MozReview-Commit-ID: EHIWM74tfYG --HG-- extra : transplant_source : %F9%9E%9E%5B7%19R0%7D%C1%B1%FB%BD%97%26%B2%A3%9CTg |
||
---|---|---|
.. | ||
tests | ||
NSSU2FTokenRemote.cpp | ||
NSSU2FTokenRemote.h | ||
U2F.cpp | ||
U2F.h | ||
USBToken.cpp | ||
USBToken.h | ||
moz.build |