Closed Bug 2045748 Opened 2 months ago Closed 2 months ago

Disable execCommand for EditContext

Categories

(Core :: DOM: Editor, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox153 --- fixed

People

(Reporter: ltenenbaum, Assigned: ltenenbaum)

References

(Blocks 2 open bugs, )

Details

Attachments

(1 file)

execCommand is supposed to be disabled for EditContext, even for commands which could be implemented for it (insertText, delete, etc.). We still use those commands internally for keyboard shortcuts so maybe we should handle this in Document::AutoEditorCommandTarget::IsCommandEnabled or something.

Blocks: 2046107

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/60505 for changes under testing/web-platform/tests

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch

Upstream PR merged by moz-wptsync-bot

QA Whiteboard: [qa-triage-done-c154/b153]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: