Skip to content

Commit 83efc9f

Browse files
Update LKG for 4.6.1-rc.
1 parent 85cd735 commit 83efc9f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+102786
-71832
lines changed

lib/cs/diagnosticMessages.generated.json

Lines changed: 87 additions & 69 deletions
Large diffs are not rendered by default.

lib/de/diagnosticMessages.generated.json

Lines changed: 90 additions & 72 deletions
Large diffs are not rendered by default.

lib/es/diagnosticMessages.generated.json

Lines changed: 88 additions & 70 deletions
Large diffs are not rendered by default.

lib/fr/diagnosticMessages.generated.json

Lines changed: 90 additions & 72 deletions
Large diffs are not rendered by default.

lib/it/diagnosticMessages.generated.json

Lines changed: 90 additions & 72 deletions
Large diffs are not rendered by default.

lib/ja/diagnosticMessages.generated.json

Lines changed: 90 additions & 72 deletions
Large diffs are not rendered by default.

lib/ko/diagnosticMessages.generated.json

Lines changed: 87 additions & 69 deletions
Large diffs are not rendered by default.

lib/lib.dom.d.ts

Lines changed: 1403 additions & 2331 deletions
Large diffs are not rendered by default.

lib/lib.dom.iterable.d.ts

Lines changed: 31 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,11 @@ interface FontFaceSet extends Set<FontFace> {
7878

7979
interface FormData {
8080
[Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;
81-
/**
82-
* Returns an array of key, value pairs for every entry in the list.
83-
*/
81+
/** Returns an array of key, value pairs for every entry in the list. */
8482
entries(): IterableIterator<[string, FormDataEntryValue]>;
85-
/**
86-
* Returns a list of keys in the list.
87-
*/
83+
/** Returns a list of keys in the list. */
8884
keys(): IterableIterator<string>;
89-
/**
90-
* Returns a list of values in the list.
91-
*/
85+
/** Returns a list of values in the list. */
9286
values(): IterableIterator<FormDataEntryValue>;
9387
}
9488

@@ -109,29 +103,21 @@ interface HTMLFormElement {
109103
}
110104

111105
interface HTMLSelectElement {
112-
[Symbol.iterator](): IterableIterator<Element>;
106+
[Symbol.iterator](): IterableIterator<HTMLOptionElement>;
113107
}
114108

115109
interface Headers {
116110
[Symbol.iterator](): IterableIterator<[string, string]>;
117-
/**
118-
* Returns an iterator allowing to go through all key/value pairs contained in this object.
119-
*/
111+
/** Returns an iterator allowing to go through all key/value pairs contained in this object. */
120112
entries(): IterableIterator<[string, string]>;
121-
/**
122-
* Returns an iterator allowing to go through all keys of the key/value pairs contained in this object.
123-
*/
113+
/** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
124114
keys(): IterableIterator<string>;
125-
/**
126-
* Returns an iterator allowing to go through all values of the key/value pairs contained in this object.
127-
*/
115+
/** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
128116
values(): IterableIterator<string>;
129117
}
130118

131119
interface IDBDatabase {
132-
/**
133-
* Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.
134-
*/
120+
/** Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names. */
135121
transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode): IDBTransaction;
136122
}
137123

@@ -161,66 +147,52 @@ interface MessageEvent<T = any> {
161147
}
162148

163149
interface MimeTypeArray {
164-
[Symbol.iterator](): IterableIterator<any>;
150+
[Symbol.iterator](): IterableIterator<MimeType>;
165151
}
166152

167153
interface NamedNodeMap {
168154
[Symbol.iterator](): IterableIterator<Attr>;
169155
}
170156

171157
interface Navigator {
158+
/** Available only in secure contexts. */
172159
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>): Promise<MediaKeySystemAccess>;
173160
vibrate(pattern: Iterable<number>): boolean;
174161
}
175162

176163
interface NodeList {
177164
[Symbol.iterator](): IterableIterator<Node>;
178-
/**
179-
* Returns an array of key, value pairs for every entry in the list.
180-
*/
165+
/** Returns an array of key, value pairs for every entry in the list. */
181166
entries(): IterableIterator<[number, Node]>;
182-
/**
183-
* Returns an list of keys in the list.
184-
*/
167+
/** Returns an list of keys in the list. */
185168
keys(): IterableIterator<number>;
186-
/**
187-
* Returns an list of values in the list.
188-
*/
169+
/** Returns an list of values in the list. */
189170
values(): IterableIterator<Node>;
190171
}
191172

192173
interface NodeListOf<TNode extends Node> {
193174
[Symbol.iterator](): IterableIterator<TNode>;
194-
/**
195-
* Returns an array of key, value pairs for every entry in the list.
196-
*/
175+
/** Returns an array of key, value pairs for every entry in the list. */
197176
entries(): IterableIterator<[number, TNode]>;
198-
/**
199-
* Returns an list of keys in the list.
200-
*/
177+
/** Returns an list of keys in the list. */
201178
keys(): IterableIterator<number>;
202-
/**
203-
* Returns an list of values in the list.
204-
*/
179+
/** Returns an list of values in the list. */
205180
values(): IterableIterator<TNode>;
206181
}
207182

208183
interface Plugin {
209-
[Symbol.iterator](): IterableIterator<undefined>;
184+
[Symbol.iterator](): IterableIterator<MimeType>;
210185
}
211186

