mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
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:
parent
527eaf628a
commit
6195026db0
7 changed files with 191 additions and 3 deletions
84
tests/wpt/meta/clipboard-apis/clipboard-item.https.html.ini
vendored
Normal file
84
tests/wpt/meta/clipboard-apis/clipboard-item.https.html.ini
vendored
Normal file
|
@ -0,0 +1,84 @@
|
|||
[clipboard-item.https.html]
|
||||
[ClipboardItem({string, Blob}) succeeds with different types]
|
||||
expected: FAIL
|
||||
|
||||
[ClipboardItem() succeeds with empty options]
|
||||
expected: FAIL
|
||||
|
||||
[ClipboardItem({}) fails with empty dictionary input]
|
||||
expected: FAIL
|
||||
|
||||
[ClipboardItem(Blob) fails]
|
||||
expected: FAIL
|
||||
|
||||
[ClipboardItem() fails with null input]
|
||||
expected: FAIL
|
||||
|
||||
[ClipboardItem() fails with no input]
|
||||
expected: FAIL
|
||||
|
||||
[types() returns correct values]
|
||||
expected: FAIL
|
||||
|
||||
[getType(DOMString valid type) succeeds with correct output]
|
||||
expected: FAIL
|
||||
|
||||
[getType(DOMString invalid type) succeeds with correct output]
|
||||
expected: FAIL
|
||||
|
||||
[getType(DOMString type) rejects correctly when querying for missing type]
|
||||
expected: FAIL
|
||||
|
||||
[getType(DOMString valid type) converts DOMString to Blob]
|
||||
expected: FAIL
|
||||
|
||||
[getType(DOMString invalid type) converts DOMString to Blob]
|
||||
expected: FAIL
|
||||
|
||||
[supports(text/plain) returns true]
|
||||
expected: FAIL
|
||||
|
||||
[supports(text/html) returns true]
|
||||
expected: FAIL
|
||||
|
||||
[supports(image/png) returns true]
|
||||
expected: FAIL
|
||||
|
||||
[supports(text/uri-list) returns true]
|
||||
expected: FAIL
|
||||
|
||||
[supports(image/svg+xml) returns true]
|
||||
expected: FAIL
|
||||
|
||||
[supports(web foo/bar) returns true]
|
||||
expected: FAIL
|
||||
|
||||
[supports(web text/html) returns true]
|
||||
expected: FAIL
|
||||
|
||||
[supports(web ) returns false]
|
||||
expected: FAIL
|
||||
|
||||
[supports(web) returns false]
|
||||
expected: FAIL
|
||||
|
||||
[supports(web foo) returns false]
|
||||
expected: FAIL
|
||||
|
||||
[supports(foo/bar) returns false]
|
||||
expected: FAIL
|
||||
|
||||
[supports(weB text/html) returns false]
|
||||
expected: FAIL
|
||||
|
||||
[supports( web text/html) returns false]
|
||||
expected: FAIL
|
||||
|
||||
[supports(not a/real type) returns false]
|
||||
expected: FAIL
|
||||
|
||||
[supports() returns false]
|
||||
expected: FAIL
|
||||
|
||||
[supports( ) returns false]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue