Closed Bug 1700198 Opened 4 years ago Closed 4 years ago

Remove subviewbutton-iconic class from markup from menus / panels where Proton removes or suppresses them

Categories

(Firefox :: Menus, task, P3)

task
Points:
1

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: mconley, Assigned: mconley)

References

(Blocks 1 open bug)

Details

(Whiteboard: [proton-cleanups])

Attachments

(4 files)

This class is used to provide icons for some of our menu items. With Proton, we've been removing that class to remove the icons while we transition from pre to post Proton.

Here's an example of where we've done this:

https://searchfox.org/mozilla-central/rev/36f79bed679ad7ec46f7cd05868a8f6dc823e1be/browser/components/customizableui/CustomizableWidgets.jsm#118-127

Once Proton ships, we should remove the class from the markup, rather than doing it via script.

Priority: -- → P3
Whiteboard: [proton-cleanups]
Severity: -- → N/A
Points: --- → 1
Assignee: nobody → mconley

This also removes code that handled the case where a Send Tab or Send Link to Device
menu needed to be populated when in the STATUS_NOT_CONFIGURED state. Since those menus
should be unavailable when in the STATUS_NOT_CONFIGURED state, we throw instead.

Depends on D118622

Status: NEW → ASSIGNED
Blocks: 1711508
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f2744271ea8e Remove subviewbutton-iconic class from Library panel markup. r=mhowell https://hg.mozilla.org/integration/autoland/rev/16823e84e6d2 Remove subviewbutton-iconic class from Bookmarks panel. r=mak https://hg.mozilla.org/integration/autoland/rev/531a73a172ef Remove most subviewbutton-iconic class usage from FxA panel. r=markh https://hg.mozilla.org/integration/autoland/rev/df3e9dc2a780 Remove subviewbutton-iconic class from History and Synced Tabs panels. r=Gijs
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: