gecko-dev/dom/webauthn
Boris Zbarsky b40350c499 Bug 1610732 part 2. Throw the right exception when a user.id value is too long. r=jcj
The test changes are for the following reasons:

1) Removing the "empty ArrayBuffer" test: I don't see anything obvious in the
spec that would cause that to reject before prompting the user, and in fact it
does not do that in browsers.  All browsers time out on that line.

2) Removing the "name is object" test: This test is wrong.  Passing {} where a
string is expected in IDL will come out as the string "[object Object]" on the
other side, and that seems like a perfectly valid name.

3) Removing the "name is null" test: This test is wrong.  Passing null where a
string is expected in IDL will come out as the string "null" on the other side,
and that seems like a perfectly valid name.

4) Removing the "name is empty" test: I don't see anything obvious in the
spec that would cause that to reject before prompting the user.

5) Removing the various "icon is whatever" tests: I don't see anything obvious in the
spec that would cause that to reject before prompting the user.

6) Removing the various "displayName is whatever" tests: the same reasoning as
for the coresponding "name is whatever" tests applies.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 16:53:09 +00:00
..
cbor-cpp
libudev-sys
tests Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8 2019-12-13 20:36:36 +00:00
winwebauthn
AndroidWebAuthnTokenManager.cpp
AndroidWebAuthnTokenManager.h
AuthenticatorAssertionResponse.cpp
AuthenticatorAssertionResponse.h
AuthenticatorAttestationResponse.cpp
AuthenticatorAttestationResponse.h
AuthenticatorResponse.cpp
AuthenticatorResponse.h
PWebAuthnTransaction.ipdl
PublicKeyCredential.cpp
PublicKeyCredential.h
U2FHIDTokenManager.cpp
U2FHIDTokenManager.h
U2FSoftTokenManager.cpp
U2FSoftTokenManager.h
U2FTokenManager.cpp
U2FTokenManager.h
U2FTokenTransport.h
WebAuthnCBORUtil.cpp
WebAuthnCBORUtil.h
WebAuthnCoseIdentifiers.h
WebAuthnManager.cpp Bug 1610732 part 2. Throw the right exception when a user.id value is too long. r=jcj 2020-01-22 16:53:09 +00:00
WebAuthnManager.h
WebAuthnManagerBase.cpp
WebAuthnManagerBase.h
WebAuthnTransactionChild.cpp
WebAuthnTransactionChild.h
WebAuthnTransactionParent.cpp
WebAuthnTransactionParent.h
WebAuthnUtil.cpp
WebAuthnUtil.h
WinWebAuthnManager.cpp
WinWebAuthnManager.h
moz.build
nsIU2FTokenManager.idl