@webref/idl 3.45.3 → 3.46.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.
@@ -9,15 +9,10 @@ partial interface CSSRule {
9
9
 
10
10
  enum ViewTransitionNavigation { "auto", "none" };
11
11
 
12
- [Exposed=Window]
13
- interface CSSViewTransitionTypeSet {
14
- readonly setlike<CSSOMString>;
15
- };
16
-
17
12
  [Exposed=Window]
18
13
  interface CSSViewTransitionRule : CSSRule {
19
14
  readonly attribute ViewTransitionNavigation navigation;
20
- readonly attribute CSSViewTransitionTypeSet types;
15
+ readonly attribute FrozenArray<CSSOMString> types;
21
16
  };
22
17
 
23
18
  [Exposed=Window]
@@ -0,0 +1,13 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Device Attributes API (https://wicg.github.io/WebApiDevice/device_attributes/)
5
+
6
+ partial interface NavigatorManagedData {
7
+ // Device Attributes API.
8
+ Promise<DOMString> getAnnotatedAssetId();
9
+ Promise<DOMString> getAnnotatedLocation();
10
+ Promise<DOMString> getDirectoryId();
11
+ Promise<DOMString> getHostname();
12
+ Promise<DOMString> getSerialNumber();
13
+ };
package/gamepad.idl CHANGED
@@ -44,7 +44,8 @@ enum GamepadHapticsResult {
44
44
  };
45
45
 
46
46
  enum GamepadHapticEffectType {
47
- "dual-rumble"
47
+ "dual-rumble",
48
+ "trigger-rumble"
48
49
  };
49
50
 
50
51
  dictionary GamepadEffectParameters {
@@ -52,6 +53,8 @@ dictionary GamepadEffectParameters {
52
53
  unsigned long long startDelay = 0;
53
54
  double strongMagnitude = 0.0;
54
55
  double weakMagnitude = 0.0;
56
+ double leftTrigger = 0.0;
57
+ double rightTrigger = 0.0;
55
58
  };
56
59
 
57
60
  [Exposed=Window]
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.45.3",
4
+ "version": "3.46.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/webnn.idl CHANGED
@@ -64,11 +64,7 @@ enum MLOperandDataType {
64
64
  };
65
65
 
66
66
  dictionary MLOperandDescriptor {
67
- // The operand type.
68
67
  required MLOperandDataType dataType;
69
-
70
- // The dimensions field is empty for scalar operands,
71
- // and non-empty for tensor operands.
72
68
  sequence<[EnforceRange] unsigned long> dimensions = [];
73
69
  };
74
70
 
@@ -122,7 +118,7 @@ dictionary MLBatchNormalizationOptions {
122
118
 
123
119
  partial interface MLGraphBuilder {
124
120
  MLOperand batchNormalization(MLOperand input, MLOperand mean, MLOperand variance,
125
- optional MLBatchNormalizationOptions options = {});
121
+ optional MLBatchNormalizationOptions options = {});
126
122
  };
127
123
 
128
124
  partial interface MLGraphBuilder {
@@ -162,7 +158,9 @@ dictionary MLConv2dOptions {
162
158
  };
163
159
 
164
160
  partial interface MLGraphBuilder {
165
- MLOperand conv2d(MLOperand input, MLOperand filter, optional MLConv2dOptions options = {});
161
+ MLOperand conv2d(MLOperand input,
162
+ MLOperand filter,
163
+ optional MLConv2dOptions options = {});
166
164
  };
167
165
 
168
166
  enum MLConvTranspose2dFilterOperandLayout {
@@ -242,7 +240,9 @@ dictionary MLGatherOptions {
242
240
  };
243
241
 
244
242
  partial interface MLGraphBuilder {
245
- MLOperand gather(MLOperand input, MLOperand indices, optional MLGatherOptions options = {});
243
+ MLOperand gather(MLOperand input,
244
+ MLOperand indices,
245
+ optional MLGatherOptions options = {});
246
246
  };
247
247
 
248
248
  dictionary MLGemmOptions {
@@ -329,7 +329,7 @@ dictionary MLInstanceNormalizationOptions {
329
329
 
330
330
  partial interface MLGraphBuilder {
331
331
  MLOperand instanceNormalization(MLOperand input,
332
- optional MLInstanceNormalizationOptions options = {});
332
+ optional MLInstanceNormalizationOptions options = {});
333
333
  };
334
334
 
335
335
  dictionary MLLayerNormalizationOptions {
@@ -340,7 +340,8 @@ dictionary MLLayerNormalizationOptions {
340
340
  };
341
341
 
342
342
  partial interface MLGraphBuilder {
343
- MLOperand layerNormalization(MLOperand input, optional MLLayerNormalizationOptions options = {});
343
+ MLOperand layerNormalization(MLOperand input,
344
+ optional MLLayerNormalizationOptions options = {});
344
345
  };
345
346
 
346
347
  dictionary MLLeakyReluOptions {
@@ -532,9 +533,10 @@ dictionary MLSplitOptions {
532
533
  };
533
534
 
534
535
  partial interface MLGraphBuilder {
535
- sequence<MLOperand> split(MLOperand input,
536
- ([EnforceRange] unsigned long or sequence<[EnforceRange] unsigned long>) splits,
537
- optional MLSplitOptions options = {});
536
+ sequence<MLOperand> split(
537
+ MLOperand input,
538
+ ([EnforceRange] unsigned long or sequence<[EnforceRange] unsigned long>) splits,
539
+ optional MLSplitOptions options = {});
538
540
  };
539
541
 
540
542
  partial interface MLGraphBuilder {
package/webrtc.idl CHANGED
@@ -434,8 +434,8 @@ dictionary RTCIceParameters {
434
434
  };
435
435
 
436
436
  dictionary RTCIceCandidatePair {
437
- RTCIceCandidate local;
438
- RTCIceCandidate remote;
437
+ required RTCIceCandidate local;
438
+ required RTCIceCandidate remote;
439
439
  };
440
440
 
441
441
  enum RTCIceGathererState {