Bug 1782852 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Starting from 92, we disabled them in Nightly channel (bug 1706266). And there is no regression reports, but according to the telemetry result (added in bug 1706268), some commands may still be used.

* [`document.execCommand("contentReadonly")`](https://telemetry.mozilla.org/new-pipeline/dist.html#!cumulative=0&end_date=2022-07-05&include_spill=0&keys=__none__!__none__!__none__&max_channel_version=beta%252F102&measure=USE_COUNTER2_DOCUMENTEXECCOMMANDCONTENTREADONLY_DOCUMENT&min_channel_version=null&processType=*&product=Firefox&sanitize=0&sort_by_value=0&sort_keys=submissions&start_date=2022-05-02&table=0&trim=0&use_submission_date=0)
* ['document.queryCommandSupported("insertBROnReturn") or document.queryCommandEnabled("insertBROnReturn")](https://telemetry.mozilla.org/new-pipeline/dist.html#!cumulative=0&end_date=2022-07-05&include_spill=0&keys=__none__!__none__!__none__&max_channel_version=beta%252F102&measure=USE_COUNTER2_DOCUMENTQUERYCOMMANDSUPPORTEDORENABLEDINSERTBRONRETURN_DOCUMENT&min_channel_version=null&processType=*&product=Firefox&sanitize=0&sort_by_value=0&sort_keys=submissions&start_date=2022-05-02&table=0&trim=0&use_submission_date=0)

I think that we could try to disable them in early beta too. However, I don't think we should delete them immediately because they are used constantly in multiple beta releases.

The other commands are really rare and these counters have been stopped collecting the usage.
* [`increateFontSize`](https://telemetry.mozilla.org/new-pipeline/dist.html#!cumulative=0&end_date=2021-11-19&include_spill=0&keys=__none__!__none__!__none__&max_channel_version=beta%252F94&measure=USE_COUNTER2_DOCUMENTEXECCOMMANDINCREASEFONTSIZE_DOCUMENT&min_channel_version=null&processType=*&product=Firefox&sanitize=0&sort_by_value=0&sort_keys=submissions&start_date=2021-09-24&table=0&trim=0&use_submission_date=0)
* [`decreaseFontSize`](https://telemetry.mozilla.org/new-pipeline/dist.html#!cumulative=0&end_date=2021-11-19&include_spill=0&keys=__none__!__none__!__none__&max_channel_version=beta%252F94&measure=USE_COUNTER2_DOCUMENTEXECCOMMANDDECREASEFONTSIZE_DOCUMENT&min_channel_version=null&processType=*&product=Firefox&sanitize=0&sort_by_value=0&sort_keys=submissions&start_date=2021-09-24&table=0&trim=0&use_submission_date=0)
* [`heading`](https://telemetry.mozilla.org/new-pipeline/dist.html#!cumulative=0&end_date=2021-11-19&include_spill=0&keys=__none__!__none__!__none__&max_channel_version=beta%252F94&measure=USE_COUNTER2_DOCUMENTEXECCOMMANDHEADING_DOCUMENT&min_channel_version=null&processType=*&product=Firefox&sanitize=0&sort_by_value=0&sort_keys=submissions&start_date=2021-09-24&table=0&trim=0&use_submission_date=0)

So we can delete them.
Starting from 92, we disabled them in Nightly channel (bug 1706266). And there is no regression reports, but according to the telemetry result (added in bug 1706268), some commands may still be used.

* [`document.execCommand("contentReadonly")`](https://telemetry.mozilla.org/new-pipeline/dist.html#!cumulative=0&end_date=2022-07-05&include_spill=0&keys=__none__!__none__!__none__&max_channel_version=beta%252F102&measure=USE_COUNTER2_DOCUMENTEXECCOMMANDCONTENTREADONLY_DOCUMENT&min_channel_version=null&processType=*&product=Firefox&sanitize=0&sort_by_value=0&sort_keys=submissions&start_date=2022-05-02&table=0&trim=0&use_submission_date=0)
* [`document.queryCommandSupported("insertBROnReturn")` or `document.queryCommandEnabled("insertBROnReturn")`](https://telemetry.mozilla.org/new-pipeline/dist.html#!cumulative=0&end_date=2022-07-05&include_spill=0&keys=__none__!__none__!__none__&max_channel_version=beta%252F102&measure=USE_COUNTER2_DOCUMENTQUERYCOMMANDSUPPORTEDORENABLEDINSERTBRONRETURN_DOCUMENT&min_channel_version=null&processType=*&product=Firefox&sanitize=0&sort_by_value=0&sort_keys=submissions&start_date=2022-05-02&table=0&trim=0&use_submission_date=0)

I think that we could try to disable them in early beta too. However, I don't think we should delete them immediately because they are used constantly in multiple beta releases.

The other commands are really rare and these counters have been stopped collecting the usage.
* [`increateFontSize`](https://telemetry.mozilla.org/new-pipeline/dist.html#!cumulative=0&end_date=2021-11-19&include_spill=0&keys=__none__!__none__!__none__&max_channel_version=beta%252F94&measure=USE_COUNTER2_DOCUMENTEXECCOMMANDINCREASEFONTSIZE_DOCUMENT&min_channel_version=null&processType=*&product=Firefox&sanitize=0&sort_by_value=0&sort_keys=submissions&start_date=2021-09-24&table=0&trim=0&use_submission_date=0)
* [`decreaseFontSize`](https://telemetry.mozilla.org/new-pipeline/dist.html#!cumulative=0&end_date=2021-11-19&include_spill=0&keys=__none__!__none__!__none__&max_channel_version=beta%252F94&measure=USE_COUNTER2_DOCUMENTEXECCOMMANDDECREASEFONTSIZE_DOCUMENT&min_channel_version=null&processType=*&product=Firefox&sanitize=0&sort_by_value=0&sort_keys=submissions&start_date=2021-09-24&table=0&trim=0&use_submission_date=0)
* [`heading`](https://telemetry.mozilla.org/new-pipeline/dist.html#!cumulative=0&end_date=2021-11-19&include_spill=0&keys=__none__!__none__!__none__&max_channel_version=beta%252F94&measure=USE_COUNTER2_DOCUMENTEXECCOMMANDHEADING_DOCUMENT&min_channel_version=null&processType=*&product=Firefox&sanitize=0&sort_by_value=0&sort_keys=submissions&start_date=2021-09-24&table=0&trim=0&use_submission_date=0)

So we can delete them.

Back to Bug 1782852 Comment 0