@webref/idl 3.22.4 → 3.22.5
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/badging.idl +0 -2
- package/compute-pressure.idl +0 -2
- package/package.json +1 -1
- package/selection-api.idl +1 -0
- package/webnn.idl +16 -16
- package/webrtc-stats.idl +1 -0
- package/webtransport.idl +9 -3
package/badging.idl
CHANGED
|
@@ -3,14 +3,12 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Badging API (https://w3c.github.io/badging/)
|
|
5
5
|
|
|
6
|
-
// Methods only exposed on documents.
|
|
7
6
|
[SecureContext]
|
|
8
7
|
partial interface Navigator {
|
|
9
8
|
Promise<undefined> setClientBadge(optional [EnforceRange] unsigned long long contents);
|
|
10
9
|
Promise<undefined> clearClientBadge();
|
|
11
10
|
};
|
|
12
11
|
|
|
13
|
-
// Methods exposed on both documents and service workers.
|
|
14
12
|
[SecureContext]
|
|
15
13
|
interface mixin NavigatorBadge {
|
|
16
14
|
Promise<undefined> setAppBadge(optional [EnforceRange] unsigned long long contents);
|
package/compute-pressure.idl
CHANGED
|
@@ -24,8 +24,6 @@ interface PressureObserver {
|
|
|
24
24
|
sequence<PressureRecord> takeRecords();
|
|
25
25
|
|
|
26
26
|
[SameObject] static readonly attribute FrozenArray<PressureSource> supportedSources;
|
|
27
|
-
|
|
28
|
-
[Exposed=Window] static Promise<PermissionState> requestPermission();
|
|
29
27
|
};
|
|
30
28
|
|
|
31
29
|
[Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext]
|
package/package.json
CHANGED
package/selection-api.idl
CHANGED
|
@@ -17,6 +17,7 @@ interface Selection {
|
|
|
17
17
|
undefined removeRange(Range range);
|
|
18
18
|
undefined removeAllRanges();
|
|
19
19
|
undefined empty();
|
|
20
|
+
StaticRange getComposedRange(ShadowRoot... shadowRoots);
|
|
20
21
|
undefined collapse(Node? node, optional unsigned long offset = 0);
|
|
21
22
|
undefined setPosition(Node? node, optional unsigned long offset = 0);
|
|
22
23
|
undefined collapseToStart();
|
package/webnn.idl
CHANGED
|
@@ -157,11 +157,11 @@ enum MLAutoPad {
|
|
|
157
157
|
};
|
|
158
158
|
|
|
159
159
|
dictionary MLConv2dOptions {
|
|
160
|
-
sequence<long> padding;
|
|
161
|
-
sequence<long> strides;
|
|
162
|
-
sequence<long> dilations;
|
|
160
|
+
sequence<unsigned long> padding;
|
|
161
|
+
sequence<unsigned long> strides;
|
|
162
|
+
sequence<unsigned long> dilations;
|
|
163
163
|
MLAutoPad autoPad = "explicit";
|
|
164
|
-
long groups = 1;
|
|
164
|
+
unsigned long groups = 1;
|
|
165
165
|
MLInputOperandLayout inputLayout = "nchw";
|
|
166
166
|
MLConv2dFilterOperandLayout filterLayout = "oihw";
|
|
167
167
|
MLOperand bias;
|
|
@@ -179,13 +179,13 @@ enum MLConvTranspose2dFilterOperandLayout {
|
|
|
179
179
|
};
|
|
180
180
|
|
|
181
181
|
dictionary MLConvTranspose2dOptions {
|
|
182
|
-
sequence<long> padding;
|
|
183
|
-
sequence<long> strides;
|
|
184
|
-
sequence<long> dilations;
|
|
185
|
-
sequence<long> outputPadding;
|
|
186
|
-
sequence<long> outputSizes;
|
|
182
|
+
sequence<unsigned long> padding;
|
|
183
|
+
sequence<unsigned long> strides;
|
|
184
|
+
sequence<unsigned long> dilations;
|
|
185
|
+
sequence<unsigned long> outputPadding;
|
|
186
|
+
sequence<unsigned long> outputSizes;
|
|
187
187
|
MLAutoPad autoPad = "explicit";
|
|
188
|
-
long groups = 1;
|
|
188
|
+
unsigned long groups = 1;
|
|
189
189
|
MLInputOperandLayout inputLayout = "nchw";
|
|
190
190
|
MLConvTranspose2dFilterOperandLayout filterLayout = "iohw";
|
|
191
191
|
MLOperand bias;
|
|
@@ -352,14 +352,14 @@ enum MLRoundingType {
|
|
|
352
352
|
};
|
|
353
353
|
|
|
354
354
|
dictionary MLPool2dOptions {
|
|
355
|
-
sequence<long> windowDimensions;
|
|
356
|
-
sequence<long> padding;
|
|
357
|
-
sequence<long> strides;
|
|
358
|
-
sequence<long> dilations;
|
|
355
|
+
sequence<unsigned long> windowDimensions;
|
|
356
|
+
sequence<unsigned long> padding;
|
|
357
|
+
sequence<unsigned long> strides;
|
|
358
|
+
sequence<unsigned long> dilations;
|
|
359
359
|
MLAutoPad autoPad = "explicit";
|
|
360
360
|
MLInputOperandLayout layout = "nchw";
|
|
361
361
|
MLRoundingType roundingType = "floor";
|
|
362
|
-
sequence<long> outputSizes;
|
|
362
|
+
sequence<unsigned long> outputSizes;
|
|
363
363
|
};
|
|
364
364
|
|
|
365
365
|
partial interface MLGraphBuilder {
|
|
@@ -399,7 +399,7 @@ enum MLInterpolationMode {
|
|
|
399
399
|
dictionary MLResample2dOptions {
|
|
400
400
|
MLInterpolationMode mode = "nearest-neighbor";
|
|
401
401
|
sequence<float> scales;
|
|
402
|
-
sequence<long> sizes;
|
|
402
|
+
sequence<unsigned long> sizes;
|
|
403
403
|
sequence<long> axes;
|
|
404
404
|
};
|
|
405
405
|
|
package/webrtc-stats.idl
CHANGED
|
@@ -51,6 +51,7 @@ dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|
|
|
51
51
|
DOMString remoteId;
|
|
52
52
|
unsigned long framesDecoded;
|
|
53
53
|
unsigned long keyFramesDecoded;
|
|
54
|
+
unsigned long framesRendered;
|
|
54
55
|
unsigned long framesDropped;
|
|
55
56
|
unsigned long frameWidth;
|
|
56
57
|
unsigned long frameHeight;
|
package/webtransport.idl
CHANGED
|
@@ -28,11 +28,13 @@ interface WebTransport {
|
|
|
28
28
|
|
|
29
29
|
readonly attribute WebTransportDatagramDuplexStream datagrams;
|
|
30
30
|
|
|
31
|
-
Promise<WebTransportBidirectionalStream> createBidirectionalStream(
|
|
31
|
+
Promise<WebTransportBidirectionalStream> createBidirectionalStream(
|
|
32
|
+
optional WebTransportSendStreamOptions options = {});
|
|
32
33
|
/* a ReadableStream of WebTransportBidirectionalStream objects */
|
|
33
34
|
readonly attribute ReadableStream incomingBidirectionalStreams;
|
|
34
35
|
|
|
35
|
-
Promise<WebTransportSendStream> createUnidirectionalStream(
|
|
36
|
+
Promise<WebTransportSendStream> createUnidirectionalStream(
|
|
37
|
+
optional WebTransportSendStreamOptions options = {});
|
|
36
38
|
/* a ReadableStream of WebTransportReceiveStream objects */
|
|
37
39
|
readonly attribute ReadableStream incomingUnidirectionalStreams;
|
|
38
40
|
};
|
|
@@ -63,7 +65,11 @@ enum WebTransportCongestionControl {
|
|
|
63
65
|
|
|
64
66
|
dictionary WebTransportCloseInfo {
|
|
65
67
|
unsigned long closeCode = 0;
|
|
66
|
-
|
|
68
|
+
USVString reason = "";
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
dictionary WebTransportSendStreamOptions {
|
|
72
|
+
long long? sendOrder = null;
|
|
67
73
|
};
|
|
68
74
|
|
|
69
75
|
dictionary WebTransportStats {
|