@webref/idl 3.41.0 → 3.41.2

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.
@@ -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/longtasks.idl CHANGED
@@ -17,3 +17,12 @@ interface TaskAttributionTiming : PerformanceEntry {
17
17
  readonly attribute DOMString containerName;
18
18
  [Default] object toJSON();
19
19
  };
20
+
21
+ [Exposed=Window]
22
+ interface PerformanceLongAnimationFrameTiming : PerformanceEntry {
23
+ readonly attribute DOMHighResTimeStamp renderStart;
24
+ readonly attribute DOMHighResTimeStamp styleAndLayoutStart;
25
+ readonly attribute DOMHighResTimeStamp blockingDuration;
26
+
27
+ [Default] object toJSON();
28
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/idl",
3
3
  "description": "Web IDL definitions of the web platform",
4
- "version": "3.41.0",
4
+ "version": "3.41.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -20,8 +20,8 @@ interface StorageBucketManager {
20
20
 
21
21
  dictionary StorageBucketOptions {
22
22
  boolean persisted = false;
23
- unsigned long long? quota = null;
24
- DOMHighResTimeStamp? expires = null;
23
+ unsigned long long? quota;
24
+ DOMHighResTimeStamp? expires;
25
25
  };
26
26
 
27
27
  [Exposed=(Window,Worker),
package/webgpu.idl CHANGED
@@ -636,7 +636,7 @@ interface mixin GPUPipelineBase {
636
636
 
637
637
  dictionary GPUProgrammableStage {
638
638
  required GPUShaderModule module;
639
- required USVString entryPoint;
639
+ USVString entryPoint;
640
640
  record<USVString, GPUPipelineConstantValue> constants;
641
641
  };
642
642
 
package/webtransport.idl CHANGED
@@ -73,6 +73,7 @@ dictionary WebTransportCloseInfo {
73
73
  dictionary WebTransportSendStreamOptions {
74
74
  WebTransportSendGroup? sendGroup = null;
75
75
  long long sendOrder = 0;
76
+ boolean waitUntilAvailable = false;
76
77
  };
77
78
 
78
79
  dictionary WebTransportConnectionStats {