mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
LibWeb: Implement navigator.clipboard.readText
This commit is contained in:
parent
7f8f72556a
commit
a1985e57e7
Notes:
github-actions[bot]
2025-05-02 21:47:28 +00:00
Author: https://github.com/trflynn89
Commit: a1985e57e7
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4548
Reviewed-by: https://github.com/shannonbooth
3 changed files with 113 additions and 2 deletions
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue