LibWeb: Implement navigator.clipboard.readText

This commit is contained in:
Timothy Flynn 2025-05-01 11:44:03 -04:00 committed by Tim Flynn
commit a1985e57e7
Notes: github-actions[bot] 2025-05-02 21:47:28 +00:00
3 changed files with 113 additions and 2 deletions

View file

@ -6,7 +6,7 @@
[SecureContext, Exposed=Window]
interface Clipboard : EventTarget {
[FIXME] Promise<ClipboardItems> read();
[FIXME] Promise<DOMString> readText();
Promise<DOMString> readText();
[FIXME] Promise<undefined> write(ClipboardItems data);
Promise<undefined> writeText(DOMString data);
};