gecko-dev/dom/webauthn/tests
Tim Taubert 73cfd2472a Bug 1415675 - Web Authentication - Support AbortSignal types r=jcj,smaug
Summary:
This patch adds support for aborting WebAuthn requests via AbortSignals.

https://w3c.github.io/webauthn/#abortoperation
https://w3c.github.io/webauthn/#sample-aborting
https://dom.spec.whatwg.org/#abortcontroller-api-integration

It also adds a variety of request abortion/cancellation tests.

To test request cancellation we can use USB tokens as those requests will
never complete without a token and/or user interaction. A bonus here is that
we'll have a little coverage for u2f-hid-rs.

Reviewers: jcj, smaug

Reviewed By: jcj, smaug

Bug #: 1415675

Differential Revision: https://phabricator.services.mozilla.com/D245

--HG--
extra : amend_source : bd779d5c4c6a11dd8ce34c0cc86675825b799031
2017-11-17 09:44:50 +01:00
..
browser Bug 1415675 - Web Authentication - Support AbortSignal types r=jcj,smaug 2017-11-17 09:44:50 +01:00
cbor Bug 1380529 - Use CBOR for the Create Credential WebAuthn call (2/3) r=ttaubert 2017-07-13 18:12:50 -07:00
pkijs
mochitest.ini Bug 1415675 - Web Authentication - Support AbortSignal types r=jcj,smaug 2017-11-17 09:44:50 +01:00
test_webauthn_abort_signal.html Bug 1415675 - Web Authentication - Support AbortSignal types r=jcj,smaug 2017-11-17 09:44:50 +01:00
test_webauthn_get_assertion.html Bug 1406456 - WebAuthn WebIDL Updates for WD-07 (part 2) r=qdot,ttaubert 2017-10-09 16:28:13 -07:00
test_webauthn_isplatformauthenticatoravailable.html Bug 1406468 - Web Authentication - Implement isUserVerifyingPlatformAuthenticatorAvailable() method r=jcj,smaug 2017-11-14 11:44:46 +01:00
test_webauthn_loopback.html Bug 1381190 - Change to COSE Algorithm identifiers for WebAuthn r=qdot,ttaubert 2017-10-12 15:21:06 -07:00
test_webauthn_make_credential.html Bug 1381190 - Change to COSE Algorithm identifiers for WebAuthn r=qdot,ttaubert 2017-10-12 15:21:06 -07:00
test_webauthn_no_token.html Bug 1381190 - Change to COSE Algorithm identifiers for WebAuthn r=qdot,ttaubert 2017-10-12 15:21:06 -07:00
test_webauthn_override_request.html Bug 1415675 - Web Authentication - Support AbortSignal types r=jcj,smaug 2017-11-17 09:44:50 +01:00
test_webauthn_sameorigin.html Bug 1381190 - Change to COSE Algorithm identifiers for WebAuthn r=qdot,ttaubert 2017-10-12 15:21:06 -07:00
test_webauthn_store_credential.html Bug 1407829 - WebAuthn: Implement CredMan's Store method r=qdot,ttaubert 2017-10-12 17:02:22 -07:00
u2futil.js Bug 1381190 - Change to COSE Algorithm identifiers for WebAuthn r=qdot,ttaubert 2017-10-12 15:21:06 -07:00