Disable `contentreadonly` and `insertbronreturn` edit commands in all channels
Categories
(Core :: DOM: Editor, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox144 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
(Keywords: dev-doc-needed)
Attachments
(1 file)
They were disabled in early beta and earlier builds 4 years ago, and no bug reports from beta/nightly testers. So, I think we can disable them in all channels.
Although I don't get the latest data of the usage, but when I was working on that 4 years ago, there were a lot of queries of state of the commands. I guess that they are used for finger printing because disabling the commands has not cause getting regression reports.
Additionally, executing the commands cause changing the HTMLEditor's basic behavior but the other browsers do not support them. So, I guess only the bool result of execCommand is used for finger printing. I cannot imagine how to use the commands for editable web apps which can be used in any browsers.
| Assignee | ||
Comment 1•1 year ago
|
||
They are disabled in early beta and earlier builds 4 years ago.
However, we don't get any regression reports. Although the use counters
say they are still used both execCommand and query their state. I
guess they are used for finger printing because executing the commands
change the behavior of HTMLEditor and the result is not compatible
with the other browsers. So, it's hard to guess that how to use them
in editable web apps to control our HTMLEditor.
| Assignee | ||
Comment 3•1 year ago
|
||
Posted to dev-platform: https://groups.google.com/a/mozilla.org/g/dev-platform/c/n8qWKbiV7to
Updated•1 year ago
|
Comment 5•11 months ago
|
||
This removal should at least be noted in the release notes for Firefox 144. And the related BCD for execCommand() should be updated (even when execCommand() itself is already marked as deprecated). As the pages of the related methods queryCommandEnabled(), queryCommandState() and queryCommandSupported() refer to execCommand() for the individual commands, they probably don't need any updates.
Sebastian
Description
•