@webref/idl 3.52.2 → 3.53.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.
@@ -3,11 +3,9 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: CSS View Transitions Module Level 2 (https://drafts.csswg.org/css-view-transitions-2/)
5
5
 
6
- enum ViewTransitionNavigation { "auto", "none" };
7
-
8
6
  [Exposed=Window]
9
7
  interface CSSViewTransitionRule : CSSRule {
10
- readonly attribute ViewTransitionNavigation navigation;
8
+ readonly attribute CSSOMString navigation;
11
9
  [SameObject] readonly attribute FrozenArray<CSSOMString> types;
12
10
  };
13
11
 
@@ -22,11 +20,10 @@ partial interface ViewTransition {
22
20
  };
23
21
 
24
22
  dictionary StartViewTransitionOptions {
25
- UpdateCallback? update = null;
23
+ ViewTransitionUpdateCallback? update = null;
26
24
  sequence<DOMString>? types = null;
27
25
  };
28
26
 
29
27
  partial interface Document {
30
-
31
- ViewTransition startViewTransition(optional (UpdateCallback or StartViewTransitionOptions) callbackOptions = {});
28
+ ViewTransition startViewTransition(optional (ViewTransitionUpdateCallback or StartViewTransitionOptions) callbackOptions = {});
32
29
  };
@@ -3,7 +3,7 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: CSS View Transitions Module Level 1 (https://drafts.csswg.org/css-view-transitions-1/)
5
5
 
6
- callback UpdateCallback = Promise<any> ();
6
+ callback ViewTransitionUpdateCallback = Promise<any> ();
7
7
 
8
8
  [Exposed=Window]
9
9
  interface ViewTransition {
@@ -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: CSS Viewport Module Level 1 (https://drafts.csswg.org/css-viewport/)
5
+
6
+ partial interface Window {
7
+ [SameObject, Replaceable] readonly attribute Viewport viewport;
8
+ };
9
+
10
+ [Exposed=Window]
11
+ interface Viewport {
12
+ readonly attribute FrozenArray<DOMRect>? segments;
13
+ };
@@ -12,10 +12,10 @@ partial dictionary CredentialRequestOptions {
12
12
  };
13
13
 
14
14
  dictionary DigitalCredentialRequestOptions {
15
- sequence<IdentityRequestProvider> providers;
15
+ sequence<DigitalCredentialsProvider> providers;
16
16
  };
17
17
 
18
- dictionary IdentityRequestProvider {
18
+ dictionary DigitalCredentialsProvider {
19
19
  required DOMString protocol;
20
20
  required object request;
21
21
  };
@@ -23,5 +23,5 @@ dictionary IdentityRequestProvider {
23
23
  [Exposed=Window, SecureContext]
24
24
  interface DigitalCredential : Credential {
25
25
  readonly attribute DOMString protocol;
26
- readonly attribute any data;
26
+ readonly attribute object data;
27
27
  };
@@ -21,6 +21,7 @@ dictionary DocumentPictureInPictureOptions {
21
21
  [EnforceRange] unsigned long long width = 0;
22
22
  [EnforceRange] unsigned long long height = 0;
23
23
  boolean disallowReturnToOpener = false;
24
+ boolean preferInitialWindowPlacement = false;
24
25
  };
25
26
 
26
27
  [Exposed=Window, SecureContext]
package/fenced-frame.idl CHANGED
@@ -10,23 +10,15 @@ interface HTMLFencedFrameElement : HTMLElement {
10
10
  [CEReactions] attribute FencedFrameConfig? config;
11
11
  [CEReactions] attribute DOMString width;
12
12
  [CEReactions] attribute DOMString height;
13
+ [SameObject, PutForwards=value] readonly attribute DOMTokenList sandbox;
13
14
  [CEReactions] attribute DOMString allow;
14
15
  };
15
16
 
16
17
  enum OpaqueProperty {"opaque"};
17
18
 
18
- typedef (unsigned long or OpaqueProperty) FencedFrameConfigSize;
19
- typedef USVString FencedFrameConfigURL;
20
-
21
19
  [Exposed=Window, Serializable]
22
20
  interface FencedFrameConfig {
23
21
  constructor(USVString url);
24
-
25
- readonly attribute FencedFrameConfigSize? containerWidth;
26
- readonly attribute FencedFrameConfigSize? containerHeight;
27
- readonly attribute FencedFrameConfigSize? contentWidth;
28
- readonly attribute FencedFrameConfigSize? contentHeight;
29
-
30
22
  undefined setSharedStorageContext(DOMString contextString);
31
23
  };
32
24
 
package/html.idl CHANGED
@@ -125,6 +125,7 @@ interface HTMLElement : Element {
125
125
  [CEReactions] attribute boolean spellcheck;
126
126
  [CEReactions] attribute DOMString writingSuggestions;
127
127
  [CEReactions] attribute DOMString autocapitalize;
128
+ [CEReactions] attribute boolean autocorrect;
128
129
 
129
130
  [CEReactions] attribute [LegacyNullToEmptyString] DOMString innerText;
130
131
  [CEReactions] attribute [LegacyNullToEmptyString] DOMString outerText;
@@ -16,7 +16,6 @@ dictionary InkPresenterParam {
16
16
  [Exposed=Window]
17
17
  interface InkPresenter {
18
18
  readonly attribute Element? presentationArea;
19
- readonly attribute unsigned long expectedImprovement;
20
19
 
21
20
  undefined updateInkTrailStartPoint(PointerEvent event, InkTrailStyle style);
22
21
  };
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.52.2",
4
+ "version": "3.53.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -23,7 +23,7 @@ interface SharedStorageWorkletGlobalScope : WorkletGlobalScope {
23
23
  undefined register(DOMString name,
24
24
  Function operationCtor);
25
25
 
26
- readonly attribute WorkletSharedStorage sharedStorage;
26
+ readonly attribute SharedStorage sharedStorage;
27
27
  };
28
28
 
29
29
  dictionary SharedStorageUrlWithMetadata {
@@ -31,6 +31,10 @@ dictionary SharedStorageUrlWithMetadata {
31
31
  object reportingMetadata;
32
32
  };
33
33
 
34
+ partial interface Window {
35
+ [SecureContext] readonly attribute SharedStorage? sharedStorage;
36
+ };
37
+
34
38
  [Exposed=(Window,SharedStorageWorklet)]
35
39
  interface SharedStorage {
36
40
  Promise<any> set(DOMString key,
@@ -40,23 +44,37 @@ interface SharedStorage {
40
44
  DOMString value);
41
45
  Promise<any> delete(DOMString key);
42
46
  Promise<any> clear();
43
- };
44
-
45
- dictionary SharedStorageSetMethodOptions {
46
- boolean ignoreIfPresent = false;
47
- };
48
47
 
49
- [Exposed=(Window)]
50
- interface WindowSharedStorage : SharedStorage {
48
+ [Exposed=Window]
51
49
  Promise<SharedStorageResponse> selectURL(DOMString name,
52
50
  sequence<SharedStorageUrlWithMetadata> urls,
53
51
  optional SharedStorageRunOperationMethodOptions options = {});
52
+
53
+ [Exposed=Window]
54
54
  Promise<any> run(DOMString name,
55
55
  optional SharedStorageRunOperationMethodOptions options = {});
56
56
 
57
+ [Exposed=Window]
57
58
  Promise<SharedStorageWorklet> createWorklet(USVString moduleURL, optional SharedStorageWorkletOptions options = {});
58
59
 
60
+ [Exposed=Window]
59
61
  readonly attribute SharedStorageWorklet worklet;
62
+
63
+ [Exposed=SharedStorageWorklet]
64
+ Promise<DOMString> get(DOMString key);
65
+
66
+ [Exposed=SharedStorageWorklet]
67
+ Promise<unsigned long> length();
68
+
69
+ [Exposed=SharedStorageWorklet]
70
+ Promise<double> remainingBudget();
71
+
72
+ [Exposed=SharedStorageWorklet]
73
+ async iterable<DOMString, DOMString>;
74
+ };
75
+
76
+ dictionary SharedStorageSetMethodOptions {
77
+ boolean ignoreIfPresent = false;
60
78
  };
61
79
 
62
80
  dictionary SharedStorageRunOperationMethodOptions {
@@ -69,19 +87,6 @@ dictionary SharedStorageWorkletOptions : WorkletOptions {
69
87
  SharedStorageDataOrigin dataOrigin = "context-origin";
70
88
  };
71
89
 
72
- partial interface Window {
73
- [SecureContext] readonly attribute WindowSharedStorage? sharedStorage;
74
- };
75
-
76
- [Exposed=(SharedStorageWorklet)]
77
- interface WorkletSharedStorage : SharedStorage {
78
- Promise<DOMString> get(DOMString key);
79
- Promise<unsigned long> length();
80
- Promise<double> remainingBudget();
81
-
82
- async iterable<DOMString, DOMString>;
83
- };
84
-
85
90
  interface mixin HTMLSharedStorageWritableElementUtils {
86
91
  [CEReactions, SecureContext] attribute boolean sharedStorageWritable;
87
92
  };
package/turtledove.idl CHANGED
@@ -10,11 +10,18 @@ partial interface Navigator {
10
10
 
11
11
  dictionary AuctionAd {
12
12
  required USVString renderURL;
13
+ USVString sizeGroup;
13
14
  any metadata;
14
15
 
15
16
  USVString buyerReportingId;
16
17
  USVString buyerAndSellerReportingId;
17
18
  sequence<USVString> allowedReportingOrigins;
19
+ DOMString adRenderId;
20
+ };
21
+
22
+ dictionary AuctionAdInterestGroupSize {
23
+ required USVString width;
24
+ required USVString height;
18
25
  };
19
26
 
20
27
  dictionary GenerateBidInterestGroup {
@@ -36,6 +43,8 @@ dictionary GenerateBidInterestGroup {
36
43
  any userBiddingSignals;
37
44
  sequence<AuctionAd> ads;
38
45
  sequence<AuctionAd> adComponents;
46
+ record<DOMString, AuctionAdInterestGroupSize> adSizes;
47
+ record<DOMString, sequence<DOMString>> sizeGroups;
39
48
  };
40
49
 
41
50
  dictionary AuctionAdInterestGroup : GenerateBidInterestGroup {
@@ -104,6 +113,9 @@ dictionary AuctionAdConfig {
104
113
  sequence<AuctionAdConfig> componentAuctions = [];
105
114
  AbortSignal? signal;
106
115
  Promise<boolean> resolveToConfig;
116
+
117
+ Promise<Uint8Array> serverResponse;
118
+ USVString requestId;
107
119
  };
108
120
 
109
121
  [SecureContext]
@@ -111,6 +123,21 @@ partial interface Navigator {
111
123
  boolean canLoadAdAuctionFencedFrame();
112
124
  };
113
125
 
126
+ [SecureContext]
127
+ partial interface Navigator {
128
+ Promise<AdAuctionData> getInterestGroupAdAuctionData(AdAuctionDataConfig config);
129
+ };
130
+
131
+ dictionary AdAuctionDataConfig {
132
+ required USVString seller;
133
+ required USVString coordinatorOrigin;
134
+ };
135
+
136
+ dictionary AdAuctionData {
137
+ required Uint8Array request;
138
+ required USVString requestId;
139
+ };
140
+
114
141
  [SecureContext]
115
142
  partial interface Navigator {
116
143
  Promise<DOMString> createAuctionNonce();
@@ -213,10 +240,8 @@ partial interface HTMLIFrameElement {
213
240
  [CEReactions] attribute boolean adAuctionHeaders;
214
241
  };
215
242
 
216
- dictionary PreviousWin {
217
- required long long timeDelta;
218
- required DOMString adJSON;
219
- };
243
+ typedef (long long or AuctionAd) PreviousWinElement;
244
+ typedef sequence<PreviousWinElement> PreviousWin;
220
245
 
221
246
  dictionary BiddingBrowserSignals {
222
247
  required DOMString topWindowHostname;
package/webauthn.idl CHANGED
@@ -128,6 +128,30 @@ dictionary PublicKeyCredentialRequestOptionsJSON {
128
128
  AuthenticationExtensionsClientInputsJSON extensions;
129
129
  };
130
130
 
131
+ partial interface PublicKeyCredential {
132
+ static Promise<undefined> signalUnknownCredential(UnknownCredentialOptions options);
133
+ static Promise<undefined> signalAllAcceptedCredentials(AllAcceptedCredentialsOptions options);
134
+ static Promise<undefined> signalCurrentUserDetails(CurrentUserDetailsOptions options);
135
+ };
136
+
137
+ dictionary UnknownCredentialOptions {
138
+ required DOMString rpId;
139
+ required Base64URLString credentialId;
140
+ };
141
+
142
+ dictionary AllAcceptedCredentialsOptions {
143
+ required DOMString rpId;
144
+ required Base64URLString userId;
145
+ required sequence<Base64URLString> allAcceptedCredentialIds;
146
+ };
147
+
148
+ dictionary CurrentUserDetailsOptions {
149
+ required DOMString rpId;
150
+ required Base64URLString userId;
151
+ required DOMString name;
152
+ required DOMString displayName;
153
+ };
154
+
131
155
  [SecureContext, Exposed=Window]
132
156
  interface AuthenticatorResponse {
133
157
  [SameObject] readonly attribute ArrayBuffer clientDataJSON;
@@ -272,7 +296,10 @@ enum ClientCapability {
272
296
  "hybridTransport",
273
297
  "passkeyPlatformAuthenticator",
274
298
  "userVerifyingPlatformAuthenticator",
275
- "relatedOrigins"
299
+ "relatedOrigins",
300
+ "signalAllAcceptedCredentials",
301
+ "signalCurrentUserDetails",
302
+ "signalUnknownCredential"
276
303
  };
277
304
 
278
305
  enum PublicKeyCredentialHints {
@@ -303,7 +330,7 @@ partial dictionary AuthenticationExtensionsClientInputs {
303
330
 
304
331
  dictionary CredentialPropertiesOutput {
305
332
  boolean rk;
306
- USVString authenticatorDisplayName;
333
+ DOMString authenticatorDisplayName;
307
334
  };
308
335
 
309
336
  partial dictionary AuthenticationExtensionsClientOutputs {
package/webgpu.idl CHANGED
@@ -35,7 +35,6 @@ interface GPUSupportedLimits {
35
35
  readonly attribute unsigned long long maxBufferSize;
36
36
  readonly attribute unsigned long maxVertexAttributes;
37
37
  readonly attribute unsigned long maxVertexBufferArrayStride;
38
- readonly attribute unsigned long maxInterStageShaderComponents;
39
38
  readonly attribute unsigned long maxInterStageShaderVariables;
40
39
  readonly attribute unsigned long maxColorAttachments;
41
40
  readonly attribute unsigned long maxColorAttachmentBytesPerSample;
@@ -101,7 +100,7 @@ interface GPUAdapter {
101
100
  dictionary GPUDeviceDescriptor
102
101
  : GPUObjectDescriptorBase {
103
102
  sequence<GPUFeatureName> requiredFeatures = [];
104
- record<DOMString, GPUSize64> requiredLimits = {};
103
+ record<DOMString, (GPUSize64 or undefined)> requiredLimits = {};
105
104
  GPUQueueDescriptor defaultQueue = {};
106
105
  };
107
106
 
@@ -256,6 +255,7 @@ dictionary GPUTextureViewDescriptor
256
255
  : GPUObjectDescriptorBase {
257
256
  GPUTextureFormat format;
258
257
  GPUTextureViewDimension dimension;
258
+ GPUTextureUsageFlags usage = 0;
259
259
  GPUTextureAspect aspect = "all";
260
260
  GPUIntegerCoordinate baseMipLevel = 0;
261
261
  GPUIntegerCoordinate mipLevelCount;
@@ -579,7 +579,6 @@ GPUShaderModule includes GPUObjectBase;
579
579
  dictionary GPUShaderModuleDescriptor
580
580
  : GPUObjectDescriptorBase {
581
581
  required USVString code;
582
- object sourceMap;
583
582
  sequence<GPUShaderModuleCompilationHint> compilationHints = [];
584
583
  };
585
584
 
package/webnn.idl CHANGED
@@ -43,6 +43,30 @@ dictionary MLComputeResult {
43
43
  interface MLContext {
44
44
  Promise<MLComputeResult> compute(
45
45
  MLGraph graph, MLNamedArrayBufferViews inputs, MLNamedArrayBufferViews outputs);
46
+
47
+ MLOpSupportLimits opSupportLimits();
48
+ };
49
+
50
+ dictionary MLOpSupportLimits {
51
+ MLInputOperandLayout preferredInputLayout;
52
+ MLSupportLimits input;
53
+ MLSupportLimits constant;
54
+ MLSupportLimits output;
55
+ };
56
+
57
+ dictionary MLSupportLimits {
58
+ sequence<MLOperandDataType> dataTypes;
59
+ };
60
+
61
+ dictionary MLBinarySupportLimits {
62
+ MLSupportLimits a;
63
+ MLSupportLimits b;
64
+ MLSupportLimits output;
65
+ };
66
+
67
+ dictionary MLSingleInputSupportLimits {
68
+ MLSupportLimits input;
69
+ MLSupportLimits output;
46
70
  };
47
71
 
48
72
  [SecureContext, Exposed=(Window, DedicatedWorker)]
@@ -113,6 +137,11 @@ partial interface MLGraphBuilder {
113
137
  optional MLArgMinMaxOptions options = {});
114
138
  };
115
139
 
140
+ partial dictionary MLOpSupportLimits {
141
+ MLSingleInputSupportLimits argMin;
142
+ MLSingleInputSupportLimits argMax;
143
+ };
144
+
116
145
  dictionary MLBatchNormalizationOptions : MLOperatorOptions {
117
146
  MLOperand scale;
118
147
  MLOperand bias;
@@ -125,12 +154,29 @@ partial interface MLGraphBuilder {
125
154
  optional MLBatchNormalizationOptions options = {});
126
155
  };
127
156
 
157
+ dictionary MLBatchNormalizationSupportLimits {
158
+ MLSupportLimits input;
159
+ MLSupportLimits mean;
160
+ MLSupportLimits variance;
161
+ MLSupportLimits scale;
162
+ MLSupportLimits bias;
163
+ MLSupportLimits output;
164
+ };
165
+
166
+ partial dictionary MLOpSupportLimits {
167
+ MLBatchNormalizationSupportLimits batchNormalization;
168
+ };
169
+
128
170
  partial interface MLGraphBuilder {
129
171
  MLOperand cast(MLOperand input,
130
172
  MLOperandDataType type,
131
173
  optional MLOperatorOptions options = {});
132
174
  };
133
175
 
176
+ partial dictionary MLOpSupportLimits {
177
+ MLSingleInputSupportLimits cast;
178
+ };
179
+
134
180
  dictionary MLClampOptions : MLOperatorOptions {
135
181
  MLNumber minValue;
136
182
  MLNumber maxValue;
@@ -140,12 +186,25 @@ partial interface MLGraphBuilder {
140
186
  MLOperand clamp(MLOperand input, optional MLClampOptions options = {});
141
187
  };
142
188
 
189
+ partial dictionary MLOpSupportLimits {
190
+ MLSingleInputSupportLimits clamp;
191
+ };
192
+
143
193
  partial interface MLGraphBuilder {
144
194
  MLOperand concat(sequence<MLOperand> inputs,
145
195
  [EnforceRange] unsigned long axis,
146
196
  optional MLOperatorOptions options = {});
147
197
  };
148
198
 
199
+ dictionary MLConcatSupportLimits {
200
+ MLSupportLimits inputs;
201
+ MLSupportLimits output;
202
+ };
203
+
204
+ partial dictionary MLOpSupportLimits {
205
+ MLConcatSupportLimits concat;
206
+ };
207
+
149
208
  enum MLConv2dFilterOperandLayout {
150
209
  "oihw",
151
210
  "hwio",
@@ -169,6 +228,17 @@ partial interface MLGraphBuilder {
169
228
  optional MLConv2dOptions options = {});
170
229
  };
171
230
 
231
+ dictionary MLConv2dSupportLimits {
232
+ MLSupportLimits input;
233
+ MLSupportLimits filter;
234
+ MLSupportLimits bias;
235
+ MLSupportLimits output;
236
+ };
237
+
238
+ partial dictionary MLOpSupportLimits {
239
+ MLConv2dSupportLimits conv2d;
240
+ };
241
+
172
242
  enum MLConvTranspose2dFilterOperandLayout {
173
243
  "iohw",
174
244
  "hwoi",
@@ -192,6 +262,10 @@ partial interface MLGraphBuilder {
192
262
  optional MLConvTranspose2dOptions options = {});
193
263
  };
194
264
 
265
+ partial dictionary MLOpSupportLimits {
266
+ MLConv2dSupportLimits convTranspose2d;
267
+ };
268
+
195
269
  partial interface MLGraphBuilder {
196
270
  MLOperand add(MLOperand a, MLOperand b, optional MLOperatorOptions options = {});
197
271
  MLOperand sub(MLOperand a, MLOperand b, optional MLOperatorOptions options = {});
@@ -202,6 +276,16 @@ partial interface MLGraphBuilder {
202
276
  MLOperand pow(MLOperand a, MLOperand b, optional MLOperatorOptions options = {});
203
277
  };
204
278
 
279
+ partial dictionary MLOpSupportLimits {
280
+ MLBinarySupportLimits add;
281
+ MLBinarySupportLimits sub;
282
+ MLBinarySupportLimits mul;
283
+ MLBinarySupportLimits div;
284
+ MLBinarySupportLimits max;
285
+ MLBinarySupportLimits min;
286
+ MLBinarySupportLimits pow;
287
+ };
288
+
205
289
  partial interface MLGraphBuilder {
206
290
  MLOperand equal(MLOperand a,
207
291
  MLOperand b,
@@ -221,6 +305,20 @@ partial interface MLGraphBuilder {
221
305
  MLOperand logicalNot(MLOperand a, optional MLOperatorOptions options = {});
222
306
  };
223
307
 
308
+ dictionary MLLogicalNotSupportLimits {
309
+ MLSupportLimits a;
310
+ MLSupportLimits output;
311
+ };
312
+
313
+ partial dictionary MLOpSupportLimits {
314
+ MLBinarySupportLimits equal;
315
+ MLBinarySupportLimits greater;
316
+ MLBinarySupportLimits greaterOrEqual;
317
+ MLBinarySupportLimits lesser;
318
+ MLBinarySupportLimits lesserOrEqual;
319
+ MLLogicalNotSupportLimits logicalNot;
320
+ };
321
+
224
322
  partial interface MLGraphBuilder {
225
323
  MLOperand abs(MLOperand input, optional MLOperatorOptions options = {});
226
324
  MLOperand ceil(MLOperand input, optional MLOperatorOptions options = {});
@@ -237,6 +335,22 @@ partial interface MLGraphBuilder {
237
335
  MLOperand tan(MLOperand input, optional MLOperatorOptions options = {});
238
336
  };
239
337
 
338
+ partial dictionary MLOpSupportLimits {
339
+ MLSingleInputSupportLimits abs;
340
+ MLSingleInputSupportLimits ceil;
341
+ MLSingleInputSupportLimits cos;
342
+ MLSingleInputSupportLimits erf;
343
+ MLSingleInputSupportLimits exp;
344
+ MLSingleInputSupportLimits floor;
345
+ MLSingleInputSupportLimits identity;
346
+ MLSingleInputSupportLimits log;
347
+ MLSingleInputSupportLimits neg;
348
+ MLSingleInputSupportLimits reciprocal;
349
+ MLSingleInputSupportLimits sin;
350
+ MLSingleInputSupportLimits sqrt;
351
+ MLSingleInputSupportLimits tan;
352
+ };
353
+
240
354
  dictionary MLEluOptions : MLOperatorOptions {
241
355
  double alpha = 1;
242
356
  };
@@ -245,12 +359,20 @@ partial interface MLGraphBuilder {
245
359
  MLOperand elu(MLOperand input, optional MLEluOptions options = {});
246
360
  };
247
361
 
362
+ partial dictionary MLOpSupportLimits {
363
+ MLSingleInputSupportLimits elu;
364
+ };
365
+
248
366
  partial interface MLGraphBuilder {
249
367
  MLOperand expand(MLOperand input,
250
368
  sequence<[EnforceRange] unsigned long> newShape,
251
369
  optional MLOperatorOptions options = {});
252
370
  };
253
371
 
372
+ partial dictionary MLOpSupportLimits {
373
+ MLSingleInputSupportLimits expand;
374
+ };
375
+
254
376
  dictionary MLGatherOptions : MLOperatorOptions {
255
377
  [EnforceRange] unsigned long axis = 0;
256
378
  };
@@ -261,10 +383,24 @@ partial interface MLGraphBuilder {
261
383
  optional MLGatherOptions options = {});
262
384
  };
263
385
 
386
+ dictionary MLGatherSupportLimits {
387
+ MLSupportLimits input;
388
+ MLSupportLimits indices;
389
+ MLSupportLimits output;
390
+ };
391
+
392
+ partial dictionary MLOpSupportLimits {
393
+ MLGatherSupportLimits gather;
394
+ };
395
+
264
396
  partial interface MLGraphBuilder {
265
397
  MLOperand gelu(MLOperand input, optional MLOperatorOptions options = {});
266
398
  };
267
399
 
400
+ partial dictionary MLOpSupportLimits {
401
+ MLSingleInputSupportLimits gelu;
402
+ };
403
+
268
404
  dictionary MLGemmOptions : MLOperatorOptions {
269
405
  MLOperand c;
270
406
  double alpha = 1.0;
@@ -277,6 +413,17 @@ partial interface MLGraphBuilder {
277
413
  MLOperand gemm(MLOperand a, MLOperand b, optional MLGemmOptions options = {});
278
414
  };
279
415
 
416
+ dictionary MLGemmSupportLimits {
417
+ MLSupportLimits a;
418
+ MLSupportLimits b;
419
+ MLSupportLimits c;
420
+ MLSupportLimits output;
421
+ };
422
+
423
+ partial dictionary MLOpSupportLimits {
424
+ MLGemmSupportLimits gemm;
425
+ };
426
+
280
427
  enum MLGruWeightLayout {
281
428
  "zrn", // update-reset-new gate ordering
282
429
  "rzn" // reset-update-new gate ordering
@@ -314,6 +461,20 @@ partial interface MLGraphBuilder {
314
461
  optional MLGruOptions options = {});
315
462
  };
316
463
 
464
+ dictionary MLGruSupportLimits {
465
+ MLSupportLimits input;
466
+ MLSupportLimits weight;
467
+ MLSupportLimits recurrentWeight;
468
+ MLSupportLimits bias;
469
+ MLSupportLimits recurrentBias;
470
+ MLSupportLimits initialHiddenState;
471
+ MLSupportLimits outputs;
472
+ };
473
+
474
+ partial dictionary MLOpSupportLimits {
475
+ MLGruSupportLimits gru;
476
+ };
477
+
317
478
  dictionary MLGruCellOptions : MLOperatorOptions {
318
479
  MLOperand bias;
319
480
  MLOperand recurrentBias;
@@ -331,6 +492,20 @@ partial interface MLGraphBuilder {
331
492
  optional MLGruCellOptions options = {});
332
493
  };
333
494
 
495
+ dictionary MLGruCellSupportLimits {
496
+ MLSupportLimits input;
497
+ MLSupportLimits weight;
498
+ MLSupportLimits recurrentWeight;
499
+ MLSupportLimits hiddenState;
500
+ MLSupportLimits bias;
501
+ MLSupportLimits recurrentBias;
502
+ MLSupportLimits output;
503
+ };
504
+
505
+ partial dictionary MLOpSupportLimits {
506
+ MLGruCellSupportLimits gruCell;
507
+ };
508
+
334
509
  dictionary MLHardSigmoidOptions : MLOperatorOptions {
335
510
  double alpha = 0.2;
336
511
  double beta = 0.5;
@@ -340,10 +515,18 @@ partial interface MLGraphBuilder {
340
515
  MLOperand hardSigmoid(MLOperand input, optional MLHardSigmoidOptions options = {});
341
516
  };
342
517
 
518
+ partial dictionary MLOpSupportLimits {
519
+ MLSingleInputSupportLimits hardSigmoid;
520
+ };
521
+
343
522
  partial interface MLGraphBuilder {
344
523
  MLOperand hardSwish(MLOperand input, optional MLOperatorOptions options = {});
345
524
  };
346
525
 
526
+ partial dictionary MLOpSupportLimits {
527
+ MLSingleInputSupportLimits hardSwish;
528
+ };
529
+
347
530
  dictionary MLInstanceNormalizationOptions : MLOperatorOptions {
348
531
  MLOperand scale;
349
532
  MLOperand bias;
@@ -356,6 +539,17 @@ partial interface MLGraphBuilder {
356
539
  optional MLInstanceNormalizationOptions options = {});
357
540
  };
358
541
 
542
+ dictionary MLNormalizationSupportLimits {
543
+ MLSupportLimits input;
544
+ MLSupportLimits scale;
545
+ MLSupportLimits bias;
546
+ MLSupportLimits output;
547
+ };
548
+
549
+ partial dictionary MLOpSupportLimits {
550
+ MLNormalizationSupportLimits instanceNormalization;
551
+ };
552
+
359
553
  dictionary MLLayerNormalizationOptions : MLOperatorOptions {
360
554
  MLOperand scale;
361
555
  MLOperand bias;
@@ -368,6 +562,10 @@ partial interface MLGraphBuilder {
368
562
  optional MLLayerNormalizationOptions options = {});
369
563
  };
370
564
 
565
+ partial dictionary MLOpSupportLimits {
566
+ MLNormalizationSupportLimits layerNormalization;
567
+ };
568
+
371
569
  dictionary MLLeakyReluOptions : MLOperatorOptions {
372
570
  double alpha = 0.01;
373
571
  };
@@ -376,6 +574,10 @@ partial interface MLGraphBuilder {
376
574
  MLOperand leakyRelu(MLOperand input, optional MLLeakyReluOptions options = {});
377
575
  };
378
576
 
577
+ partial dictionary MLOpSupportLimits {
578
+ MLSingleInputSupportLimits leakyRelu;
579
+ };
580
+
379
581
  dictionary MLLinearOptions : MLOperatorOptions {
380
582
  double alpha = 1;
381
583
  double beta = 0;
@@ -385,6 +587,10 @@ partial interface MLGraphBuilder {
385
587
  MLOperand linear(MLOperand input, optional MLLinearOptions options = {});
386
588
  };
387
589
 
590
+ partial dictionary MLOpSupportLimits {
591
+ MLSingleInputSupportLimits linear;
592
+ };
593
+
388
594
  enum MLLstmWeightLayout {
389
595
  "iofg", // input-output-forget-cell gate ordering
390
596
  "ifgo" // input-forget-cell-output gate ordering
@@ -411,6 +617,22 @@ partial interface MLGraphBuilder {
411
617
  optional MLLstmOptions options = {});
412
618
  };
413
619
 
620
+ dictionary MLLstmSupportLimits {
621
+ MLSupportLimits input;
622
+ MLSupportLimits weight;
623
+ MLSupportLimits recurrentWeight;
624
+ MLSupportLimits bias;
625
+ MLSupportLimits recurrentBias;
626
+ MLSupportLimits peepholeWeight;
627
+ MLSupportLimits initialHiddenState;
628
+ MLSupportLimits initialCellState;
629
+ MLSupportLimits outputs;
630
+ };
631
+
632
+ partial dictionary MLOpSupportLimits {
633
+ MLLstmSupportLimits lstm;
634
+ };
635
+
414
636
  dictionary MLLstmCellOptions : MLOperatorOptions {
415
637
  MLOperand bias;
416
638
  MLOperand recurrentBias;
@@ -429,10 +651,30 @@ partial interface MLGraphBuilder {
429
651
  optional MLLstmCellOptions options = {});
430
652
  };
431
653
 
654
+ dictionary MLLstmCellSupportLimits {
655
+ MLSupportLimits input;
656
+ MLSupportLimits weight;
657
+ MLSupportLimits recurrentWeight;
658
+ MLSupportLimits hiddenState;
659
+ MLSupportLimits cellState;
660
+ MLSupportLimits bias;
661
+ MLSupportLimits recurrentBias;
662
+ MLSupportLimits peepholeWeight;
663
+ MLSupportLimits outputs;
664
+ };
665
+
666
+ partial dictionary MLOpSupportLimits {
667
+ MLLstmCellSupportLimits lstmCell;
668
+ };
669
+
432
670
  partial interface MLGraphBuilder {
433
671
  MLOperand matmul(MLOperand a, MLOperand b, optional MLOperatorOptions options = {});
434
672
  };
435
673
 
674
+ partial dictionary MLOpSupportLimits {
675
+ MLBinarySupportLimits matmul;
676
+ };
677
+
436
678
  enum MLPaddingMode {
437
679
  "constant",
438
680
  "edge",
@@ -452,6 +694,10 @@ partial interface MLGraphBuilder {
452
694
  optional MLPadOptions options = {});
453
695
  };
454
696
 
697
+ partial dictionary MLOpSupportLimits {
698
+ MLSingleInputSupportLimits pad;
699
+ };
700
+
455
701
  enum MLRoundingType {
456
702
  "floor",
457
703
  "ceil"
@@ -473,12 +719,28 @@ partial interface MLGraphBuilder {
473
719
  MLOperand maxPool2d(MLOperand input, optional MLPool2dOptions options = {});
474
720
  };
475
721
 
722
+ partial dictionary MLOpSupportLimits {
723
+ MLSingleInputSupportLimits averagePool2d;
724
+ MLSingleInputSupportLimits l2Pool2d;
725
+ MLSingleInputSupportLimits maxPool2d;
726
+ };
727
+
476
728
  partial interface MLGraphBuilder {
477
729
  MLOperand prelu(MLOperand input,
478
730
  MLOperand slope,
479
731
  optional MLOperatorOptions options = {});
480
732
  };
481
733
 
734
+ dictionary MLPreluSupportLimits {
735
+ MLSupportLimits input;
736
+ MLSupportLimits slope;
737
+ MLSupportLimits output;
738
+ };
739
+
740
+ partial dictionary MLOpSupportLimits {
741
+ MLPreluSupportLimits prelu;
742
+ };
743
+
482
744
  dictionary MLReduceOptions : MLOperatorOptions {
483
745
  sequence<[EnforceRange] unsigned long> axes;
484
746
  boolean keepDimensions = false;
@@ -497,10 +759,27 @@ partial interface MLGraphBuilder {
497
759
  MLOperand reduceSumSquare(MLOperand input, optional MLReduceOptions options = {});
498
760
  };
499
761
 
762
+ partial dictionary MLOpSupportLimits {
763
+ MLSingleInputSupportLimits reduceL1;
764
+ MLSingleInputSupportLimits reduceL2;
765
+ MLSingleInputSupportLimits reduceLogSum;
766
+ MLSingleInputSupportLimits reduceLogSumExp;
767
+ MLSingleInputSupportLimits reduceMax;
768
+ MLSingleInputSupportLimits reduceMean;
769
+ MLSingleInputSupportLimits reduceMin;
770
+ MLSingleInputSupportLimits reduceProduct;
771
+ MLSingleInputSupportLimits reduceSum;
772
+ MLSingleInputSupportLimits reduceSumSquare;
773
+ };
774
+
500
775
  partial interface MLGraphBuilder {
501
776
  MLOperand relu(MLOperand input, optional MLOperatorOptions options = {});
502
777
  };
503
778
 
779
+ partial dictionary MLOpSupportLimits {
780
+ MLSingleInputSupportLimits relu;
781
+ };
782
+
504
783
  enum MLInterpolationMode {
505
784
  "nearest-neighbor",
506
785
  "linear"
@@ -517,16 +796,28 @@ partial interface MLGraphBuilder {
517
796
  MLOperand resample2d(MLOperand input, optional MLResample2dOptions options = {});
518
797
  };
519
798
 
799
+ partial dictionary MLOpSupportLimits {
800
+ MLSingleInputSupportLimits resample2d;
801
+ };
802
+
520
803
  partial interface MLGraphBuilder {
521
804
  MLOperand reshape(MLOperand input,
522
805
  sequence<[EnforceRange] unsigned long> newShape,
523
806
  optional MLOperatorOptions options = {});
524
807
  };
525
808
 
809
+ partial dictionary MLOpSupportLimits {
810
+ MLSingleInputSupportLimits reshape;
811
+ };
812
+
526
813
  partial interface MLGraphBuilder {
527
814
  MLOperand sigmoid(MLOperand input, optional MLOperatorOptions options = {});
528
815
  };
529
816
 
817
+ partial dictionary MLOpSupportLimits {
818
+ MLSingleInputSupportLimits sigmoid;
819
+ };
820
+
530
821
  partial interface MLGraphBuilder {
531
822
  MLOperand slice(MLOperand input,
532
823
  sequence<[EnforceRange] unsigned long> starts,
@@ -534,20 +825,36 @@ partial interface MLGraphBuilder {
534
825
  optional MLOperatorOptions options = {});
535
826
  };
536
827
 
828
+ partial dictionary MLOpSupportLimits {
829
+ MLSingleInputSupportLimits slice;
830
+ };
831
+
537
832
  partial interface MLGraphBuilder {
538
833
  MLOperand softmax(MLOperand input,
539
834
  [EnforceRange] unsigned long axis,
540
835
  optional MLOperatorOptions options = {});
541
836
  };
542
837
 
838
+ partial dictionary MLOpSupportLimits {
839
+ MLSingleInputSupportLimits softmax;
840
+ };
841
+
543
842
  partial interface MLGraphBuilder {
544
843
  MLOperand softplus(MLOperand input, optional MLOperatorOptions options = {});
545
844
  };
546
845
 
846
+ partial dictionary MLOpSupportLimits {
847
+ MLSingleInputSupportLimits softplus;
848
+ };
849
+
547
850
  partial interface MLGraphBuilder {
548
851
  MLOperand softsign(MLOperand input, optional MLOperatorOptions options = {});
549
852
  };
550
853
 
854
+ partial dictionary MLOpSupportLimits {
855
+ MLSingleInputSupportLimits softsign;
856
+ };
857
+
551
858
  dictionary MLSplitOptions : MLOperatorOptions {
552
859
  [EnforceRange] unsigned long axis = 0;
553
860
  };
@@ -559,10 +866,23 @@ partial interface MLGraphBuilder {
559
866
  optional MLSplitOptions options = {});
560
867
  };
561
868
 
869
+ dictionary MLSplitSupportLimits {
870
+ MLSupportLimits input;
871
+ MLSupportLimits outputs;
872
+ };
873
+
874
+ partial dictionary MLOpSupportLimits {
875
+ MLSingleInputSupportLimits split;
876
+ };
877
+
562
878
  partial interface MLGraphBuilder {
563
879
  MLOperand tanh(MLOperand input, optional MLOperatorOptions options = {});
564
880
  };
565
881
 
882
+ partial dictionary MLOpSupportLimits {
883
+ MLSingleInputSupportLimits tanh;
884
+ };
885
+
566
886
  dictionary MLTransposeOptions : MLOperatorOptions {
567
887
  sequence<[EnforceRange] unsigned long> permutation;
568
888
  };
@@ -571,6 +891,10 @@ partial interface MLGraphBuilder {
571
891
  MLOperand transpose(MLOperand input, optional MLTransposeOptions options = {});
572
892
  };
573
893
 
894
+ partial dictionary MLOpSupportLimits {
895
+ MLSingleInputSupportLimits transpose;
896
+ };
897
+
574
898
  dictionary MLTriangularOptions : MLOperatorOptions {
575
899
  boolean upper = true;
576
900
  [EnforceRange] long diagonal = 0;
@@ -580,9 +904,24 @@ partial interface MLGraphBuilder {
580
904
  MLOperand triangular(MLOperand input, optional MLTriangularOptions options = {});
581
905
  };
582
906
 
907
+ partial dictionary MLOpSupportLimits {
908
+ MLSingleInputSupportLimits triangular;
909
+ };
910
+
583
911
  partial interface MLGraphBuilder {
584
912
  MLOperand where(MLOperand condition,
585
913
  MLOperand trueValue,
586
914
  MLOperand falseValue,
587
915
  optional MLOperatorOptions options = {});
588
916
  };
917
+
918
+ dictionary MLWhereSupportLimits {
919
+ MLSupportLimits condition;
920
+ MLSupportLimits trueValue;
921
+ MLSupportLimits falseValue;
922
+ MLSupportLimits output;
923
+ };
924
+
925
+ partial dictionary MLOpSupportLimits {
926
+ MLWhereSupportLimits where;
927
+ };
package/webrtc.idl CHANGED
@@ -317,6 +317,7 @@ dictionary RTCRtpCodingParameters {
317
317
 
318
318
  dictionary RTCRtpEncodingParameters : RTCRtpCodingParameters {
319
319
  boolean active = true;
320
+ RTCRtpCodec codec;
320
321
  unsigned long maxBitrate;
321
322
  double maxFramerate;
322
323
  double scaleResolutionDownBy;
package/webxr.idl CHANGED
@@ -178,7 +178,7 @@ interface XRInputSource {
178
178
  [SameObject] readonly attribute XRSpace targetRaySpace;
179
179
  [SameObject] readonly attribute XRSpace? gripSpace;
180
180
  [SameObject] readonly attribute FrozenArray<DOMString> profiles;
181
- [SameObject] readonly attribute boolean skipRendering;
181
+ readonly attribute boolean skipRendering;
182
182
  };
183
183
 
184
184
  [SecureContext, Exposed=Window]