Servo is particularly interested in getting usage data for just about every DOM API that exists in Gecko. We'd like to use this to inform our priorities for implementing missing features in Servo. Is this a realistic request? If not, what about instrumenting all SVG APIs to figure out if there's a subset that would give us maximum compatibility? How much of a burden will these requests be on developers and users?

Cheers,
Josh

On 2015-08-19 11:35 AM, Nathan Froyd 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
- 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