22/// DOM Iterable APIs
33/////////////////////////////
44
5+ interface AudioParam {
6+ setValueCurveAtTime ( values : Iterable < number > , startTime : number , duration : number ) : AudioParam ;
7+ }
8+
59interface AudioParamMap extends ReadonlyMap < string , AudioParam > {
610}
711
812interface AudioTrackList {
913 [ Symbol . iterator ] ( ) : IterableIterator < AudioTrack > ;
1014}
1115
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+
1221interface CSSRuleList {
1322 [ Symbol . iterator ] ( ) : IterableIterator < CSSRule > ;
1423}
@@ -17,6 +26,14 @@ interface CSSStyleDeclaration {
1726 [ Symbol . iterator ] ( ) : IterableIterator < string > ;
1827}
1928
29+ interface Cache {
30+ addAll ( requests : Iterable < RequestInfo > ) : Promise < void > ;
31+ }
32+
33+ interface CanvasPathDrawingStyles {
34+ setLineDash ( segments : Iterable < number > ) : void ;
35+ }
36+
2037interface ClientRectList {
2138 [ Symbol . iterator ] ( ) : IterableIterator < ClientRect > ;
2239}
@@ -96,6 +113,15 @@ interface Headers {
96113 values ( ) : IterableIterator < string > ;
97114}
98115
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+
99125interface MediaKeyStatusMap {
100126 [ Symbol . iterator ] ( ) : IterableIterator < [ BufferSource , MediaKeyStatus ] > ;
101127 entries ( ) : IterableIterator < [ BufferSource , MediaKeyStatus ] > ;
@@ -115,6 +141,10 @@ interface NamedNodeMap {
115141 [ Symbol . iterator ] ( ) : IterableIterator < Attr > ;
116142}
117143
144+ interface Navigator {
145+ requestMediaKeySystemAccess ( keySystem : string , supportedConfigurations : Iterable < MediaKeySystemConfiguration > ) : Promise < MediaKeySystemAccess > ;
146+ }
147+
118148interface NodeList {
119149 [ Symbol . iterator ] ( ) : IterableIterator < Node > ;
120150 /**
@@ -155,6 +185,10 @@ interface PluginArray {
155185 [ Symbol . iterator ] ( ) : IterableIterator < Plugin > ;
156186}
157187
188+ interface RTCRtpTransceiver {
189+ setCodecPreferences ( codecs : Iterable < RTCRtpCodecCapability > ) : void ;
190+ }
191+
158192interface RTCStatsReport extends ReadonlyMap < string , any > {
159193}
160194
@@ -222,6 +256,36 @@ interface URLSearchParams {
222256 values ( ) : IterableIterator < string > ;
223257}
224258
259+ interface VRDisplay {
260+ requestPresent ( layers : Iterable < VRLayer > ) : Promise < void > ;
261+ }
262+
225263interface VideoTrackList {
226264 [ Symbol . iterator ] ( ) : IterableIterator < VideoTrack > ;
227265}
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