Closed Bug 1720574 Opened 3 years ago Closed 3 years ago

Add a way to disable event listeners

Categories

(Core :: DOM: Events, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: smaug, Assigned: smaug)

References

Details

Attachments

(1 file)

devtools might want to be able disable event listeners temporarily

Summary: Add a way to disable an event listener → Add a way to disable event listeners
Severity: -- → N/A
Type: defect → enhancement
Priority: -- → P3

The old test for the service is reused here. Added some basic tests there.

Honza, can you check that the API is useful for devtools?

Flags: needinfo?(odvarko)

Patch accepted, thank you Olli for working on this!
Honza

Flags: needinfo?(odvarko)
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3aa84c28a7fd Add a way to disable event listeners, r=edgar,Honza
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: