Closed Bug 1783462 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 35360 - [SPC] Disallow 'discouraged' residentKey

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox106 fixed)

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 35360 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/35360
Details from upstream follow.

Nick Burris <nburris@chromium.org> wrote:

[SPC] Disallow 'discouraged' residentKey

To support SPC on Android, the SecurePaymentConfirmationRelaxResidentKey
flag relaxes the requirement for residentKey: 'required'. However,
since some platforms will not create a resident key when
residentKey: 'discouraged' is specified, we must restrict SPC to at
least require residentKey: 'preferred'.

The behaviour with the flag disabled remains the same. The relevant web
tests will be updated when it is enabled by default.

Bug: 1348013
Change-Id: I1c59c6179fce944dd4b823a6fd7cae4244847eab
Reviewed-on: https://chromium-review.googlesource.com/3813837
WPT-Export-Revision: a7dbeead982ce2598d337df0fe7eb149724c2122

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 7 subtests

Status Summary

Firefox

TIMEOUT: 2
NOTRUN : 5

Chrome

OK : 1
PASS : 6
FAIL : 1

Safari

TIMEOUT: 2
NOTRUN : 6

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /secure-payment-confirmation/enrollment.https.html [wpt.fyi]: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
    • Payment credential is created successfully.: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
    • Payment credential allows residentKey to be "preferred".: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
    • Payment credential requires userVerification to be "required", not "preferred".: NOTRUN (Chrome: PASS, Safari: NOTRUN)
    • Payment credential requires userVerification to be "required", not "discouraged".: NOTRUN (Chrome: PASS, Safari: NOTRUN)
    • Payment credential does not allow residentKey to be "discouraged".: NOTRUN (Chrome: PASS, Safari: NOTRUN)
    • Payment credential requires authenticatorAttachment to be "platform", not "cross-platform".: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4ca80e179a4c [wpt PR 35360] - [SPC] Allow residentKey 'preferred' for payment extension credentials, a=testonly https://hg.mozilla.org/integration/autoland/rev/385a3fead488 [wpt PR 35360] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
Regressions: 1789297
You need to log in before you can comment on or make changes to this bug.