Display warning triangle as the favicon of certificate error pages
Categories
(Firefox :: Security, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox92 | --- | verified |
People
(Reporter: Gijs, Assigned: Gijs)
References
Details
(Whiteboard: [proton-mr11])
Attachments
(4 files)
See attachment. We want to more clearly signal that these certificate error pages are warnings.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Johann, at one point we had separate markup for network and cert error pages. It now appears to me that despite its name, https://searchfox.org/mozilla-central/source/browser/base/content/certerror/aboutNetError.xhtml is used for both cert errors and network errors. Is that right? Is there a plan to stop doing that, or at least rename the confusing paths?
Assignee | ||
Comment 2•3 years ago
|
||
On a completely different note... Katie, can you provide some clarity about the colours you envisaged here? The favicon in the spec has subtly different colours in dark and light mode. This isn't easily possible because the error page can only define 1 favicon. I can set it at runtime from within the code running inside the error page, but that code has no idea whether the user has a light or dark theme applied.
Finally, the icon is almost completely invisible in the alpenglow theme (see screenshot comparing light/dark/alpenglow backgrounds with the same icon). I expect there will be other custom themes where the favicon will be completely lost, colour-wise. Is that an acceptable trade-off, and/or how would you like to proceed here?
Updated•3 years ago
|
Thanks for the visuals and explanation. Updated UX Figma specs with the non-colour dark and light versions of the warning triangle in the tabs. (colour matches tab text values)
Assignee | ||
Comment 4•3 years ago
|
||
Comment 6•3 years ago
|
||
Backed out for causing Xpcshell failures at test_bookmarks_html.js.
Backout link: https://hg.mozilla.org/integration/autoland/rev/0c6ed183354aad2c65c23a4366e31227e8e6d9ac
Failure log: https://treeherder.mozilla.org/logviewer?job_id=346726374&repo=autoland&lineNumber=2999
Assignee | ||
Comment 7•3 years ago
|
||
Comment 9•3 years ago
|
||
bugherder |
Comment 10•3 years ago
|
||
Verified fixed using latest Nightly 92.0a1 under Win 10 64-bit, Ubuntu 18.04 64-bit and Mac OSX 10.14.
Comment 11•3 years ago
|
||
To answer the question, we merged them a long time ago because they mostly shared the same code. Hard to say if that was the right decision :)
Description
•