Skip to content

Commit

Permalink
Chrome 133 supports string data for ClipboardItem (#25673)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdavidmills authored Jan 16, 2025
1 parent 3af3a24 commit 8af84fe
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions api/ClipboardItem.json
Original file line number Diff line number Diff line change
@@ -50,13 +50,19 @@
"support": {
"chrome": [
{
"version_added": "98"
"version_added": "133"
},
{
"version_added": "98",
"version_removed": "133",
"partial_implementation": true,
"notes": "Only accepts a `Blob` or a Promise resolving to a `Blob` as the item data."
},
{
"version_added": "76",
"version_removed": "98",
"partial_implementation": true,
"notes": "The `ClipboardItem` constructor only accepts a blob as the item data, but not strings or Promises that resolve to strings or blobs. See [bug 40103226](https://crbug.com/40103226)."
"notes": "Only accepts a `Blob` as the item data. See [bug 40103226](https://crbug.com/40103226)."
}
],
"chrome_android": [
@@ -98,6 +104,7 @@
},
"getType": {
"__compat": {
"description": "`getType()` method",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/ClipboardItem/getType",
"spec_url": "https://w3c.github.io/clipboard-apis/#dom-clipboarditem-gettype",
"tags": [
@@ -176,6 +183,7 @@
},
"supports_static": {
"__compat": {
"description": "`supports()` static method",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/ClipboardItem/supports_static",
"spec_url": "https://w3c.github.io/clipboard-apis/#dom-clipboarditem-supports",
"tags": [

0 comments on commit 8af84fe

Please sign in to comment.