[webauthn] Filter out platform devices for U2F requests.
This requirement is derived from clause 5.1.3.19.1 in the spec: "If options.authenticatorSelection.authenticatorAttachment is present and its value is not equal to authenticator’s attachment modality, continue", and the fact that there are no U2F platform devices. This CL also fixes the error message when the all U2F devices are filtered out by the resident key and user verification criteria. While the CL (crrev.com/c/949453) introducing these options correctly documented the intended behavior in a comment in u2f_sign, it did not actually change the DOMException itself. Finally, the CL moves related webauthn tests from credentialmanager_browsertests to webauth_browsertests. Bug: 803832 Change-Id: Ie8f124af3783c2aaec85abd3baac050cfbb926b7 Reviewed-on: https://chromium-review.googlesource.com/989413 Commit-Queue: Balazs Engedy <engedy@chromium.org> Reviewed-by:Vadym Doroshenko <dvadym@chromium.org> Reviewed-by:
Balazs Engedy <engedy@chromium.org> Cr-Commit-Position: refs/heads/master@{#547664}
Showing
Please register or sign in to comment