Open Bug 933042 Opened 11 years ago Updated 2 years ago

Add telemetry to WarnOnceAbout

Categories

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

defect

Tracking

()

People

(Reporter: sicking, Unassigned)

Details

All the things that we warn about in WarnOnceAbout are things that we're trying to deprecate.

It would be great if we automatically reported telemetry data so that we can track usage for all things that trigger WarnOnceAbout warnings. That will make it much easier to judge when we can actually remove the implementation of whatever API we're trying to deprecate.
It would be nice if we can steal code/ideas from chromium's UseCounter for this: <https://chromium.googlesource.com/chromium/blink/+/86b6367149de4019e2c8533412a3b1287c00a586/Source/core/page/UseCounter.h>.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.