@webref/idl 3.17.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/hr-time.idl +1 -1
- package/package.json +1 -1
- package/scroll-animations.idl +6 -0
- package/secure-payment-confirmation.idl +1 -0
- package/web-animations.idl +0 -5
- package/webaudio.idl +2 -0
- package/webcodecs.idl +1 -2
- package/webrtc-stats.idl +12 -0
- 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/hr-time.idl
CHANGED
package/package.json
CHANGED
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
|
+
};
|
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/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 {
|