Remove the nested elements in about:addons
Categories
(WebExtensions :: Untriaged, defect)
Tracking
(Not tracked)
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.
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•5 years ago
|
||
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.
Description
•