FF148 Document.execCommand with paste supported in content#28953
Merged
FF148 Document.execCommand with paste supported in content#28953
Document.execCommand with paste supported in content#28953Conversation
Contributor
|
Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs). |
hamishwillee
commented
Feb 2, 2026
hamishwillee
commented
Feb 2, 2026
hamishwillee
commented
Feb 2, 2026
8 tasks
hamishwillee
commented
Feb 3, 2026
hamishwillee
commented
Feb 3, 2026
hamishwillee
commented
Feb 3, 2026
hamishwillee
commented
Feb 3, 2026
66fee14 to
ea78fd6
Compare
caugner
reviewed
Feb 6, 2026
Contributor
Author
|
Thanks @caugner - I accepted your changes |
caugner
approved these changes
Feb 13, 2026
Document.execCommand with paste supported in content
caugner
requested changes
Feb 13, 2026
api/Document.json
Outdated
| "deprecated": false | ||
| } | ||
| }, | ||
| "paste": { |
Contributor
There was a problem hiding this comment.
There's something wrong here, the subfeature is under api.Document.exitFullscreen instead of api.Document.execCommand.
Cf. the linter error.
5dd55e8 to
2f549f2
Compare
caugner
approved these changes
Feb 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FF148 Supports using Document.execCommand with option "paste" in web content in https://bugzilla.mozilla.org/show_bug.cgi?id=1998195#c18
Previously this would only work on extensions. The change is a reimplementation of the feature using the Clipboard API, so shares the same behaviour as added in #28587.
The feature is non-standard but in its "kind of" standard, paste is only supported in extensions. So what we're doing is adding non-standard behaviour to some browsers. What I have done is added an entry for paste that matches
copyand similar in versions, then added version notes for this additional "non-standard" implementation.Related docs work can be tracked in mdn/content#42747