Add counter and warnings for deprecated MathML lengths
Categories
(Core :: MathML, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox70 | --- | fixed |
People
(Reporter: fredw, Assigned: fredw)
References
Details
(Keywords: site-compat)
Attachments
(2 files, 1 obsolete file)
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
4.01 KB,
text/plain
|
bmiroglio
:
data-review+
|
Details |
Follow-up of bugs 1574750, 1548527, 1548529
These mathml lengths are disabled in nightly but we would need warning / counters for them. We can maybe disable them in beta too? (not sure what's the policy)
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
This commit introduces new counters and deprecation warnings for the following
MathML features:
- mathspace names (bug 1575542)
- mathsize names (bug 1548527)
- linethickness names (bug 1548529)
Note: helper parsing functions for mfrac and mpadded are changed to non-static
in order to pass the document parameter needed to log warnings to the console
(and while doing that, it is made private for mfrac).
Change manually tested with
<math>
<mspace width="thinmathspace"></mspace>
<mpadded width="2thickmathspace"></mpadded>
<mfrac linethickness="thin"><mn>1</mn><mn>2</mn></mfrac>
<mtext mathsize="big">3</mtext>
</math>
| Assignee | ||
Comment 2•6 years ago
|
||
This commit introduces new counters and deprecation warnings for the following
MathML features:
- mathspace names (bug 1575542)
- mathsize names (bug 1548527)
- linethickness names (bug 1548529)
Note: helper parsing functions for mfrac and mpadded are changed to non-static
in order to pass the document parameter needed to log warnings to the console
(and while doing that, it is made private for mfrac).
Change manually tested with
<math>
<mspace width="thinmathspace"></mspace>
<mpadded width="2thickmathspace"></mpadded>
<mfrac linethickness="thin"><mn>1</mn><mn>2</mn></mfrac>
<mtext mathsize="big">3</mtext>
</math>
Updated•6 years ago
|
| Assignee | ||
Comment 3•6 years ago
|
||
| Assignee | ||
Comment 4•6 years ago
|
||
Like in bug 1538985 ( https://phabricator.services.mozilla.com/D24812 ) I expect the release_channel_collection to be "opt-out" in order to make it comparable to the number of documents with MathML content. Do I need to send a patch to toolkit/components/telemetry/Scalars.yaml too?
| Assignee | ||
Comment 5•6 years ago
|
||
(In reply to Frédéric Wang (:fredw) from comment #4)
Like in bug 1538985 ( https://phabricator.services.mozilla.com/D24812 ) I expect the release_channel_collection to be "opt-out" in order to make it comparable to the number of documents with MathML content. Do I need to send a patch to toolkit/components/telemetry/Scalars.yaml too?
Checking https://searchfox.org/mozilla-central/source/toolkit/components/telemetry/build_scripts/mozparsers/parse_histograms.py#709 I assume I don't. Reply to 6) seems to be "never" and there are actually two counters for each of the three features.
| Assignee | ||
Comment 6•6 years ago
|
||
@chutten: I'm not really familiar with telemetry, so I'd like to ask a question about "7) What populations will you measure?". IIUC, in bug 1538985 we made the probe "opt-out". What does that mean exactly? I understand the users still need to explicitly check "Allow Firefox to send technical and interaction data to Mozilla" in their privacy preference in order to share the data. And I expect the same for these new probes. Is that correct?
Comment 7•6 years ago
|
||
Unfortunately, due to history, this is all convoluted and none of the words mean what they say. In short:
- "opt-out" means that the metric is being collected in all channels.
- "opt-in" means that the metric is being collected in pre-release channels only.
Use counters (including yours and all new ones) will be "opt-out" so that they can be collected on all channels, you're right.
| Assignee | ||
Comment 8•6 years ago
|
||
OK, I see thanks!
Comment 9•6 years ago
|
||
Comment 11•6 years ago
|
||
Pushed by nbeleuzu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bafc32833308
Add counter and warnings for deprecated MathML lengths. r=emilio
Comment 12•6 years ago
|
||
| bugherder | ||
Comment 13•6 years ago
|
||
Posted site compatibility note: https://www.fxsitecompat.dev/en-CA/docs/2019/various-legacy-mathml-features-have-been-deprecated-or-removed/
Description
•