Files
tubestation/dom/base
Emilio Cobos Álvarez ee100ae705 Bug 1830986 - Avoid a bunch of allocations in innerHTML / outerHTML getter. r=smaug
One thing that stands out of the profiles in bug 1827132 are a ton of
allocations and attribute lookups.

While the root cause of that performance issue is likely to be a
DOMSubtreeModified event that Chrome doesn't fire or so, those are
rather easy to optimize and might be more generally useful.

I removed handling of `<br type="">`, because editor no longer uses it.
Maybe we can also remove some of the other of the prefixed attribute
shenanigans.

Differential Revision: https://phabricator.services.mozilla.com/D176956
2023-05-03 10:44:22 +00:00
..