Closed
Bug 1832515
Opened 2 years ago
Closed 2 years ago
Optimize out EventListenerManager calls when the event is untrusted but there are listeners only for trusted events
Categories
(Core :: DOM: Events, defect, P2)
Core
DOM: Events
Tracking
()
RESOLVED
FIXED
115 Branch
Tracking | Status | |
---|---|---|
firefox115 | --- | fixed |
People
(Reporter: smaug, Assigned: smaug)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sp3])
Attachments
(2 files)
We have MessageManager and WindowRoot in the event path in the content processes, but listeners in those should in general be for trusted events only.
And some benchmarks trigger tons of untrusted events.
Updated•2 years ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/SP3-371
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D177737
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f23d4642c5b4
remove unsused *PrivilegedClickListeners and mIsChrome, r=masayuki
https://hg.mozilla.org/integration/autoland/rev/25379e9dc04d
optimize out untrusted events from EventListenerManager when there are no listeners for untrusted events, r=masayuki
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f23d4642c5b4
https://hg.mozilla.org/mozilla-central/rev/25379e9dc04d
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox115:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•