+3
−3
+61
−64
Loading
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