Closed Bug 2082529 Opened 1 month ago Closed 22 hours ago

Bring the QWAC Trust Panel flow from Fenix to Focus

Categories

(Firefox for Android :: Settings, task)

All
Android
task

Tracking

()

RESOLVED FIXED
162 Branch
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 the eu_trust_mark / eu_trust_mark_inverted drawables from Fenix into support-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

  1. In Focus, enable "Enable QWAC UI" in secret settings, and set security.qwacs.enabled to true.
  2. Open a site that serves a QWAC, such as https://eidas.ec.europa.eu.
  3. Tap the shield in the URL bar, then tap "Secure connection".

Expected: the panel and certificate details page match the Fenix design.

Whiteboard: [fxdroid][android-activation-trust]
Summary: Scope Focus certificate and QWAC support (investigation) → Bring the QWAC Trust Panel flow from Fenix to Focus

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.

Assignee: nobody → lmccracken
Status: NEW → ASSIGNED

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.

Pushed by lmccracken@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/898207dca073 https://hg.mozilla.org/integration/autoland/rev/be8ddb327883 Part 1: Move the certificate details logic and EU trust mark to support-utils. r=android-reviewers,jonalmeida
Status: ASSIGNED → RESOLVED
Closed: 22 hours ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
Pushed by lmccracken@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/c83c61efd6ef https://hg.mozilla.org/integration/autoland/rev/b5608895c4be Part 2: Show the certificate details and EU trust mark in Focus. r=android-l10n-reviewers,android-reviewers,parker,gmalekpour
Pushed by lmccracken@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/317be89e429c https://hg.mozilla.org/integration/autoland/rev/4432f9c9040a Part 2: Show the certificate details and EU trust mark in Focus. r=android-l10n-reviewers,android-reviewers,parker,gmalekpour,sfamisa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: