From 8af84fed21df2fe43f8ccd9a18a7a34379abc28c Mon Sep 17 00:00:00 2001 From: Chris Mills Date: Thu, 16 Jan 2025 14:21:11 +0000 Subject: [PATCH] Chrome 133 supports string data for ClipboardItem (#25673) --- api/ClipboardItem.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/api/ClipboardItem.json b/api/ClipboardItem.json index 841572c5df48c2..3eb6f71eed2095 100644 --- a/api/ClipboardItem.json +++ b/api/ClipboardItem.json @@ -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": [