Closed Bug 1785267 Opened 3 years ago Closed 3 years ago

Cache fragments for custom elements

Categories

(Thunderbird :: Instant Messaging, task)

Tracking

(thunderbird_esr102 wontfix, thunderbird105 fixed)

RESOLVED FIXED
105 Branch
Tracking Status
thunderbird_esr102 --- wontfix
thunderbird105 --- fixed

People

(Reporter: freaktechnik, Assigned: freaktechnik)

References

Details

(Keywords: perf, perf:frontend)

Attachments

(1 file)

The chat custom elements currently parse a string of XUL every time the element is attached to the DOM. The parent class/element provides an easy way to cache the parsed XUL fragment: https://searchfox.org/mozilla-central/rev/497076b5edd0f906ae088cdf224e45896162694b/toolkit/content/customElements.js#469-496

Keywords: perf, perf:frontend
Target Milestone: --- → 105 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/05ca2c3e5e6a
Cache fragments for IM custom elements. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Regressions: 1785812
Backout by mkmelin@iki.fi: https://hg.mozilla.org/comm-central/rev/a5da836886a8 Backed out changeset 05ca2c3e5e6a for causing bug 1785812. rs=backout

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/90e70ed087e1
Cache fragments for IM custom elements. r=mkmelin

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: