dom: set composed flag when constructing ClipboardEvent (#35146)

* clipboardevent: set composed flag

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

* add clipboardevent test expectations

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>

---------

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
This commit is contained in:
Gae24 2025-01-23 19:07:59 +01:00 committed by GitHub
parent 527eaf628a
commit 6195026db0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 191 additions and 3 deletions

View file

@ -0,0 +1,93 @@
[idlharness.https.window.html]
[ClipboardItem interface: existence and properties of interface object]
expected: FAIL
[ClipboardItem interface object length]
expected: FAIL
[ClipboardItem interface object name]
expected: FAIL
[ClipboardItem interface: existence and properties of interface prototype object]
expected: FAIL
[ClipboardItem interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[ClipboardItem interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[ClipboardItem interface: attribute presentationStyle]
expected: FAIL
[ClipboardItem interface: attribute types]
expected: FAIL
[ClipboardItem interface: operation getType(DOMString)]
expected: FAIL
[ClipboardItem interface: operation supports(DOMString)]
expected: FAIL
[Clipboard interface: existence and properties of interface object]
expected: FAIL
[Clipboard interface object length]
expected: FAIL
[Clipboard interface object name]
expected: FAIL
[Clipboard interface: existence and properties of interface prototype object]
expected: FAIL
[Clipboard interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[Clipboard interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[Clipboard interface: operation read(optional ClipboardUnsanitizedFormats)]
expected: FAIL
[Clipboard interface: operation readText()]
expected: FAIL
[Clipboard interface: operation write(ClipboardItems)]
expected: FAIL
[Clipboard interface: operation writeText(DOMString)]
expected: FAIL
[Clipboard must be primary interface of navigator.clipboard]
expected: FAIL
[Stringification of navigator.clipboard]
expected: FAIL
[Clipboard interface: navigator.clipboard must inherit property "read(optional ClipboardUnsanitizedFormats)" with the proper type]
expected: FAIL
[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
[Clipboard interface: calling write(ClipboardItems) on navigator.clipboard with too few arguments must throw TypeError]
expected: FAIL
[Clipboard interface: navigator.clipboard must inherit property "writeText(DOMString)" with the proper type]
expected: FAIL
[Clipboard interface: calling writeText(DOMString) on navigator.clipboard with too few arguments must throw TypeError]
expected: FAIL
[Navigator interface: attribute clipboard]
expected: FAIL
[Navigator interface: navigator must inherit property "clipboard" with the proper type]
expected: FAIL