Skip to content

Add ClipboardItem.supports to w3c_clipboard.js externs - #4360

Open
avelad wants to merge 2 commits into
google:masterfrom
avelad:update-clipboard-externs
Open

avelad wants to merge 2 commits into
google:masterfrom
avelad:update-clipboard-externs

Conversation

@avelad

@avelad avelad commented Oct 22, 2026 •

Copy link
Copy Markdown

- Add ClipboardItem.supports static method

- Add @see link for ClipboardItem interface

- Reference: https://w3c.github.io/clipboard-apis/#dom-clipboarditem-supports
@lauraharker lauraharker self-assigned this Oct 22, 2026
Comment thread externs/browser/w3c_clipboard.js Outdated
* @param {!Object<string, (!string|!Blob|!Promise<!string>|!Promise<!Blob>)>}
* items
* @param {ClipboardItemOptions=} options
* @see https://w3c.github.io/clipboard-apis/#clipboarditem-interface

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you fix this link - https://w3c.github.io/clipboard-apis/#clipboard-item-interface?

Otherwise LGTM, pulling into google's internal repro for testing.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@avelad
avelad requested a review from lauraharker October 23, 2026 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants