async clipboard: implement readText (#36689)

part of #36084
Testing: Only idl harness tests will pass for now

---------

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
This commit is contained in:
Gae24 2025-05-07 17:11:37 +02:00 committed by GitHub
parent 348eede37b
commit 5b913441d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 151 additions and 13 deletions

View file

@ -8,9 +8,6 @@
[Clipboard interface: operation read(optional ClipboardUnsanitizedFormats)]
expected: FAIL
[Clipboard interface: operation readText()]
expected: FAIL
[Clipboard interface: operation write(ClipboardItems)]
expected: FAIL
@ -20,9 +17,6 @@
[Clipboard interface: calling read(optional ClipboardUnsanitizedFormats) on navigator.clipboard with too few arguments must throw TypeError]
expected: FAIL
[Clipboard interface: navigator.clipboard must inherit property "readText()" with the proper type]
expected: FAIL
[Clipboard interface: navigator.clipboard must inherit property "write(ClipboardItems)" with the proper type]
expected: FAIL