@webref/idl 3.55.0 → 3.55.2
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/audio-session.idl +12 -12
- package/fedcm.idl +1 -0
- package/mediacapture-viewport.idl +1 -6
- package/mediasession.idl +2 -11
- package/observable.idl +1 -1
- package/package.json +1 -1
- package/selection-api.idl +5 -1
- package/service-workers.idl +1 -0
- package/shared-storage.idl +1 -0
- package/turtledove.idl +9 -3
- package/webaudio.idl +6 -6
- package/webcodecs.idl +1 -1
- package/webgpu.idl +3 -1
- package/webnn.idl +1 -1
- package/webrtc.idl +1 -1
- package/webtransport.idl +2 -1
- package/webusb.idl +13 -13
package/audio-session.idl
CHANGED
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Audio Session (https://w3c.github.io/audio-session/)
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface AudioSession : EventTarget {
|
|
8
|
+
attribute AudioSessionType type;
|
|
9
|
+
|
|
10
|
+
readonly attribute AudioSessionState state;
|
|
11
|
+
attribute EventHandler onstatechange;
|
|
10
12
|
};
|
|
11
13
|
|
|
12
14
|
enum AudioSessionType {
|
|
@@ -18,16 +20,14 @@ enum AudioSessionType {
|
|
|
18
20
|
"play-and-record"
|
|
19
21
|
};
|
|
20
22
|
|
|
23
|
+
enum AudioSessionState {
|
|
24
|
+
"inactive",
|
|
25
|
+
"active",
|
|
26
|
+
"interrupted"
|
|
27
|
+
};
|
|
28
|
+
|
|
21
29
|
[Exposed=Window]
|
|
22
30
|
partial interface Navigator {
|
|
23
31
|
// The default audio session that the user agent will use when media elements start/stop playing.
|
|
24
32
|
readonly attribute AudioSession audioSession;
|
|
25
33
|
};
|
|
26
|
-
|
|
27
|
-
[Exposed=Window]
|
|
28
|
-
interface AudioSession : EventTarget {
|
|
29
|
-
attribute AudioSessionType type;
|
|
30
|
-
|
|
31
|
-
readonly attribute AudioSessionState state;
|
|
32
|
-
attribute EventHandler onstatechange;
|
|
33
|
-
};
|
package/fedcm.idl
CHANGED
|
@@ -5,10 +5,5 @@
|
|
|
5
5
|
|
|
6
6
|
partial interface MediaDevices {
|
|
7
7
|
Promise<MediaStream> getViewportMedia(
|
|
8
|
-
optional
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
dictionary ViewportMediaStreamConstraints {
|
|
12
|
-
(boolean or MediaTrackConstraints) video = true;
|
|
13
|
-
(boolean or MediaTrackConstraints) audio = false;
|
|
8
|
+
optional DisplayMediaStreamOptions options = {});
|
|
14
9
|
};
|
package/mediasession.idl
CHANGED
|
@@ -59,7 +59,7 @@ interface MediaMetadata {
|
|
|
59
59
|
attribute DOMString title;
|
|
60
60
|
attribute DOMString artist;
|
|
61
61
|
attribute DOMString album;
|
|
62
|
-
attribute FrozenArray<
|
|
62
|
+
attribute FrozenArray<object> artwork;
|
|
63
63
|
[SameObject] readonly attribute FrozenArray<ChapterInformation> chapterInfo;
|
|
64
64
|
};
|
|
65
65
|
|
|
@@ -98,17 +98,8 @@ dictionary MediaPositionState {
|
|
|
98
98
|
|
|
99
99
|
dictionary MediaSessionActionDetails {
|
|
100
100
|
required MediaSessionAction action;
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
dictionary MediaSessionSeekActionDetails : MediaSessionActionDetails {
|
|
104
101
|
double seekOffset;
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
dictionary MediaSessionSeekToActionDetails : MediaSessionActionDetails {
|
|
108
|
-
required double seekTime;
|
|
102
|
+
double seekTime;
|
|
109
103
|
boolean fastSeek;
|
|
110
|
-
};
|
|
111
|
-
|
|
112
|
-
dictionary MediaSessionCaptureActionDetails : MediaSessionActionDetails {
|
|
113
104
|
boolean isActivating;
|
|
114
105
|
};
|
package/observable.idl
CHANGED
|
@@ -81,7 +81,7 @@ interface Observable {
|
|
|
81
81
|
Observable drop(unsigned long long amount);
|
|
82
82
|
Observable flatMap(Mapper mapper);
|
|
83
83
|
Observable switchMap(Mapper mapper);
|
|
84
|
-
Observable inspect(optional ObservableInspectorUnion
|
|
84
|
+
Observable inspect(optional ObservableInspectorUnion inspectorUnion = {});
|
|
85
85
|
Observable catch(CatchCallback callback);
|
|
86
86
|
Observable finally(VoidFunction callback);
|
|
87
87
|
|
package/package.json
CHANGED
package/selection-api.idl
CHANGED
|
@@ -18,7 +18,7 @@ interface Selection {
|
|
|
18
18
|
undefined removeRange(Range range);
|
|
19
19
|
undefined removeAllRanges();
|
|
20
20
|
undefined empty();
|
|
21
|
-
sequence<StaticRange> getComposedRanges(
|
|
21
|
+
sequence<StaticRange> getComposedRanges(optional GetComposedRangesOptions options = {});
|
|
22
22
|
undefined collapse(Node? node, optional unsigned long offset = 0);
|
|
23
23
|
undefined setPosition(Node? node, optional unsigned long offset = 0);
|
|
24
24
|
undefined collapseToStart();
|
|
@@ -32,6 +32,10 @@ interface Selection {
|
|
|
32
32
|
stringifier;
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
+
dictionary GetComposedRangesOptions {
|
|
36
|
+
sequence<ShadowRoot> shadowRoots = [];
|
|
37
|
+
};
|
|
38
|
+
|
|
35
39
|
partial interface Document {
|
|
36
40
|
Selection? getSelection();
|
|
37
41
|
};
|
package/service-workers.idl
CHANGED
|
@@ -167,6 +167,7 @@ dictionary ExtendableEventInit : EventInit {
|
|
|
167
167
|
|
|
168
168
|
[Exposed=ServiceWorker]
|
|
169
169
|
interface InstallEvent : ExtendableEvent {
|
|
170
|
+
constructor(DOMString type, optional ExtendableEventInit eventInitDict = {});
|
|
170
171
|
Promise<undefined> addRoutes((RouterRule or sequence<RouterRule>) rules);
|
|
171
172
|
};
|
|
172
173
|
|
package/shared-storage.idl
CHANGED
|
@@ -89,6 +89,7 @@ dictionary SharedStorageRunOperationMethodOptions {
|
|
|
89
89
|
boolean resolveToConfig = false;
|
|
90
90
|
boolean keepAlive = false;
|
|
91
91
|
SharedStoragePrivateAggregationConfig privateAggregationConfig;
|
|
92
|
+
DOMString savedQuery;
|
|
92
93
|
};
|
|
93
94
|
|
|
94
95
|
dictionary SharedStorageWorkletOptions : WorkletOptions {
|
package/turtledove.idl
CHANGED
|
@@ -128,14 +128,20 @@ partial interface Navigator {
|
|
|
128
128
|
Promise<AdAuctionData> getInterestGroupAdAuctionData(AdAuctionDataConfig config);
|
|
129
129
|
};
|
|
130
130
|
|
|
131
|
+
dictionary AdAuctionData {
|
|
132
|
+
required Uint8Array request;
|
|
133
|
+
required USVString requestId;
|
|
134
|
+
};
|
|
135
|
+
|
|
131
136
|
dictionary AdAuctionDataConfig {
|
|
132
137
|
required USVString seller;
|
|
133
138
|
required USVString coordinatorOrigin;
|
|
139
|
+
unsigned long requestSize;
|
|
140
|
+
record<USVString, AdAuctionDataBuyerConfig> perBuyerConfig;
|
|
134
141
|
};
|
|
135
142
|
|
|
136
|
-
dictionary
|
|
137
|
-
|
|
138
|
-
required USVString requestId;
|
|
143
|
+
dictionary AdAuctionDataBuyerConfig {
|
|
144
|
+
unsigned long targetSize;
|
|
139
145
|
};
|
|
140
146
|
|
|
141
147
|
[SecureContext]
|
package/webaudio.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: Web Audio API (https://webaudio.github.io/web-audio-api/)
|
|
4
|
+
// Source: Web Audio API 1.1 (https://webaudio.github.io/web-audio-api/)
|
|
5
5
|
|
|
6
6
|
enum AudioContextState {
|
|
7
7
|
"suspended",
|
|
@@ -33,8 +33,8 @@ interface BaseAudioContext : EventTarget {
|
|
|
33
33
|
AnalyserNode createAnalyser ();
|
|
34
34
|
BiquadFilterNode createBiquadFilter ();
|
|
35
35
|
AudioBuffer createBuffer (unsigned long numberOfChannels,
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
unsigned long length,
|
|
37
|
+
float sampleRate);
|
|
38
38
|
AudioBufferSourceNode createBufferSource ();
|
|
39
39
|
ChannelMergerNode createChannelMerger (optional unsigned long numberOfInputs = 6);
|
|
40
40
|
ChannelSplitterNode createChannelSplitter (
|
|
@@ -45,12 +45,12 @@ interface BaseAudioContext : EventTarget {
|
|
|
45
45
|
DynamicsCompressorNode createDynamicsCompressor ();
|
|
46
46
|
GainNode createGain ();
|
|
47
47
|
IIRFilterNode createIIRFilter (sequence<double> feedforward,
|
|
48
|
-
|
|
48
|
+
sequence<double> feedback);
|
|
49
49
|
OscillatorNode createOscillator ();
|
|
50
50
|
PannerNode createPanner ();
|
|
51
51
|
PeriodicWave createPeriodicWave (sequence<float> real,
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
sequence<float> imag,
|
|
53
|
+
optional PeriodicWaveConstraints constraints = {});
|
|
54
54
|
ScriptProcessorNode createScriptProcessor(
|
|
55
55
|
optional unsigned long bufferSize = 0,
|
|
56
56
|
optional unsigned long numberOfInputChannels = 2,
|
package/webcodecs.idl
CHANGED
|
@@ -340,7 +340,7 @@ dictionary VideoFrameInit {
|
|
|
340
340
|
AlphaOption alpha = "keep";
|
|
341
341
|
|
|
342
342
|
// Default matches image. May be used to efficiently crop. Will trigger
|
|
343
|
-
// new computation of displayWidth and displayHeight using image
|
|
343
|
+
// new computation of displayWidth and displayHeight using image's pixel
|
|
344
344
|
// aspect ratio unless an explicit displayWidth and displayHeight are given.
|
|
345
345
|
DOMRectInit visibleRect;
|
|
346
346
|
|
package/webgpu.idl
CHANGED
|
@@ -78,7 +78,7 @@ interface GPU {
|
|
|
78
78
|
};
|
|
79
79
|
|
|
80
80
|
dictionary GPURequestAdapterOptions {
|
|
81
|
-
|
|
81
|
+
DOMString featureLevel;
|
|
82
82
|
GPUPowerPreference powerPreference;
|
|
83
83
|
boolean forceFallbackAdapter = false;
|
|
84
84
|
};
|
|
@@ -119,6 +119,7 @@ enum GPUFeatureName {
|
|
|
119
119
|
"rg11b10ufloat-renderable",
|
|
120
120
|
"bgra8unorm-storage",
|
|
121
121
|
"float32-filterable",
|
|
122
|
+
"float32-blendable",
|
|
122
123
|
"clip-distances",
|
|
123
124
|
"dual-source-blending",
|
|
124
125
|
};
|
|
@@ -1183,6 +1184,7 @@ interface GPUCanvasContext {
|
|
|
1183
1184
|
undefined configure(GPUCanvasConfiguration configuration);
|
|
1184
1185
|
undefined unconfigure();
|
|
1185
1186
|
|
|
1187
|
+
GPUCanvasConfiguration? getConfiguration();
|
|
1186
1188
|
GPUTexture getCurrentTexture();
|
|
1187
1189
|
};
|
|
1188
1190
|
|
package/webnn.idl
CHANGED
|
@@ -90,7 +90,7 @@ enum MLOperandDataType {
|
|
|
90
90
|
|
|
91
91
|
dictionary MLOperandDescriptor {
|
|
92
92
|
required MLOperandDataType dataType;
|
|
93
|
-
sequence<[EnforceRange] unsigned long> shape
|
|
93
|
+
required sequence<[EnforceRange] unsigned long> shape;
|
|
94
94
|
};
|
|
95
95
|
|
|
96
96
|
[SecureContext, Exposed=(Window, DedicatedWorker)]
|
package/webrtc.idl
CHANGED
package/webtransport.idl
CHANGED
|
@@ -96,7 +96,8 @@ dictionary WebTransportConnectionStats {
|
|
|
96
96
|
required DOMHighResTimeStamp rttVariation;
|
|
97
97
|
required DOMHighResTimeStamp minRtt;
|
|
98
98
|
required WebTransportDatagramStats datagrams;
|
|
99
|
-
|
|
99
|
+
unsigned long long? estimatedSendRate = null;
|
|
100
|
+
boolean atSendCapacity = false;
|
|
100
101
|
};
|
|
101
102
|
|
|
102
103
|
dictionary WebTransportDatagramStats {
|
package/webusb.idl
CHANGED
|
@@ -40,7 +40,7 @@ dictionary USBConnectionEventInit : EventInit {
|
|
|
40
40
|
};
|
|
41
41
|
|
|
42
42
|
[
|
|
43
|
-
Exposed=(
|
|
43
|
+
Exposed=(Worker,Window),
|
|
44
44
|
SecureContext
|
|
45
45
|
]
|
|
46
46
|
interface USBConnectionEvent : Event {
|
|
@@ -55,7 +55,7 @@ enum USBTransferStatus {
|
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
[
|
|
58
|
-
Exposed=(
|
|
58
|
+
Exposed=(Worker,Window),
|
|
59
59
|
SecureContext
|
|
60
60
|
]
|
|
61
61
|
interface USBInTransferResult {
|
|
@@ -65,7 +65,7 @@ interface USBInTransferResult {
|
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
[
|
|
68
|
-
Exposed=(
|
|
68
|
+
Exposed=(Worker,Window),
|
|
69
69
|
SecureContext
|
|
70
70
|
]
|
|
71
71
|
interface USBOutTransferResult {
|
|
@@ -75,7 +75,7 @@ interface USBOutTransferResult {
|
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
[
|
|
78
|
-
Exposed=(
|
|
78
|
+
Exposed=(Worker,Window),
|
|
79
79
|
SecureContext
|
|
80
80
|
]
|
|
81
81
|
interface USBIsochronousInTransferPacket {
|
|
@@ -85,7 +85,7 @@ interface USBIsochronousInTransferPacket {
|
|
|
85
85
|
};
|
|
86
86
|
|
|
87
87
|
[
|
|
88
|
-
Exposed=(
|
|
88
|
+
Exposed=(Worker,Window),
|
|
89
89
|
SecureContext
|
|
90
90
|
]
|
|
91
91
|
interface USBIsochronousInTransferResult {
|
|
@@ -95,7 +95,7 @@ interface USBIsochronousInTransferResult {
|
|
|
95
95
|
};
|
|
96
96
|
|
|
97
97
|
[
|
|
98
|
-
Exposed=(
|
|
98
|
+
Exposed=(Worker,Window),
|
|
99
99
|
SecureContext
|
|
100
100
|
]
|
|
101
101
|
interface USBIsochronousOutTransferPacket {
|
|
@@ -105,7 +105,7 @@ interface USBIsochronousOutTransferPacket {
|
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
[
|
|
108
|
-
Exposed=(
|
|
108
|
+
Exposed=(Worker,Window),
|
|
109
109
|
SecureContext
|
|
110
110
|
]
|
|
111
111
|
interface USBIsochronousOutTransferResult {
|
|
@@ -113,7 +113,7 @@ interface USBIsochronousOutTransferResult {
|
|
|
113
113
|
readonly attribute FrozenArray<USBIsochronousOutTransferPacket> packets;
|
|
114
114
|
};
|
|
115
115
|
|
|
116
|
-
[Exposed=(
|
|
116
|
+
[Exposed=(Worker,Window), SecureContext]
|
|
117
117
|
interface USBDevice {
|
|
118
118
|
readonly attribute octet usbVersionMajor;
|
|
119
119
|
readonly attribute octet usbVersionMinor;
|
|
@@ -171,7 +171,7 @@ dictionary USBControlTransferParameters {
|
|
|
171
171
|
};
|
|
172
172
|
|
|
173
173
|
[
|
|
174
|
-
Exposed=(
|
|
174
|
+
Exposed=(Worker,Window),
|
|
175
175
|
SecureContext
|
|
176
176
|
]
|
|
177
177
|
interface USBConfiguration {
|
|
@@ -182,7 +182,7 @@ interface USBConfiguration {
|
|
|
182
182
|
};
|
|
183
183
|
|
|
184
184
|
[
|
|
185
|
-
Exposed=(
|
|
185
|
+
Exposed=(Worker,Window),
|
|
186
186
|
SecureContext
|
|
187
187
|
]
|
|
188
188
|
interface USBInterface {
|
|
@@ -194,7 +194,7 @@ interface USBInterface {
|
|
|
194
194
|
};
|
|
195
195
|
|
|
196
196
|
[
|
|
197
|
-
Exposed=(
|
|
197
|
+
Exposed=(Worker,Window),
|
|
198
198
|
SecureContext
|
|
199
199
|
]
|
|
200
200
|
interface USBAlternateInterface {
|
|
@@ -219,7 +219,7 @@ enum USBEndpointType {
|
|
|
219
219
|
};
|
|
220
220
|
|
|
221
221
|
[
|
|
222
|
-
Exposed=(
|
|
222
|
+
Exposed=(Worker,Window),
|
|
223
223
|
SecureContext
|
|
224
224
|
]
|
|
225
225
|
interface USBEndpoint {
|
|
@@ -252,7 +252,7 @@ dictionary USBPermissionStorage {
|
|
|
252
252
|
sequence<AllowedUSBDevice> allowedDevices = [];
|
|
253
253
|
};
|
|
254
254
|
|
|
255
|
-
[Exposed=(
|
|
255
|
+
[Exposed=(Worker,Window)]
|
|
256
256
|
interface USBPermissionResult : PermissionStatus {
|
|
257
257
|
attribute FrozenArray<USBDevice> devices;
|
|
258
258
|
};
|