Add telemetry probes to collect how percentage of editor instance handled each command of `Document#execCommand`
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox92 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
Attachments
(2 files)
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/plain
|
travis_
:
data-review+
|
Details |
Assignee | ||
Comment 1•3 years ago
|
||
Currently, increasefontsize
, decreasefontsize
, gethtml
, heading
,
contentReadOnly
, readonly
and insertBrOnReturn
commands are supported
only by Gecko. So, if nobody uses some or all of them, we can drop the
unused commands.
For saving the space of Document.mUseCounters
, this patch groups
Document.queryCommandState
and Document.queryCommandValue
because they
are both getter of the command. The difference is not important. And also
this patch groups Document.queryCommandSupported
and
Document.queryCommandEnabled
because they may be used for feature detection
and the difference is not important.
Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Comment on attachment 9229506 [details]
Data review
Sorry for the delay in this, I was on PTO and didn't update BMO to reflect this. For future reference, if you do not receive any response within a couple of business days from a steward, you are welcome to ping in the #data-stewards channel on matrix or select another steward.
A couple of questions/requests before I can proceed with the data-review:
-
Could you please provide answers for which populations you will be measuring, or all channels if that is the case?
-
Could you please elaborate on how the spec of the use counters determines default-on/off? (I would expect that this would be "default-on" but only counted if the command was accessed, but I want to be sure I understand.)
Again, sorry for any hold-up on this and happy to expedite this once the above questions are resolved.
- Travis
Assignee | ||
Comment 4•3 years ago
|
||
(In reply to Travis Long [:travis_] from comment #3)
Sorry for the delay in this, I was on PTO and didn't update BMO to reflect this. For future reference, if you do not receive any response within a couple of business days from a steward, you are welcome to ping in the #data-stewards channel on matrix or select another steward.
No problem, and thank you for the information.
A couple of questions/requests before I can proceed with the data-review:
- Could you please provide answers for which populations you will be measuring, or all channels if that is the case?
I think that use counter collects in all channels.
As of Firefox 65 the collection of Use Counters is enabled on all channels.
https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/collection/use-counters.html#use-counters
- Could you please elaborate on how the spec of the use counters determines default-on/off? (I would expect that this would be "default-on" but only counted if the command was accessed, but I want to be sure I understand.)
I don't find any documents, but here is the code:
https://searchfox.org/mozilla-central/rev/b79212b4fc017f27ac2435a658d4e9b9798efa86/toolkit/components/telemetry/build_scripts/mozparsers/parse_histograms.py#149,151
(And I guess that if it's default-off, we don't get meaningful result for this purpose.)
Comment 5•3 years ago
|
||
Thank you for the additional info, I will proceed with the review
Comment 6•3 years ago
|
||
Comment on attachment 9229506 [details]
Data review
Data Review
- Is there or will there be documentation that describes the schema for the ultimate data set in a public, complete, and accurate way?
Yes, in the UserCounters.conf and through the Probe Dictionary
- Is there a control mechanism that allows the user to turn the data collection on and off?
Yes, through the standard telemetry preference
- If the request is for permanent data collection, is there someone who will monitor the data over time?
Masayuki Nakano will be responsible for the permanent collection of this metric
- Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?
Category 2, User Interaction
- Is the data collection request for default-on or default-off?
Default-off
- Does the instrumentation include the addition of any new identifiers?
No
- Is the data collection covered by the existing Firefox privacy notice?
Yes
- Does the data collection use a third-party collection tool?
No
Result
data-review+
Assignee | ||
Comment 7•3 years ago
|
||
Thank you!
Updated•3 years ago
|
Comment 9•3 years ago
|
||
bugherder |
Description
•