Consider removing nsIEventListenerService.addSystemEventListener/removeSystemEventListener
Categories
(Core :: DOM: Events, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox125 | --- | fixed |
People
(Reporter: gregp, Assigned: gregp)
References
(Blocks 1 open bug)
Details
Attachments
(10 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
We have two ways of adding system group event listeners:
- nsIEventListenerService.addSystemEventListener
Services.els.addSystemEventListener(document, "mouseup", listener, true);
- mozSystemGroup in EventListenerOptions
document.addEventListener("mouseup", listener, { capture: true, mozSystemGroup: true });
Do we need both?
Updated•2 years ago
|
Comment 1•2 years ago
|
||
I think we don't need both and the one in nsIEventListenerService was added when addEventListener didn't yet take a dictionary as param.
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D201043
Assignee | ||
Comment 4•2 years ago
|
||
Depends on D201044
Assignee | ||
Comment 5•2 years ago
|
||
Depends on D201045
Assignee | ||
Comment 6•2 years ago
|
||
Depends on D201046
Assignee | ||
Comment 7•2 years ago
|
||
Depends on D201047
Assignee | ||
Comment 8•2 years ago
|
||
Depends on D201048
Assignee | ||
Comment 9•2 years ago
|
||
Depends on D201049
Assignee | ||
Comment 10•2 years ago
|
||
Depends on D201050
Assignee | ||
Comment 11•2 years ago
|
||
Depends on D201051
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 12•2 years ago
|
||
Comment 13•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7f0e7412b97d
https://hg.mozilla.org/mozilla-central/rev/226dd896d3b1
https://hg.mozilla.org/mozilla-central/rev/2e13b7aa672f
https://hg.mozilla.org/mozilla-central/rev/75bcf40d126c
https://hg.mozilla.org/mozilla-central/rev/27247af6f2ae
https://hg.mozilla.org/mozilla-central/rev/50704d1797c7
https://hg.mozilla.org/mozilla-central/rev/9e21f02eb384
https://hg.mozilla.org/mozilla-central/rev/b0b8f0e9417b
https://hg.mozilla.org/mozilla-central/rev/544a093d1101
https://hg.mozilla.org/mozilla-central/rev/d5fef403c297
Description
•