Create IdentityCredential state map
Categories
(Core :: DOM: Credential Management, enhancement, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: bvandersloot, Assigned: bvandersloot)
References
Details
Attachments
(1 file, 1 obsolete file)
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
First creation of the FedCM account state map.
This is a disk key-value store that holds the map as described by https://fedidcg.github.io/FedCM/#browser-api-state-machine.
In particular, the values are stored as JSON defined in the WebIDL here and the keys are rpOrigin|idpOrigin|base64(credentialID)
.
TODO: Don't persist from within Private Browsing
TODO: support the ClearDataService as an extension of the permissions or passwords
Assignee | ||
Comment 2•2 years ago
|
||
This creates a new service that stores precisely two bits per RP, IDP, and account ID tuple:
has it been used before and is it able to be logged out.
It does so with the additional constraints of respecting private browsing's clear on last session and in-memory storage constraints and being a participant in the Clear Storage Service.
Tests are here. Coverage isn't perfect, but they cover most of the service.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 3•2 years ago
|
||
Backed out for causing multiple failures.
Failure log for xpcshell failures on test_forget_about_site_security_headers.js
Failure log for mochitest plain chrashes
Failure log for bc failures on browser_394759_purge.js related to ForgetAboutSite.jsm
also there are multiple TV failures on test_identity_credential_storage_service.js
Comment 6•2 years ago
|
||
Backed out for causing multiple mozStorageService related failures
Comment 8•2 years ago
|
||
Backed out for causing bc failures in toolkit/components/cleardata/tests/browser/browser_quota.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/a6577d5920c698d8aac2e77d3cc6fc249d4d4702
INFO - Buffered messages finished
[task 2022-12-02T22:26:25.361Z] 22:26:25 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/cleardata/tests/browser/browser_quota.js | 16777216 == 0 - JS frame :: chrome://mochitests/content/browser/toolkit/components/cleardata/tests/browser/browser_quota.js :: runTest/</< :: line 98
[task 2022-12-02T22:26:25.361Z] 22:26:25 INFO - Stack trace:
Comment 10•2 years ago
|
||
bugherder |
Assignee | ||
Updated•2 years ago
|
Description
•