Bug 968923, "Implement some equivalent of Chrome's use counters", has
landed on mozilla-central.  We are now able to report statistics on whether
individual documents use a given:

- WebIDL method
- WebIDL attribute (getters and setters reported separately)
- CSS property
- operation listed in dom/base/nsDeprecatedOperationList.h

These statistics are reported through Telemetry.

Deprecated operations are handled automatically.  CSS properties require
modifying dom/base/UseCounters.conf.  WebIDL methods and attributes require
modifying dom/base/UseCounters.conf and adding a [UseCounter] attribute to
the appropriate entity in the corresponding WebIDL file.  (Bug 1195959
tracks eliminating the WebIDL file modification, if you are curious.)

Please see dom/base/UseCounters.conf for more information, and come find
people in #content if you have questions.

Thanks,
-Nathan
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to