gecko-dev/devtools
Nicolas Chevobbe eec59321db Bug 1492497 - [devtools] Add a way to disable (and re-enable) event listener for a given node. r=ochameau,devtools-backward-compat-reviewers,bomsy.
This patch adds a checkbox at the end of each event listeners in the EventTooltip,
which allow the user to disable/re-enable a given event listener.

This is done by managing a Map of nsIEventListenerInfo object in the NodeActor,
which we populate from `getEventListenerInfo`. Each `nsIEventListenerInfo` is
assigned a generated id, which can then be used to call the new NodeActor
methods, `(enable|disable)EventListener`.

We don't support disabling jquery/React event listeners at the moment, so we
display the checkbox for them as well, but disabled.

Differential Revision: https://phabricator.services.mozilla.com/D135133
2022-01-12 18:36:23 +00:00
..
client Bug 1492497 - [devtools] Add a way to disable (and re-enable) event listener for a given node. r=ochameau,devtools-backward-compat-reviewers,bomsy. 2022-01-12 18:36:23 +00:00
docs Bug 1749449 - [devtools] Cleanup hasNativeConsoleAPI state through the codebase. r=jdescottes,devtools-backward-compat-reviewers. 2022-01-11 15:17:24 +00:00
perfdocs Bug 1725399: [perfdocs] Add link to DAMP tests in performance testing index page r=perftest-reviewers,AlexandruIonescu 2021-08-17 13:33:45 +00:00
platform Bug 1731564: Use motivated SpinEventLoopUntil inside devtools/*. r=devtools-reviewers,jdescottes 2021-10-07 08:06:11 +00:00
server Bug 1492497 - [devtools] Add a way to disable (and re-enable) event listener for a given node. r=ochameau,devtools-backward-compat-reviewers,bomsy. 2022-01-12 18:36:23 +00:00
shared Bug 1492497 - [devtools] Add a way to disable (and re-enable) event listener for a given node. r=ochameau,devtools-backward-compat-reviewers,bomsy. 2022-01-12 18:36:23 +00:00
startup Bug 371900, remove more now-unneeded empty oncommand attributes, r=bgrins,preferences-reviewers,Gijs 2022-01-11 20:02:30 +00:00
.eslintrc.js Bug 1741369 - [devtools] Update paths to loader files in devtools/ r=ochameau 2021-11-17 12:43:26 +00:00
.eslintrc.xpcshell.js
CODE_OF_CONDUCT.md
moz.build Bug 1737573 - [devtools] Migrate MDN docs into Sphinx (connect docs to toc + css) r=nchevobbe,ahal 2021-11-03 10:45:52 +00:00
templates.mozbuild
tsconfig.json