Skip to content

Commit

Permalink
Clipboard Item updates (#9330)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rumyra authored Mar 4, 2021
1 parent 7b9b905 commit 40083de
Showing 1 changed file with 22 additions and 7 deletions.
29 changes: 22 additions & 7 deletions api/ClipboardItem.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,19 @@
"description": "<code>ClipboardItem()</code> constructor",
"support": {
"chrome": {
"version_added": "66"
"version_added": "66",
"partial_implementation": true,
"notes": "The <code>ClipboardItem</code> constructor only accepts a blob as the item data, but not strings or Promises that resolve to strings or blobs. See <a href='https://crbug.com/1014310'>bug 1014310</a>."
},
"chrome_android": {
"version_added": "66"
"version_added": "66",
"partial_implementation": true,
"notes": "The <code>ClipboardItem</code> constructor only accepts a blob as the item data. Full implementation would also allow for a string or a Promise which resolves with either a string or blob. See <a href='https://crbug.com/1014310'>bug 1014310</a>."
},
"edge": {
"version_added": "≤79"
"version_added": "≤79",
"partial_implementation": true,
"notes": "The <code>ClipboardItem</code> constructor only accepts a blob as the item data, but not strings or Promises that resolve to strings or blobs. See <a href='https://crbug.com/1014310'>bug 1014310</a>."
},
"firefox": {
"version_added": "87",
Expand All @@ -99,10 +105,14 @@
"version_added": false
},
"opera": {
"version_added": true
"version_added": true,
"partial_implementation": true,
"notes": "The <code>ClipboardItem</code> constructor only accepts a blob as the item data, but not strings or Promises that resolve to strings or blobs. See <a href='https://crbug.com/1014310'>bug 1014310</a>."
},
"opera_android": {
"version_added": true
"version_added": true,
"partial_implementation": true,
"notes": "The <code>ClipboardItem</code> constructor only accepts a blob as the item data, but not strings or Promises that resolve to strings or blobs. See <a href='https://crbug.com/1014310'>bug 1014310</a>."
},
"safari": {
"version_added": "13.1"
Expand All @@ -111,10 +121,14 @@
"version_added": "13.4"
},
"samsunginternet_android": {
"version_added": "9.0"
"version_added": "9.0",
"partial_implementation": true,
"notes": "The <code>ClipboardItem</code> constructor only accepts a blob as the item data, but not strings or Promises that resolve to strings or blobs. See <a href='https://crbug.com/1014310'>bug 1014310</a>."
},
"webview_android": {
"version_added": "66"
"version_added": "66",
"partial_implementation": true,
"notes": "The <code>ClipboardItem</code> constructor only accepts a blob as the item data. Full implementation would also allow for a string or a Promise which resolves with either a string or blob. See <a href='https://crbug.com/1014310'>bug 1014310</a>."
}
},
"status": {
Expand Down Expand Up @@ -188,6 +202,7 @@
},
"presentationStyle": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/ClipboardItem/presentationStyle",
"support": {
"chrome": {
"version_added": false
Expand Down

0 comments on commit 40083de

Please sign in to comment.