Open Bug 1867331 Opened 7 months ago Updated 7 months ago

Async Clipboard API: Read unsanitized HTML.

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, enhancement)

enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: snianu, Unassigned)

Details

Steps to reproduce:

This is a new feature request for supporting reading unsanitized HTML content from the clipboard via the async clipboard read method when author explicitly opted into it using the unsanitized option in read().
Explainer: https://github.com/w3c/editing/blob/gh-pages/docs/clipboard-unsanitized/explainer.md

Actual results:

Firefox currently allows reading unsanitized HTML via the DataTransfer APIs getData method. Supporting this in async clipboard API aligns the sanitization requirements for HTML mime type.

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Copy & Paste and Drag & Drop' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Copy & Paste and Drag & Drop
Product: Firefox → Core
Version: other → unspecified
You need to log in before you can comment on or make changes to this bug.