@webref/idl 3.22.4 → 3.22.6

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/SVG.idl CHANGED
@@ -13,7 +13,6 @@ interface SVGElement : Element {
13
13
  };
14
14
 
15
15
  SVGElement includes GlobalEventHandlers;
16
- SVGElement includes DocumentAndElementEventHandlers;
17
16
  SVGElement includes SVGElementInstance;
18
17
  SVGElement includes HTMLOrSVGElement;
19
18
 
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);
@@ -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: Compute Pressure Level 1 (https://wicg.github.io/compute-pressure/)
4
+ // Source: Compute Pressure Level 1 (https://w3c.github.io/compute-pressure/)
5
5
 
6
6
  enum PressureState { "nominal", "fair", "serious", "critical" };
7
7
 
@@ -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/contact-api.idl CHANGED
@@ -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: Contact Picker API (https://w3c.github.io/contact-api/spec/)
4
+ // Source: Contact Picker API (https://w3c.github.io/contact-picker/spec/)
5
5
 
6
6
  [Exposed=Window]
7
7
  partial interface Navigator {
package/html.idl CHANGED
@@ -98,7 +98,6 @@ partial interface Document {
98
98
  // also has obsolete members
99
99
  };
100
100
  Document includes GlobalEventHandlers;
101
- Document includes DocumentAndElementEventHandlers;
102
101
 
103
102
  partial interface mixin DocumentOrShadowRoot {
104
103
  readonly attribute Element? activeElement;
@@ -131,7 +130,6 @@ interface HTMLElement : Element {
131
130
  };
132
131
 
133
132
  HTMLElement includes GlobalEventHandlers;
134
- HTMLElement includes DocumentAndElementEventHandlers;
135
133
  HTMLElement includes ElementContentEditable;
136
134
  HTMLElement includes HTMLOrSVGElement;
137
135
 
@@ -1905,7 +1903,9 @@ interface mixin GlobalEventHandlers {
1905
1903
  attribute EventHandler oncontextlost;
1906
1904
  attribute EventHandler oncontextmenu;
1907
1905
  attribute EventHandler oncontextrestored;
1906
+ attribute EventHandler oncopy;
1908
1907
  attribute EventHandler oncuechange;
1908
+ attribute EventHandler oncut;
1909
1909
  attribute EventHandler ondblclick;
1910
1910
  attribute EventHandler ondrag;
1911
1911
  attribute EventHandler ondragend;
@@ -1936,6 +1936,7 @@ interface mixin GlobalEventHandlers {
1936
1936
  attribute EventHandler onmouseout;
1937
1937
  attribute EventHandler onmouseover;
1938
1938
  attribute EventHandler onmouseup;
1939
+ attribute EventHandler onpaste;
1939
1940
  attribute EventHandler onpause;
1940
1941
  attribute EventHandler onplay;
1941
1942
  attribute EventHandler onplaying;
@@ -1983,12 +1984,6 @@ interface mixin WindowEventHandlers {
1983
1984
  attribute EventHandler onunload;
1984
1985
  };
1985
1986
 
1986
- interface mixin DocumentAndElementEventHandlers {
1987
- attribute EventHandler oncopy;
1988
- attribute EventHandler oncut;
1989
- attribute EventHandler onpaste;
1990
- };
1991
-
1992
1987
  typedef (DOMString or Function) TimerHandler;
1993
1988
 
1994
1989
  interface mixin WindowOrWorkerGlobalScope {
package/mathml-core.idl CHANGED
@@ -6,5 +6,4 @@
6
6
  [Exposed=Window]
7
7
  interface MathMLElement : Element { };
8
8
  MathMLElement includes GlobalEventHandlers;
9
- MathMLElement includes DocumentAndElementEventHandlers;
10
9
  MathMLElement includes HTMLOrSVGElement;
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.22.4",
4
+ "version": "3.22.6",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
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
- DOMString reason = "";
68
+ USVString reason = "";
69
+ };
70
+
71
+ dictionary WebTransportSendStreamOptions {
72
+ long long? sendOrder = null;
67
73
  };
68
74
 
69
75
  dictionary WebTransportStats {