Closed
Bug 1832515
Opened 1 year ago
Closed 1 year 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•1 year ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/SP3-371
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year 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•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f23d4642c5b4
https://hg.mozilla.org/mozilla-central/rev/25379e9dc04d
Status: NEW → RESOLVED
Closed: 1 year 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
•