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 Bug 1598971 - codespell: Fix typos in the doc r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,ato 2019-11-25 10:06:12 +00:00
AndroidWebAuthnTokenManager.cpp Bug 1589285 part 3. Use the new GetString methods for Web IDL enums in various places. r=edgar 2019-10-17 23:40:57 +00:00
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 Backed out 2 changesets (bug 1558915) for causing bustages. CLOSED TREE 2019-08-02 12:17:42 +03:00
WebAuthnUtil.h
WinWebAuthnManager.cpp
WinWebAuthnManager.h
moz.build
nsIU2FTokenManager.idl