mirror of
https://github.com/servo/servo.git
synced 2025-09-27 15:20:09 +01:00
script: implement ClipboardItem
getType
and supports
(#39296)
Implement ClipboardItem's getType and supports Testing: covered by existing tests --------- Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
This commit is contained in:
parent
454d6052b4
commit
75e32ba5a4
5 changed files with 141 additions and 43 deletions
|
@ -20,9 +20,6 @@
|
|||
[getType(DOMString invalid type) converts DOMString to Blob]
|
||||
expected: FAIL
|
||||
|
||||
[supports(text/plain) returns true]
|
||||
expected: FAIL
|
||||
|
||||
[supports(text/html) returns true]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -40,30 +37,3 @@
|
|||
|
||||
[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
|
||||
|
|
|
@ -1,10 +1,4 @@
|
|||
[idlharness.https.window.html]
|
||||
[ClipboardItem interface: operation getType(DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[ClipboardItem interface: operation supports(DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[Clipboard interface: operation read(optional ClipboardUnsanitizedFormats)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue