[wpt-sync] Sync PR 30700 - [SPCWPT] Getting payment-credential should cause NotAllowedError
Categories
(Core :: DOM: Web Authentication, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 30700 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/30700
Details from upstream follow.
b'Liquan (Max) Gu <maxlg@chromium.org>' wrote:
[SPCWPT] Getting payment-credential should cause NotAllowedError
The SPC spec specifies that getting credential with payment extension
should cause NotAllowedError[1]:"When making an assertion with a AuthenticationExtensionsPaymentInputs
extension_inputs: If not in a "secure-payment-confirmation" payment
handler, return a "NotAllowedError" DOMException..."But the implementation throws NotSupportedError in this case. This CL
aligns the implementation to the spec.[1] https://www.w3.org/TR/secure-payment-confirmation/#sctn-payment-extension-registration
Change-Id: I977ca63d254dd4e2e7b346cae423d001c1409d47
Reviewed-on: https://chromium-review.googlesource.com/3158922
WPT-Export-Revision: 6ee1523878a792097280471d775e1c5b7528fc53
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 9 subtests
Status Summary
Firefox
TIMEOUT: 2
NOTRUN : 7
Chrome
OK : 1
PASS : 8
FAIL : 1
Safari
ERROR : 1
Links
Details
New Tests That Don't Pass
/webauthn/getcredential-extensions.https.html: TIMEOUT (Chrome: OK, Safari: ERROR)
Bad extensions: extensions is string: TIMEOUT (Chrome: PASS)
extensions is null: NOTRUN (Chrome: PASS)
extensions is empty Array: NOTRUN (Chrome: PASS)
extensions is empty ArrayBuffer: NOTRUN (Chrome: PASS)
ignored extension: NOTRUN (Chrome: PASS)
extension ID too long: NOTRUN (Chrome: PASS)
credProps is only supported at registration: NOTRUN (Chrome: PASS)
Payment extension is only supported at registration: NOTRUN (Chrome: FAIL)
Comment 4•3 years ago
|
||
bugherder |
Description
•