@webref/idl 3.68.4 → 3.69.0

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.
@@ -13,6 +13,18 @@ interface ClipboardEvent : Event {
13
13
  readonly attribute DataTransfer? clipboardData;
14
14
  };
15
15
 
16
+ dictionary ClipboardChangeEventInit : EventInit {
17
+ sequence<DOMString> types = [];
18
+ bigint changeId = 0;
19
+ };
20
+
21
+ [Exposed=Window]
22
+ interface ClipboardChangeEvent : Event {
23
+ constructor(DOMString type, optional ClipboardChangeEventInit eventInitDict = {});
24
+ readonly attribute FrozenArray<DOMString> types;
25
+ readonly attribute bigint changeId;
26
+ };
27
+
16
28
  partial interface Navigator {
17
29
  [SecureContext, SameObject] readonly attribute Clipboard clipboard;
18
30
  };
@@ -7,5 +7,5 @@ dictionary CrashReportBody : ReportBody {
7
7
  DOMString reason;
8
8
  DOMString stack;
9
9
  boolean is_top_level;
10
- DocumentVisibilityState page_visibility;
10
+ DocumentVisibilityState visibility_state;
11
11
  };
@@ -36,7 +36,7 @@ interface ViewTransition {
36
36
  readonly attribute Promise<undefined> ready;
37
37
  readonly attribute Promise<undefined> finished;
38
38
  undefined skipTransition();
39
- attribute ViewTransitionTypeSet types;
39
+ [SameObject] attribute ViewTransitionTypeSet types;
40
40
  readonly attribute Element transitionRoot;
41
41
  undefined waitUntil(Promise<any> promise);
42
42
  };
