@webref/idl 3.42.4 → 3.43.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/FedCM.idl +1 -0
- package/css-scroll-snap-2.idl +33 -0
- package/cssom-view.idl +3 -0
- package/fenced-frame.idl +4 -0
- package/gamepad-extensions.idl +5 -33
- package/gamepad.idl +27 -0
- package/html.idl +1 -0
- package/longtasks.idl +11 -2
- package/mediasession.idl +1 -1
- package/package.json +1 -1
- package/paint-timing.idl +1 -1
- package/trust-token-api.idl +1 -1
- package/trusted-types.idl +6 -6
- package/webauthn.idl +12 -8
- package/webnn.idl +1 -1
package/FedCM.idl
CHANGED
|
@@ -26,6 +26,7 @@ dictionary IdentityCredentialDisconnectOptions : IdentityProviderConfig {
|
|
|
26
26
|
interface IdentityCredential : Credential {
|
|
27
27
|
static Promise<undefined> disconnect(optional IdentityCredentialDisconnectOptions options = {});
|
|
28
28
|
readonly attribute USVString? token;
|
|
29
|
+
readonly attribute boolean isAutoSelected;
|
|
29
30
|
};
|
|
30
31
|
|
|
31
32
|
dictionary DisconnectedAccount {
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: CSS Scroll Snap Module Level 2 (https://drafts.csswg.org/css-scroll-snap-2/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface SnapEvent : Event {
|
|
8
|
+
constructor(DOMString type, optional SnapEventInit eventInitDict = {});
|
|
9
|
+
readonly attribute EventTarget? target;
|
|
10
|
+
readonly attribute SnapTargetList snappedTargets;
|
|
11
|
+
readonly attribute SnapTargetList snapTargets;
|
|
12
|
+
readonly attribute boolean invokedProgrammatically;
|
|
13
|
+
readonly attribute boolean smoothlyScrolled;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
[Exposed=Window]
|
|
17
|
+
interface SnapTargetList {
|
|
18
|
+
readonly attribute SnapTargetArray x;
|
|
19
|
+
readonly attribute SnapTargetArray y;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
[Exposed=Window]
|
|
23
|
+
interface SnapTargetArray {
|
|
24
|
+
readonly attribute unsigned long length;
|
|
25
|
+
getter EventTarget? item (unsigned long index);
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
dictionary SnapEventInit : EventModifierInit {
|
|
29
|
+
sequence<EventTarget> snappedTargetsX = [];
|
|
30
|
+
sequence<EventTarget> snappedTargetsY = [];
|
|
31
|
+
sequence<EventTarget> snapTargetsListX = [];
|
|
32
|
+
sequence<EventTarget> snapTargetsListY = [];
|
|
33
|
+
};
|
package/cssom-view.idl
CHANGED
|
@@ -104,6 +104,9 @@ dictionary ScrollIntoViewOptions : ScrollOptions {
|
|
|
104
104
|
dictionary CheckVisibilityOptions {
|
|
105
105
|
boolean checkOpacity = false;
|
|
106
106
|
boolean checkVisibilityCSS = false;
|
|
107
|
+
boolean contentVisibilityAuto = false;
|
|
108
|
+
boolean opacityProperty = false;
|
|
109
|
+
boolean visibilityProperty = false;
|
|
107
110
|
};
|
|
108
111
|
|
|
109
112
|
partial interface Element {
|
package/fenced-frame.idl
CHANGED
|
@@ -52,7 +52,11 @@ dictionary FenceEvent {
|
|
|
52
52
|
DOMString eventType;
|
|
53
53
|
DOMString eventData;
|
|
54
54
|
sequence<FenceReportingDestination> destination;
|
|
55
|
+
|
|
56
|
+
// When setting event data to be used later in an automatic beacon, the
|
|
57
|
+
// following properties are used:
|
|
55
58
|
boolean once = false;
|
|
59
|
+
boolean crossOriginExposed = false;
|
|
56
60
|
|
|
57
61
|
// When reporting to a custom destination URL (with substitution of macros defined by
|
|
58
62
|
// the Protected Audience buyer), the following property is used:
|
package/gamepad-extensions.idl
CHANGED
|
@@ -9,38 +9,6 @@ enum GamepadHand {
|
|
|
9
9
|
"right"
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
-
[Exposed=Window]
|
|
13
|
-
interface GamepadHapticActuator {
|
|
14
|
-
readonly attribute GamepadHapticActuatorType type;
|
|
15
|
-
boolean canPlayEffectType(GamepadHapticEffectType type);
|
|
16
|
-
Promise<GamepadHapticsResult> playEffect(
|
|
17
|
-
GamepadHapticEffectType type,
|
|
18
|
-
optional GamepadEffectParameters params = {});
|
|
19
|
-
Promise<boolean> pulse(double value, double duration);
|
|
20
|
-
Promise<GamepadHapticsResult> reset();
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
enum GamepadHapticsResult {
|
|
24
|
-
"complete",
|
|
25
|
-
"preempted"
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
enum GamepadHapticActuatorType {
|
|
29
|
-
"vibration",
|
|
30
|
-
"dual-rumble"
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
enum GamepadHapticEffectType {
|
|
34
|
-
"dual-rumble"
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
dictionary GamepadEffectParameters {
|
|
38
|
-
double duration = 0.0;
|
|
39
|
-
double startDelay = 0.0;
|
|
40
|
-
double strongMagnitude = 0.0;
|
|
41
|
-
double weakMagnitude = 0.0;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
12
|
[Exposed=Window]
|
|
45
13
|
interface GamepadPose {
|
|
46
14
|
readonly attribute boolean hasOrientation;
|
|
@@ -67,5 +35,9 @@ partial interface Gamepad {
|
|
|
67
35
|
readonly attribute FrozenArray<GamepadHapticActuator> hapticActuators;
|
|
68
36
|
readonly attribute GamepadPose? pose;
|
|
69
37
|
readonly attribute FrozenArray<GamepadTouch>? touchEvents;
|
|
70
|
-
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
[Exposed=Window]
|
|
41
|
+
partial interface GamepadHapticActuator {
|
|
42
|
+
Promise<boolean> pulse(double value, double duration);
|
|
71
43
|
};
|
package/gamepad.idl
CHANGED
|
@@ -12,6 +12,7 @@ interface Gamepad {
|
|
|
12
12
|
readonly attribute GamepadMappingType mapping;
|
|
13
13
|
readonly attribute FrozenArray<double> axes;
|
|
14
14
|
readonly attribute FrozenArray<GamepadButton> buttons;
|
|
15
|
+
[SameObject] readonly attribute GamepadHapticActuator vibrationActuator;
|
|
15
16
|
};
|
|
16
17
|
|
|
17
18
|
[Exposed=Window, SecureContext]
|
|
@@ -27,6 +28,32 @@ enum GamepadMappingType {
|
|
|
27
28
|
"xr-standard",
|
|
28
29
|
};
|
|
29
30
|
|
|
31
|
+
[Exposed=Window]
|
|
32
|
+
interface GamepadHapticActuator {
|
|
33
|
+
[SameObject] readonly attribute FrozenArray<GamepadHapticEffectType> effects;
|
|
34
|
+
Promise<GamepadHapticsResult> playEffect(
|
|
35
|
+
GamepadHapticEffectType type,
|
|
36
|
+
optional GamepadEffectParameters params = {}
|
|
37
|
+
);
|
|
38
|
+
Promise<GamepadHapticsResult> reset();
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
enum GamepadHapticsResult {
|
|
42
|
+
"complete",
|
|
43
|
+
"preempted"
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
enum GamepadHapticEffectType {
|
|
47
|
+
"dual-rumble"
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
dictionary GamepadEffectParameters {
|
|
51
|
+
unsigned long long duration = 0;
|
|
52
|
+
unsigned long long startDelay = 0;
|
|
53
|
+
double strongMagnitude = 0.0;
|
|
54
|
+
double weakMagnitude = 0.0;
|
|
55
|
+
};
|
|
56
|
+
|
|
30
57
|
[Exposed=Window]
|
|
31
58
|
partial interface Navigator {
|
|
32
59
|
sequence<Gamepad?> getGamepads();
|
package/html.idl
CHANGED
package/longtasks.idl
CHANGED
|
@@ -46,7 +46,7 @@ interface PerformanceLongAnimationFrameTiming : PerformanceEntry {
|
|
|
46
46
|
[Default] object toJSON();
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
-
enum
|
|
49
|
+
enum ScriptInvokerType {
|
|
50
50
|
"classic-script",
|
|
51
51
|
"module-script",
|
|
52
52
|
"event-listener",
|
|
@@ -55,6 +55,10 @@ enum ScriptTimingType {
|
|
|
55
55
|
"reject-promise"
|
|
56
56
|
};
|
|
57
57
|
|
|
58
|
+
enum ScriptWindowAttribution {
|
|
59
|
+
"self", "descendant", "ancestor", "same-page", "other"
|
|
60
|
+
};
|
|
61
|
+
|
|
58
62
|
[Exposed=Window]
|
|
59
63
|
interface PerformanceScriptTiming : PerformanceEntry {
|
|
60
64
|
/* Overloading PerformanceEntry */
|
|
@@ -63,8 +67,13 @@ interface PerformanceScriptTiming : PerformanceEntry {
|
|
|
63
67
|
readonly attribute DOMString name;
|
|
64
68
|
readonly attribute DOMString entryType;
|
|
65
69
|
|
|
66
|
-
readonly attribute
|
|
70
|
+
readonly attribute ScriptInvokerType invokerType;
|
|
71
|
+
readonly attribute DOMString invoker;
|
|
67
72
|
readonly attribute DOMHighResTimeStamp executionStart;
|
|
68
73
|
readonly attribute DOMString sourceLocation;
|
|
74
|
+
readonly attribute DOMHighResTimeStamp pauseDuration;
|
|
75
|
+
readonly attribute DOMHighResTimeStamp forcedStyleAndLayoutDuration;
|
|
76
|
+
readonly attribute Window? window;
|
|
77
|
+
readonly attribute ScriptWindowAttribution windowAttribution;
|
|
69
78
|
[Default] object toJSON();
|
|
70
79
|
};
|
package/mediasession.idl
CHANGED
package/package.json
CHANGED
package/paint-timing.idl
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// GENERATED CONTENT - DO NOT EDIT
|
|
2
2
|
// Content was automatically extracted by Reffy into webref
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
|
-
// Source: Paint Timing
|
|
4
|
+
// Source: Paint Timing (https://w3c.github.io/paint-timing/)
|
|
5
5
|
|
|
6
6
|
[Exposed=Window]
|
|
7
7
|
interface PerformancePaintTiming : PerformanceEntry {};
|
package/trust-token-api.idl
CHANGED
package/trusted-types.idl
CHANGED
|
@@ -53,13 +53,13 @@ interface TrustedTypePolicy {
|
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
dictionary TrustedTypePolicyOptions {
|
|
56
|
-
CreateHTMLCallback
|
|
57
|
-
CreateScriptCallback
|
|
58
|
-
CreateScriptURLCallback
|
|
56
|
+
CreateHTMLCallback createHTML;
|
|
57
|
+
CreateScriptCallback createScript;
|
|
58
|
+
CreateScriptURLCallback createScriptURL;
|
|
59
59
|
};
|
|
60
|
-
callback CreateHTMLCallback = DOMString (DOMString input, any... arguments);
|
|
61
|
-
callback CreateScriptCallback = DOMString (DOMString input, any... arguments);
|
|
62
|
-
callback CreateScriptURLCallback = USVString (DOMString input, any... arguments);
|
|
60
|
+
callback CreateHTMLCallback = DOMString? (DOMString input, any... arguments);
|
|
61
|
+
callback CreateScriptCallback = DOMString? (DOMString input, any... arguments);
|
|
62
|
+
callback CreateScriptURLCallback = USVString? (DOMString input, any... arguments);
|
|
63
63
|
|
|
64
64
|
typedef [StringContext=TrustedHTML] DOMString HTMLString;
|
|
65
65
|
typedef [StringContext=TrustedScript] DOMString ScriptString;
|
package/webauthn.idl
CHANGED
|
@@ -58,7 +58,6 @@ dictionary AuthenticatorAssertionResponseJSON {
|
|
|
58
58
|
required Base64URLString authenticatorData;
|
|
59
59
|
required Base64URLString signature;
|
|
60
60
|
Base64URLString userHandle;
|
|
61
|
-
Base64URLString attestationObject;
|
|
62
61
|
};
|
|
63
62
|
|
|
64
63
|
dictionary AuthenticationExtensionsClientOutputsJSON {
|
|
@@ -77,9 +76,11 @@ partial interface PublicKeyCredential {
|
|
|
77
76
|
};
|
|
78
77
|
|
|
79
78
|
partial interface PublicKeyCredential {
|
|
80
|
-
static Promise<
|
|
79
|
+
static Promise<PublicKeyCredentialClientCapabilities> getClientCapabilities();
|
|
81
80
|
};
|
|
82
81
|
|
|
82
|
+
typedef record<DOMString, boolean> PublicKeyCredentialClientCapabilities;
|
|
83
|
+
|
|
83
84
|
partial interface PublicKeyCredential {
|
|
84
85
|
static PublicKeyCredentialCreationOptions parseCreationOptionsFromJSON(PublicKeyCredentialCreationOptionsJSON options);
|
|
85
86
|
};
|
|
@@ -124,8 +125,6 @@ dictionary PublicKeyCredentialRequestOptionsJSON {
|
|
|
124
125
|
sequence<PublicKeyCredentialDescriptorJSON> allowCredentials = [];
|
|
125
126
|
DOMString userVerification = "preferred";
|
|
126
127
|
sequence<DOMString> hints = [];
|
|
127
|
-
DOMString attestation = "none";
|
|
128
|
-
sequence<DOMString> attestationFormats = [];
|
|
129
128
|
AuthenticationExtensionsClientInputsJSON extensions;
|
|
130
129
|
};
|
|
131
130
|
|
|
@@ -148,7 +147,6 @@ interface AuthenticatorAssertionResponse : AuthenticatorResponse {
|
|
|
148
147
|
[SameObject] readonly attribute ArrayBuffer authenticatorData;
|
|
149
148
|
[SameObject] readonly attribute ArrayBuffer signature;
|
|
150
149
|
[SameObject] readonly attribute ArrayBuffer? userHandle;
|
|
151
|
-
[SameObject] readonly attribute ArrayBuffer? attestationObject;
|
|
152
150
|
};
|
|
153
151
|
|
|
154
152
|
dictionary PublicKeyCredentialParameters {
|
|
@@ -217,8 +215,6 @@ dictionary PublicKeyCredentialRequestOptions {
|
|
|
217
215
|
sequence<PublicKeyCredentialDescriptor> allowCredentials = [];
|
|
218
216
|
DOMString userVerification = "preferred";
|
|
219
217
|
sequence<DOMString> hints = [];
|
|
220
|
-
DOMString attestation = "none";
|
|
221
|
-
sequence<DOMString> attestationFormats = [];
|
|
222
218
|
AuthenticationExtensionsClientInputs extensions;
|
|
223
219
|
};
|
|
224
220
|
|
|
@@ -270,6 +266,14 @@ enum UserVerificationRequirement {
|
|
|
270
266
|
"discouraged"
|
|
271
267
|
};
|
|
272
268
|
|
|
269
|
+
enum ClientCapability {
|
|
270
|
+
"conditionalCreate",
|
|
271
|
+
"conditionalMediation",
|
|
272
|
+
"hybridTransport",
|
|
273
|
+
"passkeyPlatformAuthenticator",
|
|
274
|
+
"userVerifyingPlatformAuthenticator",
|
|
275
|
+
};
|
|
276
|
+
|
|
273
277
|
enum PublicKeyCredentialHints {
|
|
274
278
|
"security-key",
|
|
275
279
|
"client-device",
|
|
@@ -375,7 +379,7 @@ partial dictionary AuthenticationExtensionsClientInputs {
|
|
|
375
379
|
};
|
|
376
380
|
|
|
377
381
|
dictionary AuthenticationExtensionsSupplementalPubKeysOutputs {
|
|
378
|
-
sequence<ArrayBuffer> signatures;
|
|
382
|
+
required sequence<ArrayBuffer> signatures;
|
|
379
383
|
};
|
|
380
384
|
|
|
381
385
|
partial dictionary AuthenticationExtensionsClientOutputs {
|
package/webnn.idl
CHANGED
|
@@ -508,7 +508,7 @@ partial interface MLGraphBuilder {
|
|
|
508
508
|
};
|
|
509
509
|
|
|
510
510
|
partial interface MLGraphBuilder {
|
|
511
|
-
MLOperand reshape(MLOperand input, sequence<unsigned long
|
|
511
|
+
MLOperand reshape(MLOperand input, sequence<unsigned long> newShape);
|
|
512
512
|
};
|
|
513
513
|
|
|
514
514
|
partial interface MLGraphBuilder {
|