1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 12:57:35 +00:00

LibWeb: Begin implementing the Clipboard API

https://w3c.github.io/clipboard-apis/

This implements enough for navigator.clipboard.writeText(String).
This commit is contained in:
Timothy Flynn 2023-11-10 13:29:20 -05:00 committed by Andreas Kling
parent 78d455e231
commit 4b94b0b561
14 changed files with 303 additions and 0 deletions

View file

@ -47,6 +47,12 @@ public:
// https://html.spec.whatwg.org/multipage/canvas.html#canvas-blob-serialisation-task-source
CanvasBlobSerializationTask,
// https://w3c.github.io/clipboard-apis/#clipboard-task-source
Clipboard,
// https://w3c.github.io/permissions/#permissions-task-source
Permissions,
// !!! IMPORTANT: Keep this field last!
// This serves as the base value of all unique task sources.
// Some elements, such as the HTMLMediaElement, must have a unique task source per instance.