package/dom.idl CHANGED
@@ -313,7 +313,7 @@ interface Document : Node {
313
313
  interface XMLDocument : Document {};
314
314
 
315
315
  dictionary ElementCreationOptions {
316
- CustomElementRegistry customElementRegistry;
316
+ CustomElementRegistry? customElementRegistry;
317
317
  DOMString is;
318
318
  };
319
319
 
@@ -412,7 +412,7 @@ dictionary ShadowRootInit {
412
412
  SlotAssignmentMode slotAssignment = "named";
413
413
  boolean clonable = false;
414
414
  boolean serializable = false;
415
- CustomElementRegistry? customElementRegistry = null;
415
+ CustomElementRegistry? customElementRegistry;
416
416
  };
417
417
 
418
418
  [Exposed=Window,
package/html.idl CHANGED
@@ -1613,7 +1613,7 @@ OffscreenCanvasRenderingContext2D includes CanvasPathDrawingStyles;
1613
1613
  OffscreenCanvasRenderingContext2D includes CanvasTextDrawingStyles;
1614
1614
  OffscreenCanvasRenderingContext2D includes CanvasPath;
1615
1615
 
1616
- enum PredefinedColorSpace { "srgb", "display-p3" };
1616
+ enum PredefinedColorSpace { "srgb", "srgb-linear", "display-p3", "display-p3-linear" };
1617
1617
 
1618
1618
  [Exposed=Window]
1619
1619
  interface CustomElementRegistry {
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.68.4",
4
+ "version": "3.69.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -7,10 +7,10 @@ partial interface Navigator {
7
7
  [SecureContext, SameObject] readonly attribute Attribution attribution;
8
8
  };
9
9
 
10
- enum AttributionAggregationProtocol { "dap-15-histogram", "tee-00" };
10
+ enum AttributionAggregationProtocol { "dap-15-histogram" };
11
11
 
12
12
  dictionary AttributionAggregationService {
13
- required DOMString protocol;
13
+ required AttributionAggregationProtocol protocol;
14
14
  };
15
15
 
16
16
  [SecureContext, Exposed=Window]
@@ -0,0 +1,15 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Web Extensions (https://w3c.github.io/webextensions/specification/)
5
+
6
+ enum RunAt {
7
+ "document_start",
8
+ "document_end",
9
+ "document_idle"
10
+ };
11
+
12
+ enum ExecutionWorld {
13
+ "ISOLATED",
14
+ "MAIN"
15
+ };
package/webgpu.idl CHANGED
@@ -25,7 +25,11 @@ interface GPUSupportedLimits {
25
25
  readonly attribute unsigned long maxSampledTexturesPerShaderStage;
26
26
  readonly attribute unsigned long maxSamplersPerShaderStage;
27
27
  readonly attribute unsigned long maxStorageBuffersPerShaderStage;
28
+ readonly attribute unsigned long maxStorageBuffersInVertexStage;
29
+ readonly attribute unsigned long maxStorageBuffersInFragmentStage;
28
30
  readonly attribute unsigned long maxStorageTexturesPerShaderStage;
31
+ readonly attribute unsigned long maxStorageTexturesInVertexStage;
32
+ readonly attribute unsigned long maxStorageTexturesInFragmentStage;
29
33
  readonly attribute unsigned long maxUniformBuffersPerShaderStage;
30
34
  readonly attribute unsigned long long maxUniformBufferBindingSize;
31
35
  readonly attribute unsigned long long maxStorageBufferBindingSize;
@@ -229,6 +233,7 @@ interface GPUTexture {
229
233
  readonly attribute GPUTextureDimension dimension;
230
234
  readonly attribute GPUTextureFormat format;
231
235
  readonly attribute GPUFlagsConstant usage;
236
+ readonly attribute (GPUTextureViewDimension or undefined) textureBindingViewDimension;
232
237
  };
233
238
  GPUTexture includes GPUObjectBase;
234
239
 
@@ -241,6 +246,7 @@ dictionary GPUTextureDescriptor
241
246
  required GPUTextureFormat format;
242
247
  required GPUTextureUsageFlags usage;
243
248
  sequence<GPUTextureFormat> viewFormats = [];
249
+ GPUTextureViewDimension textureBindingViewDimension;
244
250
  };
245
251
 
246
252
  enum GPUTextureDimension {
@@ -87,14 +87,6 @@ dictionary RTCEncodedFrameMetadata {
87
87
  DOMString mimeType;
88
88
  };
89
89
 
90
- // New enum for video frame types. Will eventually re-use the equivalent defined
91
- // by WebCodecs.
92
- enum RTCEncodedVideoFrameType {
93
- "empty",
94
- "key",
95
- "delta",
96
- };
97
-
98
90
  dictionary RTCEncodedVideoFrameMetadata : RTCEncodedFrameMetadata {
99
91
  unsigned long long frameId;
100
92
  sequence<unsigned long long> dependencies;
@@ -109,12 +101,11 @@ dictionary RTCEncodedVideoFrameOptions {
109
101
  RTCEncodedVideoFrameMetadata metadata;
110
102
  };
111
103
 
112
- // New interfaces to define encoded video and audio frames. Will eventually
113
- // re-use or extend the equivalent defined in WebCodecs.
104
+ // New interfaces to define RTC specific encoded video and audio frames used by RTCRtpScriptTransform.
114
105
  [Exposed=(Window,DedicatedWorker), Serializable]
115
106
  interface RTCEncodedVideoFrame {
116
107
  constructor(RTCEncodedVideoFrame originalFrame, optional RTCEncodedVideoFrameOptions options = {});
117
- readonly attribute RTCEncodedVideoFrameType type;
108
+ readonly attribute EncodedVideoChunkType type;
118
109
  attribute ArrayBuffer data;
119
110
  RTCEncodedVideoFrameMetadata getMetadata();
120
111
  };
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: WebXR Plane Detection Module (https://immersive-web.github.io/real-world-geometry/plane-detection.html)
4
+ // Source: WebXR Plane Detection Module (https://immersive-web.github.io/plane-detection/)
5
5
 
6
6
  enum XRPlaneOrientation {
7
7
  "horizontal",
package/webxrlayers.idl CHANGED
@@ -118,6 +118,7 @@ dictionary XRProjectionLayerInit {
118
118
 
119
119
  dictionary XRLayerInit {
120
120
  required XRSpace space;
121
+ XRTextureType textureType = "texture";
121
122
  GLenum colorFormat = 0x1908; // RGBA
122
123
  GLenum? depthFormat;
123
124
  unsigned long mipLevels = 1;
@@ -129,14 +130,12 @@ dictionary XRLayerInit {
129
130
  };
130
131
 
131
132
  dictionary XRQuadLayerInit : XRLayerInit {
132
- XRTextureType textureType = "texture";
133
133
  XRRigidTransform? transform;
134
134
  float width = 1.0;
135
135
  float height = 1.0;
136
136
  };
137
137
 
138
138
  dictionary XRCylinderLayerInit : XRLayerInit {
139
- XRTextureType textureType = "texture";
140
139
  XRRigidTransform? transform;
141
140
  float radius = 2.0;
142
141
  float centralAngle = 0.78539;
@@ -144,7 +143,6 @@ dictionary XRCylinderLayerInit : XRLayerInit {
144
143
  };
145
144
 
146
145
  dictionary XREquirectLayerInit : XRLayerInit {
147
- XRTextureType textureType = "texture";
148
146
  XRRigidTransform? transform;
149
147
  float radius = 0;
150
148
  float centralHorizontalAngle = 6.28318;