Open Bug 1686253 Opened 9 months ago Updated 9 months ago

Only insert downloads panel when needed

Categories

(Toolkit :: XUL Widgets, defect, P3)

Desktop
All
defect

Tracking

()

Tracking Status
firefox86 --- affected

People

(Reporter: Gijs, Unassigned)

References

(Blocks 1 open bug)

Details

Right now https://searchfox.org/mozilla-central/source/browser/components/downloads/content/downloadsPanel.inc.xhtml is inserted into browser.xhtml and all of the panel is instantiated immediately.

We should use a template tag to postpone this, or even load the markup dynamically with a fetch() call or similar, when we need it - not before.

See bug 1515799 comment 16 for potential gains from doing this.

Priority: -- → P3
Severity: -- → S4
You need to log in before you can comment on or make changes to this bug.