@webref/idl 3.15.0 → 3.15.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/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.15.0",
4
+ "version": "3.15.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -22,9 +22,15 @@ interface PerformanceResourceTiming : PerformanceEntry {
22
22
  readonly attribute unsigned long long transferSize;
23
23
  readonly attribute unsigned long long encodedBodySize;
24
24
  readonly attribute unsigned long long decodedBodySize;
25
+ readonly attribute RenderBlockingStatusType renderBlockingStatus;
25
26
  [Default] object toJSON();
26
27
  };
27
28
 
29
+ enum RenderBlockingStatusType {
30
+ "blocking",
31
+ "non-blocking"
32
+ };
33
+
28
34
  partial interface Performance {
29
35
  undefined clearResourceTimings ();
30
36
  undefined setResourceTimingBufferSize (unsigned long maxSize);
package/serial.idl CHANGED
@@ -52,7 +52,7 @@ dictionary SerialPortInfo {
52
52
  };
53
53
 
54
54
  dictionary SerialOptions {
55
- required [EnforceRange] unsigned long baudRate;
55
+ [EnforceRange] required unsigned long baudRate;
56
56
  [EnforceRange] octet dataBits = 8;
57
57
  [EnforceRange] octet stopBits = 1;
58
58
  ParityType parity = "none";
package/wai-aria.idl CHANGED
@@ -4,56 +4,56 @@
4
4
  // Source: Accessible Rich Internet Applications (WAI-ARIA) 1.3 (https://w3c.github.io/aria/)
5
5
 
6
6
  interface mixin ARIAMixin {
7
- attribute DOMString? role;
8
- attribute Element? ariaActiveDescendantElement;
9
- attribute DOMString? ariaAtomic;
10
- attribute DOMString? ariaAutoComplete;
11
- attribute DOMString? ariaBusy;
12
- attribute DOMString? ariaChecked;
13
- attribute DOMString? ariaColCount;
14
- attribute DOMString? ariaColIndex;
15
- attribute DOMString? ariaColIndexText;
16
- attribute DOMString? ariaColSpan;
17
- attribute FrozenArray<Element>? ariaControlsElements;
18
- attribute DOMString? ariaCurrent;
19
- attribute FrozenArray<Element>? ariaDescribedByElements;
20
- attribute DOMString? ariaDescription;
21
- attribute FrozenArray<Element>? ariaDetailsElements;
22
- attribute DOMString? ariaDisabled;
23
- attribute Element? ariaErrorMessageElement;
24
- attribute DOMString? ariaExpanded;
25
- attribute FrozenArray<Element>? ariaFlowToElements;
26
- attribute DOMString? ariaHasPopup;
27
- attribute DOMString? ariaHidden;
28
- attribute DOMString? ariaInvalid;
29
- attribute DOMString? ariaKeyShortcuts;
30
- attribute DOMString? ariaLabel;
31
- attribute FrozenArray<Element>? ariaLabelledByElements;
32
- attribute DOMString? ariaLevel;
33
- attribute DOMString? ariaLive;
34
- attribute DOMString? ariaModal;
35
- attribute DOMString? ariaMultiLine;
36
- attribute DOMString? ariaMultiSelectable;
37
- attribute DOMString? ariaOrientation;
38
- attribute FrozenArray<Element>? ariaOwnsElements;
39
- attribute DOMString? ariaPlaceholder;
40
- attribute DOMString? ariaPosInSet;
41
- attribute DOMString? ariaPressed;
42
- attribute DOMString? ariaReadOnly;
7
+ [CEReactions] attribute DOMString? role;
8
+ [CEReactions] attribute Element? ariaActiveDescendantElement;
9
+ [CEReactions] attribute DOMString? ariaAtomic;
10
+ [CEReactions] attribute DOMString? ariaAutoComplete;
11
+ [CEReactions] attribute DOMString? ariaBusy;
12
+ [CEReactions] attribute DOMString? ariaChecked;
13
+ [CEReactions] attribute DOMString? ariaColCount;
14
+ [CEReactions] attribute DOMString? ariaColIndex;
15
+ [CEReactions] attribute DOMString? ariaColIndexText;
16
+ [CEReactions] attribute DOMString? ariaColSpan;
17
+ [CEReactions] attribute FrozenArray<Element>? ariaControlsElements;
18
+ [CEReactions] attribute DOMString? ariaCurrent;
19
+ [CEReactions] attribute FrozenArray<Element>? ariaDescribedByElements;
20
+ [CEReactions] attribute DOMString? ariaDescription;
21
+ [CEReactions] attribute FrozenArray<Element>? ariaDetailsElements;
22
+ [CEReactions] attribute DOMString? ariaDisabled;
23
+ [CEReactions] attribute Element? ariaErrorMessageElement;
24
+ [CEReactions] attribute DOMString? ariaExpanded;
25
+ [CEReactions] attribute FrozenArray<Element>? ariaFlowToElements;
26
+ [CEReactions] attribute DOMString? ariaHasPopup;
27
+ [CEReactions] attribute DOMString? ariaHidden;
28
+ [CEReactions] attribute DOMString? ariaInvalid;
29
+ [CEReactions] attribute DOMString? ariaKeyShortcuts;
30
+ [CEReactions] attribute DOMString? ariaLabel;
31
+ [CEReactions] attribute FrozenArray<Element>? ariaLabelledByElements;
32
+ [CEReactions] attribute DOMString? ariaLevel;
33
+ [CEReactions] attribute DOMString? ariaLive;
34
+ [CEReactions] attribute DOMString? ariaModal;
35
+ [CEReactions] attribute DOMString? ariaMultiLine;
36
+ [CEReactions] attribute DOMString? ariaMultiSelectable;
37
+ [CEReactions] attribute DOMString? ariaOrientation;
38
+ [CEReactions] attribute FrozenArray<Element>? ariaOwnsElements;
39
+ [CEReactions] attribute DOMString? ariaPlaceholder;
40
+ [CEReactions] attribute DOMString? ariaPosInSet;
41
+ [CEReactions] attribute DOMString? ariaPressed;
42
+ [CEReactions] attribute DOMString? ariaReadOnly;
43
43
 
44
- attribute DOMString? ariaRequired;
45
- attribute DOMString? ariaRoleDescription;
46
- attribute DOMString? ariaRowCount;
47
- attribute DOMString? ariaRowIndex;
48
- attribute DOMString? ariaRowIndexText;
49
- attribute DOMString? ariaRowSpan;
50
- attribute DOMString? ariaSelected;
51
- attribute DOMString? ariaSetSize;
52
- attribute DOMString? ariaSort;
53
- attribute DOMString? ariaValueMax;
54
- attribute DOMString? ariaValueMin;
55
- attribute DOMString? ariaValueNow;
56
- attribute DOMString? ariaValueText;
44
+ [CEReactions] attribute DOMString? ariaRequired;
45
+ [CEReactions] attribute DOMString? ariaRoleDescription;
46
+ [CEReactions] attribute DOMString? ariaRowCount;
47
+ [CEReactions] attribute DOMString? ariaRowIndex;
48
+ [CEReactions] attribute DOMString? ariaRowIndexText;
49
+ [CEReactions] attribute DOMString? ariaRowSpan;
50
+ [CEReactions] attribute DOMString? ariaSelected;
51
+ [CEReactions] attribute DOMString? ariaSetSize;
52
+ [CEReactions] attribute DOMString? ariaSort;
53
+ [CEReactions] attribute DOMString? ariaValueMax;
54
+ [CEReactions] attribute DOMString? ariaValueMin;
55
+ [CEReactions] attribute DOMString? ariaValueNow;
56
+ [CEReactions] attribute DOMString? ariaValueText;
57
57
  };
58
58
 
59
59
  Element includes ARIAMixin;
package/webgpu.idl CHANGED
@@ -1160,26 +1160,32 @@ partial interface GPUDevice {
1160
1160
  readonly attribute Promise<GPUDeviceLostInfo> lost;
1161
1161
  };
1162
1162
 
1163
- enum GPUErrorFilter {
1164
- "out-of-memory",
1165
- "validation"
1166
- };
1167
-
1168
1163
  [Exposed=(Window, DedicatedWorker), SecureContext]
1169
1164
  interface GPUError {
1170
1165
  readonly attribute DOMString message;
1171
1166
  };
1172
1167
 
1168
+ [Exposed=(Window, DedicatedWorker), SecureContext]
1169
+ interface GPUValidationError : GPUError {
1170
+ constructor(DOMString message);
1171
+ };
1172
+
1173
1173
  [Exposed=(Window, DedicatedWorker), SecureContext]
1174
1174
  interface GPUOutOfMemoryError : GPUError {
1175
1175
  constructor(DOMString message);
1176
1176
  };
1177
1177
 
1178
1178
  [Exposed=(Window, DedicatedWorker), SecureContext]
1179
- interface GPUValidationError : GPUError {
1179
+ interface GPUInternalError : GPUError {
1180
1180
  constructor(DOMString message);
1181
1181
  };
1182
1182
 
1183
+ enum GPUErrorFilter {
1184
+ "validation",
1185
+ "out-of-memory",
1186
+ "internal"
1187
+ };
1188
+
1183
1189
  partial interface GPUDevice {
1184
1190
  undefined pushErrorScope(GPUErrorFilter filter);
1185
1191
  Promise<GPUError?> popErrorScope();
package/webtransport.idl CHANGED
@@ -22,6 +22,7 @@ interface WebTransport {
22
22
  Promise<WebTransportStats> getStats();
23
23
  readonly attribute Promise<undefined> ready;
24
24
  readonly attribute WebTransportReliabilityMode reliability;
25
+ readonly attribute WebTransportCongestionControl congestionControl;
25
26
  readonly attribute Promise<WebTransportCloseInfo> closed;
26
27
  undefined close(optional WebTransportCloseInfo closeInfo = {});
27
28
 
@@ -51,6 +52,13 @@ dictionary WebTransportOptions {
51
52
  boolean allowPooling = false;
52
53
  boolean requireUnreliable = false;
53
54
  sequence<WebTransportHash> serverCertificateHashes;
55
+ WebTransportCongestionControl congestionControl = "default";
56
+ };
57
+
58
+ enum WebTransportCongestionControl {
59
+ "default",
60
+ "throughput",
61
+ "low-latency",
54
62
  };
55
63
 
56
64
  dictionary WebTransportCloseInfo {