@webref/idl 3.51.0 → 3.52.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/css-anchor-position.idl +2 -2
- package/css-conditional.idl +2 -0
- package/css-font-loading.idl +0 -2
- package/css-mixins.idl +7 -0
- package/css-view-transitions-2.idl +0 -4
- package/html.idl +0 -2
- package/mediasession.idl +2 -1
- package/package.json +1 -1
- package/shared-storage.idl +7 -1
- package/turtledove.idl +2 -0
- package/webaudio.idl +1 -0
- package/webauthn.idl +2 -1
- package/webcodecs.idl +1 -1
- package/webnn.idl +16 -23
- package/webtransport.idl +20 -20
- package/css-viewport.idl +0 -13
package/css-anchor-position.idl
CHANGED
|
@@ -79,6 +79,6 @@ interface CSSPositionTryDescriptors : CSSStyleDeclaration {
|
|
|
79
79
|
attribute CSSOMString justify-self;
|
|
80
80
|
attribute CSSOMString positionAnchor;
|
|
81
81
|
attribute CSSOMString position-anchor;
|
|
82
|
-
attribute CSSOMString
|
|
83
|
-
attribute CSSOMString
|
|
82
|
+
attribute CSSOMString positionArea;
|
|
83
|
+
attribute CSSOMString position-area;
|
|
84
84
|
};
|
package/css-conditional.idl
CHANGED
|
@@ -15,10 +15,12 @@ interface CSSConditionRule : CSSGroupingRule {
|
|
|
15
15
|
[Exposed=Window]
|
|
16
16
|
interface CSSMediaRule : CSSConditionRule {
|
|
17
17
|
[SameObject, PutForwards=mediaText] readonly attribute MediaList media;
|
|
18
|
+
readonly attribute boolean matches;
|
|
18
19
|
};
|
|
19
20
|
|
|
20
21
|
[Exposed=Window]
|
|
21
22
|
interface CSSSupportsRule : CSSConditionRule {
|
|
23
|
+
readonly attribute boolean matches;
|
|
22
24
|
};
|
|
23
25
|
|
|
24
26
|
partial namespace CSS {
|
package/css-font-loading.idl
CHANGED
|
@@ -97,8 +97,6 @@ enum FontFaceSetLoadStatus { "loading", "loaded" };
|
|
|
97
97
|
|
|
98
98
|
[Exposed=(Window,Worker)]
|
|
99
99
|
interface FontFaceSet : EventTarget {
|
|
100
|
-
constructor(sequence<FontFace> initialFaces);
|
|
101
|
-
|
|
102
100
|
setlike<FontFace>;
|
|
103
101
|
FontFaceSet add(FontFace font);
|
|
104
102
|
boolean delete(FontFace font);
|
package/css-mixins.idl
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: CSS Functions and Mixins Module (https://drafts.csswg.org/css-mixins-1/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface CSSFunctionRule : CSSGroupingRule { };
|
|
@@ -3,10 +3,6 @@
|
|
|
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
|
-
partial interface CSSRule {
|
|
7
|
-
const unsigned short VIEW_TRANSITION_RULE = 15;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
6
|
enum ViewTransitionNavigation { "auto", "none" };
|
|
11
7
|
|
|
12
8
|
[Exposed=Window]
|
package/html.idl
CHANGED
|
@@ -1411,8 +1411,6 @@ interface mixin CanvasDrawPath {
|
|
|
1411
1411
|
interface mixin CanvasUserInterface {
|
|
1412
1412
|
undefined drawFocusIfNeeded(Element element);
|
|
1413
1413
|
undefined drawFocusIfNeeded(Path2D path, Element element);
|
|
1414
|
-
undefined scrollPathIntoView();
|
|
1415
|
-
undefined scrollPathIntoView(Path2D path);
|
|
1416
1414
|
};
|
|
1417
1415
|
|
|
1418
1416
|
interface mixin CanvasText {
|
package/mediasession.idl
CHANGED
package/package.json
CHANGED
package/shared-storage.idl
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
typedef (USVString or FencedFrameConfig) SharedStorageResponse;
|
|
7
7
|
|
|
8
|
+
enum SharedStorageDataOrigin { "context-origin", "script-origin" };
|
|
9
|
+
|
|
8
10
|
[Exposed=(Window)]
|
|
9
11
|
interface SharedStorageWorklet : Worklet {
|
|
10
12
|
Promise<SharedStorageResponse> selectURL(DOMString name,
|
|
@@ -52,7 +54,7 @@ interface WindowSharedStorage : SharedStorage {
|
|
|
52
54
|
Promise<any> run(DOMString name,
|
|
53
55
|
optional SharedStorageRunOperationMethodOptions options = {});
|
|
54
56
|
|
|
55
|
-
Promise<SharedStorageWorklet> createWorklet(USVString moduleURL, optional
|
|
57
|
+
Promise<SharedStorageWorklet> createWorklet(USVString moduleURL, optional SharedStorageWorkletOptions options = {});
|
|
56
58
|
|
|
57
59
|
readonly attribute SharedStorageWorklet worklet;
|
|
58
60
|
};
|
|
@@ -63,6 +65,10 @@ dictionary SharedStorageRunOperationMethodOptions {
|
|
|
63
65
|
boolean keepAlive = false;
|
|
64
66
|
};
|
|
65
67
|
|
|
68
|
+
dictionary SharedStorageWorkletOptions : WorkletOptions {
|
|
69
|
+
SharedStorageDataOrigin dataOrigin = "context-origin";
|
|
70
|
+
};
|
|
71
|
+
|
|
66
72
|
partial interface Window {
|
|
67
73
|
[SecureContext] readonly attribute WindowSharedStorage? sharedStorage;
|
|
68
74
|
};
|
package/turtledove.idl
CHANGED
|
@@ -215,6 +215,7 @@ dictionary BiddingBrowserSignals {
|
|
|
215
215
|
sequence<PreviousWin> prevWinsMs;
|
|
216
216
|
object wasmHelper;
|
|
217
217
|
unsigned long dataVersion;
|
|
218
|
+
unsigned long crossOriginDataVersion;
|
|
218
219
|
boolean forDebuggingOnlyInCooldownOrLockout = false;
|
|
219
220
|
};
|
|
220
221
|
|
|
@@ -227,6 +228,7 @@ dictionary ScoringBrowserSignals {
|
|
|
227
228
|
|
|
228
229
|
record<DOMString, DOMString> renderSize;
|
|
229
230
|
unsigned long dataVersion;
|
|
231
|
+
unsigned long crossOriginDataVersion;
|
|
230
232
|
sequence<USVString> adComponents;
|
|
231
233
|
boolean forDebuggingOnlyInCooldownOrLockout = false;
|
|
232
234
|
};
|
package/webaudio.idl
CHANGED
|
@@ -82,6 +82,7 @@ interface AudioContext : BaseAudioContext {
|
|
|
82
82
|
[SecureContext] readonly attribute (DOMString or AudioSinkInfo) sinkId;
|
|
83
83
|
[SecureContext] readonly attribute AudioRenderCapacity renderCapacity;
|
|
84
84
|
attribute EventHandler onsinkchange;
|
|
85
|
+
attribute EventHandler onerror;
|
|
85
86
|
AudioTimestamp getOutputTimestamp ();
|
|
86
87
|
Promise<undefined> resume ();
|
|
87
88
|
Promise<undefined> suspend ();
|
package/webauthn.idl
CHANGED
|
@@ -38,7 +38,7 @@ dictionary AuthenticatorAttestationResponseJSON {
|
|
|
38
38
|
// algorithm then the public key must be parsed directly from
|
|
39
39
|
// attestationObject or authenticatorData.
|
|
40
40
|
Base64URLString publicKey;
|
|
41
|
-
required
|
|
41
|
+
required COSEAlgorithmIdentifier publicKeyAlgorithm;
|
|
42
42
|
// This value contains copies of some of the fields above. See
|
|
43
43
|
// section “Easily accessing credential data”.
|
|
44
44
|
required Base64URLString attestationObject;
|
|
@@ -272,6 +272,7 @@ enum ClientCapability {
|
|
|
272
272
|
"hybridTransport",
|
|
273
273
|
"passkeyPlatformAuthenticator",
|
|
274
274
|
"userVerifyingPlatformAuthenticator",
|
|
275
|
+
"relatedOrigins"
|
|
275
276
|
};
|
|
276
277
|
|
|
277
278
|
enum PublicKeyCredentialHints {
|
package/webcodecs.idl
CHANGED
|
@@ -488,7 +488,7 @@ interface ImageDecoder {
|
|
|
488
488
|
static Promise<boolean> isTypeSupported(DOMString type);
|
|
489
489
|
};
|
|
490
490
|
|
|
491
|
-
typedef (
|
|
491
|
+
typedef (AllowSharedBufferSource or ReadableStream) ImageBufferSource;
|
|
492
492
|
dictionary ImageDecoderInit {
|
|
493
493
|
required DOMString type;
|
|
494
494
|
required ImageBufferSource data;
|
package/webnn.idl
CHANGED
|
@@ -77,9 +77,6 @@ interface MLOperand {
|
|
|
77
77
|
|
|
78
78
|
typedef (bigint or unrestricted double) MLNumber;
|
|
79
79
|
|
|
80
|
-
[SecureContext, Exposed=(Window, DedicatedWorker)]
|
|
81
|
-
interface MLActivation {};
|
|
82
|
-
|
|
83
80
|
typedef record<USVString, MLOperand> MLNamedOperands;
|
|
84
81
|
|
|
85
82
|
[SecureContext, Exposed=(Window, DedicatedWorker)]
|
|
@@ -101,14 +98,15 @@ interface MLGraphBuilder {
|
|
|
101
98
|
};
|
|
102
99
|
|
|
103
100
|
dictionary MLArgMinMaxOptions {
|
|
104
|
-
sequence<[EnforceRange] unsigned long> axes;
|
|
105
101
|
boolean keepDimensions = false;
|
|
106
|
-
|
|
102
|
+
MLOperandDataType outputDataType = "int32";
|
|
107
103
|
};
|
|
108
104
|
|
|
109
105
|
partial interface MLGraphBuilder {
|
|
110
|
-
MLOperand argMin(MLOperand input,
|
|
111
|
-
|
|
106
|
+
MLOperand argMin(MLOperand input, [EnforceRange] unsigned long axis,
|
|
107
|
+
optional MLArgMinMaxOptions options = {});
|
|
108
|
+
MLOperand argMax(MLOperand input, [EnforceRange] unsigned long axis,
|
|
109
|
+
optional MLArgMinMaxOptions options = {});
|
|
112
110
|
};
|
|
113
111
|
|
|
114
112
|
dictionary MLBatchNormalizationOptions {
|
|
@@ -227,7 +225,6 @@ dictionary MLEluOptions {
|
|
|
227
225
|
|
|
228
226
|
partial interface MLGraphBuilder {
|
|
229
227
|
MLOperand elu(MLOperand input, optional MLEluOptions options = {});
|
|
230
|
-
MLActivation elu(optional MLEluOptions options = {});
|
|
231
228
|
};
|
|
232
229
|
|
|
233
230
|
partial interface MLGraphBuilder {
|
|
@@ -246,7 +243,6 @@ partial interface MLGraphBuilder {
|
|
|
246
243
|
|
|
247
244
|
partial interface MLGraphBuilder {
|
|
248
245
|
MLOperand gelu(MLOperand input);
|
|
249
|
-
MLActivation gelu();
|
|
250
246
|
};
|
|
251
247
|
|
|
252
248
|
dictionary MLGemmOptions {
|
|
@@ -266,6 +262,12 @@ enum MLGruWeightLayout {
|
|
|
266
262
|
"rzn" // reset-update-new gate ordering
|
|
267
263
|
};
|
|
268
264
|
|
|
265
|
+
enum MLRecurrentNetworkActivation {
|
|
266
|
+
"relu",
|
|
267
|
+
"sigmoid",
|
|
268
|
+
"tanh"
|
|
269
|
+
};
|
|
270
|
+
|
|
269
271
|
enum MLRecurrentNetworkDirection {
|
|
270
272
|
"forward",
|
|
271
273
|
"backward",
|
|
@@ -280,7 +282,7 @@ dictionary MLGruOptions {
|
|
|
280
282
|
boolean returnSequence = false;
|
|
281
283
|
MLRecurrentNetworkDirection direction = "forward";
|
|
282
284
|
MLGruWeightLayout layout = "zrn";
|
|
283
|
-
sequence<
|
|
285
|
+
sequence<MLRecurrentNetworkActivation> activations;
|
|
284
286
|
};
|
|
285
287
|
|
|
286
288
|
partial interface MLGraphBuilder {
|
|
@@ -297,7 +299,7 @@ dictionary MLGruCellOptions {
|
|
|
297
299
|
MLOperand recurrentBias;
|
|
298
300
|
boolean resetAfter = true;
|
|
299
301
|
MLGruWeightLayout layout = "zrn";
|
|
300
|
-
sequence<
|
|
302
|
+
sequence<MLRecurrentNetworkActivation> activations;
|
|
301
303
|
};
|
|
302
304
|
|
|
303
305
|
partial interface MLGraphBuilder {
|
|
@@ -316,12 +318,10 @@ dictionary MLHardSigmoidOptions {
|
|
|
316
318
|
|
|
317
319
|
partial interface MLGraphBuilder {
|
|
318
320
|
MLOperand hardSigmoid(MLOperand input, optional MLHardSigmoidOptions options = {});
|
|
319
|
-
MLActivation hardSigmoid(optional MLHardSigmoidOptions options = {});
|
|
320
321
|
};
|
|
321
322
|
|
|
322
323
|
partial interface MLGraphBuilder {
|
|
323
324
|
MLOperand hardSwish(MLOperand input);
|
|
324
|
-
MLActivation hardSwish();
|
|
325
325
|
};
|
|
326
326
|
|
|
327
327
|
dictionary MLInstanceNormalizationOptions {
|
|
@@ -354,7 +354,6 @@ dictionary MLLeakyReluOptions {
|
|
|
354
354
|
|
|
355
355
|
partial interface MLGraphBuilder {
|
|
356
356
|
MLOperand leakyRelu(MLOperand input, optional MLLeakyReluOptions options = {});
|
|
357
|
-
MLActivation leakyRelu(optional MLLeakyReluOptions options = {});
|
|
358
357
|
};
|
|
359
358
|
|
|
360
359
|
dictionary MLLinearOptions {
|
|
@@ -364,7 +363,6 @@ dictionary MLLinearOptions {
|
|
|
364
363
|
|
|
365
364
|
partial interface MLGraphBuilder {
|
|
366
365
|
MLOperand linear(MLOperand input, optional MLLinearOptions options = {});
|
|
367
|
-
MLActivation linear(optional MLLinearOptions options = {});
|
|
368
366
|
};
|
|
369
367
|
|
|
370
368
|
enum MLLstmWeightLayout {
|
|
@@ -381,7 +379,7 @@ dictionary MLLstmOptions {
|
|
|
381
379
|
boolean returnSequence = false;
|
|
382
380
|
MLRecurrentNetworkDirection direction = "forward";
|
|
383
381
|
MLLstmWeightLayout layout = "iofg";
|
|
384
|
-
sequence<
|
|
382
|
+
sequence<MLRecurrentNetworkActivation> activations;
|
|
385
383
|
};
|
|
386
384
|
|
|
387
385
|
partial interface MLGraphBuilder {
|
|
@@ -398,7 +396,7 @@ dictionary MLLstmCellOptions {
|
|
|
398
396
|
MLOperand recurrentBias;
|
|
399
397
|
MLOperand peepholeWeight;
|
|
400
398
|
MLLstmWeightLayout layout = "iofg";
|
|
401
|
-
sequence<
|
|
399
|
+
sequence<MLRecurrentNetworkActivation> activations;
|
|
402
400
|
};
|
|
403
401
|
|
|
404
402
|
partial interface MLGraphBuilder {
|
|
@@ -479,7 +477,6 @@ partial interface MLGraphBuilder {
|
|
|
479
477
|
|
|
480
478
|
partial interface MLGraphBuilder {
|
|
481
479
|
MLOperand relu(MLOperand input);
|
|
482
|
-
MLActivation relu();
|
|
483
480
|
};
|
|
484
481
|
|
|
485
482
|
enum MLInterpolationMode {
|
|
@@ -504,7 +501,6 @@ partial interface MLGraphBuilder {
|
|
|
504
501
|
|
|
505
502
|
partial interface MLGraphBuilder {
|
|
506
503
|
MLOperand sigmoid(MLOperand input);
|
|
507
|
-
MLActivation sigmoid();
|
|
508
504
|
};
|
|
509
505
|
|
|
510
506
|
partial interface MLGraphBuilder {
|
|
@@ -519,12 +515,10 @@ partial interface MLGraphBuilder {
|
|
|
519
515
|
|
|
520
516
|
partial interface MLGraphBuilder {
|
|
521
517
|
MLOperand softplus(MLOperand input);
|
|
522
|
-
MLActivation softplus();
|
|
523
518
|
};
|
|
524
519
|
|
|
525
520
|
partial interface MLGraphBuilder {
|
|
526
521
|
MLOperand softsign(MLOperand input);
|
|
527
|
-
MLActivation softsign();
|
|
528
522
|
};
|
|
529
523
|
|
|
530
524
|
dictionary MLSplitOptions {
|
|
@@ -540,7 +534,6 @@ partial interface MLGraphBuilder {
|
|
|
540
534
|
|
|
541
535
|
partial interface MLGraphBuilder {
|
|
542
536
|
MLOperand tanh(MLOperand input);
|
|
543
|
-
MLActivation tanh();
|
|
544
537
|
};
|
|
545
538
|
|
|
546
539
|
dictionary MLTransposeOptions {
|
|
@@ -561,5 +554,5 @@ partial interface MLGraphBuilder {
|
|
|
561
554
|
};
|
|
562
555
|
|
|
563
556
|
partial interface MLGraphBuilder {
|
|
564
|
-
MLOperand where(MLOperand condition, MLOperand
|
|
557
|
+
MLOperand where(MLOperand condition, MLOperand trueValue, MLOperand falseValue);
|
|
565
558
|
};
|
package/webtransport.idl
CHANGED
|
@@ -84,24 +84,24 @@ dictionary WebTransportSendStreamOptions {
|
|
|
84
84
|
};
|
|
85
85
|
|
|
86
86
|
dictionary WebTransportConnectionStats {
|
|
87
|
-
unsigned long long bytesSent;
|
|
88
|
-
unsigned long long packetsSent;
|
|
89
|
-
unsigned long long bytesLost;
|
|
90
|
-
unsigned long long packetsLost;
|
|
91
|
-
unsigned long long bytesReceived;
|
|
92
|
-
unsigned long long packetsReceived;
|
|
93
|
-
DOMHighResTimeStamp smoothedRtt;
|
|
94
|
-
DOMHighResTimeStamp rttVariation;
|
|
95
|
-
DOMHighResTimeStamp minRtt;
|
|
96
|
-
WebTransportDatagramStats datagrams;
|
|
97
|
-
unsigned long long? estimatedSendRate;
|
|
87
|
+
unsigned long long bytesSent = 0;
|
|
88
|
+
unsigned long long packetsSent = 0;
|
|
89
|
+
unsigned long long bytesLost = 0;
|
|
90
|
+
unsigned long long packetsLost = 0;
|
|
91
|
+
unsigned long long bytesReceived = 0;
|
|
92
|
+
unsigned long long packetsReceived = 0;
|
|
93
|
+
required DOMHighResTimeStamp smoothedRtt;
|
|
94
|
+
required DOMHighResTimeStamp rttVariation;
|
|
95
|
+
required DOMHighResTimeStamp minRtt;
|
|
96
|
+
required WebTransportDatagramStats datagrams;
|
|
97
|
+
required unsigned long long? estimatedSendRate;
|
|
98
98
|
};
|
|
99
99
|
|
|
100
100
|
dictionary WebTransportDatagramStats {
|
|
101
|
-
unsigned long long droppedIncoming;
|
|
102
|
-
unsigned long long expiredIncoming;
|
|
103
|
-
unsigned long long expiredOutgoing;
|
|
104
|
-
unsigned long long lostOutgoing;
|
|
101
|
+
unsigned long long droppedIncoming = 0;
|
|
102
|
+
unsigned long long expiredIncoming = 0;
|
|
103
|
+
unsigned long long expiredOutgoing = 0;
|
|
104
|
+
unsigned long long lostOutgoing = 0;
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
[Exposed=(Window,Worker), SecureContext, Transferable]
|
|
@@ -113,9 +113,9 @@ interface WebTransportSendStream : WritableStream {
|
|
|
113
113
|
};
|
|
114
114
|
|
|
115
115
|
dictionary WebTransportSendStreamStats {
|
|
116
|
-
unsigned long long bytesWritten;
|
|
117
|
-
unsigned long long bytesSent;
|
|
118
|
-
unsigned long long bytesAcknowledged;
|
|
116
|
+
unsigned long long bytesWritten = 0;
|
|
117
|
+
unsigned long long bytesSent = 0;
|
|
118
|
+
unsigned long long bytesAcknowledged = 0;
|
|
119
119
|
};
|
|
120
120
|
|
|
121
121
|
[Exposed=(Window,Worker), SecureContext]
|
|
@@ -129,8 +129,8 @@ interface WebTransportReceiveStream : ReadableStream {
|
|
|
129
129
|
};
|
|
130
130
|
|
|
131
131
|
dictionary WebTransportReceiveStreamStats {
|
|
132
|
-
unsigned long long bytesReceived;
|
|
133
|
-
unsigned long long bytesRead;
|
|
132
|
+
unsigned long long bytesReceived = 0;
|
|
133
|
+
unsigned long long bytesRead = 0;
|
|
134
134
|
};
|
|
135
135
|
|
|
136
136
|
[Exposed=(Window,Worker), SecureContext]
|
package/css-viewport.idl
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
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 : EventTarget {
|
|
12
|
-
readonly attribute double zoom;
|
|
13
|
-
};
|