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
}
@@ -96,6 +113,15 @@ interface Headers {
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,6 +141,10 @@ 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
150
/**
@@ -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
@@ -222,6 +256,36 @@ interface URLSearchParams {
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