-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Document member support notes for Firefox #25617
Conversation
201af1e
to
e8a5477
Compare
e8a5477
to
3e054cd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flat, ungrouped diff:
[^n1]: "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects."
[^n5]: "Before Firefox 68, `cookie` was available only on HTML documents; it is now available on all documents, such as XML and SVG."
[^n15]: "From Firefox 62, if the domain cannot be identified, `domain` returns an empty string instead of `null`. See [bug 819475](https://bugzil.la/819475)."
[^n21]: "From Firefox 82, nested calls are not supported (return `false`). See [bug 1634262](https://bugzil.la/1634262)."
[^n22]: "Before Firefox 89, manipulating the content of `<input>` and `<textarea>` elements using `Document.execCommand()` commands requires workarounds (see [bug 1220696](https://bugzil.la/1220696))."
[^n30]: "`queryCommandEnabled` with arguments `cut`, `copy` or `paste` would throw errors unless the script had special privileges."
[^n31]: "The `\"paste\"` command is reported as supported when the paste feature is available even if the calling script has insufficient privileges to actually perform the action."
This repo 404s. Maybe it is private? |
Apologies, it should be public now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks like pretty solid research to me. Let's land this and the other PRs.
Great work! 👍
Summary
For every
Document
member that, in some Firefox versions, is only exposed toHTMLDocument
(and not also toSVGDocument
andXMLDocument
), ensures that there is a corresponding note.Test results and supporting details
Source: https://github.com/caugner/document-members/blob/main/SUMMARY.md#firefox
Related issues
Part of #10682.