[Cc dev-developer-tools because this is relevant to devtools]

On Wed, Aug 19, 2015 at 5:35 PM, Nathan Froyd <nfr...@mozilla.com> wrote:

> 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
>

Awesome! This is going to be useful for bug 1168246
<https://bugzilla.mozilla.org/show_bug.cgi?id=1168246> that aims at being
smart about ordering CSS properties when showing the auto-complete list in
the inspector.


> - operation listed in dom/base/nsDeprecatedOperationList.h
>
> These statistics are reported through Telemetry.
>

Could you give details about this please? How will we be able to access
this data?


>
> 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
>
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to