Skip to content

Commit bdf8d5c

Browse files
committed
Update DOM and baselines
1 parent 2fdf7b5 commit bdf8d5c

11 files changed

+2519
-2165
lines changed

src/lib/dom.generated.d.ts

Lines changed: 2018 additions & 1804 deletions
Large diffs are not rendered by default.

src/lib/dom.iterable.generated.d.ts

Lines changed: 94 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,22 @@
22
/// DOM Iterable APIs
33
/////////////////////////////
44

5+
interface AudioParam {
6+
setValueCurveAtTime(values: Iterable<number>, startTime: number, duration: number): AudioParam;
7+
}
8+
59
interface AudioParamMap extends ReadonlyMap<string, AudioParam> {
610
}
711

812
interface 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+
1221
interface 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+
2037
interface ClientRectList {
2138
[Symbol.iterator](): IterableIterator<ClientRect>;
2239
}
@@ -46,16 +63,16 @@ interface FileList {
4663

4764
interface FormData {
4865
[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.
5168
*/
5269
entries(): IterableIterator<[string, FormDataEntryValue]>;
53-
/**
54-
* Returns a list of keys in the list.
70+
/**
71+
* Returns a list of keys in the list.
5572
*/
5673
keys(): IterableIterator<string>;
57-
/**
58-
* Returns a list of values in the list.
74+
/**
75+
* Returns a list of values in the list.
5976
*/
6077
values(): IterableIterator<FormDataEntryValue>;
6178
}
@@ -82,20 +99,29 @@ interface HTMLSelectElement {
8299

83100
interface Headers {
84101
[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.
87104
*/
88105
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.
91108
*/
92109
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.
95112
*/
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+
99125
interface MediaKeyStatusMap {
100126
[Symbol.iterator](): IterableIterator<[BufferSource, MediaKeyStatus]>;
101127
entries(): IterableIterator<[BufferSource, MediaKeyStatus]>;
@@ -115,34 +141,38 @@ interface NamedNodeMap {
115141
[Symbol.iterator](): IterableIterator<Attr>;
116142
}
117143

144+
interface Navigator {
145+
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>): Promise<MediaKeySystemAccess>;
146+
}
147+
118148
interface NodeList {
119149
[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.
122152
*/
123153
entries(): IterableIterator<[number, Node]>;
124-
/**
125-
* Returns an list of keys in the list.
154+
/**
155+
* Returns an list of keys in the list.
126156
*/
127157
keys(): IterableIterator<number>;
128-
/**
129-
* Returns an list of values in the list.
158+
/**
159+
* Returns an list of values in the list.
130160
*/
131161
values(): IterableIterator<Node>;
132162
}
133163

134164
interface NodeListOf<TNode extends Node> {
135165
[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.
138168
*/
139169
entries(): IterableIterator<[number, TNode]>;
140-
/**
141-
* Returns an list of keys in the list.
170+
/**
171+
* Returns an list of keys in the list.
142172
*/
143173
keys(): IterableIterator<number>;
144-
/**
145-
* Returns an list of values in the list.
174+
/**
175+
* Returns an list of values in the list.
146176
*/
147177
values(): IterableIterator<TNode>;
148178
}
@@ -155,6 +185,10 @@ interface PluginArray {
155185
[Symbol.iterator](): IterableIterator<Plugin>;
156186
}
157187

188+
interface RTCRtpTransceiver {
189+
setCodecPreferences(codecs: Iterable<RTCRtpCodecCapability>): void;
190+
}
191+
158192
interface RTCStatsReport extends ReadonlyMap<string, any> {
159193
}
160194

@@ -208,20 +242,50 @@ interface TouchList {
208242

209243
interface URLSearchParams {
210244
[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.
213247
*/
214248
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.
217251
*/
218252
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.
221255
*/
222256
values(): IterableIterator<string>;
223257
}
224258

259+
interface VRDisplay {
260+
requestPresent(layers: Iterable<VRLayer>): Promise<void>;
261+
}
262+
225263
interface 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

Comments
 (0)