@webref/idl 3.41.0 → 3.41.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/clipboard-apis.idl +5 -1
- package/package.json +1 -1
- package/webgpu.idl +1 -1
- package/webtransport.idl +1 -0
package/clipboard-apis.idl
CHANGED
|
@@ -42,12 +42,16 @@ typedef sequence<ClipboardItem> ClipboardItems;
|
|
|
42
42
|
|
|
43
43
|
[SecureContext, Exposed=Window]
|
|
44
44
|
interface Clipboard : EventTarget {
|
|
45
|
-
Promise<ClipboardItems> read();
|
|
45
|
+
Promise<ClipboardItems> read(optional ClipboardUnsanitizedFormats formats = {});
|
|
46
46
|
Promise<DOMString> readText();
|
|
47
47
|
Promise<undefined> write(ClipboardItems data);
|
|
48
48
|
Promise<undefined> writeText(DOMString data);
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
+
dictionary ClipboardUnsanitizedFormats {
|
|
52
|
+
sequence<DOMString> unsanitized;
|
|
53
|
+
};
|
|
54
|
+
|
|
51
55
|
dictionary ClipboardPermissionDescriptor : PermissionDescriptor {
|
|
52
56
|
boolean allowWithoutGesture = false;
|
|
53
57
|
};
|
package/package.json
CHANGED
package/webgpu.idl
CHANGED
package/webtransport.idl
CHANGED