@webref/idl 3.68.4 → 3.69.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 +12 -0
- package/crash-reporting.idl +1 -1
- package/css-view-transitions.idl +1 -1
- package/dom.idl +2 -2
- package/html.idl +1 -1
- package/package.json +1 -1
- package/privacy-preserving-attribution.idl +2 -2
- package/webcrypto-modern-algos.idl +1 -1
- package/webextensions.idl +15 -0
- package/webgpu.idl +6 -0
- package/webrtc-encoded-transform.idl +2 -11
- package/webtransport.idl +21 -21
- package/webxr-plane-detection.idl +1 -1
- package/webxrlayers.idl +1 -3
package/clipboard-apis.idl
CHANGED
|
@@ -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
|
};
|
package/crash-reporting.idl
CHANGED
package/css-view-transitions.idl
CHANGED
|
@@ -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
|
|
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
|
@@ -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"
|
|
10
|
+
enum AttributionAggregationProtocol { "dap-15-histogram" };
|
|
11
11
|
|
|
12
12
|
dictionary AttributionAggregationService {
|
|
13
|
-
required
|
|
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
|
|
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
|
|
108
|
+
readonly attribute EncodedVideoChunkType type;
|
|
118
109
|
attribute ArrayBuffer data;
|
|
119
110
|
RTCEncodedVideoFrameMetadata getMetadata();
|
|
120
111
|
};
|
package/webtransport.idl
CHANGED
|
@@ -62,14 +62,14 @@ enum WebTransportReliabilityMode {
|
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
dictionary WebTransportHash {
|
|
65
|
-
DOMString algorithm;
|
|
66
|
-
BufferSource value;
|
|
65
|
+
required DOMString algorithm;
|
|
66
|
+
required BufferSource value;
|
|
67
67
|
};
|
|
68
68
|
|
|
69
69
|
dictionary WebTransportOptions {
|
|
70
70
|
boolean allowPooling = false;
|
|
71
71
|
boolean requireUnreliable = false;
|
|
72
|
-
sequence<WebTransportHash> serverCertificateHashes;
|
|
72
|
+
sequence<WebTransportHash> serverCertificateHashes = [];
|
|
73
73
|
WebTransportCongestionControl congestionControl = "default";
|
|
74
74
|
[EnforceRange] unsigned short? anticipatedConcurrentIncomingUnidirectionalStreams = null;
|
|
75
75
|
[EnforceRange] unsigned short? anticipatedConcurrentIncomingBidirectionalStreams = null;
|
|
@@ -100,25 +100,25 @@ dictionary WebTransportSendStreamOptions : WebTransportSendOptions {
|
|
|
100
100
|
};
|
|
101
101
|
|
|
102
102
|
dictionary WebTransportConnectionStats {
|
|
103
|
-
unsigned long long bytesSent
|
|
104
|
-
unsigned long long packetsSent
|
|
105
|
-
unsigned long long bytesLost
|
|
106
|
-
unsigned long long packetsLost
|
|
107
|
-
unsigned long long bytesReceived
|
|
108
|
-
unsigned long long packetsReceived
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
103
|
+
unsigned long long bytesSent;
|
|
104
|
+
unsigned long long packetsSent;
|
|
105
|
+
unsigned long long bytesLost;
|
|
106
|
+
unsigned long long packetsLost;
|
|
107
|
+
unsigned long long bytesReceived;
|
|
108
|
+
unsigned long long packetsReceived;
|
|
109
|
+
DOMHighResTimeStamp smoothedRtt;
|
|
110
|
+
DOMHighResTimeStamp rttVariation;
|
|
111
|
+
DOMHighResTimeStamp minRtt;
|
|
112
112
|
required WebTransportDatagramStats datagrams;
|
|
113
113
|
unsigned long long? estimatedSendRate = null;
|
|
114
114
|
boolean atSendCapacity = false;
|
|
115
115
|
};
|
|
116
116
|
|
|
117
117
|
dictionary WebTransportDatagramStats {
|
|
118
|
-
unsigned long long droppedIncoming
|
|
119
|
-
unsigned long long expiredIncoming
|
|
120
|
-
unsigned long long expiredOutgoing
|
|
121
|
-
unsigned long long lostOutgoing
|
|
118
|
+
unsigned long long droppedIncoming;
|
|
119
|
+
unsigned long long expiredIncoming;
|
|
120
|
+
unsigned long long expiredOutgoing;
|
|
121
|
+
unsigned long long lostOutgoing;
|
|
122
122
|
};
|
|
123
123
|
|
|
124
124
|
[Exposed=(Window,Worker), SecureContext, Transferable]
|
|
@@ -130,9 +130,9 @@ interface WebTransportSendStream : WritableStream {
|
|
|
130
130
|
};
|
|
131
131
|
|
|
132
132
|
dictionary WebTransportSendStreamStats {
|
|
133
|
-
unsigned long long bytesWritten
|
|
134
|
-
unsigned long long bytesSent
|
|
135
|
-
unsigned long long bytesAcknowledged
|
|
133
|
+
unsigned long long bytesWritten;
|
|
134
|
+
unsigned long long bytesSent;
|
|
135
|
+
unsigned long long bytesAcknowledged;
|
|
136
136
|
};
|
|
137
137
|
|
|
138
138
|
[Exposed=(Window,Worker), SecureContext]
|
|
@@ -146,8 +146,8 @@ interface WebTransportReceiveStream : ReadableStream {
|
|
|
146
146
|
};
|
|
147
147
|
|
|
148
148
|
dictionary WebTransportReceiveStreamStats {
|
|
149
|
-
unsigned long long bytesReceived
|
|
150
|
-
unsigned long long bytesRead
|
|
149
|
+
unsigned long long bytesReceived;
|
|
150
|
+
unsigned long long bytesRead;
|
|
151
151
|
};
|
|
152
152
|
|
|
153
153
|
[Exposed=(Window,Worker), SecureContext]
|
|
@@ -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/
|
|
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;
|