@webref/idl 3.28.0 → 3.30.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/anchors.idl +2 -0
- package/edit-context.idl +19 -21
- package/package.json +1 -1
- package/resource-timing.idl +1 -0
- package/trust-token-api.idl +4 -0
- package/webcodecs-vp9-codec-registration.idl +12 -0
- package/webcodecs.idl +7 -1
- package/webrtc-stats.idl +1 -1
- package/webtransport.idl +1 -0
package/anchors.idl
CHANGED
|
@@ -17,6 +17,8 @@ partial interface XRFrame {
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
partial interface XRSession {
|
|
20
|
+
readonly attribute FrozenArray<DOMString> persistentAnchors;
|
|
21
|
+
|
|
20
22
|
Promise<XRAnchor> restorePersistentAnchor(DOMString uuid);
|
|
21
23
|
Promise<undefined> deletePersistentAnchor(DOMString uuid);
|
|
22
24
|
};
|
package/edit-context.idl
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: EditContext API (https://w3c.github.io/edit-context/)
|
|
5
5
|
|
|
6
|
-
partial interface
|
|
6
|
+
partial interface HTMLElement {
|
|
7
7
|
attribute EditContext? editContext;
|
|
8
8
|
};
|
|
9
9
|
|
|
@@ -20,8 +20,8 @@ interface EditContext : EventTarget {
|
|
|
20
20
|
undefined updateText(unsigned long rangeStart, unsigned long rangeEnd,
|
|
21
21
|
DOMString text);
|
|
22
22
|
undefined updateSelection(unsigned long start, unsigned long end);
|
|
23
|
-
undefined
|
|
24
|
-
undefined
|
|
23
|
+
undefined updateControlBounds(DOMRect controlBounds);
|
|
24
|
+
undefined updateSelectionBounds(DOMRect selectionBounds);
|
|
25
25
|
undefined updateCharacterBounds(unsigned long rangeStart, sequence<DOMRect> characterBounds);
|
|
26
26
|
|
|
27
27
|
sequence<Element> attachedElements();
|
|
@@ -31,9 +31,9 @@ interface EditContext : EventTarget {
|
|
|
31
31
|
readonly attribute unsigned long selectionEnd;
|
|
32
32
|
readonly attribute unsigned long compositionRangeStart;
|
|
33
33
|
readonly attribute unsigned long compositionRangeEnd;
|
|
34
|
-
readonly attribute boolean
|
|
35
|
-
readonly attribute DOMRect
|
|
36
|
-
readonly attribute DOMRect
|
|
34
|
+
readonly attribute boolean isComposing;
|
|
35
|
+
readonly attribute DOMRect controlBounds;
|
|
36
|
+
readonly attribute DOMRect selectionBounds;
|
|
37
37
|
readonly attribute unsigned long characterBoundsRangeStart;
|
|
38
38
|
sequence<DOMRect> characterBounds();
|
|
39
39
|
|
|
@@ -44,7 +44,7 @@ interface EditContext : EventTarget {
|
|
|
44
44
|
attribute EventHandler oncompositionend;
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
-
dictionary TextUpdateEventInit {
|
|
47
|
+
dictionary TextUpdateEventInit : EventInit {
|
|
48
48
|
unsigned long updateRangeStart;
|
|
49
49
|
unsigned long updateRangeEnd;
|
|
50
50
|
DOMString text;
|
|
@@ -56,7 +56,7 @@ dictionary TextUpdateEventInit {
|
|
|
56
56
|
|
|
57
57
|
[Exposed=Window]
|
|
58
58
|
interface TextUpdateEvent : Event {
|
|
59
|
-
constructor(optional TextUpdateEventInit options = {});
|
|
59
|
+
constructor(DOMString type, optional TextUpdateEventInit options = {});
|
|
60
60
|
readonly attribute unsigned long updateRangeStart;
|
|
61
61
|
readonly attribute unsigned long updateRangeEnd;
|
|
62
62
|
readonly attribute DOMString text;
|
|
@@ -79,35 +79,33 @@ dictionary TextFormatInit {
|
|
|
79
79
|
[Exposed=Window]
|
|
80
80
|
interface TextFormat {
|
|
81
81
|
constructor(optional TextFormatInit options = {});
|
|
82
|
-
attribute unsigned long rangeStart;
|
|
83
|
-
attribute unsigned long rangeEnd;
|
|
84
|
-
attribute DOMString textColor;
|
|
85
|
-
attribute DOMString backgroundColor;
|
|
86
|
-
attribute DOMString underlineStyle;
|
|
87
|
-
attribute DOMString underlineThickness;
|
|
88
|
-
attribute DOMString underlineColor;
|
|
82
|
+
readonly attribute unsigned long rangeStart;
|
|
83
|
+
readonly attribute unsigned long rangeEnd;
|
|
84
|
+
readonly attribute DOMString textColor;
|
|
85
|
+
readonly attribute DOMString backgroundColor;
|
|
86
|
+
readonly attribute DOMString underlineStyle;
|
|
87
|
+
readonly attribute DOMString underlineThickness;
|
|
88
|
+
readonly attribute DOMString underlineColor;
|
|
89
89
|
};
|
|
90
90
|
|
|
91
|
-
dictionary TextFormatUpdateEventInit {
|
|
91
|
+
dictionary TextFormatUpdateEventInit : EventInit {
|
|
92
92
|
sequence<TextFormat> textFormats;
|
|
93
93
|
};
|
|
94
94
|
|
|
95
95
|
[Exposed=Window]
|
|
96
96
|
interface TextFormatUpdateEvent : Event {
|
|
97
|
-
constructor(optional TextFormatUpdateEventInit options = {});
|
|
98
|
-
|
|
97
|
+
constructor(DOMString type, optional TextFormatUpdateEventInit options = {});
|
|
99
98
|
sequence<TextFormat> getTextFormats();
|
|
100
99
|
};
|
|
101
100
|
|
|
102
|
-
dictionary CharacterBoundsUpdateEventInit {
|
|
101
|
+
dictionary CharacterBoundsUpdateEventInit : EventInit {
|
|
103
102
|
unsigned long rangeStart;
|
|
104
103
|
unsigned long rangeEnd;
|
|
105
104
|
};
|
|
106
105
|
|
|
107
106
|
[Exposed=Window]
|
|
108
107
|
interface CharacterBoundsUpdateEvent : Event {
|
|
109
|
-
constructor(optional CharacterBoundsUpdateEventInit options = {});
|
|
110
|
-
|
|
108
|
+
constructor(DOMString type, optional CharacterBoundsUpdateEventInit options = {});
|
|
111
109
|
readonly attribute unsigned long rangeStart;
|
|
112
110
|
readonly attribute unsigned long rangeEnd;
|
|
113
111
|
};
|
package/package.json
CHANGED
package/resource-timing.idl
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
[Exposed=(Window,Worker)]
|
|
7
7
|
interface PerformanceResourceTiming : PerformanceEntry {
|
|
8
8
|
readonly attribute DOMString initiatorType;
|
|
9
|
+
readonly attribute DOMString deliveryType;
|
|
9
10
|
readonly attribute ByteString nextHopProtocol;
|
|
10
11
|
readonly attribute DOMHighResTimeStamp workerStart;
|
|
11
12
|
readonly attribute DOMHighResTimeStamp redirectStart;
|
package/trust-token-api.idl
CHANGED
|
@@ -7,9 +7,13 @@ enum RefreshPolicy { "none", "refresh" };
|
|
|
7
7
|
|
|
8
8
|
enum TokenType { "private-state-token" };
|
|
9
9
|
|
|
10
|
+
enum TokenVersion { "1" };
|
|
11
|
+
|
|
10
12
|
enum OperationType { "token-request", "send-redemption-record", "token-redemption" };
|
|
11
13
|
|
|
12
14
|
dictionary PrivateToken {
|
|
15
|
+
required TokenType type;
|
|
16
|
+
required TokenVersion version;
|
|
13
17
|
required OperationType operation;
|
|
14
18
|
RefreshPolicy refreshPolicy = "none";
|
|
15
19
|
sequence<USVString> issuers;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: VP9 WebCodecs Registration (https://w3c.github.io/webcodecs/vp9_codec_registration.html)
|
|
5
|
+
|
|
6
|
+
partial dictionary VideoEncoderEncodeOptions {
|
|
7
|
+
VideoEncoderEncodeOptionsForVp9 vp9;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
dictionary VideoEncoderEncodeOptionsForVp9 {
|
|
11
|
+
unsigned short? quantizer;
|
|
12
|
+
};
|
package/webcodecs.idl
CHANGED
|
@@ -174,7 +174,7 @@ dictionary VideoEncoderConfig {
|
|
|
174
174
|
HardwareAcceleration hardwareAcceleration = "no-preference";
|
|
175
175
|
AlphaOption alpha = "discard";
|
|
176
176
|
DOMString scalabilityMode;
|
|
177
|
-
|
|
177
|
+
VideoEncoderBitrateMode bitrateMode = "variable";
|
|
178
178
|
LatencyMode latencyMode = "quality";
|
|
179
179
|
};
|
|
180
180
|
|
|
@@ -198,6 +198,12 @@ dictionary VideoEncoderEncodeOptions {
|
|
|
198
198
|
boolean keyFrame = false;
|
|
199
199
|
};
|
|
200
200
|
|
|
201
|
+
enum VideoEncoderBitrateMode {
|
|
202
|
+
"constant",
|
|
203
|
+
"variable",
|
|
204
|
+
"quantizer"
|
|
205
|
+
};
|
|
206
|
+
|
|
201
207
|
enum CodecState {
|
|
202
208
|
"unconfigured",
|
|
203
209
|
"configured",
|
package/webrtc-stats.idl
CHANGED
|
@@ -105,7 +105,7 @@ dictionary RTCRemoteInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
dictionary RTCSentRtpStreamStats : RTCRtpStreamStats {
|
|
108
|
-
unsigned long
|
|
108
|
+
unsigned long long packetsSent;
|
|
109
109
|
unsigned long long bytesSent;
|
|
110
110
|
};
|
|
111
111
|
|
package/webtransport.idl
CHANGED
|
@@ -24,6 +24,7 @@ interface WebTransport {
|
|
|
24
24
|
readonly attribute WebTransportReliabilityMode reliability;
|
|
25
25
|
readonly attribute WebTransportCongestionControl congestionControl;
|
|
26
26
|
readonly attribute Promise<WebTransportCloseInfo> closed;
|
|
27
|
+
readonly attribute Promise<undefined> draining;
|
|
27
28
|
undefined close(optional WebTransportCloseInfo closeInfo = {});
|
|
28
29
|
|
|
29
30
|
readonly attribute WebTransportDatagramDuplexStream datagrams;
|