@webref/idl 3.61.0 → 3.61.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.
- package/css-mixins.idl +11 -1
- package/dom.idl +2 -0
- package/fedcm.idl +3 -0
- package/package.json +1 -1
- package/webaudio.idl +2 -1
- package/webgpu.idl +6 -2
- package/webnn.idl +143 -2
- package/webtransport.idl +13 -2
- package/webxr.idl +2 -0
- package/xhr.idl +4 -4
package/css-mixins.idl
CHANGED
|
@@ -4,7 +4,17 @@
|
|
|
4
4
|
// Source: CSS Functions and Mixins Module (https://drafts.csswg.org/css-mixins-1/)
|
|
5
5
|
|
|
6
6
|
[Exposed=Window]
|
|
7
|
-
interface CSSFunctionRule : CSSGroupingRule {
|
|
7
|
+
interface CSSFunctionRule : CSSGroupingRule {
|
|
8
|
+
readonly attribute CSSOMString name;
|
|
9
|
+
sequence<FunctionParameter> getParameters();
|
|
10
|
+
readonly attribute CSSOMString returnType;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
dictionary FunctionParameter {
|
|
14
|
+
required CSSOMString name;
|
|
15
|
+
required CSSOMString type;
|
|
16
|
+
CSSOMString? defaultValue;
|
|
17
|
+
};
|
|
8
18
|
|
|
9
19
|
[Exposed=Window]
|
|
10
20
|
interface CSSFunctionDescriptors : CSSStyleDeclaration {
|
package/dom.idl
CHANGED
|
@@ -124,6 +124,8 @@ interface mixin ParentNode {
|
|
|
124
124
|
[CEReactions, Unscopable] undefined append((Node or DOMString)... nodes);
|
|
125
125
|
[CEReactions, Unscopable] undefined replaceChildren((Node or DOMString)... nodes);
|
|
126
126
|
|
|
127
|
+
[CEReactions] undefined moveBefore(Node node, Node? child);
|
|
128
|
+
|
|
127
129
|
Element? querySelector(DOMString selectors);
|
|
128
130
|
[NewObject] NodeList querySelectorAll(DOMString selectors);
|
|
129
131
|
};
|
package/fedcm.idl
CHANGED
|
@@ -12,6 +12,7 @@ interface IdentityCredential : Credential {
|
|
|
12
12
|
static Promise<undefined> disconnect(IdentityCredentialDisconnectOptions options);
|
|
13
13
|
readonly attribute USVString? token;
|
|
14
14
|
readonly attribute boolean isAutoSelected;
|
|
15
|
+
readonly attribute USVString configURL;
|
|
15
16
|
};
|
|
16
17
|
|
|
17
18
|
dictionary DisconnectedAccount {
|
|
@@ -78,6 +79,7 @@ dictionary IdentityProviderAPIConfig {
|
|
|
78
79
|
required USVString login_url;
|
|
79
80
|
USVString disconnect_endpoint;
|
|
80
81
|
IdentityProviderBranding branding;
|
|
82
|
+
USVString account_label;
|
|
81
83
|
};
|
|
82
84
|
|
|
83
85
|
dictionary IdentityProviderAccount {
|
|
@@ -89,6 +91,7 @@ dictionary IdentityProviderAccount {
|
|
|
89
91
|
sequence<USVString> approved_clients;
|
|
90
92
|
sequence<DOMString> login_hints;
|
|
91
93
|
sequence<DOMString> domain_hints;
|
|
94
|
+
sequence<DOMString> label_hints;
|
|
92
95
|
};
|
|
93
96
|
dictionary IdentityProviderAccountList {
|
|
94
97
|
sequence<IdentityProviderAccount> accounts;
|
package/package.json
CHANGED
package/webaudio.idl
CHANGED
package/webgpu.idl
CHANGED
|
@@ -64,6 +64,7 @@ interface GPUAdapterInfo {
|
|
|
64
64
|
readonly attribute DOMString description;
|
|
65
65
|
readonly attribute unsigned long subgroupMinSize;
|
|
66
66
|
readonly attribute unsigned long subgroupMaxSize;
|
|
67
|
+
readonly attribute boolean isFallbackAdapter;
|
|
67
68
|
};
|
|
68
69
|
|
|
69
70
|
interface mixin NavigatorGPU {
|
|
@@ -96,7 +97,6 @@ interface GPUAdapter {
|
|
|
96
97
|
[SameObject] readonly attribute GPUSupportedFeatures features;
|
|
97
98
|
[SameObject] readonly attribute GPUSupportedLimits limits;
|
|
98
99
|
[SameObject] readonly attribute GPUAdapterInfo info;
|
|
99
|
-
readonly attribute boolean isFallbackAdapter;
|
|
100
100
|
|
|
101
101
|
Promise<GPUDevice> requestDevice(optional GPUDeviceDescriptor descriptor = {});
|
|
102
102
|
};
|
|
@@ -936,12 +936,16 @@ interface GPUCommandEncoder {
|
|
|
936
936
|
GPURenderPassEncoder beginRenderPass(GPURenderPassDescriptor descriptor);
|
|
937
937
|
GPUComputePassEncoder beginComputePass(optional GPUComputePassDescriptor descriptor = {});
|
|
938
938
|
|
|
939
|
+
undefined copyBufferToBuffer(
|
|
940
|
+
GPUBuffer source,
|
|
941
|
+
GPUBuffer destination,
|
|
942
|
+
optional GPUSize64 size);
|
|
939
943
|
undefined copyBufferToBuffer(
|
|
940
944
|
GPUBuffer source,
|
|
941
945
|
GPUSize64 sourceOffset,
|
|
942
946
|
GPUBuffer destination,
|
|
943
947
|
GPUSize64 destinationOffset,
|
|
944
|
-
GPUSize64 size);
|
|
948
|
+
optional GPUSize64 size);
|
|
945
949
|
|
|
946
950
|
undefined copyBufferToTexture(
|
|
947
951
|
GPUTexelCopyBufferInfo source,
|
package/webnn.idl
CHANGED
|
@@ -286,6 +286,21 @@ partial dictionary MLOpSupportLimits {
|
|
|
286
286
|
MLConv2dSupportLimits convTranspose2d;
|
|
287
287
|
};
|
|
288
288
|
|
|
289
|
+
dictionary MLCumulativeSumOptions : MLOperatorOptions {
|
|
290
|
+
boolean exclusive = false;
|
|
291
|
+
boolean reversed = false;
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
partial interface MLGraphBuilder {
|
|
295
|
+
MLOperand cumulativeSum(MLOperand input,
|
|
296
|
+
unsigned long axis,
|
|
297
|
+
optional MLCumulativeSumOptions options = {});
|
|
298
|
+
};
|
|
299
|
+
|
|
300
|
+
partial dictionary MLOpSupportLimits {
|
|
301
|
+
MLSingleInputSupportLimits cumulativeSum;
|
|
302
|
+
};
|
|
303
|
+
|
|
289
304
|
partial interface MLGraphBuilder {
|
|
290
305
|
MLOperand add(MLOperand a, MLOperand b, optional MLOperatorOptions options = {});
|
|
291
306
|
MLOperand sub(MLOperand a, MLOperand b, optional MLOperatorOptions options = {});
|
|
@@ -310,6 +325,9 @@ partial interface MLGraphBuilder {
|
|
|
310
325
|
MLOperand equal(MLOperand a,
|
|
311
326
|
MLOperand b,
|
|
312
327
|
optional MLOperatorOptions options = {});
|
|
328
|
+
MLOperand notEqual(MLOperand a,
|
|
329
|
+
MLOperand b,
|
|
330
|
+
optional MLOperatorOptions options = {});
|
|
313
331
|
MLOperand greater(MLOperand a,
|
|
314
332
|
MLOperand b,
|
|
315
333
|
optional MLOperatorOptions options = {});
|
|
@@ -323,6 +341,15 @@ partial interface MLGraphBuilder {
|
|
|
323
341
|
MLOperand b,
|
|
324
342
|
optional MLOperatorOptions options = {});
|
|
325
343
|
MLOperand logicalNot(MLOperand a, optional MLOperatorOptions options = {});
|
|
344
|
+
MLOperand logicalAnd(MLOperand a,
|
|
345
|
+
MLOperand b,
|
|
346
|
+
optional MLOperatorOptions options = {});
|
|
347
|
+
MLOperand logicalOr(MLOperand a,
|
|
348
|
+
MLOperand b,
|
|
349
|
+
optional MLOperatorOptions options = {});
|
|
350
|
+
MLOperand logicalXor(MLOperand a,
|
|
351
|
+
MLOperand b,
|
|
352
|
+
optional MLOperatorOptions options = {});
|
|
326
353
|
};
|
|
327
354
|
|
|
328
355
|
dictionary MLLogicalNotSupportLimits {
|
|
@@ -332,11 +359,15 @@ dictionary MLLogicalNotSupportLimits {
|
|
|
332
359
|
|
|
333
360
|
partial dictionary MLOpSupportLimits {
|
|
334
361
|
MLBinarySupportLimits equal;
|
|
362
|
+
MLBinarySupportLimits notEqual;
|
|
335
363
|
MLBinarySupportLimits greater;
|
|
336
364
|
MLBinarySupportLimits greaterOrEqual;
|
|
337
365
|
MLBinarySupportLimits lesser;
|
|
338
366
|
MLBinarySupportLimits lesserOrEqual;
|
|
339
367
|
MLLogicalNotSupportLimits logicalNot;
|
|
368
|
+
MLBinarySupportLimits logicalAnd;
|
|
369
|
+
MLBinarySupportLimits logicalOr;
|
|
370
|
+
MLBinarySupportLimits logicalXor;
|
|
340
371
|
};
|
|
341
372
|
|
|
342
373
|
partial interface MLGraphBuilder {
|
|
@@ -351,6 +382,7 @@ partial interface MLGraphBuilder {
|
|
|
351
382
|
MLOperand neg(MLOperand input, optional MLOperatorOptions options = {});
|
|
352
383
|
MLOperand reciprocal(MLOperand input, optional MLOperatorOptions options = {});
|
|
353
384
|
MLOperand sin(MLOperand input, optional MLOperatorOptions options = {});
|
|
385
|
+
MLOperand sign(MLOperand input, optional MLOperatorOptions options = {});
|
|
354
386
|
MLOperand sqrt(MLOperand input, optional MLOperatorOptions options = {});
|
|
355
387
|
MLOperand tan(MLOperand input, optional MLOperatorOptions options = {});
|
|
356
388
|
};
|
|
@@ -367,10 +399,40 @@ partial dictionary MLOpSupportLimits {
|
|
|
367
399
|
MLSingleInputSupportLimits neg;
|
|
368
400
|
MLSingleInputSupportLimits reciprocal;
|
|
369
401
|
MLSingleInputSupportLimits sin;
|
|
402
|
+
MLSingleInputSupportLimits sign;
|
|
370
403
|
MLSingleInputSupportLimits sqrt;
|
|
371
404
|
MLSingleInputSupportLimits tan;
|
|
372
405
|
};
|
|
373
406
|
|
|
407
|
+
partial interface MLGraphBuilder {
|
|
408
|
+
MLOperand dequantizeLinear(MLOperand input,
|
|
409
|
+
MLOperand scale,
|
|
410
|
+
MLOperand zeroPoint,
|
|
411
|
+
optional MLOperatorOptions options = {});
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
dictionary MLQuantizationSupportLimits {
|
|
415
|
+
MLSupportLimits input;
|
|
416
|
+
MLSupportLimits scale;
|
|
417
|
+
MLSupportLimits zeroPoint;
|
|
418
|
+
MLSupportLimits output;
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
partial dictionary MLOpSupportLimits {
|
|
422
|
+
MLQuantizationSupportLimits dequantizeLinear;
|
|
423
|
+
};
|
|
424
|
+
|
|
425
|
+
partial interface MLGraphBuilder {
|
|
426
|
+
MLOperand quantizeLinear(MLOperand input,
|
|
427
|
+
MLOperand scale,
|
|
428
|
+
MLOperand zeroPoint,
|
|
429
|
+
optional MLOperatorOptions options = {});
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
partial dictionary MLOpSupportLimits {
|
|
433
|
+
MLQuantizationSupportLimits quantizeLinear;
|
|
434
|
+
};
|
|
435
|
+
|
|
374
436
|
dictionary MLEluOptions : MLOperatorOptions {
|
|
375
437
|
double alpha = 1;
|
|
376
438
|
};
|
|
@@ -413,6 +475,26 @@ partial dictionary MLOpSupportLimits {
|
|
|
413
475
|
MLGatherSupportLimits gather;
|
|
414
476
|
};
|
|
415
477
|
|
|
478
|
+
partial interface MLGraphBuilder {
|
|
479
|
+
MLOperand gatherElements(MLOperand input,
|
|
480
|
+
MLOperand indices,
|
|
481
|
+
optional MLGatherOptions options = {});
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
partial dictionary MLOpSupportLimits {
|
|
485
|
+
MLGatherSupportLimits gatherElements;
|
|
486
|
+
};
|
|
487
|
+
|
|
488
|
+
partial interface MLGraphBuilder {
|
|
489
|
+
MLOperand gatherND(MLOperand input,
|
|
490
|
+
MLOperand indices,
|
|
491
|
+
optional MLOperatorOptions options = {});
|
|
492
|
+
};
|
|
493
|
+
|
|
494
|
+
partial dictionary MLOpSupportLimits {
|
|
495
|
+
MLGatherSupportLimits gatherND;
|
|
496
|
+
};
|
|
497
|
+
|
|
416
498
|
partial interface MLGraphBuilder {
|
|
417
499
|
MLOperand gelu(MLOperand input, optional MLOperatorOptions options = {});
|
|
418
500
|
};
|
|
@@ -830,6 +912,51 @@ partial dictionary MLOpSupportLimits {
|
|
|
830
912
|
MLSingleInputSupportLimits reshape;
|
|
831
913
|
};
|
|
832
914
|
|
|
915
|
+
dictionary MLReverseOptions : MLOperatorOptions {
|
|
916
|
+
sequence<[EnforceRange] unsigned long> axes;
|
|
917
|
+
};
|
|
918
|
+
|
|
919
|
+
partial interface MLGraphBuilder {
|
|
920
|
+
MLOperand reverse(MLOperand input, optional MLReverseOptions options = {});
|
|
921
|
+
};
|
|
922
|
+
|
|
923
|
+
partial dictionary MLOpSupportLimits {
|
|
924
|
+
MLSingleInputSupportLimits reverse;
|
|
925
|
+
};
|
|
926
|
+
|
|
927
|
+
dictionary MLScatterOptions : MLOperatorOptions {
|
|
928
|
+
[EnforceRange] unsigned long axis = 0;
|
|
929
|
+
};
|
|
930
|
+
|
|
931
|
+
partial interface MLGraphBuilder {
|
|
932
|
+
MLOperand scatterElements(MLOperand input,
|
|
933
|
+
MLOperand indices,
|
|
934
|
+
MLOperand updates,
|
|
935
|
+
optional MLScatterOptions options = {});
|
|
936
|
+
};
|
|
937
|
+
|
|
938
|
+
dictionary MLScatterSupportLimits {
|
|
939
|
+
MLSupportLimits input;
|
|
940
|
+
MLSupportLimits indices;
|
|
941
|
+
MLSupportLimits updates;
|
|
942
|
+
MLSupportLimits output;
|
|
943
|
+
};
|
|
944
|
+
|
|
945
|
+
partial dictionary MLOpSupportLimits {
|
|
946
|
+
MLScatterSupportLimits scatterElements;
|
|
947
|
+
};
|
|
948
|
+
|
|
949
|
+
partial interface MLGraphBuilder {
|
|
950
|
+
MLOperand scatterND(MLOperand input,
|
|
951
|
+
MLOperand indices,
|
|
952
|
+
MLOperand updates,
|
|
953
|
+
optional MLOperatorOptions options = {});
|
|
954
|
+
};
|
|
955
|
+
|
|
956
|
+
partial dictionary MLOpSupportLimits {
|
|
957
|
+
MLScatterSupportLimits scatterND;
|
|
958
|
+
};
|
|
959
|
+
|
|
833
960
|
partial interface MLGraphBuilder {
|
|
834
961
|
MLOperand sigmoid(MLOperand input, optional MLOperatorOptions options = {});
|
|
835
962
|
};
|
|
@@ -838,14 +965,18 @@ partial dictionary MLOpSupportLimits {
|
|
|
838
965
|
MLSingleInputSupportLimits sigmoid;
|
|
839
966
|
};
|
|
840
967
|
|
|
968
|
+
dictionary MLSliceOptions : MLOperatorOptions {
|
|
969
|
+
sequence<[EnforceRange] unsigned long> strides;
|
|
970
|
+
};
|
|
971
|
+
|
|
841
972
|
partial interface MLGraphBuilder {
|
|
842
973
|
MLOperand slice(MLOperand input,
|
|
843
974
|
sequence<[EnforceRange] unsigned long> starts,
|
|
844
975
|
sequence<[EnforceRange] unsigned long> sizes,
|
|
845
|
-
optional
|
|
976
|
+
optional MLSliceOptions options = {});
|
|
846
977
|
};
|
|
847
978
|
|
|
848
|
-
partial
|
|
979
|
+
partial dictionary MLOpSupportLimits {
|
|
849
980
|
MLSingleInputSupportLimits slice;
|
|
850
981
|
};
|
|
851
982
|
|
|
@@ -903,6 +1034,16 @@ partial dictionary MLOpSupportLimits {
|
|
|
903
1034
|
MLSingleInputSupportLimits tanh;
|
|
904
1035
|
};
|
|
905
1036
|
|
|
1037
|
+
partial interface MLGraphBuilder {
|
|
1038
|
+
MLOperand tile(MLOperand input,
|
|
1039
|
+
sequence<unsigned long> repetitions,
|
|
1040
|
+
optional MLOperatorOptions options = {});
|
|
1041
|
+
};
|
|
1042
|
+
|
|
1043
|
+
partial dictionary MLOpSupportLimits {
|
|
1044
|
+
MLSingleInputSupportLimits tile;
|
|
1045
|
+
};
|
|
1046
|
+
|
|
906
1047
|
dictionary MLTransposeOptions : MLOperatorOptions {
|
|
907
1048
|
sequence<[EnforceRange] unsigned long> permutation;
|
|
908
1049
|
};
|
package/webtransport.idl
CHANGED
|
@@ -3,10 +3,18 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: WebTransport (https://w3c.github.io/webtransport/)
|
|
5
5
|
|
|
6
|
+
[Exposed=(Window,Worker), SecureContext, Transferable]
|
|
7
|
+
interface WebTransportDatagramsWritable : WritableStream {
|
|
8
|
+
attribute WebTransportSendGroup? sendGroup;
|
|
9
|
+
attribute long long sendOrder;
|
|
10
|
+
};
|
|
11
|
+
|
|
6
12
|
[Exposed=(Window,Worker), SecureContext]
|
|
7
13
|
interface WebTransportDatagramDuplexStream {
|
|
14
|
+
WebTransportDatagramsWritable createWritable(
|
|
15
|
+
optional WebTransportSendOptions options = {});
|
|
8
16
|
readonly attribute ReadableStream readable;
|
|
9
|
-
readonly attribute
|
|
17
|
+
readonly attribute WebTransportDatagramsWritable writable;
|
|
10
18
|
|
|
11
19
|
readonly attribute unsigned long maxDatagramSize;
|
|
12
20
|
attribute unrestricted double? incomingMaxAge;
|
|
@@ -79,9 +87,12 @@ dictionary WebTransportCloseInfo {
|
|
|
79
87
|
USVString reason = "";
|
|
80
88
|
};
|
|
81
89
|
|
|
82
|
-
dictionary
|
|
90
|
+
dictionary WebTransportSendOptions {
|
|
83
91
|
WebTransportSendGroup? sendGroup = null;
|
|
84
92
|
long long sendOrder = 0;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
dictionary WebTransportSendStreamOptions : WebTransportSendOptions {
|
|
85
96
|
boolean waitUntilAvailable = false;
|
|
86
97
|
};
|
|
87
98
|
|
package/webxr.idl
CHANGED
|
@@ -70,6 +70,7 @@ enum XRVisibilityState {
|
|
|
70
70
|
dictionary XRRenderStateInit {
|
|
71
71
|
double depthNear;
|
|
72
72
|
double depthFar;
|
|
73
|
+
boolean passthroughFullyObscured;
|
|
73
74
|
double inlineVerticalFieldOfView;
|
|
74
75
|
XRWebGLLayer? baseLayer;
|
|
75
76
|
sequence<XRLayer>? layers;
|
|
@@ -78,6 +79,7 @@ dictionary XRRenderStateInit {
|
|
|
78
79
|
[SecureContext, Exposed=Window] interface XRRenderState {
|
|
79
80
|
readonly attribute double depthNear;
|
|
80
81
|
readonly attribute double depthFar;
|
|
82
|
+
readonly attribute boolean? passthroughFullyObscured;
|
|
81
83
|
readonly attribute double? inlineVerticalFieldOfView;
|
|
82
84
|
readonly attribute XRWebGLLayer? baseLayer;
|
|
83
85
|
};
|
package/xhr.idl
CHANGED
|
@@ -88,12 +88,12 @@ interface ProgressEvent : Event {
|
|
|
88
88
|
constructor(DOMString type, optional ProgressEventInit eventInitDict = {});
|
|
89
89
|
|
|
90
90
|
readonly attribute boolean lengthComputable;
|
|
91
|
-
readonly attribute
|
|
92
|
-
readonly attribute
|
|
91
|
+
readonly attribute double loaded;
|
|
92
|
+
readonly attribute double total;
|
|
93
93
|
};
|
|
94
94
|
|
|
95
95
|
dictionary ProgressEventInit : EventInit {
|
|
96
96
|
boolean lengthComputable = false;
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
double loaded = 0;
|
|
98
|
+
double total = 0;
|
|
99
99
|
};
|