@webref/idl 3.13.0 → 3.14.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 +2 -2
- package/css-contain.idl +13 -0
- package/device-memory.idl +1 -1
- package/media-capabilities.idl +11 -11
- package/media-source.idl +16 -16
- package/mediacapture-region.idl +1 -1
- package/package.json +1 -1
- package/payment-request.idl +1 -1
- package/performance-timeline.idl +3 -3
- package/scroll-animations.idl +11 -21
- package/secure-payment-confirmation.idl +1 -1
- package/user-timing.idl +2 -2
- package/web-animations.idl +1 -0
- package/webauthn.idl +1 -0
- package/webcodecs.idl +5 -2
- package/webgpu.idl +11 -3
- package/webrtc-stats.idl +1 -0
- package/webrtc.idl +0 -2
package/FedCM.idl
CHANGED
|
@@ -22,12 +22,12 @@ dictionary IdentityProvider {
|
|
|
22
22
|
USVString nonce;
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
dictionary
|
|
25
|
+
dictionary IdentityCredentialLogoutRPsRequest {
|
|
26
26
|
required USVString url;
|
|
27
27
|
required USVString accountId;
|
|
28
28
|
};
|
|
29
29
|
|
|
30
30
|
[Exposed=Window, SecureContext]
|
|
31
31
|
partial interface IdentityCredential {
|
|
32
|
-
static Promise<undefined> logoutRPs(sequence<
|
|
32
|
+
static Promise<undefined> logoutRPs(sequence<IdentityCredentialLogoutRPsRequest> logoutRequests);
|
|
33
33
|
};
|
package/css-contain.idl
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: CSS Containment Module Level 2 (https://drafts.csswg.org/css-contain-2/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface ContentVisibilityAutoStateChangedEvent : Event {
|
|
8
|
+
constructor(DOMString type, optional ContentVisibilityAutoStateChangedEventInit eventInitDict = {});
|
|
9
|
+
readonly attribute boolean skipped;
|
|
10
|
+
};
|
|
11
|
+
dictionary ContentVisibilityAutoStateChangedEventInit : EventInit {
|
|
12
|
+
boolean skipped = false;
|
|
13
|
+
};
|
package/device-memory.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: Device Memory
|
|
4
|
+
// Source: Device Memory (https://www.w3.org/TR/device-memory/)
|
|
5
5
|
|
|
6
6
|
[
|
|
7
7
|
SecureContext,
|
package/media-capabilities.idl
CHANGED
|
@@ -69,19 +69,19 @@ dictionary AudioConfiguration {
|
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
dictionary MediaCapabilitiesKeySystemConfiguration {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
72
|
+
required DOMString keySystem;
|
|
73
|
+
DOMString initDataType = "";
|
|
74
|
+
MediaKeysRequirement distinctiveIdentifier = "optional";
|
|
75
|
+
MediaKeysRequirement persistentState = "optional";
|
|
76
|
+
sequence<DOMString> sessionTypes;
|
|
77
|
+
KeySystemTrackConfiguration audio;
|
|
78
|
+
KeySystemTrackConfiguration video;
|
|
79
|
+
};
|
|
80
80
|
|
|
81
81
|
dictionary KeySystemTrackConfiguration {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
DOMString robustness = "";
|
|
83
|
+
DOMString? encryptionScheme = null;
|
|
84
|
+
};
|
|
85
85
|
|
|
86
86
|
dictionary MediaCapabilitiesInfo {
|
|
87
87
|
required boolean supported;
|
package/media-source.idl
CHANGED
|
@@ -17,24 +17,24 @@ enum EndOfStreamError {
|
|
|
17
17
|
[Exposed=(Window,DedicatedWorker)]
|
|
18
18
|
interface MediaSource : EventTarget {
|
|
19
19
|
constructor();
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
undefined
|
|
31
|
-
undefined
|
|
32
|
-
undefined
|
|
33
|
-
|
|
34
|
-
static boolean
|
|
20
|
+
[SameObject] readonly attribute MediaSourceHandle handle;
|
|
21
|
+
readonly attribute SourceBufferList sourceBuffers;
|
|
22
|
+
readonly attribute SourceBufferList activeSourceBuffers;
|
|
23
|
+
readonly attribute ReadyState readyState;
|
|
24
|
+
attribute unrestricted double duration;
|
|
25
|
+
attribute EventHandler onsourceopen;
|
|
26
|
+
attribute EventHandler onsourceended;
|
|
27
|
+
attribute EventHandler onsourceclose;
|
|
28
|
+
static readonly attribute boolean canConstructInDedicatedWorker;
|
|
29
|
+
SourceBuffer addSourceBuffer (DOMString type);
|
|
30
|
+
undefined removeSourceBuffer (SourceBuffer sourceBuffer);
|
|
31
|
+
undefined endOfStream (optional EndOfStreamError error);
|
|
32
|
+
undefined setLiveSeekableRange (double start, double end);
|
|
33
|
+
undefined clearLiveSeekableRange ();
|
|
34
|
+
static boolean isTypeSupported (DOMString type);
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
-
[Exposed=(Window,DedicatedWorker)]
|
|
37
|
+
[Transferable, Exposed=(Window,DedicatedWorker)]
|
|
38
38
|
interface MediaSourceHandle {};
|
|
39
39
|
|
|
40
40
|
enum AppendMode {
|
package/mediacapture-region.idl
CHANGED
package/package.json
CHANGED
package/payment-request.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: Payment Request API (https://w3c.github.io/payment-request/)
|
|
4
|
+
// Source: Payment Request API 1.1 (https://w3c.github.io/payment-request/)
|
|
5
5
|
|
|
6
6
|
[SecureContext, Exposed=Window]
|
|
7
7
|
interface PaymentRequest : EventTarget {
|
package/performance-timeline.idl
CHANGED
|
@@ -10,7 +10,7 @@ partial interface Performance {
|
|
|
10
10
|
};
|
|
11
11
|
typedef sequence<PerformanceEntry> PerformanceEntryList;
|
|
12
12
|
|
|
13
|
-
[Exposed
|
|
13
|
+
[Exposed=(Window,Worker)]
|
|
14
14
|
interface PerformanceEntry {
|
|
15
15
|
readonly attribute DOMString name;
|
|
16
16
|
readonly attribute DOMString entryType;
|
|
@@ -22,7 +22,7 @@ interface PerformanceEntry {
|
|
|
22
22
|
callback PerformanceObserverCallback = undefined (PerformanceObserverEntryList entries,
|
|
23
23
|
PerformanceObserver observer,
|
|
24
24
|
optional PerformanceObserverCallbackOptions options = {});
|
|
25
|
-
[Exposed
|
|
25
|
+
[Exposed=(Window,Worker)]
|
|
26
26
|
interface PerformanceObserver {
|
|
27
27
|
constructor(PerformanceObserverCallback callback);
|
|
28
28
|
undefined observe (optional PerformanceObserverInit options = {});
|
|
@@ -41,7 +41,7 @@ dictionary PerformanceObserverInit {
|
|
|
41
41
|
boolean buffered;
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
-
[Exposed
|
|
44
|
+
[Exposed=(Window,Worker)]
|
|
45
45
|
interface PerformanceObserverEntryList {
|
|
46
46
|
PerformanceEntryList getEntries();
|
|
47
47
|
PerformanceEntryList getEntriesByType (DOMString type);
|
package/scroll-animations.idl
CHANGED
|
@@ -3,44 +3,34 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Scroll-linked Animations (https://drafts.csswg.org/scroll-animations-1/)
|
|
5
5
|
|
|
6
|
-
enum
|
|
6
|
+
enum ScrollAxis {
|
|
7
7
|
"block",
|
|
8
8
|
"inline",
|
|
9
9
|
"horizontal",
|
|
10
10
|
"vertical"
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
enum ScrollTimelineAutoKeyword { "auto" };
|
|
14
|
-
|
|
15
|
-
typedef (CSSNumericValue or CSSKeywordish) ContainerBasedOffset;
|
|
16
|
-
typedef (ContainerBasedOffset or ElementBasedOffset) ScrollTimelineOffset;
|
|
17
|
-
|
|
18
13
|
dictionary ScrollTimelineOptions {
|
|
19
14
|
Element? source;
|
|
20
|
-
|
|
21
|
-
sequence<ScrollTimelineOffset> scrollOffsets = [];
|
|
15
|
+
ScrollAxis axis = "block";
|
|
22
16
|
};
|
|
23
17
|
|
|
24
18
|
[Exposed=Window]
|
|
25
19
|
interface ScrollTimeline : AnimationTimeline {
|
|
26
20
|
constructor(optional ScrollTimelineOptions options = {});
|
|
27
21
|
readonly attribute Element? source;
|
|
28
|
-
readonly attribute
|
|
29
|
-
readonly attribute FrozenArray<ScrollTimelineOffset> scrollOffsets;
|
|
22
|
+
readonly attribute ScrollAxis axis;
|
|
30
23
|
};
|
|
31
24
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
Element target;
|
|
36
|
-
Edge edge = "start";
|
|
37
|
-
double threshold = 0.0;
|
|
25
|
+
dictionary ViewTimelineOptions {
|
|
26
|
+
Element subject;
|
|
27
|
+
ScrollAxis axis = "block";
|
|
38
28
|
};
|
|
39
29
|
|
|
40
30
|
[Exposed=Window]
|
|
41
|
-
interface
|
|
42
|
-
|
|
43
|
-
readonly attribute
|
|
44
|
-
readonly attribute
|
|
45
|
-
readonly attribute
|
|
31
|
+
interface ViewTimeline : ScrollTimeline {
|
|
32
|
+
constructor(optional ViewTimelineOptions options = {});
|
|
33
|
+
readonly attribute Element subject;
|
|
34
|
+
readonly attribute CSSNumericValue startOffset;
|
|
35
|
+
readonly attribute CSSNumericValue endOffset;
|
|
46
36
|
};
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
dictionary SecurePaymentConfirmationRequest {
|
|
7
7
|
required BufferSource challenge;
|
|
8
8
|
required USVString rpId;
|
|
9
|
-
required
|
|
9
|
+
required sequence<BufferSource> credentialIds;
|
|
10
10
|
required PaymentCredentialInstrument instrument;
|
|
11
11
|
unsigned long timeout;
|
|
12
12
|
DOMString payeeName;
|
package/user-timing.idl
CHANGED
|
@@ -22,13 +22,13 @@ partial interface Performance {
|
|
|
22
22
|
undefined clearMeasures(optional DOMString measureName);
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
[Exposed
|
|
25
|
+
[Exposed=(Window,Worker)]
|
|
26
26
|
interface PerformanceMark : PerformanceEntry {
|
|
27
27
|
constructor(DOMString markName, optional PerformanceMarkOptions markOptions = {});
|
|
28
28
|
readonly attribute any detail;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
[Exposed
|
|
31
|
+
[Exposed=(Window,Worker)]
|
|
32
32
|
interface PerformanceMeasure : PerformanceEntry {
|
|
33
33
|
readonly attribute any detail;
|
|
34
34
|
};
|
package/web-animations.idl
CHANGED
package/webauthn.idl
CHANGED
package/webcodecs.idl
CHANGED
|
@@ -9,6 +9,7 @@ interface AudioDecoder {
|
|
|
9
9
|
|
|
10
10
|
readonly attribute CodecState state;
|
|
11
11
|
readonly attribute unsigned long decodeQueueSize;
|
|
12
|
+
attribute EventHandler ondequeue;
|
|
12
13
|
|
|
13
14
|
undefined configure(AudioDecoderConfig config);
|
|
14
15
|
undefined decode(EncodedAudioChunk chunk);
|
|
@@ -32,6 +33,7 @@ interface VideoDecoder {
|
|
|
32
33
|
|
|
33
34
|
readonly attribute CodecState state;
|
|
34
35
|
readonly attribute unsigned long decodeQueueSize;
|
|
36
|
+
attribute EventHandler ondequeue;
|
|
35
37
|
|
|
36
38
|
undefined configure(VideoDecoderConfig config);
|
|
37
39
|
undefined decode(EncodedVideoChunk chunk);
|
|
@@ -55,6 +57,7 @@ interface AudioEncoder {
|
|
|
55
57
|
|
|
56
58
|
readonly attribute CodecState state;
|
|
57
59
|
readonly attribute unsigned long encodeQueueSize;
|
|
60
|
+
attribute EventHandler ondequeue;
|
|
58
61
|
|
|
59
62
|
undefined configure(AudioEncoderConfig config);
|
|
60
63
|
undefined encode(AudioData data);
|
|
@@ -84,6 +87,7 @@ interface VideoEncoder {
|
|
|
84
87
|
|
|
85
88
|
readonly attribute CodecState state;
|
|
86
89
|
readonly attribute unsigned long encodeQueueSize;
|
|
90
|
+
attribute EventHandler ondequeue;
|
|
87
91
|
|
|
88
92
|
undefined configure(VideoEncoderConfig config);
|
|
89
93
|
undefined encode(VideoFrame frame, optional VideoEncoderEncodeOptions options = {});
|
|
@@ -469,10 +473,9 @@ interface ImageTrackList {
|
|
|
469
473
|
};
|
|
470
474
|
|
|
471
475
|
[Exposed=(Window,DedicatedWorker)]
|
|
472
|
-
interface ImageTrack
|
|
476
|
+
interface ImageTrack {
|
|
473
477
|
readonly attribute boolean animated;
|
|
474
478
|
readonly attribute unsigned long frameCount;
|
|
475
479
|
readonly attribute unrestricted float repetitionCount;
|
|
476
|
-
attribute EventHandler onchange;
|
|
477
480
|
attribute boolean selected;
|
|
478
481
|
};
|
package/webgpu.idl
CHANGED
|
@@ -140,17 +140,25 @@ GPUDevice includes GPUObjectBase;
|
|
|
140
140
|
|
|
141
141
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
142
142
|
interface GPUBuffer {
|
|
143
|
+
readonly attribute GPUSize64 size;
|
|
144
|
+
readonly attribute GPUBufferUsageFlags usage;
|
|
145
|
+
|
|
146
|
+
readonly attribute GPUBufferMapState mapState;
|
|
147
|
+
|
|
143
148
|
Promise<undefined> mapAsync(GPUMapModeFlags mode, optional GPUSize64 offset = 0, optional GPUSize64 size);
|
|
144
149
|
ArrayBuffer getMappedRange(optional GPUSize64 offset = 0, optional GPUSize64 size);
|
|
145
150
|
undefined unmap();
|
|
146
151
|
|
|
147
152
|
undefined destroy();
|
|
148
|
-
|
|
149
|
-
readonly attribute GPUSize64 size;
|
|
150
|
-
readonly attribute GPUBufferUsageFlags usage;
|
|
151
153
|
};
|
|
152
154
|
GPUBuffer includes GPUObjectBase;
|
|
153
155
|
|
|
156
|
+
enum GPUBufferMapState {
|
|
157
|
+
"unmapped",
|
|
158
|
+
"pending",
|
|
159
|
+
"mapped"
|
|
160
|
+
};
|
|
161
|
+
|
|
154
162
|
dictionary GPUBufferDescriptor : GPUObjectDescriptorBase {
|
|
155
163
|
required GPUSize64 size;
|
|
156
164
|
required GPUBufferUsageFlags usage;
|
package/webrtc-stats.idl
CHANGED
package/webrtc.idl
CHANGED
|
@@ -311,8 +311,6 @@ dictionary RTCRtpCodingParameters {
|
|
|
311
311
|
DOMString rid;
|
|
312
312
|
};
|
|
313
313
|
|
|
314
|
-
dictionary RTCRtpDecodingParameters : RTCRtpCodingParameters {};
|
|
315
|
-
|
|
316
314
|
dictionary RTCRtpEncodingParameters : RTCRtpCodingParameters {
|
|
317
315
|
boolean active = true;
|
|
318
316
|
unsigned long maxBitrate;
|