@webref/idl 3.38.1 → 3.38.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-typed-om.idl +7 -2
- package/element-capture.idl +6 -1
- package/fenced-frame.idl +1 -1
- package/html.idl +12 -12
- package/package.json +1 -1
- package/screen-capture.idl +6 -0
- package/webauthn.idl +10 -0
- package/webnn.idl +24 -23
package/css-typed-om.idl
CHANGED
|
@@ -184,12 +184,17 @@ partial namespace CSS {
|
|
|
184
184
|
CSSUnitValue percent(double value);
|
|
185
185
|
|
|
186
186
|
// <length>
|
|
187
|
+
CSSUnitValue cap(double value);
|
|
188
|
+
CSSUnitValue ch(double value);
|
|
187
189
|
CSSUnitValue em(double value);
|
|
188
190
|
CSSUnitValue ex(double value);
|
|
189
|
-
CSSUnitValue ch(double value);
|
|
190
191
|
CSSUnitValue ic(double value);
|
|
191
|
-
CSSUnitValue rem(double value);
|
|
192
192
|
CSSUnitValue lh(double value);
|
|
193
|
+
CSSUnitValue rcap(double value);
|
|
194
|
+
CSSUnitValue rch(double value);
|
|
195
|
+
CSSUnitValue rem(double value);
|
|
196
|
+
CSSUnitValue rex(double value);
|
|
197
|
+
CSSUnitValue ric(double value);
|
|
193
198
|
CSSUnitValue rlh(double value);
|
|
194
199
|
CSSUnitValue vw(double value);
|
|
195
200
|
CSSUnitValue vh(double value);
|
package/element-capture.idl
CHANGED
|
@@ -3,7 +3,12 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Element Capture (https://screen-share.github.io/element-capture/)
|
|
5
5
|
|
|
6
|
+
[Exposed=(Window,Worker), Serializable]
|
|
7
|
+
interface RestrictionTarget {
|
|
8
|
+
[Exposed=Window, SecureContext] static Promise<RestrictionTarget> fromElement(Element element);
|
|
9
|
+
};
|
|
10
|
+
|
|
6
11
|
[Exposed = Window]
|
|
7
12
|
partial interface BrowserCaptureMediaStreamTrack {
|
|
8
|
-
Promise<undefined> restrictTo(
|
|
13
|
+
Promise<undefined> restrictTo(RestrictionTarget? RestrictionTarget);
|
|
9
14
|
};
|
package/fenced-frame.idl
CHANGED
|
@@ -18,7 +18,7 @@ enum OpaqueProperty {"opaque"};
|
|
|
18
18
|
typedef (unsigned long or OpaqueProperty) FencedFrameConfigSize;
|
|
19
19
|
typedef USVString FencedFrameConfigURL;
|
|
20
20
|
|
|
21
|
-
[Exposed=Window]
|
|
21
|
+
[Exposed=Window, Serializable]
|
|
22
22
|
interface FencedFrameConfig {
|
|
23
23
|
readonly attribute FencedFrameConfigSize? containerWidth;
|
|
24
24
|
readonly attribute FencedFrameConfigSize? containerHeight;
|
package/html.idl
CHANGED
|
@@ -1662,6 +1662,18 @@ partial interface Navigator {
|
|
|
1662
1662
|
[SameObject] readonly attribute UserActivation userActivation;
|
|
1663
1663
|
};
|
|
1664
1664
|
|
|
1665
|
+
[Exposed=Window]
|
|
1666
|
+
interface ToggleEvent : Event {
|
|
1667
|
+
constructor(DOMString type, optional ToggleEventInit eventInitDict = {});
|
|
1668
|
+
readonly attribute DOMString oldState;
|
|
1669
|
+
readonly attribute DOMString newState;
|
|
1670
|
+
};
|
|
1671
|
+
|
|
1672
|
+
dictionary ToggleEventInit : EventInit {
|
|
1673
|
+
DOMString oldState = "";
|
|
1674
|
+
DOMString newState = "";
|
|
1675
|
+
};
|
|
1676
|
+
|
|
1665
1677
|
dictionary FocusOptions {
|
|
1666
1678
|
boolean preventScroll = false;
|
|
1667
1679
|
boolean focusVisible;
|
|
@@ -1729,18 +1741,6 @@ interface mixin PopoverInvokerElement {
|
|
|
1729
1741
|
[CEReactions] attribute DOMString popoverTargetAction;
|
|
1730
1742
|
};
|
|
1731
1743
|
|
|
1732
|
-
[Exposed=Window]
|
|
1733
|
-
interface ToggleEvent : Event {
|
|
1734
|
-
constructor(DOMString type, optional ToggleEventInit eventInitDict = {});
|
|
1735
|
-
readonly attribute DOMString oldState;
|
|
1736
|
-
readonly attribute DOMString newState;
|
|
1737
|
-
};
|
|
1738
|
-
|
|
1739
|
-
dictionary ToggleEventInit : EventInit {
|
|
1740
|
-
DOMString oldState = "";
|
|
1741
|
-
DOMString newState = "";
|
|
1742
|
-
};
|
|
1743
|
-
|
|
1744
1744
|
[Global=Window,
|
|
1745
1745
|
Exposed=Window,
|
|
1746
1746
|
LegacyUnenumerableNamedProperties]
|
package/package.json
CHANGED
package/screen-capture.idl
CHANGED
|
@@ -34,6 +34,11 @@ enum SurfaceSwitchingPreferenceEnum {
|
|
|
34
34
|
"exclude"
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
+
enum MonitorTypeSurfacesEnum {
|
|
38
|
+
"include",
|
|
39
|
+
"exclude"
|
|
40
|
+
};
|
|
41
|
+
|
|
37
42
|
dictionary DisplayMediaStreamOptions {
|
|
38
43
|
(boolean or MediaTrackConstraints) video = true;
|
|
39
44
|
(boolean or MediaTrackConstraints) audio = false;
|
|
@@ -41,6 +46,7 @@ dictionary DisplayMediaStreamOptions {
|
|
|
41
46
|
SelfCapturePreferenceEnum selfBrowserSurface;
|
|
42
47
|
SystemAudioPreferenceEnum systemAudio;
|
|
43
48
|
SurfaceSwitchingPreferenceEnum surfaceSwitching;
|
|
49
|
+
MonitorTypeSurfacesEnum monitorTypeSurfaces;
|
|
44
50
|
};
|
|
45
51
|
|
|
46
52
|
partial dictionary MediaTrackSupportedConstraints {
|
package/webauthn.idl
CHANGED
|
@@ -90,6 +90,7 @@ dictionary PublicKeyCredentialCreationOptionsJSON {
|
|
|
90
90
|
unsigned long timeout;
|
|
91
91
|
sequence<PublicKeyCredentialDescriptorJSON> excludeCredentials = [];
|
|
92
92
|
AuthenticatorSelectionCriteria authenticatorSelection;
|
|
93
|
+
sequence<DOMString> hints = [];
|
|
93
94
|
DOMString attestation = "none";
|
|
94
95
|
sequence<DOMString> attestationFormats = [];
|
|
95
96
|
AuthenticationExtensionsClientInputsJSON extensions;
|
|
@@ -120,6 +121,7 @@ dictionary PublicKeyCredentialRequestOptionsJSON {
|
|
|
120
121
|
DOMString rpId;
|
|
121
122
|
sequence<PublicKeyCredentialDescriptorJSON> allowCredentials = [];
|
|
122
123
|
DOMString userVerification = "preferred";
|
|
124
|
+
sequence<DOMString> hints = [];
|
|
123
125
|
DOMString attestation = "none";
|
|
124
126
|
sequence<DOMString> attestationFormats = [];
|
|
125
127
|
AuthenticationExtensionsClientInputsJSON extensions;
|
|
@@ -162,6 +164,7 @@ dictionary PublicKeyCredentialCreationOptions {
|
|
|
162
164
|
unsigned long timeout;
|
|
163
165
|
sequence<PublicKeyCredentialDescriptor> excludeCredentials = [];
|
|
164
166
|
AuthenticatorSelectionCriteria authenticatorSelection;
|
|
167
|
+
sequence<DOMString> hints = [];
|
|
165
168
|
DOMString attestation = "none";
|
|
166
169
|
sequence<DOMString> attestationFormats = [];
|
|
167
170
|
AuthenticationExtensionsClientInputs extensions;
|
|
@@ -211,6 +214,7 @@ dictionary PublicKeyCredentialRequestOptions {
|
|
|
211
214
|
USVString rpId;
|
|
212
215
|
sequence<PublicKeyCredentialDescriptor> allowCredentials = [];
|
|
213
216
|
DOMString userVerification = "preferred";
|
|
217
|
+
sequence<DOMString> hints = [];
|
|
214
218
|
DOMString attestation = "none";
|
|
215
219
|
sequence<DOMString> attestationFormats = [];
|
|
216
220
|
AuthenticationExtensionsClientInputs extensions;
|
|
@@ -264,6 +268,12 @@ enum UserVerificationRequirement {
|
|
|
264
268
|
"discouraged"
|
|
265
269
|
};
|
|
266
270
|
|
|
271
|
+
enum PublicKeyCredentialHints {
|
|
272
|
+
"security-key",
|
|
273
|
+
"client-device",
|
|
274
|
+
"hybrid",
|
|
275
|
+
};
|
|
276
|
+
|
|
267
277
|
partial dictionary AuthenticationExtensionsClientInputs {
|
|
268
278
|
USVString appid;
|
|
269
279
|
};
|
package/webnn.idl
CHANGED
|
@@ -65,7 +65,8 @@ dictionary MLOperandDescriptor {
|
|
|
65
65
|
interface MLOperand {};
|
|
66
66
|
|
|
67
67
|
[SecureContext, Exposed=(Window, DedicatedWorker)]
|
|
68
|
-
interface MLActivation {
|
|
68
|
+
interface MLActivation {
|
|
69
|
+
};
|
|
69
70
|
|
|
70
71
|
typedef record<DOMString, ArrayBufferView> MLNamedArrayBufferViews;
|
|
71
72
|
|
|
@@ -162,7 +163,7 @@ dictionary MLClampOptions {
|
|
|
162
163
|
};
|
|
163
164
|
|
|
164
165
|
partial interface MLGraphBuilder {
|
|
165
|
-
MLOperand clamp(MLOperand
|
|
166
|
+
MLOperand clamp(MLOperand operand, optional MLClampOptions options = {});
|
|
166
167
|
MLActivation clamp(optional MLClampOptions options = {});
|
|
167
168
|
};
|
|
168
169
|
|
|
@@ -235,15 +236,15 @@ partial interface MLGraphBuilder {
|
|
|
235
236
|
};
|
|
236
237
|
|
|
237
238
|
partial interface MLGraphBuilder {
|
|
238
|
-
MLOperand abs(MLOperand
|
|
239
|
-
MLOperand ceil(MLOperand
|
|
240
|
-
MLOperand cos(MLOperand
|
|
241
|
-
MLOperand exp(MLOperand
|
|
242
|
-
MLOperand floor(MLOperand
|
|
243
|
-
MLOperand log(MLOperand
|
|
244
|
-
MLOperand neg(MLOperand
|
|
245
|
-
MLOperand sin(MLOperand
|
|
246
|
-
MLOperand tan(MLOperand
|
|
239
|
+
MLOperand abs(MLOperand input);
|
|
240
|
+
MLOperand ceil(MLOperand input);
|
|
241
|
+
MLOperand cos(MLOperand input);
|
|
242
|
+
MLOperand exp(MLOperand input);
|
|
243
|
+
MLOperand floor(MLOperand input);
|
|
244
|
+
MLOperand log(MLOperand input);
|
|
245
|
+
MLOperand neg(MLOperand input);
|
|
246
|
+
MLOperand sin(MLOperand input);
|
|
247
|
+
MLOperand tan(MLOperand input);
|
|
247
248
|
};
|
|
248
249
|
|
|
249
250
|
dictionary MLEluOptions {
|
|
@@ -251,7 +252,7 @@ dictionary MLEluOptions {
|
|
|
251
252
|
};
|
|
252
253
|
|
|
253
254
|
partial interface MLGraphBuilder {
|
|
254
|
-
MLOperand elu(MLOperand
|
|
255
|
+
MLOperand elu(MLOperand input, optional MLEluOptions options = {});
|
|
255
256
|
MLActivation elu(optional MLEluOptions options = {});
|
|
256
257
|
};
|
|
257
258
|
|
|
@@ -315,12 +316,12 @@ dictionary MLHardSigmoidOptions {
|
|
|
315
316
|
};
|
|
316
317
|
|
|
317
318
|
partial interface MLGraphBuilder {
|
|
318
|
-
MLOperand hardSigmoid(MLOperand
|
|
319
|
+
MLOperand hardSigmoid(MLOperand input, optional MLHardSigmoidOptions options = {});
|
|
319
320
|
MLActivation hardSigmoid(optional MLHardSigmoidOptions options = {});
|
|
320
321
|
};
|
|
321
322
|
|
|
322
323
|
partial interface MLGraphBuilder {
|
|
323
|
-
MLOperand hardSwish(MLOperand
|
|
324
|
+
MLOperand hardSwish(MLOperand input);
|
|
324
325
|
MLActivation hardSwish();
|
|
325
326
|
};
|
|
326
327
|
|
|
@@ -341,7 +342,7 @@ dictionary MLLeakyReluOptions {
|
|
|
341
342
|
};
|
|
342
343
|
|
|
343
344
|
partial interface MLGraphBuilder {
|
|
344
|
-
MLOperand leakyRelu(MLOperand
|
|
345
|
+
MLOperand leakyRelu(MLOperand input, optional MLLeakyReluOptions options = {});
|
|
345
346
|
MLActivation leakyRelu(optional MLLeakyReluOptions options = {});
|
|
346
347
|
};
|
|
347
348
|
|
|
@@ -351,7 +352,7 @@ dictionary MLLinearOptions {
|
|
|
351
352
|
};
|
|
352
353
|
|
|
353
354
|
partial interface MLGraphBuilder {
|
|
354
|
-
MLOperand linear(MLOperand
|
|
355
|
+
MLOperand linear(MLOperand input, optional MLLinearOptions options = {});
|
|
355
356
|
MLActivation linear(optional MLLinearOptions options = {});
|
|
356
357
|
};
|
|
357
358
|
|
|
@@ -438,7 +439,7 @@ partial interface MLGraphBuilder {
|
|
|
438
439
|
};
|
|
439
440
|
|
|
440
441
|
partial interface MLGraphBuilder {
|
|
441
|
-
MLOperand prelu(MLOperand
|
|
442
|
+
MLOperand prelu(MLOperand input, MLOperand slope);
|
|
442
443
|
};
|
|
443
444
|
|
|
444
445
|
dictionary MLReduceOptions {
|
|
@@ -460,7 +461,7 @@ partial interface MLGraphBuilder {
|
|
|
460
461
|
};
|
|
461
462
|
|
|
462
463
|
partial interface MLGraphBuilder {
|
|
463
|
-
MLOperand relu(MLOperand
|
|
464
|
+
MLOperand relu(MLOperand input);
|
|
464
465
|
MLActivation relu();
|
|
465
466
|
};
|
|
466
467
|
|
|
@@ -485,7 +486,7 @@ partial interface MLGraphBuilder {
|
|
|
485
486
|
};
|
|
486
487
|
|
|
487
488
|
partial interface MLGraphBuilder {
|
|
488
|
-
MLOperand sigmoid(MLOperand
|
|
489
|
+
MLOperand sigmoid(MLOperand input);
|
|
489
490
|
MLActivation sigmoid();
|
|
490
491
|
};
|
|
491
492
|
|
|
@@ -494,7 +495,7 @@ partial interface MLGraphBuilder {
|
|
|
494
495
|
};
|
|
495
496
|
|
|
496
497
|
partial interface MLGraphBuilder {
|
|
497
|
-
MLOperand softmax(MLOperand
|
|
498
|
+
MLOperand softmax(MLOperand input);
|
|
498
499
|
MLActivation softmax();
|
|
499
500
|
};
|
|
500
501
|
|
|
@@ -503,12 +504,12 @@ dictionary MLSoftplusOptions {
|
|
|
503
504
|
};
|
|
504
505
|
|
|
505
506
|
partial interface MLGraphBuilder {
|
|
506
|
-
MLOperand softplus(MLOperand
|
|
507
|
+
MLOperand softplus(MLOperand input, optional MLSoftplusOptions options = {});
|
|
507
508
|
MLActivation softplus(optional MLSoftplusOptions options = {});
|
|
508
509
|
};
|
|
509
510
|
|
|
510
511
|
partial interface MLGraphBuilder {
|
|
511
|
-
MLOperand softsign(MLOperand
|
|
512
|
+
MLOperand softsign(MLOperand input);
|
|
512
513
|
MLActivation softsign();
|
|
513
514
|
};
|
|
514
515
|
|
|
@@ -531,7 +532,7 @@ partial interface MLGraphBuilder {
|
|
|
531
532
|
};
|
|
532
533
|
|
|
533
534
|
partial interface MLGraphBuilder {
|
|
534
|
-
MLOperand tanh(MLOperand
|
|
535
|
+
MLOperand tanh(MLOperand input);
|
|
535
536
|
MLActivation tanh();
|
|
536
537
|
};
|
|
537
538
|
|