Closed
Bug 1698734
Opened 4 years ago
Closed 4 years ago
GetOrCreateListenerManager() is used to just check existence of an event listener
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
88 Branch
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox86 | --- | unaffected |
firefox87 | --- | unaffected |
firefox88 | --- | fixed |
People
(Reporter: smaug, Assigned: jfkthame)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
https://searchfox.org/mozilla-central/rev/526a5089c61db85d4d43eb0e46edaf1f632e853a/editor/libeditor/TextEditor.cpp#1249 seems to be creating EventListenerManager for all the objects in the event path.
GetExistingListenerManager() could be probably used here
https://searchfox.org/mozilla-central/rev/526a5089c61db85d4d43eb0e46edaf1f632e853a/dom/events/EventTarget.h#197
Reporter | ||
Updated•4 years ago
|
Severity: -- → S3
Priority: -- → P3
Assignee | ||
Comment 1•4 years ago
|
||
Oooh, thanks for spotting that. I'm sure I had GetExistingListenerManager() in some earlier version of the patch there; I don't recall any reason we need GetOrCreate..., so let's change it.
Assignee | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Comment 3•4 years ago
|
||
Set release status flags based on info from the regressing bug 1692673
status-firefox86:
--- → unaffected
status-firefox87:
--- → unaffected
status-firefox88:
--- → affected
status-firefox-esr78:
--- → unaffected
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/69dff8dbabec Don't create an EventListenerManager just to check for existing listeners. r=smaug
Comment 5•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
Updated•4 years ago
|
Keywords: regression
Updated•4 years ago
|
Has Regression Range: --- → yes
You need to log in
before you can comment on or make changes to this bug.
Description
•