@webref/idl 3.55.0 → 3.55.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/audio-session.idl +12 -12
- package/mediacapture-viewport.idl +1 -6
- package/mediasession.idl +1 -10
- 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/webgpu.idl +2 -1
- package/webnn.idl +1 -1
- package/webrtc.idl +1 -1
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
|
-
};
|
|
@@ -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
|
@@ -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/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
|
};
|
|
@@ -1183,6 +1183,7 @@ interface GPUCanvasContext {
|
|
|
1183
1183
|
undefined configure(GPUCanvasConfiguration configuration);
|
|
1184
1184
|
undefined unconfigure();
|
|
1185
1185
|
|
|
1186
|
+
GPUCanvasConfiguration? getConfiguration();
|
|
1186
1187
|
GPUTexture getCurrentTexture();
|
|
1187
1188
|
};
|
|
1188
1189
|
|
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