Skip to content

Commit e05f37d

Browse files
authored
Add tests for clipboard MIME types (#2197)
1 parent 166deac commit e05f37d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

custom/tests.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -923,6 +923,10 @@ api:
923923
read:
924924
__additional:
925925
formats_unsanitized_parameter: return bcd.testOptionParam(instance, 'read', 'unsanitized', ['text/html']);
926+
__additional:
927+
type_image-png: return ClipboardItem.supports('image/png');
928+
type_text-html: return ClipboardItem.supports('text/html');
929+
type_text-plain: return ClipboardItem.supports('text/plain');
926930
CloseEvent:
927931
__base: |-
928932
var instance;

0 commit comments

Comments
 (0)