Bring the QWAC Trust Panel flow from Fenix to Focus
Categories
(Firefox for Android :: Settings, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: lmccracken, Assigned: lmccracken, NeedInfo)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid][android-activation-trust])
Attachments
(2 external files)
Fenix's Trust Panel has a QWAC flow behind the "Enable QWAC UI" secret setting: a "Secure connection" link in the panel header opens a certificate details page showing who the certificate was issued to and who verified it, plus the QWAC statement and EU trust mark for websites that present a QWAC. Focus only shows "Certificate issued to organisation" and the QWAC statement, without the issuer, locality, country or trust mark. It also doesn't fall back to the TLS certificate when there's no QWAC.
This brings the same flow to Focus, following the Fenix design, behind a new "Enable QWAC UI" secret setting in Focus. Focus is unchanged while the setting is off.
Shared code (android-components)
- Move the certificate parsing and display logic (
CertificateDetails,toCertificateDetails(),toIssuedTo(),issuerDisplayName()) and theeu_trust_mark/eu_trust_mark_inverteddrawables from Fenix intosupport-utils, so Fenix and Focus use the same code and trademark assets. Fenix behaviour is unchanged.
Focus, with "Enable QWAC UI" on
- Tracking protection panel: on secure pages with a certificate, the header shows a "Secure connection" link instead of the "Connection is secure" row.
- Certificate details page: the header shows a back arrow and the host. It shows "Certificate issued to:" (organisation, locality, country) and "Verified by:", taken from the QWAC when there is one and otherwise from the TLS certificate. For a QWAC it also shows the QWAC statement and the EU trust mark, at 58dp × 85dp and never narrower than the 64px that Regulation (EU) 2015/806 requires.
- Back: system back and the back arrow both return to the tracking protection panel.
- Drag handle: both panels show a drag handle, with 16dp under it on QWAC sites and 5dp otherwise, as in Fenix.
Steps to reproduce
- In Focus, enable "Enable QWAC UI" in secret settings, and set
security.qwacs.enabledto true. - Open a site that serves a QWAC, such as https://eidas.ec.europa.eu.
- Tap the shield in the URL bar, then tap "Secure connection".
Expected: the panel and certificate details page match the Fenix design.
| Assignee | ||
Updated•1 month ago
|
Updated•1 month ago
|
| Assignee | ||
Updated•1 day ago
|
| Assignee | ||
Comment 1•1 day ago
|
||
The certificate parsing and display logic and the EU trust mark drawables move from
Fenix to support-utils, so that Focus can show the same certificate details and
trust mark as the Fenix Trust Panel. Fenix behaviour is unchanged.
Updated•1 day ago
|
| Assignee | ||
Comment 2•1 day ago
|
||
Behind a new "Enable QWAC UI" secret setting, and following the Fenix Trust Panel
design, the tracking protection panel header shows a "Secure connection" link on
secure pages with a certificate. It opens a certificate details page showing who the
certificate was issued to and who verified it, taken from the QWAC when there is
one, and the QWAC statement and EU trust mark for websites that present a QWAC.
System back and the back arrow return to the tracking protection panel, and both
panels show a drag handle with more space under it on QWAC sites. Focus is
unchanged while the setting is off.
Comment 4•22 hours ago
|
||
| bugherder | ||
Comment 6•18 hours ago
|
||
Backed out for causing android focus failures
Backout link: https://hg.mozilla.org/integration/autoland/rev/f9e32ba4220df6c92f4668fe57e6db86ea61796f
Comment 8•4 hours ago
|
||
| bugherder | ||
Description
•