[wpt-sync] Sync PR 34471 - webauthn: Change PublicKeyCredentialType enum to DOMString type
Categories
(Core :: DOM: Web Authentication, task, P4)
Tracking
()
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 34471 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/34471
Details from upstream follow.
Amos Lim <eui-sang.lim@samsung.com> wrote:
webauthn: Change PublicKeyCredentialType enum to DOMString type
PublicKeyCredentialType enum should be replaced with DOMString
in PublicKeyCredentialDescriptor and PublicKeyCredentialParameters
to comply to the spec.In CredentialCreationOptions, if options.pubKeyCredParams's
size is non-zero and credTypesAndPubKeyAlgs is empty,
it should throw a "NotSupportedError" DOMException. [1][1] https://w3c.github.io/webauthn/#sctn-createCredential
Bug: 1122731
Change-Id: Ia20645561da332442fb398ebbfc1bc56687670c4
Reviewed-on: https://chromium-review.googlesource.com/3705259
WPT-Export-Revision: a914ecdbdaf57194c37162b49ab6c0ce214c94c2
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•9 months ago
|
Description
•