Closed Bug 694033 Opened 13 years ago Closed 13 years ago

Add Telemetry probes for windows which have had mutation event listeners

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: smaug, Assigned: smaug)

Details

Attachments

(1 file, 1 obsolete file)

We could count how often documents have mutation event listeners. If they are being used a lot, it may take some more time to get rid of mutation events.
So the outcome would be something like y of x created documents had mutation event listeners.
Summary: Add Telemetry probes for mutation event listeners count → Add Telemetry probes for windows which have had mutation event listeners
Attached patch patch (obsolete) — Splinter Review
So I want to count how many (inner) windows have had mutation event listeners and how many hasn't had. Based on what about:telemetry reports, this does that.
Assignee: nobody → Olli.Pettay
Status: NEW → ASSIGNED
Attachment #566788 - Flags: review?(tglek)
Attached patch patchSplinter Review
Just a bit nicer coding style.
Attachment #566788 - Attachment is obsolete: true
Attachment #566788 - Flags: review?(tglek)
Attachment #566812 - Flags: review?(tglek)
Attachment #566812 - Flags: review?(tglek) → review+
Can we please also let devs know that mutation events will get deprecated at some point? Even if we don't have a replacement for them yet, more information seems better than less. We can even provide an eta of when replacement will be available.
Sure, but that has nothing to do with this bug :)
This is performance and usage-related, so fine privacy-wise. Clearing the flag.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: