Open
Bug 1731215
Opened 4 years ago
Updated 4 years ago
[sanitizer] Implement text-only fast path for Element.setHTML()
Categories
(Core :: DOM: HTML Parser, enhancement)
Core
DOM: HTML Parser
Tracking
()
NEW
People
(Reporter: freddy, Unassigned)
References
(Blocks 1 open bug)
Details
Currently, the setHTML function always goes through the parser.
It would be nice to reuse the code in FragmentOrElement.cpp's SetInnerHTMLInternal which checks for small text-only input and avoids all of that parsing.
You need to log in
before you can comment on or make changes to this bug.
Description
•