2
2
/// DOM Iterable APIs
3
3
/////////////////////////////
4
4
5
+ interface AudioParam {
6
+ setValueCurveAtTime ( values : Iterable < number > , startTime : number , duration : number ) : AudioParam ;
7
+ }
8
+
5
9
interface AudioParamMap extends ReadonlyMap < string , AudioParam > {
6
10
}
7
11
8
12
interface AudioTrackList {
9
13
[ Symbol . iterator ] ( ) : IterableIterator < AudioTrack > ;
10
14
}
11
15
16
+ interface BaseAudioContext {
17
+ createIIRFilter ( feedforward : Iterable < number > , feedback : Iterable < number > ) : IIRFilterNode ;
18
+ createPeriodicWave ( real : Iterable < number > , imag : Iterable < number > , constraints ?: PeriodicWaveConstraints ) : PeriodicWave ;
19
+ }
20
+
12
21
interface CSSRuleList {
13
22
[ Symbol . iterator ] ( ) : IterableIterator < CSSRule > ;
14
23
}
@@ -17,6 +26,14 @@ interface CSSStyleDeclaration {
17
26
[ Symbol . iterator ] ( ) : IterableIterator < string > ;
18
27
}
19
28
29
+ interface Cache {
30
+ addAll ( requests : Iterable < RequestInfo > ) : Promise < void > ;
31
+ }
32
+
33
+ interface CanvasPathDrawingStyles {
34
+ setLineDash ( segments : Iterable < number > ) : void ;
35
+ }
36
+
20
37
interface ClientRectList {
21
38
[ Symbol . iterator ] ( ) : IterableIterator < ClientRect > ;
22
39
}
@@ -46,16 +63,16 @@ interface FileList {
46
63
47
64
interface FormData {
48
65
[ Symbol . iterator ] ( ) : IterableIterator < [ string , FormDataEntryValue ] > ;
49
- /**
50
- * Returns an array of key, value pairs for every entry in the list.
66
+ /**
67
+ * Returns an array of key, value pairs for every entry in the list.
51
68
*/
52
69
entries ( ) : IterableIterator < [ string , FormDataEntryValue ] > ;
53
- /**
54
- * Returns a list of keys in the list.
70
+ /**
71
+ * Returns a list of keys in the list.
55
72
*/
56
73
keys ( ) : IterableIterator < string > ;
57
- /**
58
- * Returns a list of values in the list.
74
+ /**
75
+ * Returns a list of values in the list.
59
76
*/
60
77
values ( ) : IterableIterator < FormDataEntryValue > ;
61
78
}
@@ -82,20 +99,29 @@ interface HTMLSelectElement {
82
99
83
100
interface Headers {
84
101
[ Symbol . iterator ] ( ) : IterableIterator < [ string , string ] > ;
85
- /**
86
- * Returns an iterator allowing to go through all key/value pairs contained in this object.
102
+ /**
103
+ * Returns an iterator allowing to go through all key/value pairs contained in this object.
87
104
*/
88
105
entries ( ) : IterableIterator < [ string , string ] > ;
89
- /**
90
- * Returns an iterator allowing to go through all keys of the key/value pairs contained in this object.
106
+ /**
107
+ * Returns an iterator allowing to go through all keys of the key/value pairs contained in this object.
91
108
*/
92
109
keys ( ) : IterableIterator < string > ;
93
- /**
94
- * Returns an iterator allowing to go through all values of the key/value pairs contained in this object.
110
+ /**
111
+ * Returns an iterator allowing to go through all values of the key/value pairs contained in this object.
95
112
*/
96
113
values ( ) : IterableIterator < string > ;
97
114
}
98
115
116
+ interface IDBObjectStore {
117
+ /**
118
+ * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.
119
+ *
120
+ * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
121
+ */
122
+ createIndex ( name : string , keyPath : string | Iterable < string > , options ?: IDBIndexParameters ) : IDBIndex ;
123
+ }
124
+
99
125
interface MediaKeyStatusMap {
100
126
[ Symbol . iterator ] ( ) : IterableIterator < [ BufferSource , MediaKeyStatus ] > ;
101
127
entries ( ) : IterableIterator < [ BufferSource , MediaKeyStatus ] > ;
@@ -115,34 +141,38 @@ interface NamedNodeMap {
115
141
[ Symbol . iterator ] ( ) : IterableIterator < Attr > ;
116
142
}
117
143
144
+ interface Navigator {
145
+ requestMediaKeySystemAccess ( keySystem : string , supportedConfigurations : Iterable < MediaKeySystemConfiguration > ) : Promise < MediaKeySystemAccess > ;
146
+ }
147
+
118
148
interface NodeList {
119
149
[ Symbol . iterator ] ( ) : IterableIterator < Node > ;
120
- /**
121
- * Returns an array of key, value pairs for every entry in the list.
150
+ /**
151
+ * Returns an array of key, value pairs for every entry in the list.
122
152
*/
123
153
entries ( ) : IterableIterator < [ number , Node ] > ;
124
- /**
125
- * Returns an list of keys in the list.
154
+ /**
155
+ * Returns an list of keys in the list.
126
156
*/
127
157
keys ( ) : IterableIterator < number > ;
128
- /**
129
- * Returns an list of values in the list.
158
+ /**
159
+ * Returns an list of values in the list.
130
160
*/
131
161
values ( ) : IterableIterator < Node > ;
132
162
}
133
163
134
164
interface NodeListOf < TNode extends Node > {
135
165
[ Symbol . iterator ] ( ) : IterableIterator < TNode > ;
136
- /**
137
- * Returns an array of key, value pairs for every entry in the list.
166
+ /**
167
+ * Returns an array of key, value pairs for every entry in the list.
138
168
*/
139
169
entries ( ) : IterableIterator < [ number , TNode ] > ;
140
- /**
141
- * Returns an list of keys in the list.
170
+ /**
171
+ * Returns an list of keys in the list.
142
172
*/
143
173
keys ( ) : IterableIterator < number > ;
144
- /**
145
- * Returns an list of values in the list.
174
+ /**
175
+ * Returns an list of values in the list.
146
176
*/
147
177
values ( ) : IterableIterator < TNode > ;
148
178
}
@@ -155,6 +185,10 @@ interface PluginArray {
155
185
[ Symbol . iterator ] ( ) : IterableIterator < Plugin > ;
156
186
}
157
187
188
+ interface RTCRtpTransceiver {
189
+ setCodecPreferences ( codecs : Iterable < RTCRtpCodecCapability > ) : void ;
190
+ }
191
+
158
192
interface RTCStatsReport extends ReadonlyMap < string , any > {
159
193
}
160
194
@@ -208,20 +242,50 @@ interface TouchList {
208
242
209
243
interface URLSearchParams {
210
244
[ Symbol . iterator ] ( ) : IterableIterator < [ string , string ] > ;
211
- /**
212
- * Returns an array of key, value pairs for every entry in the search params.
245
+ /**
246
+ * Returns an array of key, value pairs for every entry in the search params.
213
247
*/
214
248
entries ( ) : IterableIterator < [ string , string ] > ;
215
- /**
216
- * Returns a list of keys in the search params.
249
+ /**
250
+ * Returns a list of keys in the search params.
217
251
*/
218
252
keys ( ) : IterableIterator < string > ;
219
- /**
220
- * Returns a list of values in the search params.
253
+ /**
254
+ * Returns a list of values in the search params.
221
255
*/
222
256
values ( ) : IterableIterator < string > ;
223
257
}
224
258
259
+ interface VRDisplay {
260
+ requestPresent ( layers : Iterable < VRLayer > ) : Promise < void > ;
261
+ }
262
+
225
263
interface VideoTrackList {
226
264
[ Symbol . iterator ] ( ) : IterableIterator < VideoTrack > ;
227
265
}
266
+
267
+ interface WEBGL_draw_buffers {
268
+ drawBuffersWEBGL ( buffers : Iterable < GLenum > ) : void ;
269
+ }
270
+
271
+ interface WebAuthentication {
272
+ makeCredential ( accountInformation : Account , cryptoParameters : Iterable < ScopedCredentialParameters > , attestationChallenge : Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null , options ?: ScopedCredentialOptions ) : Promise < ScopedCredentialInfo > ;
273
+ }
274
+
275
+ interface WebGLRenderingContextBase {
276
+ uniform1fv ( location : WebGLUniformLocation | null , v : Iterable < GLfloat > ) : void ;
277
+ uniform2fv ( location : WebGLUniformLocation | null , v : Iterable < GLfloat > ) : void ;
278
+ uniform3fv ( location : WebGLUniformLocation | null , v : Iterable < GLfloat > ) : void ;
279
+ uniform4fv ( location : WebGLUniformLocation | null , v : Iterable < GLfloat > ) : void ;
280
+ uniform1iv ( location : WebGLUniformLocation | null , v : Iterable < GLint > ) : void ;
281
+ uniform2iv ( location : WebGLUniformLocation | null , v : Iterable < GLint > ) : void ;
282
+ uniform3iv ( location : WebGLUniformLocation | null , v : Iterable < GLint > ) : void ;
283
+ uniform4iv ( location : WebGLUniformLocation | null , v : Iterable < GLint > ) : void ;
284
+ uniformMatrix2fv ( location : WebGLUniformLocation | null , transpose : GLboolean , value : Iterable < GLfloat > ) : void ;
285
+ uniformMatrix3fv ( location : WebGLUniformLocation | null , transpose : GLboolean , value : Iterable < GLfloat > ) : void ;
286
+ uniformMatrix4fv ( location : WebGLUniformLocation | null , transpose : GLboolean , value : Iterable < GLfloat > ) : void ;
287
+ vertexAttrib1fv ( index : GLuint , values : Iterable < GLfloat > ) : void ;
288
+ vertexAttrib2fv ( index : GLuint , values : Iterable < GLfloat > ) : void ;
289
+ vertexAttrib3fv ( index : GLuint , values : Iterable < GLfloat > ) : void ;
290
+ vertexAttrib4fv ( index : GLuint , values : Iterable < GLfloat > ) : void ;
291
+ }
0 commit comments