212187
interface PluginArray {
213-
[Symbol.iterator](): IterableIterator<any>;
188+
[Symbol.iterator](): IterableIterator<Plugin>;
214189
}
215190

216-
interface RTCStatsReport extends ReadonlyMap<string, any> {
191+
interface RTCRtpTransceiver {
192+
setCodecPreferences(codecs: Iterable<RTCRtpCodecCapability>): void;
217193
}
218194

219-
interface ReadableStream<R = any> {
220-
[Symbol.iterator](): IterableIterator<any>;
221-
entries(): IterableIterator<[number, any]>;
222-
keys(): IterableIterator<number>;
223-
values(): IterableIterator<any>;
195+
interface RTCStatsReport extends ReadonlyMap<string, any> {
224196
}
225197

226198
interface SVGLengthList {
@@ -283,24 +255,25 @@ interface TouchList {
283255

284256
interface URLSearchParams {
285257
[Symbol.iterator](): IterableIterator<[string, string]>;
286-
/**
287-
* Returns an array of key, value pairs for every entry in the search params.
288-
*/
258+
/** Returns an array of key, value pairs for every entry in the search params. */
289259
entries(): IterableIterator<[string, string]>;
290-
/**
291-
* Returns a list of keys in the search params.
292-
*/
260+
/** Returns a list of keys in the search params. */
293261
keys(): IterableIterator<string>;
294-
/**
295-
* Returns a list of values in the search params.
296-
*/
262+
/** Returns a list of values in the search params. */
297263
values(): IterableIterator<string>;
298264
}
299265

300266
interface WEBGL_draw_buffers {
301267
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
302268
}
303269

270+
interface WEBGL_multi_draw {
271+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
272+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, drawcount: GLsizei): void;
273+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
274+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): void;
275+
}
276+
304277
interface WebGL2RenderingContextBase {
305278
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;
306279
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;

lib/lib.es2015.core.d.ts

Lines changed: 53 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -455,47 +455,87 @@ interface String {
455455

456456
/**
457457
* Returns an `<a>` HTML anchor element and sets the name attribute to the text value
458+
* @deprecated A legacy feature for browser compatibility
458459
* @param name
459460
*/
460461
anchor(name: string): string;
461462

462-
/** Returns a `<big>` HTML element */
463+
/**
464+
* Returns a `<big>` HTML element
465+
* @deprecated A legacy feature for browser compatibility
466+
*/
463467
big(): string;
464468

465-
/** Returns a `<blink>` HTML element */
469+
/**
470+
* Returns a `<blink>` HTML element
471+
* @deprecated A legacy feature for browser compatibility
472+
*/
466473
blink(): string;
467474

468-
/** Returns a `<b>` HTML element */
475+
/**
476+
* Returns a `<b>` HTML element
477+
* @deprecated A legacy feature for browser compatibility
478+
*/
469479
bold(): string;
470480

471-
/** Returns a `<tt>` HTML element */
481+
/**
482+
* Returns a `<tt>` HTML element
483+
* @deprecated A legacy feature for browser compatibility
484+
*/
472485
fixed(): string;
473486

474-
/** Returns a `<font>` HTML element and sets the color attribute value */
487+
/**
488+
* Returns a `<font>` HTML element and sets the color attribute value
489+
* @deprecated A legacy feature for browser compatibility
490+
*/
475491
fontcolor(color: string): string;
476492

477-
/** Returns a `<font>` HTML element and sets the size attribute value */
493+
/**
494+
* Returns a `<font>` HTML element and sets the size attribute value
495+
* @deprecated A legacy feature for browser compatibility
496+
*/
478497
fontsize(size: number): string;
479498

480-
/** Returns a `<font>` HTML element and sets the size attribute value */
499+
/**
500+
* Returns a `<font>` HTML element and sets the size attribute value
501+
* @deprecated A legacy feature for browser compatibility
502+
*/
481503
fontsize(size: string): string;
482504

483-
/** Returns an `<i>` HTML element */
505+
/**
506+
* Returns an `<i>` HTML element
507+
* @deprecated A legacy feature for browser compatibility
508+
*/
484509
italics(): string;
485510

486-
/** Returns an `<a>` HTML element and sets the href attribute value */
511+
/**
512+
* Returns an `<a>` HTML element and sets the href attribute value
513+
* @deprecated A legacy feature for browser compatibility
514+
*/
487515
link(url: string): string;
488516

489-
/** Returns a `<small>` HTML element */
517+
/**
518+
* Returns a `<small>` HTML element
519+
* @deprecated A legacy feature for browser compatibility
520+
*/
490521
small(): string;
491522

492-
/** Returns a `<strike>` HTML element */
523+
/**
524+
* Returns a `<strike>` HTML element
525+
* @deprecated A legacy feature for browser compatibility
526+
*/
493527
strike(): string;
494528

495-
/** Returns a `<sub>` HTML element */
529+
/**
530+
* Returns a `<sub>` HTML element
531+
* @deprecated A legacy feature for browser compatibility
532+
*/
496533
sub(): string;
497534

498-
/** Returns a `<sup>` HTML element */
535+
/**
536+
* Returns a `<sup>` HTML element
537+
* @deprecated A legacy feature for browser compatibility
538+
*/
499539
sup(): string;
500540
}
501541

0 commit comments

Comments
 (0)