File's structured serialization should serialize lastModified attribute
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / interfaces / clipboard-apis.idl
1 dictionary ClipboardEventInit : EventInit {
2   DataTransfer? clipboardData = null;
3 };
4
5 [Constructor(DOMString type, optional ClipboardEventInit eventInitDict), Exposed=Window]
6 interface ClipboardEvent : Event {
7   readonly attribute DataTransfer? clipboardData;
8 };
9
10 partial interface Navigator {
11   [SecureContext, SameObject] readonly attribute Clipboard clipboard;
12 };
13
14 [SecureContext, Exposed=Window] interface Clipboard : EventTarget {
15   Promise<DataTransfer> read();
16   Promise<DOMString> readText();
17   Promise<void> write(DataTransfer data);
18   Promise<void> writeText(DOMString data);
19 };
20
21 dictionary ClipboardPermissionDescriptor : PermissionDescriptor {
22   boolean allowWithoutGesture = false;
23 };