RESOLVED FIXED Bug 279712
Implement ClipboardItem.supports
https://bugs.webkit.org/show_bug.cgi?id=279712
Summary Implement ClipboardItem.supports
Karl Dubost
Reported 2024-09-14 07:07:01 PDT
"supports" in ClipboardItem returns true on Chrome and Firefox returns false on Safari. See https://w3c.github.io/clipboard-apis/#dom-clipboarditem-supports 7.2.4. supports(type) This method must run the below steps: If type is in mandatory data types or optional data types, then return true. If not, then return false. A couple of Web Platform Tests are failing because of this. https://wpt.live/clipboard-apis/clipboard-item.https.html
Attachments
Radar WebKit Bug Importer
Comment 1 2024-09-14 07:07:09 PDT
Karl Dubost
Comment 2 2024-09-14 07:19:22 PDT
On Firefox, it was implemented on Firefox 127 (Closed: 2024-04-19) https://bugzilla.mozilla.org/show_bug.cgi?id=1858788 Example of issues to work around on Safari https://github.com/tomayac/SVGcode/issues/93 There is a WebKit standard issue https://github.com/WebKit/standards-positions/issues/259
Karl Dubost
Comment 3 2024-09-30 22:22:31 PDT
EWS
Comment 4 2024-10-02 18:26:15 PDT
Committed 284593@main (91237d0831bb): <https://commits.webkit.org/284593@main> Reviewed commits have been landed. Closing PR #34489 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.