mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
These no longer serve any purpose now that we run the IDLGenerator on all of these files at once.
15 lines
474 B
Plaintext
15 lines
474 B
Plaintext
typedef sequence<ClipboardItem> ClipboardItems;
|
|
|
|
// https://w3c.github.io/clipboard-apis/#clipboard
|
|
[SecureContext, Exposed=Window]
|
|
interface Clipboard : EventTarget {
|
|
Promise<ClipboardItems> read(optional ClipboardUnsanitizedFormats formats = {});
|
|
Promise<DOMString> readText();
|
|
Promise<undefined> write(ClipboardItems data);
|
|
Promise<undefined> writeText(DOMString data);
|
|
};
|
|
|
|
dictionary ClipboardUnsanitizedFormats {
|
|
sequence<DOMString> unsanitized;
|
|
};
|