Closed
Bug 1581931
Opened 2 years ago
Closed 1 year ago
Cleanup unused identity popup breakage report view styles
Categories
(Firefox :: Site Identity, task, P3)
Firefox
Site Identity
Tracking
()
RESOLVED
FIXED
Firefox 76
| Tracking | Status | |
|---|---|---|
| firefox76 | --- | fixed |
People
(Reporter: ntim, Assigned: amina.kenessova, Mentored)
Details
(Whiteboard: [privacy-panel][skyline])
Attachments
(1 file)
Some of the CSS involving #identity-popup-* doesn't seem used ever since their UI was moved into the protections panel.
| Reporter | ||
Comment 1•2 years ago
|
||
Johann, could someone from your team look into this given that they will be more familiar with what can be removed? It would be nice to not have some dead code lying around :)
Flags: needinfo?(jhofmann)
Comment 2•2 years ago
|
||
Yup! Thanks for filing this.
Flags: needinfo?(jhofmann)
Whiteboard: [privacy-panel][skyline]
Updated•2 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Mentor: nhnt11
Comment 3•1 year ago
|
||
Here's how I would approach this:
- Use the inspector/console to find all elements that have IDs or classes starting with
identity-popup. (document.querySelectorAll) - For each one, find CSS rules in the codebase.
- After eliminating those, the remaining ones are likely unused rules. Remove them, double-check for sanity, build, test. This should result in a usable patch.
Comment 4•1 year ago
|
||
Note that the above process might not work great for dynamically added elements - they might not yet be present in the DOM when we query it. So as an extra step it would be good to search the codebase for identity-popup and see if we have any elements that are dynamically added.
Updated•1 year ago
|
Assignee: nobody → amina.kenessova
Status: NEW → ASSIGNED
| Assignee | ||
Comment 5•1 year ago
|
||
Updated•1 year ago
|
Attachment #9134803 -
Attachment description: Bug 1581931 - Removed identity-popup-breakageReportView styles. r=nhnt11 → Bug 1581931 - Remove unused identity popup breakage report view styles. r=nhnt11
Pushed by dluca@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1d09f9517c32 Remove unused identity popup breakage report view styles. r=nhnt11
Comment 7•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox76:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 76
Updated•1 year ago
|
Summary: Cleanup #identity-popup-* CSS → Cleanup unused identity popup breakage report view styles
You need to log in
before you can comment on or make changes to this bug.
Description
•