Skip to content

[Clipboard] Add WPT: cached getType() rejects after clipboard.write()#59579

Merged
chromium-wpt-export-bot merged 1 commit into
masterfrom
chromium-export-cl-7804889
Apr 30, 2026
Merged

[Clipboard] Add WPT: cached getType() rejects after clipboard.write()#59579
chromium-wpt-export-bot merged 1 commit into
masterfrom
chromium-export-cl-7804889

Conversation

@chromium-wpt-export-bot
Copy link
Copy Markdown
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Apr 30, 2026

Add a tentative WPT test verifying that ClipboardItem.getType()
rejects with DataError after clipboard.write() invalidates the item,
even when the blob data was previously read and cached via an earlier
getType() call.

Bug: 507099863
Change-Id: I31496785800a141c226758807f89c631228b06bf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7804889
Reviewed-by: Tanu Jain <tanujain@microsoft.com>
Commit-Queue: Shweta Bindal <shwetabindal@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1623091}

Add a tentative WPT test verifying that ClipboardItem.getType()
rejects with DataError after clipboard.write() invalidates the item,
even when the blob data was previously read and cached via an earlier
getType() call.

Bug: 507099863
Change-Id: I31496785800a141c226758807f89c631228b06bf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7804889
Reviewed-by: Tanu Jain <tanujain@microsoft.com>
Commit-Queue: Shweta Bindal <shwetabindal@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1623091}
Copy link
Copy Markdown
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

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

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 2b72b6e into master Apr 30, 2026
27 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-7804889 branch April 30, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants