Bug 279712
Summary: | Implement ClipboardItem.supports | ||
---|---|---|---|
Product: | WebKit | Reporter: | Karl Dubost <karlcow> |
Component: | HTML Editing | Assignee: | Karl Dubost <karlcow> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer, wenson_hsieh |
Priority: | P2 | Keywords: | BrowserCompat, InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://wpt.live/clipboard-apis/clipboard-item.https.html | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=280726 | ||
Bug Depends on: | |||
Bug Blocks: | 280664 |
Karl Dubost
"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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/136008522>
Karl Dubost
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
Pull request: https://github.com/WebKit/WebKit/pull/34489
EWS
Committed 284593@main (91237d0831bb): <https://commits.webkit.org/284593@main>
Reviewed commits have been landed. Closing PR #34489 and removing active labels.