@webref/idl 3.16.0 → 3.17.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.
- package/anchors.idl +7 -0
- package/compute-pressure.idl +1 -1
- package/css-animations.idl +1 -1
- package/css-contain-3.idl +2 -0
- package/css-counter-styles.idl +1 -1
- package/css-device-adapt.idl +1 -1
- package/css-font-loading.idl +1 -1
- package/css-nesting.idl +1 -1
- package/css-regions.idl +1 -1
- package/css-shadow-parts.idl +1 -1
- package/css-shared-element-transitions.idl +22 -0
- package/css-transitions.idl +1 -1
- package/cssom-view.idl +1 -1
- package/cssom.idl +1 -1
- package/geometry.idl +1 -1
- package/hr-time.idl +1 -1
- package/html.idl +10 -0
- package/mediasession.idl +6 -4
- package/package.json +1 -1
- package/resize-observer.idl +1 -1
- package/scroll-animations.idl +6 -0
- package/secure-payment-confirmation.idl +5 -4
- package/web-animations.idl +0 -5
- package/webaudio.idl +2 -0
- package/webcodecs.idl +1 -2
- package/webrtc-stats.idl +12 -0
- package/webrtc.idl +0 -5
- package/webxrlayers.idl +9 -2
package/anchors.idl
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
interface XRAnchor {
|
|
8
8
|
readonly attribute XRSpace anchorSpace;
|
|
9
9
|
|
|
10
|
+
Promise<DOMString> requestPersistentHandle();
|
|
11
|
+
|
|
10
12
|
undefined delete();
|
|
11
13
|
};
|
|
12
14
|
|
|
@@ -14,6 +16,11 @@ partial interface XRFrame {
|
|
|
14
16
|
Promise<XRAnchor> createAnchor(XRRigidTransform pose, XRSpace space);
|
|
15
17
|
};
|
|
16
18
|
|
|
19
|
+
partial interface XRSession {
|
|
20
|
+
Promise<XRAnchor> restorePersistentAnchor(DOMString uuid);
|
|
21
|
+
Promise<undefined> deletePersistentAnchor(DOMString uuid);
|
|
22
|
+
};
|
|
23
|
+
|
|
17
24
|
partial interface XRHitTestResult {
|
|
18
25
|
Promise<XRAnchor> createAnchor();
|
|
19
26
|
};
|
package/compute-pressure.idl
CHANGED
package/css-animations.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: CSS Animations Level 1 (https://drafts.csswg.org/css-animations/)
|
|
4
|
+
// Source: CSS Animations Level 1 (https://drafts.csswg.org/css-animations-1/)
|
|
5
5
|
|
|
6
6
|
[Exposed=Window]
|
|
7
7
|
interface AnimationEvent : Event {
|
package/css-contain-3.idl
CHANGED
package/css-counter-styles.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: CSS Counter Styles Level 3 (https://drafts.csswg.org/css-counter-styles/)
|
|
4
|
+
// Source: CSS Counter Styles Level 3 (https://drafts.csswg.org/css-counter-styles-3/)
|
|
5
5
|
|
|
6
6
|
partial interface CSSRule {
|
|
7
7
|
const unsigned short COUNTER_STYLE_RULE = 11;
|
package/css-device-adapt.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: CSS Device Adaptation Module Level 1 (https://drafts.csswg.org/css-device-adapt/)
|
|
4
|
+
// Source: CSS Device Adaptation Module Level 1 (https://drafts.csswg.org/css-device-adapt-1/)
|
|
5
5
|
|
|
6
6
|
partial interface CSSRule {
|
|
7
7
|
const unsigned short VIEWPORT_RULE = 15;
|
package/css-font-loading.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: CSS Font Loading Module Level 3 (https://drafts.csswg.org/css-font-loading/)
|
|
4
|
+
// Source: CSS Font Loading Module Level 3 (https://drafts.csswg.org/css-font-loading-3/)
|
|
5
5
|
|
|
6
6
|
typedef (ArrayBuffer or ArrayBufferView) BinaryData;
|
|
7
7
|
|
package/css-nesting.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: CSS Nesting Module (https://drafts.csswg.org/css-nesting/)
|
|
4
|
+
// Source: CSS Nesting Module (https://drafts.csswg.org/css-nesting-1/)
|
|
5
5
|
|
|
6
6
|
partial interface CSSStyleRule {
|
|
7
7
|
[SameObject] readonly attribute CSSRuleList cssRules;
|
package/css-regions.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: CSS Regions Module Level 1 (https://drafts.csswg.org/css-regions/)
|
|
4
|
+
// Source: CSS Regions Module Level 1 (https://drafts.csswg.org/css-regions-1/)
|
|
5
5
|
|
|
6
6
|
partial interface Document {
|
|
7
7
|
readonly attribute NamedFlowMap namedFlows;
|
package/css-shadow-parts.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: CSS Shadow Parts (https://drafts.csswg.org/css-shadow-parts/)
|
|
4
|
+
// Source: CSS Shadow Parts (https://drafts.csswg.org/css-shadow-parts-1/)
|
|
5
5
|
|
|
6
6
|
partial interface Element {
|
|
7
7
|
[SameObject, PutForwards=value] readonly attribute DOMTokenList part;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: CSS Shared Element Transitions Module Level 1 (https://drafts.csswg.org/css-shared-element-transitions-1/)
|
|
5
|
+
|
|
6
|
+
partial interface Document {
|
|
7
|
+
DOMTransition createTransition(DOMTransitionInit init);
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
dictionary DOMTransitionInit {
|
|
11
|
+
required UpdateDOMCallback updateDOM;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
callback UpdateDOMCallback = Promise<any> ();
|
|
15
|
+
|
|
16
|
+
[Exposed=Window]
|
|
17
|
+
interface DOMTransition {
|
|
18
|
+
undefined skipTransition();
|
|
19
|
+
readonly attribute Promise<undefined> finished;
|
|
20
|
+
readonly attribute Promise<undefined> ready;
|
|
21
|
+
readonly attribute Promise<undefined> domUpdated;
|
|
22
|
+
};
|
package/css-transitions.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: CSS Transitions (https://drafts.csswg.org/css-transitions/)
|
|
4
|
+
// Source: CSS Transitions (https://drafts.csswg.org/css-transitions-1/)
|
|
5
5
|
|
|
6
6
|
[Exposed=Window]
|
|
7
7
|
interface TransitionEvent : Event {
|
package/cssom-view.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: CSSOM View Module (https://drafts.csswg.org/cssom-view/)
|
|
4
|
+
// Source: CSSOM View Module (https://drafts.csswg.org/cssom-view-1/)
|
|
5
5
|
|
|
6
6
|
enum ScrollBehavior { "auto", "smooth" };
|
|
7
7
|
|
package/cssom.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: CSS Object Model (CSSOM) (https://drafts.csswg.org/cssom/)
|
|
4
|
+
// Source: CSS Object Model (CSSOM) (https://drafts.csswg.org/cssom-1/)
|
|
5
5
|
|
|
6
6
|
[Exposed=Window]
|
|
7
7
|
interface MediaList {
|
package/geometry.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: Geometry Interfaces Module Level 1 (https://drafts.fxtf.org/geometry/)
|
|
4
|
+
// Source: Geometry Interfaces Module Level 1 (https://drafts.fxtf.org/geometry-1/)
|
|
5
5
|
|
|
6
6
|
[Exposed=(Window,Worker),
|
|
7
7
|
Serializable]
|
package/hr-time.idl
CHANGED
package/html.idl
CHANGED
|
@@ -1634,6 +1634,16 @@ dictionary ValidityStateFlags {
|
|
|
1634
1634
|
boolean customError = false;
|
|
1635
1635
|
};
|
|
1636
1636
|
|
|
1637
|
+
[Exposed=Window]
|
|
1638
|
+
interface UserActivation {
|
|
1639
|
+
readonly attribute boolean hasBeenActive;
|
|
1640
|
+
readonly attribute boolean isActive;
|
|
1641
|
+
};
|
|
1642
|
+
|
|
1643
|
+
partial interface Navigator {
|
|
1644
|
+
[SameObject] readonly attribute UserActivation userActivation;
|
|
1645
|
+
};
|
|
1646
|
+
|
|
1637
1647
|
dictionary FocusOptions {
|
|
1638
1648
|
boolean preventScroll = false;
|
|
1639
1649
|
boolean focusVisible;
|
package/mediasession.idl
CHANGED
|
@@ -26,7 +26,9 @@ enum MediaSessionAction {
|
|
|
26
26
|
"seekto",
|
|
27
27
|
"togglemicrophone",
|
|
28
28
|
"togglecamera",
|
|
29
|
-
"hangup"
|
|
29
|
+
"hangup",
|
|
30
|
+
"previousslide",
|
|
31
|
+
"nextslide"
|
|
30
32
|
};
|
|
31
33
|
|
|
32
34
|
callback MediaSessionActionHandler = undefined(MediaSessionActionDetails details);
|
|
@@ -76,7 +78,7 @@ dictionary MediaPositionState {
|
|
|
76
78
|
|
|
77
79
|
dictionary MediaSessionActionDetails {
|
|
78
80
|
required MediaSessionAction action;
|
|
79
|
-
double
|
|
80
|
-
double
|
|
81
|
-
boolean
|
|
81
|
+
double seekOffset;
|
|
82
|
+
double seekTime;
|
|
83
|
+
boolean fastSeek;
|
|
82
84
|
};
|
package/package.json
CHANGED
package/resize-observer.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: Resize Observer (https://drafts.csswg.org/resize-observer/)
|
|
4
|
+
// Source: Resize Observer (https://drafts.csswg.org/resize-observer-1/)
|
|
5
5
|
|
|
6
6
|
enum ResizeObserverBoxOptions {
|
|
7
7
|
"border-box", "content-box", "device-pixel-content-box"
|
package/scroll-animations.idl
CHANGED
|
@@ -34,3 +34,9 @@ interface ViewTimeline : ScrollTimeline {
|
|
|
34
34
|
readonly attribute CSSNumericValue startOffset;
|
|
35
35
|
readonly attribute CSSNumericValue endOffset;
|
|
36
36
|
};
|
|
37
|
+
|
|
38
|
+
[Exposed=Window]
|
|
39
|
+
interface AnimationTimeline {
|
|
40
|
+
readonly attribute CSSNumberish? currentTime;
|
|
41
|
+
CSSNumericValue? getCurrentTime(optional CSSOMString rangeName);
|
|
42
|
+
};
|
|
@@ -9,9 +9,10 @@ dictionary SecurePaymentConfirmationRequest {
|
|
|
9
9
|
required sequence<BufferSource> credentialIds;
|
|
10
10
|
required PaymentCredentialInstrument instrument;
|
|
11
11
|
unsigned long timeout;
|
|
12
|
-
|
|
12
|
+
USVString payeeName;
|
|
13
13
|
USVString payeeOrigin;
|
|
14
14
|
AuthenticationExtensionsClientInputs extensions;
|
|
15
|
+
sequence<USVString> locale;
|
|
15
16
|
};
|
|
16
17
|
|
|
17
18
|
partial dictionary AuthenticationExtensionsClientInputs {
|
|
@@ -24,7 +25,7 @@ dictionary AuthenticationExtensionsPaymentInputs {
|
|
|
24
25
|
// Only used for authentication.
|
|
25
26
|
USVString rpId;
|
|
26
27
|
USVString topOrigin;
|
|
27
|
-
|
|
28
|
+
USVString payeeName;
|
|
28
29
|
USVString payeeOrigin;
|
|
29
30
|
PaymentCurrencyAmount total;
|
|
30
31
|
PaymentCredentialInstrument instrument;
|
|
@@ -37,14 +38,14 @@ dictionary CollectedClientPaymentData : CollectedClientData {
|
|
|
37
38
|
dictionary CollectedClientAdditionalPaymentData {
|
|
38
39
|
required USVString rpId;
|
|
39
40
|
required USVString topOrigin;
|
|
40
|
-
|
|
41
|
+
USVString payeeName;
|
|
41
42
|
USVString payeeOrigin;
|
|
42
43
|
required PaymentCurrencyAmount total;
|
|
43
44
|
required PaymentCredentialInstrument instrument;
|
|
44
45
|
};
|
|
45
46
|
|
|
46
47
|
dictionary PaymentCredentialInstrument {
|
|
47
|
-
required
|
|
48
|
+
required USVString displayName;
|
|
48
49
|
required USVString icon;
|
|
49
50
|
boolean iconMustBeShown = true;
|
|
50
51
|
};
|
package/web-animations.idl
CHANGED
|
@@ -3,11 +3,6 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Web Animations (https://drafts.csswg.org/web-animations-1/)
|
|
5
5
|
|
|
6
|
-
[Exposed=Window]
|
|
7
|
-
interface AnimationTimeline {
|
|
8
|
-
readonly attribute double? currentTime;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
6
|
dictionary DocumentTimelineOptions {
|
|
12
7
|
DOMHighResTimeStamp originTime = 0;
|
|
13
8
|
};
|
package/webaudio.idl
CHANGED
|
@@ -600,6 +600,7 @@ dictionary WaveShaperOptions : AudioNodeOptions {
|
|
|
600
600
|
|
|
601
601
|
[Exposed=Window, SecureContext]
|
|
602
602
|
interface AudioWorklet : Worklet {
|
|
603
|
+
readonly attribute MessagePort port;
|
|
603
604
|
};
|
|
604
605
|
|
|
605
606
|
callback AudioWorkletProcessorConstructor = AudioWorkletProcessor (object options);
|
|
@@ -611,6 +612,7 @@ interface AudioWorkletGlobalScope : WorkletGlobalScope {
|
|
|
611
612
|
readonly attribute unsigned long long currentFrame;
|
|
612
613
|
readonly attribute double currentTime;
|
|
613
614
|
readonly attribute float sampleRate;
|
|
615
|
+
readonly attribute MessagePort port;
|
|
614
616
|
};
|
|
615
617
|
|
|
616
618
|
[Exposed=Window]
|
package/webcodecs.idl
CHANGED
|
@@ -309,7 +309,7 @@ interface VideoFrame {
|
|
|
309
309
|
readonly attribute unsigned long displayWidth;
|
|
310
310
|
readonly attribute unsigned long displayHeight;
|
|
311
311
|
readonly attribute unsigned long long? duration; // microseconds
|
|
312
|
-
readonly attribute long long
|
|
312
|
+
readonly attribute long long timestamp; // microseconds
|
|
313
313
|
readonly attribute VideoColorSpace colorSpace;
|
|
314
314
|
|
|
315
315
|
unsigned long allocationSize(
|
|
@@ -445,7 +445,6 @@ typedef (BufferSource or ReadableStream) ImageBufferSource;
|
|
|
445
445
|
dictionary ImageDecoderInit {
|
|
446
446
|
required DOMString type;
|
|
447
447
|
required ImageBufferSource data;
|
|
448
|
-
PremultiplyAlpha premultiplyAlpha = "default";
|
|
449
448
|
ColorSpaceConversion colorSpaceConversion = "default";
|
|
450
449
|
[EnforceRange] unsigned long desiredWidth;
|
|
451
450
|
[EnforceRange] unsigned long desiredHeight;
|
package/webrtc-stats.idl
CHANGED
|
@@ -10,6 +10,7 @@ enum RTCStatsType {
|
|
|
10
10
|
"remote-inbound-rtp",
|
|
11
11
|
"remote-outbound-rtp",
|
|
12
12
|
"media-source",
|
|
13
|
+
"media-playout",
|
|
13
14
|
"peer-connection",
|
|
14
15
|
"data-channel",
|
|
15
16
|
"stream",
|
|
@@ -84,6 +85,7 @@ dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|
|
|
84
85
|
double totalSamplesDuration;
|
|
85
86
|
unsigned long framesReceived;
|
|
86
87
|
DOMString decoderImplementation;
|
|
88
|
+
DOMString playoutId;
|
|
87
89
|
};
|
|
88
90
|
|
|
89
91
|
dictionary RTCRemoteInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|
|
@@ -156,6 +158,9 @@ dictionary RTCAudioSourceStats : RTCMediaSourceStats {
|
|
|
156
158
|
double totalSamplesDuration;
|
|
157
159
|
double echoReturnLoss;
|
|
158
160
|
double echoReturnLossEnhancement;
|
|
161
|
+
double droppedSamplesDuration;
|
|
162
|
+
double totalCaptureDelay;
|
|
163
|
+
unsigned long long totalSamplesCaptured;
|
|
159
164
|
};
|
|
160
165
|
|
|
161
166
|
dictionary RTCVideoSourceStats : RTCMediaSourceStats {
|
|
@@ -165,6 +170,13 @@ dictionary RTCVideoSourceStats : RTCMediaSourceStats {
|
|
|
165
170
|
double framesPerSecond;
|
|
166
171
|
};
|
|
167
172
|
|
|
173
|
+
dictionary RTCAudioPlayoutStats : RTCStats {
|
|
174
|
+
double synthesizedSamplesDuration;
|
|
175
|
+
double totalSamplesDuration;
|
|
176
|
+
double totalPlayoutDelay;
|
|
177
|
+
double totalSamplesCount;
|
|
178
|
+
};
|
|
179
|
+
|
|
168
180
|
dictionary RTCPeerConnectionStats : RTCStats {
|
|
169
181
|
unsigned long dataChannelsOpened;
|
|
170
182
|
unsigned long dataChannelsClosed;
|
package/webrtc.idl
CHANGED
|
@@ -12,15 +12,10 @@ dictionary RTCConfiguration {
|
|
|
12
12
|
[EnforceRange] octet iceCandidatePoolSize = 0;
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
-
enum RTCIceCredentialType {
|
|
16
|
-
"password"
|
|
17
|
-
};
|
|
18
|
-
|
|
19
15
|
dictionary RTCIceServer {
|
|
20
16
|
required (DOMString or sequence<DOMString>) urls;
|
|
21
17
|
DOMString username;
|
|
22
18
|
DOMString credential;
|
|
23
|
-
RTCIceCredentialType credentialType = "password";
|
|
24
19
|
};
|
|
25
20
|
|
|
26
21
|
enum RTCIceTransportPolicy {
|
package/webxrlayers.idl
CHANGED
|
@@ -31,6 +31,7 @@ enum XRLayerLayout {
|
|
|
31
31
|
|
|
32
32
|
readonly attribute boolean ignoreDepthValues;
|
|
33
33
|
attribute float? fixedFoveation;
|
|
34
|
+
attribute XRRigidTransform? deltaPose;
|
|
34
35
|
};
|
|
35
36
|
|
|
36
37
|
[Exposed=Window] interface XRQuadLayer : XRCompositionLayer {
|
|
@@ -84,9 +85,15 @@ enum XRLayerLayout {
|
|
|
84
85
|
[Exposed=Window] interface XRWebGLSubImage : XRSubImage {
|
|
85
86
|
[SameObject] readonly attribute WebGLTexture colorTexture;
|
|
86
87
|
[SameObject] readonly attribute WebGLTexture? depthStencilTexture;
|
|
88
|
+
[SameObject] readonly attribute WebGLTexture? motionVectorTexture;
|
|
89
|
+
|
|
87
90
|
readonly attribute unsigned long? imageIndex;
|
|
88
|
-
readonly attribute unsigned long
|
|
89
|
-
readonly attribute unsigned long
|
|
91
|
+
readonly attribute unsigned long colorTextureWidth;
|
|
92
|
+
readonly attribute unsigned long colorTextureHeight;
|
|
93
|
+
readonly attribute unsigned long? depthStencilTextureWidth;
|
|
94
|
+
readonly attribute unsigned long? depthStencilTextureHeight;
|
|
95
|
+
readonly attribute unsigned long? motionVectorTextureWidth;
|
|
96
|
+
readonly attribute unsigned long? motionVectorTextureHeight;
|
|
90
97
|
};
|
|
91
98
|
|
|
92
99
|
enum XRTextureType {
|