@webref/idl 3.44.2 → 3.45.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.
package/html.idl CHANGED
@@ -123,6 +123,7 @@ interface HTMLElement : Element {
123
123
  readonly attribute DOMString accessKeyLabel;
124
124
  [CEReactions] attribute boolean draggable;
125
125
  [CEReactions] attribute boolean spellcheck;
126
+ [CEReactions] attribute DOMString writingSuggestions;
126
127
  [CEReactions] attribute DOMString autocapitalize;
127
128
 
128
129
  [CEReactions] attribute [LegacyNullToEmptyString] DOMString innerText;
@@ -0,0 +1,54 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Long Animation Frames API (https://w3c.github.io/long-animation-frames/)
5
+
6
+ [Exposed=Window]
7
+ interface PerformanceLongAnimationFrameTiming : PerformanceEntry {
8
+ /* Overloading PerformanceEntry */
9
+ readonly attribute DOMHighResTimeStamp startTime;
10
+ readonly attribute DOMHighResTimeStamp duration;
11
+ readonly attribute DOMString name;
12
+ readonly attribute DOMString entryType;
13
+
14
+ readonly attribute DOMHighResTimeStamp renderStart;
15
+ readonly attribute DOMHighResTimeStamp styleAndLayoutStart;
16
+ readonly attribute DOMHighResTimeStamp blockingDuration;
17
+ readonly attribute DOMHighResTimeStamp firstUIEventTimestamp;
18
+ [SameObject] readonly attribute FrozenArray<PerformanceScriptTiming> scripts;
19
+ [Default] object toJSON();
20
+ };
21
+
22
+ enum ScriptInvokerType {
23
+ "classic-script",
24
+ "module-script",
25
+ "event-listener",
26
+ "user-callback",
27
+ "resolve-promise",
28
+ "reject-promise"
29
+ };
30
+
31
+ enum ScriptWindowAttribution {
32
+ "self", "descendant", "ancestor", "same-page", "other"
33
+ };
34
+
35
+ [Exposed=Window]
36
+ interface PerformanceScriptTiming : PerformanceEntry {
37
+ /* Overloading PerformanceEntry */
38
+ readonly attribute DOMHighResTimeStamp startTime;
39
+ readonly attribute DOMHighResTimeStamp duration;
40
+ readonly attribute DOMString name;
41
+ readonly attribute DOMString entryType;
42
+
43
+ readonly attribute ScriptInvokerType invokerType;
44
+ readonly attribute DOMString invoker;
45
+ readonly attribute DOMHighResTimeStamp executionStart;
46
+ readonly attribute DOMString sourceURL;
47
+ readonly attribute DOMString sourceFunctionName;
48
+ readonly attribute long long sourceCharPosition;
49
+ readonly attribute DOMHighResTimeStamp pauseDuration;
50
+ readonly attribute DOMHighResTimeStamp forcedStyleAndLayoutDuration;
51
+ readonly attribute Window? window;
52
+ readonly attribute ScriptWindowAttribution windowAttribution;
53
+ [Default] object toJSON();
54
+ };
package/longtasks.idl CHANGED
@@ -29,53 +29,3 @@ interface TaskAttributionTiming : PerformanceEntry {
29
29
  readonly attribute DOMString containerName;
30
30
  [Default] object toJSON();
31
31
  };
32
-
33
- [Exposed=Window]
34
- interface PerformanceLongAnimationFrameTiming : PerformanceEntry {
35
- /* Overloading PerformanceEntry */
36
- readonly attribute DOMHighResTimeStamp startTime;
37
- readonly attribute DOMHighResTimeStamp duration;
38
- readonly attribute DOMString name;
39
- readonly attribute DOMString entryType;
40
-
41
- readonly attribute DOMHighResTimeStamp renderStart;
42
- readonly attribute DOMHighResTimeStamp styleAndLayoutStart;
43
- readonly attribute DOMHighResTimeStamp blockingDuration;
44
- readonly attribute DOMHighResTimeStamp firstUIEventTimestamp;
45
- [SameObject] readonly attribute FrozenArray<PerformanceScriptTiming> scripts;
46
- [Default] object toJSON();
47
- };
48
-
49
- enum ScriptInvokerType {
50
- "classic-script",
51
- "module-script",
52
- "event-listener",
53
- "user-callback",
54
- "resolve-promise",
55
- "reject-promise"
56
- };
57
-
58
- enum ScriptWindowAttribution {
59
- "self", "descendant", "ancestor", "same-page", "other"
60
- };
61
-
62
- [Exposed=Window]
63
- interface PerformanceScriptTiming : PerformanceEntry {
64
- /* Overloading PerformanceEntry */
65
- readonly attribute DOMHighResTimeStamp startTime;
66
- readonly attribute DOMHighResTimeStamp duration;
67
- readonly attribute DOMString name;
68
- readonly attribute DOMString entryType;
69
-
70
- readonly attribute ScriptInvokerType invokerType;
71
- readonly attribute DOMString invoker;
72
- readonly attribute DOMHighResTimeStamp executionStart;
73
- readonly attribute DOMString sourceURL;
74
- readonly attribute DOMString sourceFunctionName;
75
- readonly attribute long long sourceCharPosition;
76
- readonly attribute DOMHighResTimeStamp pauseDuration;
77
- readonly attribute DOMHighResTimeStamp forcedStyleAndLayoutDuration;
78
- readonly attribute Window? window;
79
- readonly attribute ScriptWindowAttribution windowAttribution;
80
- [Default] object toJSON();
81
- };
@@ -189,16 +189,6 @@ dictionary MediaStreamConstraints {
189
189
  (boolean or MediaTrackConstraints) audio = false;
190
190
  };
191
191
 
192
- partial interface Navigator {
193
- [SecureContext] undefined getUserMedia(MediaStreamConstraints constraints,
194
- NavigatorUserMediaSuccessCallback successCallback,
195
- NavigatorUserMediaErrorCallback errorCallback);
196
- };
197
-
198
- callback NavigatorUserMediaSuccessCallback = undefined (MediaStream stream);
199
-
200
- callback NavigatorUserMediaErrorCallback = undefined (DOMException error);
201
-
202
192
  dictionary DoubleRange {
203
193
  double max;
204
194
  double min;
@@ -16,6 +16,7 @@ interface PerformanceNavigationTiming : PerformanceResourceTiming {
16
16
  readonly attribute NavigationTimingType type;
17
17
  readonly attribute unsigned short redirectCount;
18
18
  readonly attribute DOMHighResTimeStamp criticalCHRestart;
19
+ readonly attribute NotRestoredReasons? notRestoredReasons;
19
20
  [Default] object toJSON();
20
21
  };
21
22
 
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.44.2",
4
+ "version": "3.45.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/permissions.idl CHANGED
@@ -36,6 +36,6 @@ enum PermissionState {
36
36
  };
37
37
 
38
38
  dictionary PermissionSetParameters {
39
- required PermissionDescriptor descriptor;
39
+ required object descriptor;
40
40
  required PermissionState state;
41
41
  };
package/turtledove.idl CHANGED
@@ -74,6 +74,7 @@ dictionary AuctionAdConfig {
74
74
  sequence<record<DOMString, DOMString>> allSlotsRequestedSizes;
75
75
  Promise<any> sellerSignals;
76
76
  Promise<DOMString> directFromSellerSignalsHeaderAdSlot;
77
+ Promise<record<USVString, USVString>> deprecatedRenderURLReplacements;
77
78
  unsigned long long sellerTimeout;
78
79
  unsigned short sellerExperimentGroupId;
79
80
  USVString sellerCurrency;
@@ -12,7 +12,7 @@ dictionary UADataValues {
12
12
  DOMString architecture;
13
13
  DOMString bitness;
14
14
  sequence<NavigatorUABrandVersion> brands;
15
- sequence<DOMString> formFactor;
15
+ sequence<DOMString> formFactors;
16
16
  sequence<NavigatorUABrandVersion> fullVersionList;
17
17
  DOMString model;
18
18
  boolean mobile;
@@ -14,6 +14,7 @@ partial interface AnimationTimeline {
14
14
  partial interface Animation {
15
15
  attribute CSSNumberish? startTime;
16
16
  attribute CSSNumberish? currentTime;
17
+ readonly attribute double? progress;
17
18
  };
18
19
 
19
20
  [Exposed=Window]
package/webcodecs.idl CHANGED
@@ -390,21 +390,37 @@ dictionary PlaneLayout {
390
390
  enum VideoPixelFormat {
391
391
  // 4:2:0 Y, U, V
392
392
  "I420",
393
+ "I420P10",
394
+ "I420P12",
393
395
  // 4:2:0 Y, U, V, A
394
396
  "I420A",
397
+ "I420AP10",
398
+ "I420AP12",
395
399
  // 4:2:2 Y, U, V
396
400
  "I422",
401
+ "I422P10",
402
+ "I422P12",
403
+ // 4:2:2 Y, U, V, A
404
+ "I422A",
405
+ "I422AP10",
406
+ "I422AP12",
397
407
  // 4:4:4 Y, U, V
398
408
  "I444",
409
+ "I444P10",
410
+ "I444P12",
411
+ // 4:4:4 Y, U, V, A
412
+ "I444A",
413
+ "I444AP10",
414
+ "I444AP12",
399
415
  // 4:2:0 Y, UV
400
416
  "NV12",
401
- // 32bpp RGBA
417
+ // 4:4:4 RGBA
402
418
  "RGBA",
403
- // 32bpp RGBX (opaque)
419
+ // 4:4:4 RGBX (opaque)
404
420
  "RGBX",
405
- // 32bpp BGRA
421
+ // 4:4:4 BGRA
406
422
  "BGRA",
407
- // 32bpp BGRX (opaque)
423
+ // 4:4:4 BGRX (opaque)
408
424
  "BGRX",
409
425
  };
410
426
 
package/webnn.idl CHANGED
@@ -69,7 +69,7 @@ dictionary MLOperandDescriptor {
69
69
 
70
70
  // The dimensions field is empty for scalar operands,
71
71
  // and non-empty for tensor operands.
72
- sequence<unsigned long> dimensions = [];
72
+ sequence<[EnforceRange] unsigned long> dimensions = [];
73
73
  };
74
74
 
75
75
  [SecureContext, Exposed=(Window, DedicatedWorker)]
@@ -102,7 +102,7 @@ interface MLGraphBuilder {
102
102
  };
103
103
 
104
104
  dictionary MLArgMinMaxOptions {
105
- sequence<unsigned long> axes;
105
+ sequence<[EnforceRange] unsigned long> axes;
106
106
  boolean keepDimensions = false;
107
107
  boolean selectLastIndex = false;
108
108
  };
@@ -115,7 +115,7 @@ partial interface MLGraphBuilder {
115
115
  dictionary MLBatchNormalizationOptions {
116
116
  MLOperand scale;
117
117
  MLOperand bias;
118
- unsigned long axis = 1;
118
+ [EnforceRange] unsigned long axis = 1;
119
119
  float epsilon = 1e-5;
120
120
  MLActivation activation;
121
121
  };
@@ -140,7 +140,7 @@ partial interface MLGraphBuilder {
140
140
  };
141
141
 
142
142
  partial interface MLGraphBuilder {
143
- MLOperand concat(sequence<MLOperand> inputs, unsigned long axis);
143
+ MLOperand concat(sequence<MLOperand> inputs, [EnforceRange] unsigned long axis);
144
144
  };
145
145
 
146
146
  enum MLConv2dFilterOperandLayout {
@@ -151,10 +151,10 @@ enum MLConv2dFilterOperandLayout {
151
151
  };
152
152
 
153
153
  dictionary MLConv2dOptions {
154
- sequence<unsigned long> padding;
155
- sequence<unsigned long> strides;
156
- sequence<unsigned long> dilations;
157
- unsigned long groups = 1;
154
+ sequence<[EnforceRange] unsigned long> padding;
155
+ sequence<[EnforceRange] unsigned long> strides;
156
+ sequence<[EnforceRange] unsigned long> dilations;
157
+ [EnforceRange] unsigned long groups = 1;
158
158
  MLInputOperandLayout inputLayout = "nchw";
159
159
  MLConv2dFilterOperandLayout filterLayout = "oihw";
160
160
  MLOperand bias;
@@ -172,12 +172,12 @@ enum MLConvTranspose2dFilterOperandLayout {
172
172
  };
173
173
 
174
174
  dictionary MLConvTranspose2dOptions {
175
- sequence<unsigned long> padding;
176
- sequence<unsigned long> strides;
177
- sequence<unsigned long> dilations;
178
- sequence<unsigned long> outputPadding;
179
- sequence<unsigned long> outputSizes;
180
- unsigned long groups = 1;
175
+ sequence<[EnforceRange] unsigned long> padding;
176
+ sequence<[EnforceRange] unsigned long> strides;
177
+ sequence<[EnforceRange] unsigned long> dilations;
178
+ sequence<[EnforceRange] unsigned long> outputPadding;
179
+ sequence<[EnforceRange] unsigned long> outputSizes;
180
+ [EnforceRange] unsigned long groups = 1;
181
181
  MLInputOperandLayout inputLayout = "nchw";
182
182
  MLConvTranspose2dFilterOperandLayout filterLayout = "iohw";
183
183
  MLOperand bias;
@@ -234,11 +234,11 @@ partial interface MLGraphBuilder {
234
234
  };
235
235
 
236
236
  partial interface MLGraphBuilder {
237
- MLOperand expand(MLOperand input, sequence<unsigned long> newShape);
237
+ MLOperand expand(MLOperand input, sequence<[EnforceRange] unsigned long> newShape);
238
238
  };
239
239
 
240
240
  dictionary MLGatherOptions {
241
- unsigned long axis = 0;
241
+ [EnforceRange] unsigned long axis = 0;
242
242
  };
243
243
 
244
244
  partial interface MLGraphBuilder {
@@ -280,8 +280,11 @@ dictionary MLGruOptions {
280
280
  };
281
281
 
282
282
  partial interface MLGraphBuilder {
283
- sequence<MLOperand> gru(MLOperand input, MLOperand weight, MLOperand recurrentWeight,
284
- unsigned long steps, unsigned long hiddenSize,
283
+ sequence<MLOperand> gru(MLOperand input,
284
+ MLOperand weight,
285
+ MLOperand recurrentWeight,
286
+ [EnforceRange] unsigned long steps,
287
+ [EnforceRange] unsigned long hiddenSize,
285
288
  optional MLGruOptions options = {});
286
289
  };
287
290
 
@@ -294,8 +297,11 @@ dictionary MLGruCellOptions {
294
297
  };
295
298
 
296
299
  partial interface MLGraphBuilder {
297
- MLOperand gruCell(MLOperand input, MLOperand weight, MLOperand recurrentWeight,
298
- MLOperand hiddenState, unsigned long hiddenSize,
300
+ MLOperand gruCell(MLOperand input,
301
+ MLOperand weight,
302
+ MLOperand recurrentWeight,
303
+ MLOperand hiddenState,
304
+ [EnforceRange] unsigned long hiddenSize,
299
305
  optional MLGruCellOptions options = {});
300
306
  };
301
307
 
@@ -329,7 +335,7 @@ partial interface MLGraphBuilder {
329
335
  dictionary MLLayerNormalizationOptions {
330
336
  MLOperand scale;
331
337
  MLOperand bias;
332
- sequence<unsigned long> axes;
338
+ sequence<[EnforceRange] unsigned long> axes;
333
339
  float epsilon = 1e-5;
334
340
  };
335
341
 
@@ -374,8 +380,11 @@ dictionary MLLstmOptions {
374
380
  };
375
381
 
376
382
  partial interface MLGraphBuilder {
377
- sequence<MLOperand> lstm(MLOperand input, MLOperand weight, MLOperand recurrentWeight,
378
- unsigned long steps, unsigned long hiddenSize,
383
+ sequence<MLOperand> lstm(MLOperand input,
384
+ MLOperand weight,
385
+ MLOperand recurrentWeight,
386
+ [EnforceRange] unsigned long steps,
387
+ [EnforceRange] unsigned long hiddenSize,
379
388
  optional MLLstmOptions options = {});
380
389
  };
381
390
 
@@ -388,8 +397,12 @@ dictionary MLLstmCellOptions {
388
397
  };
389
398
 
390
399
  partial interface MLGraphBuilder {
391
- sequence<MLOperand> lstmCell(MLOperand input, MLOperand weight, MLOperand recurrentWeight,
392
- MLOperand hiddenState, MLOperand cellState, unsigned long hiddenSize,
400
+ sequence<MLOperand> lstmCell(MLOperand input,
401
+ MLOperand weight,
402
+ MLOperand recurrentWeight,
403
+ MLOperand hiddenState,
404
+ MLOperand cellState,
405
+ [EnforceRange] unsigned long hiddenSize,
393
406
  optional MLLstmCellOptions options = {});
394
407
  };
395
408
 
@@ -411,8 +424,8 @@ dictionary MLPadOptions {
411
424
 
412
425
  partial interface MLGraphBuilder {
413
426
  MLOperand pad(MLOperand input,
414
- sequence<unsigned long> beginningPadding,
415
- sequence<unsigned long> endingPadding,
427
+ sequence<[EnforceRange] unsigned long> beginningPadding,
428
+ sequence<[EnforceRange] unsigned long> endingPadding,
416
429
  optional MLPadOptions options = {});
417
430
  };
418
431
 
@@ -422,13 +435,13 @@ enum MLRoundingType {
422
435
  };
423
436
 
424
437
  dictionary MLPool2dOptions {
425
- sequence<unsigned long> windowDimensions;
426
- sequence<unsigned long> padding;
427
- sequence<unsigned long> strides;
428
- sequence<unsigned long> dilations;
438
+ sequence<[EnforceRange] unsigned long> windowDimensions;
439
+ sequence<[EnforceRange] unsigned long> padding;
440
+ sequence<[EnforceRange] unsigned long> strides;
441
+ sequence<[EnforceRange] unsigned long> dilations;
429
442
  MLInputOperandLayout layout = "nchw";
430
443
  MLRoundingType roundingType = "floor";
431
- sequence<unsigned long> outputSizes;
444
+ sequence<[EnforceRange] unsigned long> outputSizes;
432
445
  };
433
446
 
434
447
  partial interface MLGraphBuilder {
@@ -442,7 +455,7 @@ partial interface MLGraphBuilder {
442
455
  };
443
456
 
444
457
  dictionary MLReduceOptions {
445
- sequence<unsigned long> axes;
458
+ sequence<[EnforceRange] unsigned long> axes;
446
459
  boolean keepDimensions = false;
447
460
  };
448
461
 
@@ -472,8 +485,8 @@ enum MLInterpolationMode {
472
485
  dictionary MLResample2dOptions {
473
486
  MLInterpolationMode mode = "nearest-neighbor";
474
487
  sequence<float> scales;
475
- sequence<unsigned long> sizes;
476
- sequence<unsigned long> axes;
488
+ sequence<[EnforceRange] unsigned long> sizes;
489
+ sequence<[EnforceRange] unsigned long> axes;
477
490
  };
478
491
 
479
492
  partial interface MLGraphBuilder {
@@ -481,7 +494,7 @@ partial interface MLGraphBuilder {
481
494
  };
482
495
 
483
496
  partial interface MLGraphBuilder {
484
- MLOperand reshape(MLOperand input, sequence<unsigned long> newShape);
497
+ MLOperand reshape(MLOperand input, sequence<[EnforceRange] unsigned long> newShape);
485
498
  };
486
499
 
487
500
  partial interface MLGraphBuilder {
@@ -490,7 +503,9 @@ partial interface MLGraphBuilder {
490
503
  };
491
504
 
492
505
  partial interface MLGraphBuilder {
493
- MLOperand slice(MLOperand input, sequence<unsigned long> starts, sequence<unsigned long> sizes);
506
+ MLOperand slice(MLOperand input,
507
+ sequence<[EnforceRange] unsigned long> starts,
508
+ sequence<[EnforceRange] unsigned long> sizes);
494
509
  };
495
510
 
496
511
  partial interface MLGraphBuilder {
@@ -513,12 +528,12 @@ partial interface MLGraphBuilder {
513
528
  };
514
529
 
515
530
  dictionary MLSplitOptions {
516
- unsigned long axis = 0;
531
+ [EnforceRange] unsigned long axis = 0;
517
532
  };
518
533
 
519
534
  partial interface MLGraphBuilder {
520
535
  sequence<MLOperand> split(MLOperand input,
521
- (unsigned long or sequence<unsigned long>) splits,
536
+ ([EnforceRange] unsigned long or sequence<[EnforceRange] unsigned long>) splits,
522
537
  optional MLSplitOptions options = {});
523
538
  };
524
539
 
@@ -528,7 +543,7 @@ partial interface MLGraphBuilder {
528
543
  };
529
544
 
530
545
  dictionary MLTransposeOptions {
531
- sequence<unsigned long> permutation;
546
+ sequence<[EnforceRange] unsigned long> permutation;
532
547
  };
533
548
 
534
549
  partial interface MLGraphBuilder {
@@ -537,7 +552,7 @@ partial interface MLGraphBuilder {
537
552
 
538
553
  dictionary MLTriangularOptions {
539
554
  boolean upper = true;
540
- long diagonal = 0;
555
+ [EnforceRange] long diagonal = 0;
541
556
  };
542
557
 
543
558
  partial interface MLGraphBuilder {