@webref/idl 3.24.1 → 3.24.2

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.
@@ -32,6 +32,7 @@ interface PressureRecord {
32
32
  readonly attribute PressureState state;
33
33
  readonly attribute FrozenArray<PressureFactor> factors;
34
34
  readonly attribute DOMHighResTimeStamp time;
35
+ [Default] object toJSON();
35
36
  };
36
37
 
37
38
  dictionary PressureObserverOptions {
@@ -4,15 +4,15 @@
4
4
  // Source: CSS View Transitions Module Level 1 (https://drafts.csswg.org/css-view-transitions-1/)
5
5
 
6
6
  partial interface Document {
7
- ViewTransition startViewTransition(optional UpdateDOMCallback? callback = null);
7
+ ViewTransition startViewTransition(optional UpdateCallback? callback = null);
8
8
  };
9
9
 
10
- callback UpdateDOMCallback = Promise<any> ();
10
+ callback UpdateCallback = Promise<any> ();
11
11
 
12
12
  [Exposed=Window]
13
13
  interface ViewTransition {
14
14
  undefined skipTransition();
15
15
  readonly attribute Promise<undefined> finished;
16
16
  readonly attribute Promise<undefined> ready;
17
- readonly attribute Promise<undefined> domUpdated;
17
+ readonly attribute Promise<undefined> updateCallbackDone;
18
18
  };
package/cssom-view.idl CHANGED
@@ -3,7 +3,7 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: CSSOM View Module (https://drafts.csswg.org/cssom-view-1/)
5
5
 
6
- enum ScrollBehavior { "auto", "smooth" };
6
+ enum ScrollBehavior { "auto", "instant", "smooth" };
7
7
 
8
8
  dictionary ScrollOptions {
9
9
  ScrollBehavior behavior = "auto";
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.24.1",
4
+ "version": "3.24.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -7,9 +7,8 @@ partial interface ServiceWorkerRegistration {
7
7
  [SameObject] readonly attribute PaymentManager paymentManager;
8
8
  };
9
9
 
10
- [SecureContext, Exposed=(Window,Worker)]
10
+ [SecureContext, Exposed=(Window)]
11
11
  interface PaymentManager {
12
- [SameObject] readonly attribute PaymentInstruments instruments;
13
12
  attribute DOMString userHint;
14
13
  Promise<undefined> enableDelegations(sequence<PaymentDelegation> delegations);
15
14
  };
@@ -21,28 +20,6 @@ enum PaymentDelegation {
21
20
  "payerEmail"
22
21
  };
23
22
 
24
- [SecureContext, Exposed=(Window,Worker)]
25
- interface PaymentInstruments {
26
- Promise<boolean> delete(DOMString instrumentKey);
27
- Promise<any> get(DOMString instrumentKey);
28
- Promise<sequence<DOMString>> keys();
29
- Promise<boolean> has(DOMString instrumentKey);
30
- Promise<undefined> set(DOMString instrumentKey, PaymentInstrument details);
31
- Promise<undefined> clear();
32
- };
33
-
34
- dictionary PaymentInstrument {
35
- required DOMString name;
36
- sequence<ImageObject> icons;
37
- DOMString method;
38
- };
39
-
40
- dictionary ImageObject {
41
- required USVString src;
42
- DOMString sizes;
43
- DOMString type;
44
- };
45
-
46
23
  partial interface ServiceWorkerGlobalScope {
47
24
  attribute EventHandler oncanmakepayment;
48
25
  };
@@ -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: Scroll-linked Animations (https://drafts.csswg.org/scroll-animations-1/)
4
+ // Source: Scroll-driven Animations (https://drafts.csswg.org/scroll-animations-1/)
5
5
 
6
6
  enum ScrollAxis {
7
7
  "block",
package/webnn.idl CHANGED
@@ -36,6 +36,37 @@ interface ML {
36
36
  MLContext createContextSync(GPUDevice gpuDevice);
37
37
  };
38
38
 
39
+ [SecureContext, Exposed=(Window, DedicatedWorker)]
40
+ interface MLGraph {};
41
+
42
+ enum MLInputOperandLayout {
43
+ "nchw",
44
+ "nhwc"
45
+ };
46
+
47
+ enum MLOperandType {
48
+ "float32",
49
+ "float16",
50
+ "int32",
51
+ "uint32",
52
+ "int8",
53
+ "uint8"
54
+ };
55
+
56
+ dictionary MLOperandDescriptor {
57
+ // The operand type.
58
+ required MLOperandType type;
59
+
60
+ // The dimensions field is only required for tensor operands.
61
+ sequence<unsigned long> dimensions;
62
+ };
63
+
64
+ [SecureContext, Exposed=(Window, DedicatedWorker)]
65
+ interface MLOperand {};
66
+
67
+ [SecureContext, Exposed=(Window, DedicatedWorker)]
68
+ interface MLActivation {};
69
+
39
70
  typedef record<DOMString, ArrayBufferView> MLNamedArrayBufferViews;
40
71
 
41
72
  [SecureContext, Exposed=(Window, DedicatedWorker)]
@@ -61,33 +92,24 @@ partial interface MLContext {
61
92
  MLCommandEncoder createCommandEncoder();
62
93
  };
63
94
 
64
- enum MLInputOperandLayout {
65
- "nchw",
66
- "nhwc"
67
- };
95
+ typedef (GPUBuffer or GPUTexture) MLGPUResource;
68
96
 
69
- enum MLOperandType {
70
- "float32",
71
- "float16",
72
- "int32",
73
- "uint32",
74
- "int8",
75
- "uint8"
76
- };
97
+ typedef record<DOMString, MLGPUResource> MLNamedGPUResources;
77
98
 
78
- dictionary MLOperandDescriptor {
79
- // The operand type.
80
- required MLOperandType type;
99
+ [SecureContext, Exposed=(Window, DedicatedWorker)]
100
+ interface MLCommandEncoder {};
81
101
 
82
- // The dimensions field is only required for tensor operands.
83
- sequence<unsigned long> dimensions;
102
+ partial interface MLCommandEncoder {
103
+ undefined initializeGraph(MLGraph graph);
84
104
  };
85
105
 
86
- [SecureContext, Exposed=(Window, DedicatedWorker)]
87
- interface MLOperand {};
106
+ partial interface MLCommandEncoder {
107
+ undefined dispatch(MLGraph graph, MLNamedGPUResources inputs, MLNamedGPUResources outputs);
108
+ };
88
109
 
89
- [SecureContext, Exposed=(Window, DedicatedWorker)]
90
- interface MLActivation {};
110
+ partial interface MLCommandEncoder {
111
+ GPUCommandBuffer finish(optional GPUCommandBufferDescriptor descriptor = {});
112
+ };
91
113
 
92
114
  typedef record<DOMString, MLOperand> MLNamedOperands;
93
115
 
@@ -269,9 +291,7 @@ dictionary MLGruOptions {
269
291
 
270
292
  partial interface MLGraphBuilder {
271
293
  sequence<MLOperand> gru(MLOperand input, MLOperand weight, MLOperand recurrentWeight,
272
-
273
294
  unsigned long steps, unsigned long hiddenSize,
274
-
275
295
  optional MLGruOptions options = {});
276
296
  };
277
297
 
@@ -286,7 +306,6 @@ dictionary MLGruCellOptions {
286
306
  partial interface MLGraphBuilder {
287
307
  MLOperand gruCell(MLOperand input, MLOperand weight, MLOperand recurrentWeight,
288
308
  MLOperand hiddenState, unsigned long hiddenSize,
289
-
290
309
  optional MLGruCellOptions options = {});
291
310
  };
292
311
 
@@ -355,9 +374,7 @@ dictionary MLLstmOptions {
355
374
 
356
375
  partial interface MLGraphBuilder {
357
376
  sequence<MLOperand> lstm(MLOperand input, MLOperand weight, MLOperand recurrentWeight,
358
-
359
377
  unsigned long steps, unsigned long hiddenSize,
360
-
361
378
  optional MLLstmOptions options = {});
362
379
  };
363
380
 
@@ -372,7 +389,6 @@ dictionary MLLstmCellOptions {
372
389
  partial interface MLGraphBuilder {
373
390
  sequence<MLOperand> lstmCell(MLOperand input, MLOperand weight, MLOperand recurrentWeight,
374
391
  MLOperand hiddenState, MLOperand cellState, unsigned long hiddenSize,
375
-
376
392
  optional MLLstmCellOptions options = {});
377
393
  };
378
394
 
@@ -524,25 +540,3 @@ dictionary MLTransposeOptions {
524
540
  partial interface MLGraphBuilder {
525
541
  MLOperand transpose(MLOperand input, optional MLTransposeOptions options = {});
526
542
  };
527
-
528
- [SecureContext, Exposed=(Window, DedicatedWorker)]
529
- interface MLGraph {};
530
-
531
- typedef (GPUBuffer or GPUTexture) MLGPUResource;
532
-
533
- typedef record<DOMString, MLGPUResource> MLNamedGPUResources;
534
-
535
- [SecureContext, Exposed=(Window, DedicatedWorker)]
536
- interface MLCommandEncoder {};
537
-
538
- partial interface MLCommandEncoder {
539
- undefined initializeGraph(MLGraph graph);
540
- };
541
-
542
- partial interface MLCommandEncoder {
543
- undefined dispatch(MLGraph graph, MLNamedGPUResources inputs, MLNamedGPUResources outputs);
544
- };
545
-
546
- partial interface MLCommandEncoder {
547
- GPUCommandBuffer finish(optional GPUCommandBufferDescriptor descriptor = {});
548
- };
package/webrtc-stats.idl CHANGED
@@ -182,6 +182,7 @@ dictionary RTCVideoSourceStats : RTCMediaSourceStats {
182
182
  };
183
183
 
184
184
  dictionary RTCAudioPlayoutStats : RTCStats {
185
+ required DOMString kind;
185
186
  double synthesizedSamplesDuration;
186
187
  unsigned long synthesizedSamplesEvents;
187
188
  double totalSamplesDuration;
package/webrtc-svc.idl CHANGED
@@ -6,7 +6,3 @@
6
6
  partial dictionary RTCRtpEncodingParameters {
7
7
  DOMString scalabilityMode;
8
8
  };
9
-
10
- partial dictionary RTCRtpCodecCapability {
11
- sequence<DOMString> scalabilityModes;
12
- };
package/webxrlayers.idl CHANGED
@@ -15,7 +15,6 @@ enum XRLayerLayout {
15
15
  readonly attribute XRLayerLayout layout;
16
16
 
17
17
  attribute boolean blendTextureSourceAlpha;
18
- attribute boolean? chromaticAberrationCorrection;
19
18
  attribute boolean forceMonoPresentation;
20
19
  attribute float opacity;
21
20
  readonly attribute unsigned long mipLevels;