Closed
Bug 1630168
Opened 4 years ago
Closed 4 years ago
Suppress adding same runners for handling content change in HTMLEditor
Categories
(Core :: DOM: Editor, enhancement, P2)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla77
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
Attachments
(1 file)
When HTMLEditor
is notified of content changes, it may add a runnable method HTMLEditor::OnModifyDocument
or HTMLEditor::NotifyRootChanged
for each notification. However, their code do not need running twice nor more. This could cause performance issues on complicated web apps which sets innerHTML
at every key press.
Assignee | ||
Comment 1•4 years ago
|
||
When HTMLEditor
is notified of content changes, it may add a runnable method
HTMLEditor::OnModifyDocument
or HTMLEditor::NotifyRootChanged
for each
notification. However, their code do not need running twice nor more. This
could cause performance issues on complicated web apps which sets innerHTML
at every key press.
Pushed by masayuki@d-toybox.com: https://hg.mozilla.org/integration/autoland/rev/cb5e78f6e668 Make `HTMLEditor` stop adding same runnable method into the queue r=m_kato
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox77:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in
before you can comment on or make changes to this bug.
Description
•