Closed Bug 1625579 Opened 5 years ago Closed 5 years ago

Remove the nested elements in about:addons

Categories

(WebExtensions :: Untriaged, defect)

74 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: hazard-waltzer02, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0

Steps to reproduce:

Inspect about:addons

Actual results:

See that there are many elements which just have one element inside of them:
<vbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" class="main-content" flex="1"><deck id="view-port" flex="1" selectedIndex="0"><vbox id="headered-views" flex="1"><deck id="headered-views-content" flex="1" selectedIndex="0"><vbox id="html-view" flex="1" type="list" param="extension"><browser id="html-view-browser" type="content" flex="1" disablehistory="true"/></vbox></deck></vbox></deck></vbox>

Expected results:

There should have been just one element.
Note: This is not a defect, but it is marked as defect because the nested elements were not required in the first place.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Product: Firefox → WebExtensions

Just because an element only has one child doesn't mean it is unnecessary. If you want to over these one-by-one and try removing elements and ensuring that nothing breaks, you can submit patches, but this is all due to be rewritten anyway (bug 1556776). Even if the xul elements were going to remain, removing elements one at a time is unlikely to provide any measurable benefit and isn't a productive use of development time.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.