typescript 5.9.0-dev.20250507 → 5.9.0-dev.20250508
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_tsc.js +1 -1
- package/lib/lib.dom.d.ts +2150 -793
- package/lib/lib.dom.iterable.d.ts +4 -4
- package/lib/lib.webworker.d.ts +916 -347
- package/lib/lib.webworker.iterable.d.ts +4 -4
- package/lib/typescript.js +1 -1
- package/package.json +2 -2
package/lib/lib.webworker.d.ts
CHANGED
@@ -84,7 +84,7 @@ interface AudioDataInit {
|
|
84
84
|
|
85
85
|
interface AudioDecoderConfig {
|
86
86
|
codec: string;
|
87
|
-
description?:
|
87
|
+
description?: AllowSharedBufferSource;
|
88
88
|
numberOfChannels: number;
|
89
89
|
sampleRate: number;
|
90
90
|
}
|
@@ -159,6 +159,33 @@ interface CloseEventInit extends EventInit {
|
|
159
159
|
wasClean?: boolean;
|
160
160
|
}
|
161
161
|
|
162
|
+
interface CookieInit {
|
163
|
+
domain?: string | null;
|
164
|
+
expires?: DOMHighResTimeStamp | null;
|
165
|
+
name: string;
|
166
|
+
partitioned?: boolean;
|
167
|
+
path?: string;
|
168
|
+
sameSite?: CookieSameSite;
|
169
|
+
value: string;
|
170
|
+
}
|
171
|
+
|
172
|
+
interface CookieListItem {
|
173
|
+
name?: string;
|
174
|
+
value?: string;
|
175
|
+
}
|
176
|
+
|
177
|
+
interface CookieStoreDeleteOptions {
|
178
|
+
domain?: string | null;
|
179
|
+
name: string;
|
180
|
+
partitioned?: boolean;
|
181
|
+
path?: string;
|
182
|
+
}
|
183
|
+
|
184
|
+
interface CookieStoreGetOptions {
|
185
|
+
name?: string;
|
186
|
+
url?: string;
|
187
|
+
}
|
188
|
+
|
162
189
|
interface CryptoKeyPair {
|
163
190
|
privateKey: CryptoKey;
|
164
191
|
publicKey: CryptoKey;
|
@@ -279,6 +306,11 @@ interface EventSourceInit {
|
|
279
306
|
withCredentials?: boolean;
|
280
307
|
}
|
281
308
|
|
309
|
+
interface ExtendableCookieChangeEventInit extends ExtendableEventInit {
|
310
|
+
changed?: CookieList;
|
311
|
+
deleted?: CookieList;
|
312
|
+
}
|
313
|
+
|
282
314
|
interface ExtendableEventInit extends EventInit {
|
283
315
|
}
|
284
316
|
|
@@ -294,7 +326,6 @@ interface FetchEventInit extends ExtendableEventInit {
|
|
294
326
|
clientId?: string;
|
295
327
|
handled?: Promise<void>;
|
296
328
|
preloadResponse?: Promise<any>;
|
297
|
-
replacesClientId?: string;
|
298
329
|
request: Request;
|
299
330
|
resultingClientId?: string;
|
300
331
|
}
|
@@ -657,7 +688,7 @@ interface ReadableStreamIteratorOptions {
|
|
657
688
|
|
658
689
|
interface ReadableStreamReadDoneResult<T> {
|
659
690
|
done: true;
|
660
|
-
value
|
691
|
+
value: T | undefined;
|
661
692
|
}
|
662
693
|
|
663
694
|
interface ReadableStreamReadValueResult<T> {
|
@@ -995,10 +1026,13 @@ interface WebTransportOptions {
|
|
995
1026
|
serverCertificateHashes?: WebTransportHash[];
|
996
1027
|
}
|
997
1028
|
|
998
|
-
interface
|
1029
|
+
interface WebTransportSendOptions {
|
999
1030
|
sendOrder?: number;
|
1000
1031
|
}
|
1001
1032
|
|
1033
|
+
interface WebTransportSendStreamOptions extends WebTransportSendOptions {
|
1034
|
+
}
|
1035
|
+
|
1002
1036
|
interface WorkerOptions {
|
1003
1037
|
credentials?: RequestCredentials;
|
1004
1038
|
name?: string;
|
@@ -1013,7 +1047,7 @@ interface WriteParams {
|
|
1013
1047
|
}
|
1014
1048
|
|
1015
1049
|
/**
|
1016
|
-
* The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type.
|
1050
|
+
* The **`ANGLE_instanced_arrays`** extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type.
|
1017
1051
|
*
|
1018
1052
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ANGLE_instanced_arrays)
|
1019
1053
|
*/
|
@@ -1028,7 +1062,7 @@ interface ANGLE_instanced_arrays {
|
|
1028
1062
|
}
|
1029
1063
|
|
1030
1064
|
/**
|
1031
|
-
*
|
1065
|
+
* The **`AbortController`** interface represents a controller object that allows you to abort one or more Web requests as and when desired.
|
1032
1066
|
*
|
1033
1067
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController)
|
1034
1068
|
*/
|
@@ -1057,7 +1091,7 @@ interface AbortSignalEventMap {
|
|
1057
1091
|
}
|
1058
1092
|
|
1059
1093
|
/**
|
1060
|
-
*
|
1094
|
+
* The **`AbortSignal`** interface represents a signal object that allows you to communicate with an asynchronous operation (such as a fetch request) and abort it if required via an AbortController object.
|
1061
1095
|
*
|
1062
1096
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal)
|
1063
1097
|
*/
|
@@ -1111,7 +1145,11 @@ interface AnimationFrameProvider {
|
|
1111
1145
|
requestAnimationFrame(callback: FrameRequestCallback): number;
|
1112
1146
|
}
|
1113
1147
|
|
1114
|
-
/**
|
1148
|
+
/**
|
1149
|
+
* The **`AudioData`** interface of the WebCodecs API represents an audio sample.
|
1150
|
+
*
|
1151
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData)
|
1152
|
+
*/
|
1115
1153
|
interface AudioData {
|
1116
1154
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/duration) */
|
1117
1155
|
readonly duration: number;
|
@@ -1145,6 +1183,7 @@ interface AudioDecoderEventMap {
|
|
1145
1183
|
}
|
1146
1184
|
|
1147
1185
|
/**
|
1186
|
+
* The **`AudioDecoder`** interface of the WebCodecs API decodes chunks of audio.
|
1148
1187
|
* Available only in secure contexts.
|
1149
1188
|
*
|
1150
1189
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder)
|
@@ -1184,6 +1223,7 @@ interface AudioEncoderEventMap {
|
|
1184
1223
|
}
|
1185
1224
|
|
1186
1225
|
/**
|
1226
|
+
* The **`AudioEncoder`** interface of the WebCodecs API encodes AudioData objects.
|
1187
1227
|
* Available only in secure contexts.
|
1188
1228
|
*
|
1189
1229
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder)
|
@@ -1219,7 +1259,7 @@ declare var AudioEncoder: {
|
|
1219
1259
|
};
|
1220
1260
|
|
1221
1261
|
/**
|
1222
|
-
*
|
1262
|
+
* The **`Blob`** interface represents a blob, which is a file-like object of immutable, raw data; they can be read as text or binary data, or converted into a ReadableStream so its methods can be used for processing the data.
|
1223
1263
|
*
|
1224
1264
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob)
|
1225
1265
|
*/
|
@@ -1231,11 +1271,11 @@ interface Blob {
|
|
1231
1271
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/arrayBuffer) */
|
1232
1272
|
arrayBuffer(): Promise<ArrayBuffer>;
|
1233
1273
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/bytes) */
|
1234
|
-
bytes(): Promise<Uint8Array
|
1274
|
+
bytes(): Promise<Uint8Array<ArrayBuffer>>;
|
1235
1275
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice) */
|
1236
1276
|
slice(start?: number, end?: number, contentType?: string): Blob;
|
1237
1277
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/stream) */
|
1238
|
-
stream(): ReadableStream<Uint8Array
|
1278
|
+
stream(): ReadableStream<Uint8Array<ArrayBuffer>>;
|
1239
1279
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text) */
|
1240
1280
|
text(): Promise<string>;
|
1241
1281
|
}
|
@@ -1247,7 +1287,7 @@ declare var Blob: {
|
|
1247
1287
|
|
1248
1288
|
interface Body {
|
1249
1289
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/body) */
|
1250
|
-
readonly body: ReadableStream<Uint8Array
|
1290
|
+
readonly body: ReadableStream<Uint8Array<ArrayBuffer>> | null;
|
1251
1291
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bodyUsed) */
|
1252
1292
|
readonly bodyUsed: boolean;
|
1253
1293
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/arrayBuffer) */
|
@@ -1255,7 +1295,7 @@ interface Body {
|
|
1255
1295
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/blob) */
|
1256
1296
|
blob(): Promise<Blob>;
|
1257
1297
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bytes) */
|
1258
|
-
bytes(): Promise<Uint8Array
|
1298
|
+
bytes(): Promise<Uint8Array<ArrayBuffer>>;
|
1259
1299
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/formData) */
|
1260
1300
|
formData(): Promise<FormData>;
|
1261
1301
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json) */
|
@@ -1269,7 +1309,11 @@ interface BroadcastChannelEventMap {
|
|
1269
1309
|
"messageerror": MessageEvent;
|
1270
1310
|
}
|
1271
1311
|
|
1272
|
-
/**
|
1312
|
+
/**
|
1313
|
+
* The **`BroadcastChannel`** interface represents a named channel that any browsing context of a given origin can subscribe to.
|
1314
|
+
*
|
1315
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel)
|
1316
|
+
*/
|
1273
1317
|
interface BroadcastChannel extends EventTarget {
|
1274
1318
|
/**
|
1275
1319
|
* Returns the channel name (as passed to the constructor).
|
@@ -1305,7 +1349,7 @@ declare var BroadcastChannel: {
|
|
1305
1349
|
};
|
1306
1350
|
|
1307
1351
|
/**
|
1308
|
-
*
|
1352
|
+
* The **`ByteLengthQueuingStrategy`** interface of the Streams API provides a built-in byte length queuing strategy that can be used when constructing streams.
|
1309
1353
|
*
|
1310
1354
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy)
|
1311
1355
|
*/
|
@@ -1321,7 +1365,11 @@ declare var ByteLengthQueuingStrategy: {
|
|
1321
1365
|
new(init: QueuingStrategyInit): ByteLengthQueuingStrategy;
|
1322
1366
|
};
|
1323
1367
|
|
1324
|
-
/**
|
1368
|
+
/**
|
1369
|
+
* The **`CSSImageValue`** interface of the CSS Typed Object Model API represents values for properties that take an image, for example background-image, list-style-image, or border-image-source.
|
1370
|
+
*
|
1371
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImageValue)
|
1372
|
+
*/
|
1325
1373
|
interface CSSImageValue extends CSSStyleValue {
|
1326
1374
|
}
|
1327
1375
|
|
@@ -1330,7 +1378,11 @@ declare var CSSImageValue: {
|
|
1330
1378
|
new(): CSSImageValue;
|
1331
1379
|
};
|
1332
1380
|
|
1333
|
-
/**
|
1381
|
+
/**
|
1382
|
+
* The **`CSSKeywordValue`** interface of the CSS Typed Object Model API creates an object to represent CSS keywords and other identifiers.
|
1383
|
+
*
|
1384
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue)
|
1385
|
+
*/
|
1334
1386
|
interface CSSKeywordValue extends CSSStyleValue {
|
1335
1387
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue/value) */
|
1336
1388
|
value: string;
|
@@ -1352,7 +1404,11 @@ declare var CSSMathClamp: {
|
|
1352
1404
|
new(lower: CSSNumberish, value: CSSNumberish, upper: CSSNumberish): CSSMathClamp;
|
1353
1405
|
};
|
1354
1406
|
|
1355
|
-
/**
|
1407
|
+
/**
|
1408
|
+
* The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>).` It inherits properties and methods from its parent CSSNumericValue.
|
1409
|
+
*
|
1410
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert)
|
1411
|
+
*/
|
1356
1412
|
interface CSSMathInvert extends CSSMathValue {
|
1357
1413
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert/value) */
|
1358
1414
|
readonly value: CSSNumericValue;
|
@@ -1363,7 +1419,11 @@ declare var CSSMathInvert: {
|
|
1363
1419
|
new(arg: CSSNumberish): CSSMathInvert;
|
1364
1420
|
};
|
1365
1421
|
|
1366
|
-
/**
|
1422
|
+
/**
|
1423
|
+
* The **`CSSMathMax`** interface of the CSS Typed Object Model API represents the CSS max function.
|
1424
|
+
*
|
1425
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax)
|
1426
|
+
*/
|
1367
1427
|
interface CSSMathMax extends CSSMathValue {
|
1368
1428
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax/values) */
|
1369
1429
|
readonly values: CSSNumericArray;
|
@@ -1374,7 +1434,11 @@ declare var CSSMathMax: {
|
|
1374
1434
|
new(...args: CSSNumberish[]): CSSMathMax;
|
1375
1435
|
};
|
1376
1436
|
|
1377
|
-
/**
|
1437
|
+
/**
|
1438
|
+
* The **`CSSMathMin`** interface of the CSS Typed Object Model API represents the CSS min function.
|
1439
|
+
*
|
1440
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin)
|
1441
|
+
*/
|
1378
1442
|
interface CSSMathMin extends CSSMathValue {
|
1379
1443
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin/values) */
|
1380
1444
|
readonly values: CSSNumericArray;
|
@@ -1385,7 +1449,11 @@ declare var CSSMathMin: {
|
|
1385
1449
|
new(...args: CSSNumberish[]): CSSMathMin;
|
1386
1450
|
};
|
1387
1451
|
|
1388
|
-
/**
|
1452
|
+
/**
|
1453
|
+
* The **`CSSMathNegate`** interface of the CSS Typed Object Model API negates the value passed into it.
|
1454
|
+
*
|
1455
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate)
|
1456
|
+
*/
|
1389
1457
|
interface CSSMathNegate extends CSSMathValue {
|
1390
1458
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate/value) */
|
1391
1459
|
readonly value: CSSNumericValue;
|
@@ -1396,7 +1464,11 @@ declare var CSSMathNegate: {
|
|
1396
1464
|
new(arg: CSSNumberish): CSSMathNegate;
|
1397
1465
|
};
|
1398
1466
|
|
1399
|
-
/**
|
1467
|
+
/**
|
1468
|
+
* The **`CSSMathProduct`** interface of the CSS Typed Object Model API represents the result obtained by calling CSSNumericValue.add, CSSNumericValue.sub, or CSSNumericValue.toSum on CSSNumericValue.
|
1469
|
+
*
|
1470
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct)
|
1471
|
+
*/
|
1400
1472
|
interface CSSMathProduct extends CSSMathValue {
|
1401
1473
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct/values) */
|
1402
1474
|
readonly values: CSSNumericArray;
|
@@ -1407,7 +1479,11 @@ declare var CSSMathProduct: {
|
|
1407
1479
|
new(...args: CSSNumberish[]): CSSMathProduct;
|
1408
1480
|
};
|
1409
1481
|
|
1410
|
-
/**
|
1482
|
+
/**
|
1483
|
+
* The **`CSSMathSum`** interface of the CSS Typed Object Model API represents the result obtained by calling CSSNumericValue.add, CSSNumericValue.sub, or CSSNumericValue.toSum on CSSNumericValue.
|
1484
|
+
*
|
1485
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathSum)
|
1486
|
+
*/
|
1411
1487
|
interface CSSMathSum extends CSSMathValue {
|
1412
1488
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathSum/values) */
|
1413
1489
|
readonly values: CSSNumericArray;
|
@@ -1418,7 +1494,11 @@ declare var CSSMathSum: {
|
|
1418
1494
|
new(...args: CSSNumberish[]): CSSMathSum;
|
1419
1495
|
};
|
1420
1496
|
|
1421
|
-
/**
|
1497
|
+
/**
|
1498
|
+
* The **`CSSMathValue`** interface of the CSS Typed Object Model API a base class for classes representing complex numeric values.
|
1499
|
+
*
|
1500
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathValue)
|
1501
|
+
*/
|
1422
1502
|
interface CSSMathValue extends CSSNumericValue {
|
1423
1503
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathValue/operator) */
|
1424
1504
|
readonly operator: CSSMathOperator;
|
@@ -1429,7 +1509,11 @@ declare var CSSMathValue: {
|
|
1429
1509
|
new(): CSSMathValue;
|
1430
1510
|
};
|
1431
1511
|
|
1432
|
-
/**
|
1512
|
+
/**
|
1513
|
+
* The **`CSSMatrixComponent`** interface of the CSS Typed Object Model API represents the matrix() and matrix3d() values of the individual transform property in CSS.
|
1514
|
+
*
|
1515
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent)
|
1516
|
+
*/
|
1433
1517
|
interface CSSMatrixComponent extends CSSTransformComponent {
|
1434
1518
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent/matrix) */
|
1435
1519
|
matrix: DOMMatrix;
|
@@ -1440,7 +1524,11 @@ declare var CSSMatrixComponent: {
|
|
1440
1524
|
new(matrix: DOMMatrixReadOnly, options?: CSSMatrixComponentOptions): CSSMatrixComponent;
|
1441
1525
|
};
|
1442
1526
|
|
1443
|
-
/**
|
1527
|
+
/**
|
1528
|
+
* The **`CSSNumericArray`** interface of the CSS Typed Object Model API contains a list of CSSNumericValue objects.
|
1529
|
+
*
|
1530
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray)
|
1531
|
+
*/
|
1444
1532
|
interface CSSNumericArray {
|
1445
1533
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray/length) */
|
1446
1534
|
readonly length: number;
|
@@ -1453,7 +1541,11 @@ declare var CSSNumericArray: {
|
|
1453
1541
|
new(): CSSNumericArray;
|
1454
1542
|
};
|
1455
1543
|
|
1456
|
-
/**
|
1544
|
+
/**
|
1545
|
+
* The **`CSSNumericValue`** interface of the CSS Typed Object Model API represents operations that all numeric values can perform.
|
1546
|
+
*
|
1547
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue)
|
1548
|
+
*/
|
1457
1549
|
interface CSSNumericValue extends CSSStyleValue {
|
1458
1550
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add) */
|
1459
1551
|
add(...values: CSSNumberish[]): CSSNumericValue;
|
@@ -1482,7 +1574,11 @@ declare var CSSNumericValue: {
|
|
1482
1574
|
new(): CSSNumericValue;
|
1483
1575
|
};
|
1484
1576
|
|
1485
|
-
/**
|
1577
|
+
/**
|
1578
|
+
* The **`CSSPerspective`** interface of the CSS Typed Object Model API represents the perspective() value of the individual transform property in CSS.
|
1579
|
+
*
|
1580
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective)
|
1581
|
+
*/
|
1486
1582
|
interface CSSPerspective extends CSSTransformComponent {
|
1487
1583
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective/length) */
|
1488
1584
|
length: CSSPerspectiveValue;
|
@@ -1493,7 +1589,11 @@ declare var CSSPerspective: {
|
|
1493
1589
|
new(length: CSSPerspectiveValue): CSSPerspective;
|
1494
1590
|
};
|
1495
1591
|
|
1496
|
-
/**
|
1592
|
+
/**
|
1593
|
+
* The **`CSSRotate`** interface of the CSS Typed Object Model API represents the rotate value of the individual transform property in CSS.
|
1594
|
+
*
|
1595
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate)
|
1596
|
+
*/
|
1497
1597
|
interface CSSRotate extends CSSTransformComponent {
|
1498
1598
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/angle) */
|
1499
1599
|
angle: CSSNumericValue;
|
@@ -1511,7 +1611,11 @@ declare var CSSRotate: {
|
|
1511
1611
|
new(x: CSSNumberish, y: CSSNumberish, z: CSSNumberish, angle: CSSNumericValue): CSSRotate;
|
1512
1612
|
};
|
1513
1613
|
|
1514
|
-
/**
|
1614
|
+
/**
|
1615
|
+
* The **`CSSScale`** interface of the CSS Typed Object Model API represents the scale() and scale3d() values of the individual transform property in CSS.
|
1616
|
+
*
|
1617
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale)
|
1618
|
+
*/
|
1515
1619
|
interface CSSScale extends CSSTransformComponent {
|
1516
1620
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/x) */
|
1517
1621
|
x: CSSNumberish;
|
@@ -1526,7 +1630,11 @@ declare var CSSScale: {
|
|
1526
1630
|
new(x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale;
|
1527
1631
|
};
|
1528
1632
|
|
1529
|
-
/**
|
1633
|
+
/**
|
1634
|
+
* The **`CSSSkew`** interface of the CSS Typed Object Model API is part of the CSSTransformValue interface.
|
1635
|
+
*
|
1636
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew)
|
1637
|
+
*/
|
1530
1638
|
interface CSSSkew extends CSSTransformComponent {
|
1531
1639
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax) */
|
1532
1640
|
ax: CSSNumericValue;
|
@@ -1539,7 +1647,11 @@ declare var CSSSkew: {
|
|
1539
1647
|
new(ax: CSSNumericValue, ay: CSSNumericValue): CSSSkew;
|
1540
1648
|
};
|
1541
1649
|
|
1542
|
-
/**
|
1650
|
+
/**
|
1651
|
+
* The **`CSSSkewX`** interface of the CSS Typed Object Model API represents the `skewX()` value of the individual transform property in CSS.
|
1652
|
+
*
|
1653
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX)
|
1654
|
+
*/
|
1543
1655
|
interface CSSSkewX extends CSSTransformComponent {
|
1544
1656
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX/ax) */
|
1545
1657
|
ax: CSSNumericValue;
|
@@ -1550,7 +1662,11 @@ declare var CSSSkewX: {
|
|
1550
1662
|
new(ax: CSSNumericValue): CSSSkewX;
|
1551
1663
|
};
|
1552
1664
|
|
1553
|
-
/**
|
1665
|
+
/**
|
1666
|
+
* The **`CSSSkewY`** interface of the CSS Typed Object Model API represents the `skewY()` value of the individual transform property in CSS.
|
1667
|
+
*
|
1668
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY)
|
1669
|
+
*/
|
1554
1670
|
interface CSSSkewY extends CSSTransformComponent {
|
1555
1671
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY/ay) */
|
1556
1672
|
ay: CSSNumericValue;
|
@@ -1561,7 +1677,11 @@ declare var CSSSkewY: {
|
|
1561
1677
|
new(ay: CSSNumericValue): CSSSkewY;
|
1562
1678
|
};
|
1563
1679
|
|
1564
|
-
/**
|
1680
|
+
/**
|
1681
|
+
* The **`CSSStyleValue`** interface of the CSS Typed Object Model API is the base class of all CSS values accessible through the Typed OM API.
|
1682
|
+
*
|
1683
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleValue)
|
1684
|
+
*/
|
1565
1685
|
interface CSSStyleValue {
|
1566
1686
|
toString(): string;
|
1567
1687
|
}
|
@@ -1571,7 +1691,11 @@ declare var CSSStyleValue: {
|
|
1571
1691
|
new(): CSSStyleValue;
|
1572
1692
|
};
|
1573
1693
|
|
1574
|
-
/**
|
1694
|
+
/**
|
1695
|
+
* The **`CSSTransformComponent`** interface of the CSS Typed Object Model API is part of the CSSTransformValue interface.
|
1696
|
+
*
|
1697
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent)
|
1698
|
+
*/
|
1575
1699
|
interface CSSTransformComponent {
|
1576
1700
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent/is2D) */
|
1577
1701
|
is2D: boolean;
|
@@ -1585,7 +1709,11 @@ declare var CSSTransformComponent: {
|
|
1585
1709
|
new(): CSSTransformComponent;
|
1586
1710
|
};
|
1587
1711
|
|
1588
|
-
/**
|
1712
|
+
/**
|
1713
|
+
* The **`CSSTransformValue`** interface of the CSS Typed Object Model API represents `transform-list` values as used by the CSS transform property.
|
1714
|
+
*
|
1715
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue)
|
1716
|
+
*/
|
1589
1717
|
interface CSSTransformValue extends CSSStyleValue {
|
1590
1718
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/is2D) */
|
1591
1719
|
readonly is2D: boolean;
|
@@ -1602,7 +1730,11 @@ declare var CSSTransformValue: {
|
|
1602
1730
|
new(transforms: CSSTransformComponent[]): CSSTransformValue;
|
1603
1731
|
};
|
1604
1732
|
|
1605
|
-
/**
|
1733
|
+
/**
|
1734
|
+
* The **`CSSTranslate`** interface of the CSS Typed Object Model API represents the translate() value of the individual transform property in CSS.
|
1735
|
+
*
|
1736
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate)
|
1737
|
+
*/
|
1606
1738
|
interface CSSTranslate extends CSSTransformComponent {
|
1607
1739
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/x) */
|
1608
1740
|
x: CSSNumericValue;
|
@@ -1617,7 +1749,11 @@ declare var CSSTranslate: {
|
|
1617
1749
|
new(x: CSSNumericValue, y: CSSNumericValue, z?: CSSNumericValue): CSSTranslate;
|
1618
1750
|
};
|
1619
1751
|
|
1620
|
-
/**
|
1752
|
+
/**
|
1753
|
+
* The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type.
|
1754
|
+
*
|
1755
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue)
|
1756
|
+
*/
|
1621
1757
|
interface CSSUnitValue extends CSSNumericValue {
|
1622
1758
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/unit) */
|
1623
1759
|
readonly unit: string;
|
@@ -1630,7 +1766,11 @@ declare var CSSUnitValue: {
|
|
1630
1766
|
new(value: number, unit: string): CSSUnitValue;
|
1631
1767
|
};
|
1632
1768
|
|
1633
|
-
/**
|
1769
|
+
/**
|
1770
|
+
* The **`CSSUnparsedValue`** interface of the CSS Typed Object Model API represents property values that reference custom properties.
|
1771
|
+
*
|
1772
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue)
|
1773
|
+
*/
|
1634
1774
|
interface CSSUnparsedValue extends CSSStyleValue {
|
1635
1775
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue/length) */
|
1636
1776
|
readonly length: number;
|
@@ -1643,7 +1783,11 @@ declare var CSSUnparsedValue: {
|
|
1643
1783
|
new(members: CSSUnparsedSegment[]): CSSUnparsedValue;
|
1644
1784
|
};
|
1645
1785
|
|
1646
|
-
/**
|
1786
|
+
/**
|
1787
|
+
* The **`CSSVariableReferenceValue`** interface of the CSS Typed Object Model API allows you to create a custom name for a built-in CSS value.
|
1788
|
+
*
|
1789
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue)
|
1790
|
+
*/
|
1647
1791
|
interface CSSVariableReferenceValue {
|
1648
1792
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/fallback) */
|
1649
1793
|
readonly fallback: CSSUnparsedValue | null;
|
@@ -1657,7 +1801,7 @@ declare var CSSVariableReferenceValue: {
|
|
1657
1801
|
};
|
1658
1802
|
|
1659
1803
|
/**
|
1660
|
-
*
|
1804
|
+
* The **`Cache`** interface provides a persistent storage mechanism for Request / Response object pairs that are cached in long lived memory.
|
1661
1805
|
* Available only in secure contexts.
|
1662
1806
|
*
|
1663
1807
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache)
|
@@ -1685,7 +1829,7 @@ declare var Cache: {
|
|
1685
1829
|
};
|
1686
1830
|
|
1687
1831
|
/**
|
1688
|
-
* The storage for Cache objects.
|
1832
|
+
* The **`CacheStorage`** interface represents the storage for Cache objects.
|
1689
1833
|
* Available only in secure contexts.
|
1690
1834
|
*
|
1691
1835
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage)
|
@@ -1763,7 +1907,7 @@ interface CanvasFilters {
|
|
1763
1907
|
}
|
1764
1908
|
|
1765
1909
|
/**
|
1766
|
-
*
|
1910
|
+
* The **`CanvasGradient`** interface represents an opaque object describing a gradient.
|
1767
1911
|
*
|
1768
1912
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasGradient)
|
1769
1913
|
*/
|
@@ -1786,12 +1930,12 @@ declare var CanvasGradient: {
|
|
1786
1930
|
interface CanvasImageData {
|
1787
1931
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/createImageData) */
|
1788
1932
|
createImageData(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
|
1789
|
-
createImageData(
|
1933
|
+
createImageData(imageData: ImageData): ImageData;
|
1790
1934
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/getImageData) */
|
1791
1935
|
getImageData(sx: number, sy: number, sw: number, sh: number, settings?: ImageDataSettings): ImageData;
|
1792
1936
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/putImageData) */
|
1793
|
-
putImageData(
|
1794
|
-
putImageData(
|
1937
|
+
putImageData(imageData: ImageData, dx: number, dy: number): void;
|
1938
|
+
putImageData(imageData: ImageData, dx: number, dy: number, dirtyX: number, dirtyY: number, dirtyWidth: number, dirtyHeight: number): void;
|
1795
1939
|
}
|
1796
1940
|
|
1797
1941
|
interface CanvasImageSmoothing {
|
@@ -1842,7 +1986,7 @@ interface CanvasPathDrawingStyles {
|
|
1842
1986
|
}
|
1843
1987
|
|
1844
1988
|
/**
|
1845
|
-
*
|
1989
|
+
* The **`CanvasPattern`** interface represents an opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method.
|
1846
1990
|
*
|
1847
1991
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasPattern)
|
1848
1992
|
*/
|
@@ -1942,7 +2086,7 @@ interface CanvasTransform {
|
|
1942
2086
|
}
|
1943
2087
|
|
1944
2088
|
/**
|
1945
|
-
* The Client
|
2089
|
+
* The `Client` interface represents an executable context such as a Worker, or a SharedWorker.
|
1946
2090
|
*
|
1947
2091
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Client)
|
1948
2092
|
*/
|
@@ -1966,7 +2110,7 @@ declare var Client: {
|
|
1966
2110
|
};
|
1967
2111
|
|
1968
2112
|
/**
|
1969
|
-
*
|
2113
|
+
* The `Clients` interface provides access to Client objects.
|
1970
2114
|
*
|
1971
2115
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clients)
|
1972
2116
|
*/
|
@@ -1987,7 +2131,7 @@ declare var Clients: {
|
|
1987
2131
|
};
|
1988
2132
|
|
1989
2133
|
/**
|
1990
|
-
* A CloseEvent is sent to clients using WebSockets when the connection is closed.
|
2134
|
+
* A `CloseEvent` is sent to clients using WebSockets when the connection is closed.
|
1991
2135
|
*
|
1992
2136
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent)
|
1993
2137
|
*/
|
@@ -2017,9 +2161,13 @@ declare var CloseEvent: {
|
|
2017
2161
|
new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
|
2018
2162
|
};
|
2019
2163
|
|
2020
|
-
/**
|
2164
|
+
/**
|
2165
|
+
* The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
|
2166
|
+
*
|
2167
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
2168
|
+
*/
|
2021
2169
|
interface CompressionStream extends GenericTransformStream {
|
2022
|
-
readonly readable: ReadableStream<Uint8Array
|
2170
|
+
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
2023
2171
|
readonly writable: WritableStream<BufferSource>;
|
2024
2172
|
}
|
2025
2173
|
|
@@ -2029,7 +2177,33 @@ declare var CompressionStream: {
|
|
2029
2177
|
};
|
2030
2178
|
|
2031
2179
|
/**
|
2032
|
-
*
|
2180
|
+
* The **`CookieStore`** interface of the Cookie Store API provides methods for getting and setting cookies asynchronously from either a page or a service worker.
|
2181
|
+
* Available only in secure contexts.
|
2182
|
+
*
|
2183
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore)
|
2184
|
+
*/
|
2185
|
+
interface CookieStore extends EventTarget {
|
2186
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore/delete) */
|
2187
|
+
delete(name: string): Promise<void>;
|
2188
|
+
delete(options: CookieStoreDeleteOptions): Promise<void>;
|
2189
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore/get) */
|
2190
|
+
get(name: string): Promise<CookieListItem | null>;
|
2191
|
+
get(options?: CookieStoreGetOptions): Promise<CookieListItem | null>;
|
2192
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore/getAll) */
|
2193
|
+
getAll(name: string): Promise<CookieList>;
|
2194
|
+
getAll(options?: CookieStoreGetOptions): Promise<CookieList>;
|
2195
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore/set) */
|
2196
|
+
set(name: string, value: string): Promise<void>;
|
2197
|
+
set(options: CookieInit): Promise<void>;
|
2198
|
+
}
|
2199
|
+
|
2200
|
+
declare var CookieStore: {
|
2201
|
+
prototype: CookieStore;
|
2202
|
+
new(): CookieStore;
|
2203
|
+
};
|
2204
|
+
|
2205
|
+
/**
|
2206
|
+
* The **`CountQueuingStrategy`** interface of the Streams API provides a built-in chunk counting queuing strategy that can be used when constructing streams.
|
2033
2207
|
*
|
2034
2208
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy)
|
2035
2209
|
*/
|
@@ -2046,7 +2220,7 @@ declare var CountQueuingStrategy: {
|
|
2046
2220
|
};
|
2047
2221
|
|
2048
2222
|
/**
|
2049
|
-
*
|
2223
|
+
* The **`Crypto`** interface represents basic cryptography features available in the current context.
|
2050
2224
|
*
|
2051
2225
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto)
|
2052
2226
|
*/
|
@@ -2073,7 +2247,7 @@ declare var Crypto: {
|
|
2073
2247
|
};
|
2074
2248
|
|
2075
2249
|
/**
|
2076
|
-
* The CryptoKey
|
2250
|
+
* The **`CryptoKey`** interface of the Web Crypto API represents a cryptographic key obtained from one of the SubtleCrypto methods SubtleCrypto.generateKey, SubtleCrypto.deriveKey, SubtleCrypto.importKey, or SubtleCrypto.unwrapKey.
|
2077
2251
|
* Available only in secure contexts.
|
2078
2252
|
*
|
2079
2253
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey)
|
@@ -2094,7 +2268,11 @@ declare var CryptoKey: {
|
|
2094
2268
|
new(): CryptoKey;
|
2095
2269
|
};
|
2096
2270
|
|
2097
|
-
/**
|
2271
|
+
/**
|
2272
|
+
* The **`CustomEvent`** interface represents events initialized by an application for any purpose.
|
2273
|
+
*
|
2274
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)
|
2275
|
+
*/
|
2098
2276
|
interface CustomEvent<T = any> extends Event {
|
2099
2277
|
/**
|
2100
2278
|
* Returns any custom data event was created with. Typically used for synthetic events.
|
@@ -2116,7 +2294,7 @@ declare var CustomEvent: {
|
|
2116
2294
|
};
|
2117
2295
|
|
2118
2296
|
/**
|
2119
|
-
*
|
2297
|
+
* The **`DOMException`** interface represents an abnormal event (called an **exception**) that occurs as a result of calling a method or accessing a property of a web API.
|
2120
2298
|
*
|
2121
2299
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException)
|
2122
2300
|
*/
|
@@ -2188,7 +2366,11 @@ declare var DOMException: {
|
|
2188
2366
|
readonly DATA_CLONE_ERR: 25;
|
2189
2367
|
};
|
2190
2368
|
|
2191
|
-
/**
|
2369
|
+
/**
|
2370
|
+
* The **`DOMMatrix`** interface represents 4×4 matrices, suitable for 2D and 3D operations including rotation and translation.
|
2371
|
+
*
|
2372
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix)
|
2373
|
+
*/
|
2192
2374
|
interface DOMMatrix extends DOMMatrixReadOnly {
|
2193
2375
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
2194
2376
|
a: number;
|
@@ -2240,11 +2422,15 @@ interface DOMMatrix extends DOMMatrixReadOnly {
|
|
2240
2422
|
multiplySelf(other?: DOMMatrixInit): DOMMatrix;
|
2241
2423
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/preMultiplySelf) */
|
2242
2424
|
preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;
|
2425
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateAxisAngleSelf) */
|
2243
2426
|
rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
|
2427
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateFromVectorSelf) */
|
2244
2428
|
rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;
|
2245
2429
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateSelf) */
|
2246
2430
|
rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
|
2431
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */
|
2247
2432
|
scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
2433
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */
|
2248
2434
|
scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
2249
2435
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewXSelf) */
|
2250
2436
|
skewXSelf(sx?: number): DOMMatrix;
|
@@ -2257,12 +2443,16 @@ interface DOMMatrix extends DOMMatrixReadOnly {
|
|
2257
2443
|
declare var DOMMatrix: {
|
2258
2444
|
prototype: DOMMatrix;
|
2259
2445
|
new(init?: string | number[]): DOMMatrix;
|
2260
|
-
fromFloat32Array(array32: Float32Array): DOMMatrix;
|
2261
|
-
fromFloat64Array(array64: Float64Array): DOMMatrix;
|
2446
|
+
fromFloat32Array(array32: Float32Array<ArrayBuffer>): DOMMatrix;
|
2447
|
+
fromFloat64Array(array64: Float64Array<ArrayBuffer>): DOMMatrix;
|
2262
2448
|
fromMatrix(other?: DOMMatrixInit): DOMMatrix;
|
2263
2449
|
};
|
2264
2450
|
|
2265
|
-
/**
|
2451
|
+
/**
|
2452
|
+
* The **`DOMMatrixReadOnly`** interface represents a read-only 4×4 matrix, suitable for 2D and 3D operations.
|
2453
|
+
*
|
2454
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly)
|
2455
|
+
*/
|
2266
2456
|
interface DOMMatrixReadOnly {
|
2267
2457
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
2268
2458
|
readonly a: number;
|
@@ -2320,20 +2510,26 @@ interface DOMMatrixReadOnly {
|
|
2320
2510
|
inverse(): DOMMatrix;
|
2321
2511
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply) */
|
2322
2512
|
multiply(other?: DOMMatrixInit): DOMMatrix;
|
2513
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate) */
|
2323
2514
|
rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
|
2515
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle) */
|
2324
2516
|
rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;
|
2517
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector) */
|
2325
2518
|
rotateFromVector(x?: number, y?: number): DOMMatrix;
|
2326
2519
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale) */
|
2327
2520
|
scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
2521
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d) */
|
2328
2522
|
scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
2329
2523
|
/** @deprecated */
|
2330
2524
|
scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;
|
2525
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX) */
|
2331
2526
|
skewX(sx?: number): DOMMatrix;
|
2527
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY) */
|
2332
2528
|
skewY(sy?: number): DOMMatrix;
|
2333
2529
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array) */
|
2334
|
-
toFloat32Array(): Float32Array
|
2530
|
+
toFloat32Array(): Float32Array<ArrayBuffer>;
|
2335
2531
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array) */
|
2336
|
-
toFloat64Array(): Float64Array
|
2532
|
+
toFloat64Array(): Float64Array<ArrayBuffer>;
|
2337
2533
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toJSON) */
|
2338
2534
|
toJSON(): any;
|
2339
2535
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint) */
|
@@ -2345,12 +2541,16 @@ interface DOMMatrixReadOnly {
|
|
2345
2541
|
declare var DOMMatrixReadOnly: {
|
2346
2542
|
prototype: DOMMatrixReadOnly;
|
2347
2543
|
new(init?: string | number[]): DOMMatrixReadOnly;
|
2348
|
-
fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly;
|
2349
|
-
fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly;
|
2544
|
+
fromFloat32Array(array32: Float32Array<ArrayBuffer>): DOMMatrixReadOnly;
|
2545
|
+
fromFloat64Array(array64: Float64Array<ArrayBuffer>): DOMMatrixReadOnly;
|
2350
2546
|
fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;
|
2351
2547
|
};
|
2352
2548
|
|
2353
|
-
/**
|
2549
|
+
/**
|
2550
|
+
* A **`DOMPoint`** object represents a 2D or 3D point in a coordinate system; it includes values for the coordinates in up to three dimensions, as well as an optional perspective value.
|
2551
|
+
*
|
2552
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint)
|
2553
|
+
*/
|
2354
2554
|
interface DOMPoint extends DOMPointReadOnly {
|
2355
2555
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/w) */
|
2356
2556
|
w: number;
|
@@ -2369,7 +2569,11 @@ declare var DOMPoint: {
|
|
2369
2569
|
fromPoint(other?: DOMPointInit): DOMPoint;
|
2370
2570
|
};
|
2371
2571
|
|
2372
|
-
/**
|
2572
|
+
/**
|
2573
|
+
* The **`DOMPointReadOnly`** interface specifies the coordinate and perspective fields used by DOMPoint to define a 2D or 3D point in a coordinate system.
|
2574
|
+
*
|
2575
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly)
|
2576
|
+
*/
|
2373
2577
|
interface DOMPointReadOnly {
|
2374
2578
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/w) */
|
2375
2579
|
readonly w: number;
|
@@ -2392,7 +2596,11 @@ declare var DOMPointReadOnly: {
|
|
2392
2596
|
fromPoint(other?: DOMPointInit): DOMPointReadOnly;
|
2393
2597
|
};
|
2394
2598
|
|
2395
|
-
/**
|
2599
|
+
/**
|
2600
|
+
* A `DOMQuad` is a collection of four `DOMPoint`s defining the corners of an arbitrary quadrilateral.
|
2601
|
+
*
|
2602
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad)
|
2603
|
+
*/
|
2396
2604
|
interface DOMQuad {
|
2397
2605
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */
|
2398
2606
|
readonly p1: DOMPoint;
|
@@ -2415,7 +2623,11 @@ declare var DOMQuad: {
|
|
2415
2623
|
fromRect(other?: DOMRectInit): DOMQuad;
|
2416
2624
|
};
|
2417
2625
|
|
2418
|
-
/**
|
2626
|
+
/**
|
2627
|
+
* A **`DOMRect`** describes the size and position of a rectangle.
|
2628
|
+
*
|
2629
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect)
|
2630
|
+
*/
|
2419
2631
|
interface DOMRect extends DOMRectReadOnly {
|
2420
2632
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/height) */
|
2421
2633
|
height: number;
|
@@ -2434,7 +2646,11 @@ declare var DOMRect: {
|
|
2434
2646
|
fromRect(other?: DOMRectInit): DOMRect;
|
2435
2647
|
};
|
2436
2648
|
|
2437
|
-
/**
|
2649
|
+
/**
|
2650
|
+
* The **`DOMRectReadOnly`** interface specifies the standard properties (also used by DOMRect) to define a rectangle whose properties are immutable.
|
2651
|
+
*
|
2652
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly)
|
2653
|
+
*/
|
2438
2654
|
interface DOMRectReadOnly {
|
2439
2655
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/bottom) */
|
2440
2656
|
readonly bottom: number;
|
@@ -2464,7 +2680,7 @@ declare var DOMRectReadOnly: {
|
|
2464
2680
|
};
|
2465
2681
|
|
2466
2682
|
/**
|
2467
|
-
*
|
2683
|
+
* The **`DOMStringList`** interface is a legacy type returned by some APIs and represents a non-modifiable list of strings (`DOMString`).
|
2468
2684
|
*
|
2469
2685
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMStringList)
|
2470
2686
|
*/
|
@@ -2495,9 +2711,13 @@ declare var DOMStringList: {
|
|
2495
2711
|
new(): DOMStringList;
|
2496
2712
|
};
|
2497
2713
|
|
2498
|
-
/**
|
2714
|
+
/**
|
2715
|
+
* The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
|
2716
|
+
*
|
2717
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
2718
|
+
*/
|
2499
2719
|
interface DecompressionStream extends GenericTransformStream {
|
2500
|
-
readonly readable: ReadableStream<Uint8Array
|
2720
|
+
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
2501
2721
|
readonly writable: WritableStream<BufferSource>;
|
2502
2722
|
}
|
2503
2723
|
|
@@ -2513,7 +2733,7 @@ interface DedicatedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap,
|
|
2513
2733
|
}
|
2514
2734
|
|
2515
2735
|
/**
|
2516
|
-
* (the Worker global scope) is accessible through the self keyword.
|
2736
|
+
* The **`DedicatedWorkerGlobalScope`** object (the Worker global scope) is accessible through the WorkerGlobalScope.self keyword.
|
2517
2737
|
*
|
2518
2738
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope)
|
2519
2739
|
*/
|
@@ -2550,17 +2770,29 @@ declare var DedicatedWorkerGlobalScope: {
|
|
2550
2770
|
new(): DedicatedWorkerGlobalScope;
|
2551
2771
|
};
|
2552
2772
|
|
2553
|
-
/**
|
2773
|
+
/**
|
2774
|
+
* The **`EXT_blend_minmax`** extension is part of the WebGL API and extends blending capabilities by adding two new blend equations: the minimum or maximum color components of the source and destination colors.
|
2775
|
+
*
|
2776
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_blend_minmax)
|
2777
|
+
*/
|
2554
2778
|
interface EXT_blend_minmax {
|
2555
2779
|
readonly MIN_EXT: 0x8007;
|
2556
2780
|
readonly MAX_EXT: 0x8008;
|
2557
2781
|
}
|
2558
2782
|
|
2559
|
-
/**
|
2783
|
+
/**
|
2784
|
+
* The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats.
|
2785
|
+
*
|
2786
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_color_buffer_float)
|
2787
|
+
*/
|
2560
2788
|
interface EXT_color_buffer_float {
|
2561
2789
|
}
|
2562
2790
|
|
2563
|
-
/**
|
2791
|
+
/**
|
2792
|
+
* The **`EXT_color_buffer_half_float`** extension is part of the WebGL API and adds the ability to render to 16-bit floating-point color buffers.
|
2793
|
+
*
|
2794
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_color_buffer_half_float)
|
2795
|
+
*/
|
2564
2796
|
interface EXT_color_buffer_half_float {
|
2565
2797
|
readonly RGBA16F_EXT: 0x881A;
|
2566
2798
|
readonly RGB16F_EXT: 0x881B;
|
@@ -2568,19 +2800,27 @@ interface EXT_color_buffer_half_float {
|
|
2568
2800
|
readonly UNSIGNED_NORMALIZED_EXT: 0x8C17;
|
2569
2801
|
}
|
2570
2802
|
|
2571
|
-
/**
|
2803
|
+
/**
|
2804
|
+
* The WebGL API's `EXT_float_blend` extension allows blending and draw buffers with 32-bit floating-point components.
|
2805
|
+
*
|
2806
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_float_blend)
|
2807
|
+
*/
|
2572
2808
|
interface EXT_float_blend {
|
2573
2809
|
}
|
2574
2810
|
|
2575
2811
|
/**
|
2576
|
-
* The EXT_frag_depth extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader.
|
2812
|
+
* The **`EXT_frag_depth`** extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader.
|
2577
2813
|
*
|
2578
2814
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_frag_depth)
|
2579
2815
|
*/
|
2580
2816
|
interface EXT_frag_depth {
|
2581
2817
|
}
|
2582
2818
|
|
2583
|
-
/**
|
2819
|
+
/**
|
2820
|
+
* The **`EXT_sRGB`** extension is part of the WebGL API and adds sRGB support to textures and framebuffer objects.
|
2821
|
+
*
|
2822
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_sRGB)
|
2823
|
+
*/
|
2584
2824
|
interface EXT_sRGB {
|
2585
2825
|
readonly SRGB_EXT: 0x8C40;
|
2586
2826
|
readonly SRGB_ALPHA_EXT: 0x8C42;
|
@@ -2588,11 +2828,19 @@ interface EXT_sRGB {
|
|
2588
2828
|
readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: 0x8210;
|
2589
2829
|
}
|
2590
2830
|
|
2591
|
-
/**
|
2831
|
+
/**
|
2832
|
+
* The **`EXT_shader_texture_lod`** extension is part of the WebGL API and adds additional texture functions to the OpenGL ES Shading Language which provide the shader writer with explicit control of LOD (Level of detail).
|
2833
|
+
*
|
2834
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_shader_texture_lod)
|
2835
|
+
*/
|
2592
2836
|
interface EXT_shader_texture_lod {
|
2593
2837
|
}
|
2594
2838
|
|
2595
|
-
/**
|
2839
|
+
/**
|
2840
|
+
* The `EXT_texture_compression_bptc` extension is part of the WebGL API and exposes 4 BPTC compressed texture formats.
|
2841
|
+
*
|
2842
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_compression_bptc)
|
2843
|
+
*/
|
2596
2844
|
interface EXT_texture_compression_bptc {
|
2597
2845
|
readonly COMPRESSED_RGBA_BPTC_UNORM_EXT: 0x8E8C;
|
2598
2846
|
readonly COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: 0x8E8D;
|
@@ -2600,7 +2848,11 @@ interface EXT_texture_compression_bptc {
|
|
2600
2848
|
readonly COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: 0x8E8F;
|
2601
2849
|
}
|
2602
2850
|
|
2603
|
-
/**
|
2851
|
+
/**
|
2852
|
+
* The `EXT_texture_compression_rgtc` extension is part of the WebGL API and exposes 4 RGTC compressed texture formats.
|
2853
|
+
*
|
2854
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_compression_rgtc)
|
2855
|
+
*/
|
2604
2856
|
interface EXT_texture_compression_rgtc {
|
2605
2857
|
readonly COMPRESSED_RED_RGTC1_EXT: 0x8DBB;
|
2606
2858
|
readonly COMPRESSED_SIGNED_RED_RGTC1_EXT: 0x8DBC;
|
@@ -2609,7 +2861,7 @@ interface EXT_texture_compression_rgtc {
|
|
2609
2861
|
}
|
2610
2862
|
|
2611
2863
|
/**
|
2612
|
-
* The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF).
|
2864
|
+
* The **`EXT_texture_filter_anisotropic`** extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF).
|
2613
2865
|
*
|
2614
2866
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_filter_anisotropic)
|
2615
2867
|
*/
|
@@ -2618,7 +2870,11 @@ interface EXT_texture_filter_anisotropic {
|
|
2618
2870
|
readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF;
|
2619
2871
|
}
|
2620
2872
|
|
2621
|
-
/**
|
2873
|
+
/**
|
2874
|
+
* The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer).
|
2875
|
+
*
|
2876
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_norm16)
|
2877
|
+
*/
|
2622
2878
|
interface EXT_texture_norm16 {
|
2623
2879
|
readonly R16_EXT: 0x822A;
|
2624
2880
|
readonly RG16_EXT: 0x822C;
|
@@ -2630,7 +2886,11 @@ interface EXT_texture_norm16 {
|
|
2630
2886
|
readonly RGBA16_SNORM_EXT: 0x8F9B;
|
2631
2887
|
}
|
2632
2888
|
|
2633
|
-
/**
|
2889
|
+
/**
|
2890
|
+
* The **`EncodedAudioChunk`** interface of the WebCodecs API represents a chunk of encoded audio data.
|
2891
|
+
*
|
2892
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk)
|
2893
|
+
*/
|
2634
2894
|
interface EncodedAudioChunk {
|
2635
2895
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/byteLength) */
|
2636
2896
|
readonly byteLength: number;
|
@@ -2649,7 +2909,11 @@ declare var EncodedAudioChunk: {
|
|
2649
2909
|
new(init: EncodedAudioChunkInit): EncodedAudioChunk;
|
2650
2910
|
};
|
2651
2911
|
|
2652
|
-
/**
|
2912
|
+
/**
|
2913
|
+
* The **`EncodedVideoChunk`** interface of the WebCodecs API represents a chunk of encoded video data.
|
2914
|
+
*
|
2915
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk)
|
2916
|
+
*/
|
2653
2917
|
interface EncodedVideoChunk {
|
2654
2918
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/byteLength) */
|
2655
2919
|
readonly byteLength: number;
|
@@ -2669,7 +2933,7 @@ declare var EncodedVideoChunk: {
|
|
2669
2933
|
};
|
2670
2934
|
|
2671
2935
|
/**
|
2672
|
-
*
|
2936
|
+
* The **`ErrorEvent`** interface represents events providing information related to errors in scripts or in files.
|
2673
2937
|
*
|
2674
2938
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent)
|
2675
2939
|
*/
|
@@ -2692,7 +2956,7 @@ declare var ErrorEvent: {
|
|
2692
2956
|
};
|
2693
2957
|
|
2694
2958
|
/**
|
2695
|
-
*
|
2959
|
+
* The **`Event`** interface represents an event which takes place on an `EventTarget`.
|
2696
2960
|
*
|
2697
2961
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event)
|
2698
2962
|
*/
|
@@ -2834,7 +3098,11 @@ interface EventSourceEventMap {
|
|
2834
3098
|
"open": Event;
|
2835
3099
|
}
|
2836
3100
|
|
2837
|
-
/**
|
3101
|
+
/**
|
3102
|
+
* The **`EventSource`** interface is web content's interface to server-sent events.
|
3103
|
+
*
|
3104
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource)
|
3105
|
+
*/
|
2838
3106
|
interface EventSource extends EventTarget {
|
2839
3107
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/error_event) */
|
2840
3108
|
onerror: ((this: EventSource, ev: Event) => any) | null;
|
@@ -2886,7 +3154,7 @@ declare var EventSource: {
|
|
2886
3154
|
};
|
2887
3155
|
|
2888
3156
|
/**
|
2889
|
-
* EventTarget is
|
3157
|
+
* The **`EventTarget`** interface is implemented by objects that can receive events and may have listeners for them.
|
2890
3158
|
*
|
2891
3159
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget)
|
2892
3160
|
*/
|
@@ -2929,7 +3197,24 @@ declare var EventTarget: {
|
|
2929
3197
|
};
|
2930
3198
|
|
2931
3199
|
/**
|
2932
|
-
*
|
3200
|
+
* The **`ExtendableCookieChangeEvent`** interface of the Cookie Store API is the event type passed to ServiceWorkerGlobalScope/cookiechange_event event fired at the ServiceWorkerGlobalScope when any cookie changes occur which match the service worker's cookie change subscription list.
|
3201
|
+
*
|
3202
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableCookieChangeEvent)
|
3203
|
+
*/
|
3204
|
+
interface ExtendableCookieChangeEvent extends ExtendableEvent {
|
3205
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableCookieChangeEvent/changed) */
|
3206
|
+
readonly changed: ReadonlyArray<CookieListItem>;
|
3207
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableCookieChangeEvent/deleted) */
|
3208
|
+
readonly deleted: ReadonlyArray<CookieListItem>;
|
3209
|
+
}
|
3210
|
+
|
3211
|
+
declare var ExtendableCookieChangeEvent: {
|
3212
|
+
prototype: ExtendableCookieChangeEvent;
|
3213
|
+
new(type: string, eventInitDict?: ExtendableCookieChangeEventInit): ExtendableCookieChangeEvent;
|
3214
|
+
};
|
3215
|
+
|
3216
|
+
/**
|
3217
|
+
* The **`ExtendableEvent`** interface extends the lifetime of the `install` and `activate` events dispatched on the global scope as part of the service worker lifecycle.
|
2933
3218
|
*
|
2934
3219
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableEvent)
|
2935
3220
|
*/
|
@@ -2944,7 +3229,7 @@ declare var ExtendableEvent: {
|
|
2944
3229
|
};
|
2945
3230
|
|
2946
3231
|
/**
|
2947
|
-
*
|
3232
|
+
* The **`ExtendableMessageEvent`** interface of the Service Worker API represents the event object of a ServiceWorkerGlobalScope/message_event event fired on a service worker (when a message is received on the ServiceWorkerGlobalScope from another context) — extends the lifetime of such events.
|
2948
3233
|
*
|
2949
3234
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent)
|
2950
3235
|
*/
|
@@ -2967,7 +3252,7 @@ declare var ExtendableMessageEvent: {
|
|
2967
3252
|
};
|
2968
3253
|
|
2969
3254
|
/**
|
2970
|
-
* This is the event type for fetch
|
3255
|
+
* This is the event type for `fetch` events dispatched on the ServiceWorkerGlobalScope.
|
2971
3256
|
*
|
2972
3257
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent)
|
2973
3258
|
*/
|
@@ -2992,7 +3277,7 @@ declare var FetchEvent: {
|
|
2992
3277
|
};
|
2993
3278
|
|
2994
3279
|
/**
|
2995
|
-
*
|
3280
|
+
* The **`File`** interface provides information about files and allows JavaScript in a web page to access their content.
|
2996
3281
|
*
|
2997
3282
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/File)
|
2998
3283
|
*/
|
@@ -3011,7 +3296,7 @@ declare var File: {
|
|
3011
3296
|
};
|
3012
3297
|
|
3013
3298
|
/**
|
3014
|
-
*
|
3299
|
+
* The **`FileList`** interface represents an object of this type returned by the `files` property of the HTML input element; this lets you access the list of files selected with the `<input type='file'>` element.
|
3015
3300
|
*
|
3016
3301
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileList)
|
3017
3302
|
*/
|
@@ -3038,7 +3323,7 @@ interface FileReaderEventMap {
|
|
3038
3323
|
}
|
3039
3324
|
|
3040
3325
|
/**
|
3041
|
-
*
|
3326
|
+
* The **`FileReader`** interface lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read.
|
3042
3327
|
*
|
3043
3328
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader)
|
3044
3329
|
*/
|
@@ -3093,7 +3378,7 @@ declare var FileReader: {
|
|
3093
3378
|
};
|
3094
3379
|
|
3095
3380
|
/**
|
3096
|
-
*
|
3381
|
+
* The **`FileReaderSync`** interface allows to read File or Blob objects synchronously.
|
3097
3382
|
*
|
3098
3383
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReaderSync)
|
3099
3384
|
*/
|
@@ -3118,6 +3403,7 @@ declare var FileReaderSync: {
|
|
3118
3403
|
};
|
3119
3404
|
|
3120
3405
|
/**
|
3406
|
+
* The **`FileSystemDirectoryHandle`** interface of the File System API provides a handle to a file system directory.
|
3121
3407
|
* Available only in secure contexts.
|
3122
3408
|
*
|
3123
3409
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle)
|
@@ -3140,6 +3426,7 @@ declare var FileSystemDirectoryHandle: {
|
|
3140
3426
|
};
|
3141
3427
|
|
3142
3428
|
/**
|
3429
|
+
* The **`FileSystemFileHandle`** interface of the File System API represents a handle to a file system entry.
|
3143
3430
|
* Available only in secure contexts.
|
3144
3431
|
*
|
3145
3432
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle)
|
@@ -3160,6 +3447,7 @@ declare var FileSystemFileHandle: {
|
|
3160
3447
|
};
|
3161
3448
|
|
3162
3449
|
/**
|
3450
|
+
* The **`FileSystemHandle`** interface of the File System API is an object which represents a file or directory entry.
|
3163
3451
|
* Available only in secure contexts.
|
3164
3452
|
*
|
3165
3453
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle)
|
@@ -3179,6 +3467,7 @@ declare var FileSystemHandle: {
|
|
3179
3467
|
};
|
3180
3468
|
|
3181
3469
|
/**
|
3470
|
+
* The **`FileSystemSyncAccessHandle`** interface of the File System API represents a synchronous handle to a file system entry.
|
3182
3471
|
* Available only in secure contexts.
|
3183
3472
|
*
|
3184
3473
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle)
|
@@ -3204,6 +3493,7 @@ declare var FileSystemSyncAccessHandle: {
|
|
3204
3493
|
};
|
3205
3494
|
|
3206
3495
|
/**
|
3496
|
+
* The **`FileSystemWritableFileStream`** interface of the File System API is a WritableStream object with additional convenience methods, which operates on a single file on disk.
|
3207
3497
|
* Available only in secure contexts.
|
3208
3498
|
*
|
3209
3499
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemWritableFileStream)
|
@@ -3222,7 +3512,11 @@ declare var FileSystemWritableFileStream: {
|
|
3222
3512
|
new(): FileSystemWritableFileStream;
|
3223
3513
|
};
|
3224
3514
|
|
3225
|
-
/**
|
3515
|
+
/**
|
3516
|
+
* The **`FontFace`** interface of the CSS Font Loading API represents a single usable font face.
|
3517
|
+
*
|
3518
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace)
|
3519
|
+
*/
|
3226
3520
|
interface FontFace {
|
3227
3521
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/ascentOverride) */
|
3228
3522
|
ascentOverride: string;
|
@@ -3263,7 +3557,11 @@ interface FontFaceSetEventMap {
|
|
3263
3557
|
"loadingerror": FontFaceSetLoadEvent;
|
3264
3558
|
}
|
3265
3559
|
|
3266
|
-
/**
|
3560
|
+
/**
|
3561
|
+
* The **`FontFaceSet`** interface of the CSS Font Loading API manages the loading of font-faces and querying of their download status.
|
3562
|
+
*
|
3563
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet)
|
3564
|
+
*/
|
3267
3565
|
interface FontFaceSet extends EventTarget {
|
3268
3566
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loading_event) */
|
3269
3567
|
onloading: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;
|
@@ -3291,7 +3589,11 @@ declare var FontFaceSet: {
|
|
3291
3589
|
new(): FontFaceSet;
|
3292
3590
|
};
|
3293
3591
|
|
3294
|
-
/**
|
3592
|
+
/**
|
3593
|
+
* The **`FontFaceSetLoadEvent`** interface of the CSS Font Loading API represents events fired at a FontFaceSet after it starts loading font faces.
|
3594
|
+
*
|
3595
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent)
|
3596
|
+
*/
|
3295
3597
|
interface FontFaceSetLoadEvent extends Event {
|
3296
3598
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent/fontfaces) */
|
3297
3599
|
readonly fontfaces: ReadonlyArray<FontFace>;
|
@@ -3308,7 +3610,7 @@ interface FontFaceSource {
|
|
3308
3610
|
}
|
3309
3611
|
|
3310
3612
|
/**
|
3311
|
-
*
|
3613
|
+
* The **`FormData`** interface provides a way to construct a set of key/value pairs representing form fields and their values, which can be sent using the Window/fetch, XMLHttpRequest.send() or navigator.sendBeacon() methods.
|
3312
3614
|
*
|
3313
3615
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData)
|
3314
3616
|
*/
|
@@ -3338,6 +3640,7 @@ declare var FormData: {
|
|
3338
3640
|
};
|
3339
3641
|
|
3340
3642
|
/**
|
3643
|
+
* The **`GPUError`** interface of the WebGPU API is the base interface for errors surfaced by GPUDevice.popErrorScope and the GPUDevice.uncapturederror_event event.
|
3341
3644
|
* Available only in secure contexts.
|
3342
3645
|
*
|
3343
3646
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError)
|
@@ -3355,7 +3658,7 @@ interface GenericTransformStream {
|
|
3355
3658
|
}
|
3356
3659
|
|
3357
3660
|
/**
|
3358
|
-
*
|
3661
|
+
* The **`Headers`** interface of the Fetch API allows you to perform various actions on HTTP request and response headers.
|
3359
3662
|
*
|
3360
3663
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers)
|
3361
3664
|
*/
|
@@ -3381,7 +3684,7 @@ declare var Headers: {
|
|
3381
3684
|
};
|
3382
3685
|
|
3383
3686
|
/**
|
3384
|
-
*
|
3687
|
+
* The **`IDBCursor`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
|
3385
3688
|
*
|
3386
3689
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor)
|
3387
3690
|
*/
|
@@ -3456,7 +3759,7 @@ declare var IDBCursor: {
|
|
3456
3759
|
};
|
3457
3760
|
|
3458
3761
|
/**
|
3459
|
-
*
|
3762
|
+
* The **`IDBCursorWithValue`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
|
3460
3763
|
*
|
3461
3764
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue)
|
3462
3765
|
*/
|
@@ -3482,7 +3785,7 @@ interface IDBDatabaseEventMap {
|
|
3482
3785
|
}
|
3483
3786
|
|
3484
3787
|
/**
|
3485
|
-
*
|
3788
|
+
* The **`IDBDatabase`** interface of the IndexedDB API provides a connection to a database; you can use an `IDBDatabase` object to open a transaction on your database then create, manipulate, and delete objects (data) in that database.
|
3486
3789
|
*
|
3487
3790
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase)
|
3488
3791
|
*/
|
@@ -3551,7 +3854,7 @@ declare var IDBDatabase: {
|
|
3551
3854
|
};
|
3552
3855
|
|
3553
3856
|
/**
|
3554
|
-
*
|
3857
|
+
* The **`IDBFactory`** interface of the IndexedDB API lets applications asynchronously access the indexed databases.
|
3555
3858
|
*
|
3556
3859
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory)
|
3557
3860
|
*/
|
@@ -3586,7 +3889,7 @@ declare var IDBFactory: {
|
|
3586
3889
|
};
|
3587
3890
|
|
3588
3891
|
/**
|
3589
|
-
* IDBIndex interface of the IndexedDB API provides asynchronous access to an index in a database.
|
3892
|
+
* `IDBIndex` interface of the IndexedDB API provides asynchronous access to an index in a database.
|
3590
3893
|
*
|
3591
3894
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex)
|
3592
3895
|
*/
|
@@ -3673,7 +3976,7 @@ declare var IDBIndex: {
|
|
3673
3976
|
};
|
3674
3977
|
|
3675
3978
|
/**
|
3676
|
-
*
|
3979
|
+
* The **`IDBKeyRange`** interface of the IndexedDB API represents a continuous interval over some data type that is used for keys.
|
3677
3980
|
*
|
3678
3981
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange)
|
3679
3982
|
*/
|
@@ -3740,7 +4043,7 @@ declare var IDBKeyRange: {
|
|
3740
4043
|
};
|
3741
4044
|
|
3742
4045
|
/**
|
3743
|
-
*
|
4046
|
+
* The **`IDBObjectStore`** interface of the IndexedDB API represents an object store in a database.
|
3744
4047
|
*
|
3745
4048
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore)
|
3746
4049
|
*/
|
@@ -3762,7 +4065,7 @@ interface IDBObjectStore {
|
|
3762
4065
|
*
|
3763
4066
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
|
3764
4067
|
*/
|
3765
|
-
readonly keyPath: string | string[];
|
4068
|
+
readonly keyPath: string | string[] | null;
|
3766
4069
|
/**
|
3767
4070
|
* Returns the name of the store.
|
3768
4071
|
*
|
@@ -3902,7 +4205,7 @@ interface IDBOpenDBRequestEventMap extends IDBRequestEventMap {
|
|
3902
4205
|
}
|
3903
4206
|
|
3904
4207
|
/**
|
3905
|
-
*
|
4208
|
+
* The **`IDBOpenDBRequest`** interface of the IndexedDB API provides access to the results of requests to open or delete databases (performed using IDBFactory.open and IDBFactory.deleteDatabase), using specific event handler attributes.
|
3906
4209
|
*
|
3907
4210
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBOpenDBRequest)
|
3908
4211
|
*/
|
@@ -3928,7 +4231,7 @@ interface IDBRequestEventMap {
|
|
3928
4231
|
}
|
3929
4232
|
|
3930
4233
|
/**
|
3931
|
-
* The
|
4234
|
+
* The **`IDBRequest`** interface of the IndexedDB API provides access to results of asynchronous requests to databases and database objects using event handler attributes.
|
3932
4235
|
*
|
3933
4236
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest)
|
3934
4237
|
*/
|
@@ -3984,7 +4287,11 @@ interface IDBTransactionEventMap {
|
|
3984
4287
|
"error": Event;
|
3985
4288
|
}
|
3986
4289
|
|
3987
|
-
/**
|
4290
|
+
/**
|
4291
|
+
* The **`IDBTransaction`** interface of the IndexedDB API provides a static, asynchronous transaction on a database using event handler attributes.
|
4292
|
+
*
|
4293
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction)
|
4294
|
+
*/
|
3988
4295
|
interface IDBTransaction extends EventTarget {
|
3989
4296
|
/**
|
3990
4297
|
* Returns the transaction's connection.
|
@@ -4044,7 +4351,7 @@ declare var IDBTransaction: {
|
|
4044
4351
|
};
|
4045
4352
|
|
4046
4353
|
/**
|
4047
|
-
*
|
4354
|
+
* The **`IDBVersionChangeEvent`** interface of the IndexedDB API indicates that the version of the database has changed, as the result of an IDBOpenDBRequest.upgradeneeded_event event handler function.
|
4048
4355
|
*
|
4049
4356
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent)
|
4050
4357
|
*/
|
@@ -4060,7 +4367,11 @@ declare var IDBVersionChangeEvent: {
|
|
4060
4367
|
new(type: string, eventInitDict?: IDBVersionChangeEventInit): IDBVersionChangeEvent;
|
4061
4368
|
};
|
4062
4369
|
|
4063
|
-
/**
|
4370
|
+
/**
|
4371
|
+
* The **`ImageBitmap`** interface represents a bitmap image which can be drawn to a canvas without undue latency.
|
4372
|
+
*
|
4373
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmap)
|
4374
|
+
*/
|
4064
4375
|
interface ImageBitmap {
|
4065
4376
|
/**
|
4066
4377
|
* Returns the intrinsic height of the image, in CSS pixels.
|
@@ -4087,7 +4398,11 @@ declare var ImageBitmap: {
|
|
4087
4398
|
new(): ImageBitmap;
|
4088
4399
|
};
|
4089
4400
|
|
4090
|
-
/**
|
4401
|
+
/**
|
4402
|
+
* The **`ImageBitmapRenderingContext`** interface is a canvas rendering context that provides the functionality to replace the canvas's contents with the given ImageBitmap.
|
4403
|
+
*
|
4404
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext)
|
4405
|
+
*/
|
4091
4406
|
interface ImageBitmapRenderingContext {
|
4092
4407
|
/**
|
4093
4408
|
* Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.
|
@@ -4103,7 +4418,7 @@ declare var ImageBitmapRenderingContext: {
|
|
4103
4418
|
};
|
4104
4419
|
|
4105
4420
|
/**
|
4106
|
-
* The underlying pixel data of an area of a
|
4421
|
+
* The **`ImageData`** interface represents the underlying pixel data of an area of a canvas element.
|
4107
4422
|
*
|
4108
4423
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData)
|
4109
4424
|
*/
|
@@ -4115,7 +4430,7 @@ interface ImageData {
|
|
4115
4430
|
*
|
4116
4431
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
|
4117
4432
|
*/
|
4118
|
-
readonly data:
|
4433
|
+
readonly data: ImageDataArray;
|
4119
4434
|
/**
|
4120
4435
|
* Returns the actual dimensions of the data in the ImageData object, in pixels.
|
4121
4436
|
*
|
@@ -4133,10 +4448,11 @@ interface ImageData {
|
|
4133
4448
|
declare var ImageData: {
|
4134
4449
|
prototype: ImageData;
|
4135
4450
|
new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
|
4136
|
-
new(data:
|
4451
|
+
new(data: ImageDataArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
|
4137
4452
|
};
|
4138
4453
|
|
4139
4454
|
/**
|
4455
|
+
* The **`ImageDecoder`** interface of the WebCodecs API provides a way to unpack and decode encoded image data.
|
4140
4456
|
* Available only in secure contexts.
|
4141
4457
|
*
|
4142
4458
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder)
|
@@ -4165,7 +4481,11 @@ declare var ImageDecoder: {
|
|
4165
4481
|
isTypeSupported(type: string): Promise<boolean>;
|
4166
4482
|
};
|
4167
4483
|
|
4168
|
-
/**
|
4484
|
+
/**
|
4485
|
+
* The **`ImageTrack`** interface of the WebCodecs API represents an individual image track.
|
4486
|
+
*
|
4487
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack)
|
4488
|
+
*/
|
4169
4489
|
interface ImageTrack {
|
4170
4490
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack/animated) */
|
4171
4491
|
readonly animated: boolean;
|
@@ -4182,7 +4502,11 @@ declare var ImageTrack: {
|
|
4182
4502
|
new(): ImageTrack;
|
4183
4503
|
};
|
4184
4504
|
|
4185
|
-
/**
|
4505
|
+
/**
|
4506
|
+
* The **`ImageTrackList`** interface of the WebCodecs API represents a list of image tracks.
|
4507
|
+
*
|
4508
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList)
|
4509
|
+
*/
|
4186
4510
|
interface ImageTrackList {
|
4187
4511
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList/length) */
|
4188
4512
|
readonly length: number;
|
@@ -4205,12 +4529,17 @@ interface ImportMeta {
|
|
4205
4529
|
resolve(specifier: string): string;
|
4206
4530
|
}
|
4207
4531
|
|
4208
|
-
/**
|
4532
|
+
/**
|
4533
|
+
* The **`KHR_parallel_shader_compile`** extension is part of the WebGL API and enables a non-blocking poll operation, so that compile/link status availability (`COMPLETION_STATUS_KHR`) can be queried without potentially incurring stalls.
|
4534
|
+
*
|
4535
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/KHR_parallel_shader_compile)
|
4536
|
+
*/
|
4209
4537
|
interface KHR_parallel_shader_compile {
|
4210
4538
|
readonly COMPLETION_STATUS_KHR: 0x91B1;
|
4211
4539
|
}
|
4212
4540
|
|
4213
4541
|
/**
|
4542
|
+
* The **`Lock`** interface of the Web Locks API provides the name and mode of a lock.
|
4214
4543
|
* Available only in secure contexts.
|
4215
4544
|
*
|
4216
4545
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Lock)
|
@@ -4228,6 +4557,7 @@ declare var Lock: {
|
|
4228
4557
|
};
|
4229
4558
|
|
4230
4559
|
/**
|
4560
|
+
* The **`LockManager`** interface of the Web Locks API provides methods for requesting a new Lock object and querying for an existing `Lock` object.
|
4231
4561
|
* Available only in secure contexts.
|
4232
4562
|
*
|
4233
4563
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/LockManager)
|
@@ -4236,8 +4566,8 @@ interface LockManager {
|
|
4236
4566
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LockManager/query) */
|
4237
4567
|
query(): Promise<LockManagerSnapshot>;
|
4238
4568
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LockManager/request) */
|
4239
|
-
request(name: string, callback: LockGrantedCallback): Promise<
|
4240
|
-
request(name: string, options: LockOptions, callback: LockGrantedCallback): Promise<
|
4569
|
+
request<T>(name: string, callback: LockGrantedCallback<T>): Promise<T>;
|
4570
|
+
request<T>(name: string, options: LockOptions, callback: LockGrantedCallback<T>): Promise<T>;
|
4241
4571
|
}
|
4242
4572
|
|
4243
4573
|
declare var LockManager: {
|
@@ -4245,7 +4575,11 @@ declare var LockManager: {
|
|
4245
4575
|
new(): LockManager;
|
4246
4576
|
};
|
4247
4577
|
|
4248
|
-
/**
|
4578
|
+
/**
|
4579
|
+
* The **`MediaCapabilities`** interface of the Media Capabilities API provides information about the decoding abilities of the device, system and browser.
|
4580
|
+
*
|
4581
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaCapabilities)
|
4582
|
+
*/
|
4249
4583
|
interface MediaCapabilities {
|
4250
4584
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaCapabilities/decodingInfo) */
|
4251
4585
|
decodingInfo(configuration: MediaDecodingConfiguration): Promise<MediaCapabilitiesDecodingInfo>;
|
@@ -4258,7 +4592,11 @@ declare var MediaCapabilities: {
|
|
4258
4592
|
new(): MediaCapabilities;
|
4259
4593
|
};
|
4260
4594
|
|
4261
|
-
/**
|
4595
|
+
/**
|
4596
|
+
* The **`MediaSourceHandle`** interface of the Media Source Extensions API is a proxy for a MediaSource that can be transferred from a dedicated worker back to the main thread and attached to a media element via its HTMLMediaElement.srcObject property.
|
4597
|
+
*
|
4598
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle)
|
4599
|
+
*/
|
4262
4600
|
interface MediaSourceHandle {
|
4263
4601
|
}
|
4264
4602
|
|
@@ -4267,7 +4605,11 @@ declare var MediaSourceHandle: {
|
|
4267
4605
|
new(): MediaSourceHandle;
|
4268
4606
|
};
|
4269
4607
|
|
4270
|
-
/**
|
4608
|
+
/**
|
4609
|
+
* The **`MediaStreamTrackProcessor`** interface of the Insertable Streams for MediaStreamTrack API consumes a video MediaStreamTrack object's source and generates a stream of VideoFrame objects.
|
4610
|
+
*
|
4611
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor)
|
4612
|
+
*/
|
4271
4613
|
interface MediaStreamTrackProcessor {
|
4272
4614
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor/readable) */
|
4273
4615
|
readonly readable: ReadableStream;
|
@@ -4279,7 +4621,7 @@ declare var MediaStreamTrackProcessor: {
|
|
4279
4621
|
};
|
4280
4622
|
|
4281
4623
|
/**
|
4282
|
-
*
|
4624
|
+
* The **`MessageChannel`** interface of the Channel Messaging API allows us to create a new message channel and send data through it via its two MessagePort properties.
|
4283
4625
|
*
|
4284
4626
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel)
|
4285
4627
|
*/
|
@@ -4304,7 +4646,7 @@ declare var MessageChannel: {
|
|
4304
4646
|
};
|
4305
4647
|
|
4306
4648
|
/**
|
4307
|
-
*
|
4649
|
+
* The **`MessageEvent`** interface represents a message received by a target object.
|
4308
4650
|
*
|
4309
4651
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent)
|
4310
4652
|
*/
|
@@ -4370,7 +4712,7 @@ interface MessagePortEventMap extends MessageEventTargetEventMap {
|
|
4370
4712
|
}
|
4371
4713
|
|
4372
4714
|
/**
|
4373
|
-
*
|
4715
|
+
* The **`MessagePort`** interface of the Channel Messaging API represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other.
|
4374
4716
|
*
|
4375
4717
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort)
|
4376
4718
|
*/
|
@@ -4408,6 +4750,7 @@ declare var MessagePort: {
|
|
4408
4750
|
};
|
4409
4751
|
|
4410
4752
|
/**
|
4753
|
+
* The **`NavigationPreloadManager`** interface of the Service Worker API provides methods for managing the preloading of resources in parallel with service worker bootup.
|
4411
4754
|
* Available only in secure contexts.
|
4412
4755
|
*
|
4413
4756
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPreloadManager)
|
@@ -4508,7 +4851,7 @@ interface NotificationEventMap {
|
|
4508
4851
|
}
|
4509
4852
|
|
4510
4853
|
/**
|
4511
|
-
*
|
4854
|
+
* The **`Notification`** interface of the Notifications API is used to configure and display desktop notifications to the user.
|
4512
4855
|
*
|
4513
4856
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
|
4514
4857
|
*/
|
@@ -4557,7 +4900,7 @@ declare var Notification: {
|
|
4557
4900
|
};
|
4558
4901
|
|
4559
4902
|
/**
|
4560
|
-
* The
|
4903
|
+
* The **`NotificationEvent`** interface of the Notifications API represents a notification event dispatched on the ServiceWorkerGlobalScope of a ServiceWorker.
|
4561
4904
|
*
|
4562
4905
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NotificationEvent)
|
4563
4906
|
*/
|
@@ -4573,7 +4916,11 @@ declare var NotificationEvent: {
|
|
4573
4916
|
new(type: string, eventInitDict: NotificationEventInit): NotificationEvent;
|
4574
4917
|
};
|
4575
4918
|
|
4576
|
-
/**
|
4919
|
+
/**
|
4920
|
+
* The **`OES_draw_buffers_indexed`** extension is part of the WebGL API and enables the use of different blend options when writing to multiple color buffers simultaneously.
|
4921
|
+
*
|
4922
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed)
|
4923
|
+
*/
|
4577
4924
|
interface OES_draw_buffers_indexed {
|
4578
4925
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed/blendEquationSeparateiOES) */
|
4579
4926
|
blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void;
|
@@ -4592,19 +4939,23 @@ interface OES_draw_buffers_indexed {
|
|
4592
4939
|
}
|
4593
4940
|
|
4594
4941
|
/**
|
4595
|
-
* The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements().
|
4942
|
+
* The **`OES_element_index_uint`** extension is part of the WebGL API and adds support for `gl.UNSIGNED_INT` types to WebGLRenderingContext.drawElements().
|
4596
4943
|
*
|
4597
4944
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_element_index_uint)
|
4598
4945
|
*/
|
4599
4946
|
interface OES_element_index_uint {
|
4600
4947
|
}
|
4601
4948
|
|
4602
|
-
/**
|
4949
|
+
/**
|
4950
|
+
* The `OES_fbo_render_mipmap` extension is part of the WebGL API and makes it possible to attach any level of a texture to a framebuffer object.
|
4951
|
+
*
|
4952
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_fbo_render_mipmap)
|
4953
|
+
*/
|
4603
4954
|
interface OES_fbo_render_mipmap {
|
4604
4955
|
}
|
4605
4956
|
|
4606
4957
|
/**
|
4607
|
-
* The OES_standard_derivatives extension is part of the WebGL API and adds the GLSL derivative functions dFdx
|
4958
|
+
* The **`OES_standard_derivatives`** extension is part of the WebGL API and adds the GLSL derivative functions `dFdx`, `dFdy`, and `fwidth`.
|
4608
4959
|
*
|
4609
4960
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_standard_derivatives)
|
4610
4961
|
*/
|
@@ -4613,7 +4964,7 @@ interface OES_standard_derivatives {
|
|
4613
4964
|
}
|
4614
4965
|
|
4615
4966
|
/**
|
4616
|
-
* The OES_texture_float extension is part of the WebGL API and exposes floating-point pixel types for textures.
|
4967
|
+
* The **`OES_texture_float`** extension is part of the WebGL API and exposes floating-point pixel types for textures.
|
4617
4968
|
*
|
4618
4969
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_float)
|
4619
4970
|
*/
|
@@ -4621,7 +4972,7 @@ interface OES_texture_float {
|
|
4621
4972
|
}
|
4622
4973
|
|
4623
4974
|
/**
|
4624
|
-
* The OES_texture_float_linear extension is part of the WebGL API and allows linear filtering with floating-point pixel types for textures.
|
4975
|
+
* The **`OES_texture_float_linear`** extension is part of the WebGL API and allows linear filtering with floating-point pixel types for textures.
|
4625
4976
|
*
|
4626
4977
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_float_linear)
|
4627
4978
|
*/
|
@@ -4629,7 +4980,7 @@ interface OES_texture_float_linear {
|
|
4629
4980
|
}
|
4630
4981
|
|
4631
4982
|
/**
|
4632
|
-
* The OES_texture_half_float extension is part of the WebGL API and adds texture formats with 16- (aka half float) and 32-bit floating-point components.
|
4983
|
+
* The **`OES_texture_half_float`** extension is part of the WebGL API and adds texture formats with 16- (aka half float) and 32-bit floating-point components.
|
4633
4984
|
*
|
4634
4985
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_half_float)
|
4635
4986
|
*/
|
@@ -4638,14 +4989,18 @@ interface OES_texture_half_float {
|
|
4638
4989
|
}
|
4639
4990
|
|
4640
4991
|
/**
|
4641
|
-
* The OES_texture_half_float_linear extension is part of the WebGL API and allows linear filtering with half floating-point pixel types for textures.
|
4992
|
+
* The **`OES_texture_half_float_linear`** extension is part of the WebGL API and allows linear filtering with half floating-point pixel types for textures.
|
4642
4993
|
*
|
4643
4994
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_half_float_linear)
|
4644
4995
|
*/
|
4645
4996
|
interface OES_texture_half_float_linear {
|
4646
4997
|
}
|
4647
4998
|
|
4648
|
-
/**
|
4999
|
+
/**
|
5000
|
+
* The **OES_vertex_array_object** extension is part of the WebGL API and provides vertex array objects (VAOs) which encapsulate vertex array states.
|
5001
|
+
*
|
5002
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object)
|
5003
|
+
*/
|
4649
5004
|
interface OES_vertex_array_object {
|
4650
5005
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/bindVertexArrayOES) */
|
4651
5006
|
bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
|
@@ -4658,7 +5013,11 @@ interface OES_vertex_array_object {
|
|
4658
5013
|
readonly VERTEX_ARRAY_BINDING_OES: 0x85B5;
|
4659
5014
|
}
|
4660
5015
|
|
4661
|
-
/**
|
5016
|
+
/**
|
5017
|
+
* The `OVR_multiview2` extension is part of the WebGL API and adds support for rendering into multiple views simultaneously.
|
5018
|
+
*
|
5019
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OVR_multiview2)
|
5020
|
+
*/
|
4662
5021
|
interface OVR_multiview2 {
|
4663
5022
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OVR_multiview2/framebufferTextureMultiviewOVR) */
|
4664
5023
|
framebufferTextureMultiviewOVR(target: GLenum, attachment: GLenum, texture: WebGLTexture | null, level: GLint, baseViewIndex: GLint, numViews: GLsizei): void;
|
@@ -4673,7 +5032,11 @@ interface OffscreenCanvasEventMap {
|
|
4673
5032
|
"contextrestored": Event;
|
4674
5033
|
}
|
4675
5034
|
|
4676
|
-
/**
|
5035
|
+
/**
|
5036
|
+
* When using the canvas element or the Canvas API, rendering, animation, and user interaction usually happen on the main execution thread of a web application.
|
5037
|
+
*
|
5038
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas)
|
5039
|
+
*/
|
4677
5040
|
interface OffscreenCanvas extends EventTarget {
|
4678
5041
|
/**
|
4679
5042
|
* These attributes return the dimensions of the OffscreenCanvas object's bitmap.
|
@@ -4734,7 +5097,11 @@ declare var OffscreenCanvas: {
|
|
4734
5097
|
new(width: number, height: number): OffscreenCanvas;
|
4735
5098
|
};
|
4736
5099
|
|
4737
|
-
/**
|
5100
|
+
/**
|
5101
|
+
* The **`OffscreenCanvasRenderingContext2D`** interface is a CanvasRenderingContext2D rendering context for drawing to the bitmap of an `OffscreenCanvas` object.
|
5102
|
+
*
|
5103
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D)
|
5104
|
+
*/
|
4738
5105
|
interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {
|
4739
5106
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas) */
|
4740
5107
|
readonly canvas: OffscreenCanvas;
|
@@ -4746,7 +5113,7 @@ declare var OffscreenCanvasRenderingContext2D: {
|
|
4746
5113
|
};
|
4747
5114
|
|
4748
5115
|
/**
|
4749
|
-
*
|
5116
|
+
* The **`Path2D`** interface of the Canvas 2D API is used to declare a path that can then be used on a CanvasRenderingContext2D object.
|
4750
5117
|
*
|
4751
5118
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Path2D)
|
4752
5119
|
*/
|
@@ -4769,7 +5136,7 @@ interface PerformanceEventMap {
|
|
4769
5136
|
}
|
4770
5137
|
|
4771
5138
|
/**
|
4772
|
-
*
|
5139
|
+
* The **`Performance`** interface provides access to performance-related information for the current page.
|
4773
5140
|
*
|
4774
5141
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance)
|
4775
5142
|
*/
|
@@ -4812,7 +5179,7 @@ declare var Performance: {
|
|
4812
5179
|
};
|
4813
5180
|
|
4814
5181
|
/**
|
4815
|
-
*
|
5182
|
+
* The **`PerformanceEntry`** object encapsulates a single performance metric that is part of the browser's performance timeline.
|
4816
5183
|
*
|
4817
5184
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry)
|
4818
5185
|
*/
|
@@ -4835,7 +5202,7 @@ declare var PerformanceEntry: {
|
|
4835
5202
|
};
|
4836
5203
|
|
4837
5204
|
/**
|
4838
|
-
* PerformanceMark
|
5205
|
+
* **`PerformanceMark`** is an interface for PerformanceEntry objects with an PerformanceEntry.entryType of `'mark'`.
|
4839
5206
|
*
|
4840
5207
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMark)
|
4841
5208
|
*/
|
@@ -4850,7 +5217,7 @@ declare var PerformanceMark: {
|
|
4850
5217
|
};
|
4851
5218
|
|
4852
5219
|
/**
|
4853
|
-
* PerformanceMeasure is an
|
5220
|
+
* **`PerformanceMeasure`** is an _abstract_ interface for PerformanceEntry objects with an PerformanceEntry.entryType of `'measure'`.
|
4854
5221
|
*
|
4855
5222
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMeasure)
|
4856
5223
|
*/
|
@@ -4864,7 +5231,11 @@ declare var PerformanceMeasure: {
|
|
4864
5231
|
new(): PerformanceMeasure;
|
4865
5232
|
};
|
4866
5233
|
|
4867
|
-
/**
|
5234
|
+
/**
|
5235
|
+
* The **`PerformanceObserver`** interface is used to observe performance measurement events and be notified of new PerformanceEntry as they are recorded in the browser's _performance timeline_.
|
5236
|
+
*
|
5237
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver)
|
5238
|
+
*/
|
4868
5239
|
interface PerformanceObserver {
|
4869
5240
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver/disconnect) */
|
4870
5241
|
disconnect(): void;
|
@@ -4881,7 +5252,11 @@ declare var PerformanceObserver: {
|
|
4881
5252
|
readonly supportedEntryTypes: ReadonlyArray<string>;
|
4882
5253
|
};
|
4883
5254
|
|
4884
|
-
/**
|
5255
|
+
/**
|
5256
|
+
* The **`PerformanceObserverEntryList`** interface is a list of PerformanceEntry that were explicitly observed via the PerformanceObserver.observe method.
|
5257
|
+
*
|
5258
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserverEntryList)
|
5259
|
+
*/
|
4885
5260
|
interface PerformanceObserverEntryList {
|
4886
5261
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserverEntryList/getEntries) */
|
4887
5262
|
getEntries(): PerformanceEntryList;
|
@@ -4897,7 +5272,7 @@ declare var PerformanceObserverEntryList: {
|
|
4897
5272
|
};
|
4898
5273
|
|
4899
5274
|
/**
|
4900
|
-
*
|
5275
|
+
* The **`PerformanceResourceTiming`** interface enables retrieval and analysis of detailed network timing data regarding the loading of an application's resources.
|
4901
5276
|
*
|
4902
5277
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming)
|
4903
5278
|
*/
|
@@ -4949,7 +5324,11 @@ declare var PerformanceResourceTiming: {
|
|
4949
5324
|
new(): PerformanceResourceTiming;
|
4950
5325
|
};
|
4951
5326
|
|
4952
|
-
/**
|
5327
|
+
/**
|
5328
|
+
* The **`PerformanceServerTiming`** interface surfaces server metrics that are sent with the response in the Server-Timing HTTP header.
|
5329
|
+
*
|
5330
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming)
|
5331
|
+
*/
|
4953
5332
|
interface PerformanceServerTiming {
|
4954
5333
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming/description) */
|
4955
5334
|
readonly description: string;
|
@@ -4970,7 +5349,11 @@ interface PermissionStatusEventMap {
|
|
4970
5349
|
"change": Event;
|
4971
5350
|
}
|
4972
5351
|
|
4973
|
-
/**
|
5352
|
+
/**
|
5353
|
+
* The **`PermissionStatus`** interface of the Permissions API provides the state of an object and an event handler for monitoring changes to said state.
|
5354
|
+
*
|
5355
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus)
|
5356
|
+
*/
|
4974
5357
|
interface PermissionStatus extends EventTarget {
|
4975
5358
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/name) */
|
4976
5359
|
readonly name: string;
|
@@ -4989,7 +5372,11 @@ declare var PermissionStatus: {
|
|
4989
5372
|
new(): PermissionStatus;
|
4990
5373
|
};
|
4991
5374
|
|
4992
|
-
/**
|
5375
|
+
/**
|
5376
|
+
* The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions - Permissions.query - : Returns the user permission status for a given API.
|
5377
|
+
*
|
5378
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions)
|
5379
|
+
*/
|
4993
5380
|
interface Permissions {
|
4994
5381
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions/query) */
|
4995
5382
|
query(permissionDesc: PermissionDescriptor): Promise<PermissionStatus>;
|
@@ -5001,7 +5388,7 @@ declare var Permissions: {
|
|
5001
5388
|
};
|
5002
5389
|
|
5003
5390
|
/**
|
5004
|
-
*
|
5391
|
+
* The **`ProgressEvent`** interface represents events measuring progress of an underlying process, like an HTTP request (for an `XMLHttpRequest`, or the loading of the underlying resource of an img, audio, video, style or link).
|
5005
5392
|
*
|
5006
5393
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent)
|
5007
5394
|
*/
|
@@ -5020,7 +5407,11 @@ declare var ProgressEvent: {
|
|
5020
5407
|
new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent;
|
5021
5408
|
};
|
5022
5409
|
|
5023
|
-
/**
|
5410
|
+
/**
|
5411
|
+
* The **`PromiseRejectionEvent`** interface represents events which are sent to the global script context when JavaScript Promises are rejected.
|
5412
|
+
*
|
5413
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent)
|
5414
|
+
*/
|
5024
5415
|
interface PromiseRejectionEvent extends Event {
|
5025
5416
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise) */
|
5026
5417
|
readonly promise: Promise<any>;
|
@@ -5034,7 +5425,7 @@ declare var PromiseRejectionEvent: {
|
|
5034
5425
|
};
|
5035
5426
|
|
5036
5427
|
/**
|
5037
|
-
*
|
5428
|
+
* The **`PushEvent`** interface of the Push API represents a push message that has been received.
|
5038
5429
|
* Available only in secure contexts.
|
5039
5430
|
*
|
5040
5431
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushEvent)
|
@@ -5050,7 +5441,7 @@ declare var PushEvent: {
|
|
5050
5441
|
};
|
5051
5442
|
|
5052
5443
|
/**
|
5053
|
-
*
|
5444
|
+
* The **`PushManager`** interface of the Push API provides a way to receive notifications from third-party servers as well as request URLs for push notifications.
|
5054
5445
|
* Available only in secure contexts.
|
5055
5446
|
*
|
5056
5447
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager)
|
@@ -5072,7 +5463,7 @@ declare var PushManager: {
|
|
5072
5463
|
};
|
5073
5464
|
|
5074
5465
|
/**
|
5075
|
-
*
|
5466
|
+
* The **`PushMessageData`** interface of the Push API provides methods which let you retrieve the push data sent by a server in various formats.
|
5076
5467
|
* Available only in secure contexts.
|
5077
5468
|
*
|
5078
5469
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData)
|
@@ -5083,7 +5474,7 @@ interface PushMessageData {
|
|
5083
5474
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/blob) */
|
5084
5475
|
blob(): Blob;
|
5085
5476
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/bytes) */
|
5086
|
-
bytes(): Uint8Array
|
5477
|
+
bytes(): Uint8Array<ArrayBuffer>;
|
5087
5478
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/json) */
|
5088
5479
|
json(): any;
|
5089
5480
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/text) */
|
@@ -5096,7 +5487,7 @@ declare var PushMessageData: {
|
|
5096
5487
|
};
|
5097
5488
|
|
5098
5489
|
/**
|
5099
|
-
*
|
5490
|
+
* The `PushSubscription` interface of the Push API provides a subscription's URL endpoint along with the public key and secrets that should be used for encrypting push messages to this subscription.
|
5100
5491
|
* Available only in secure contexts.
|
5101
5492
|
*
|
5102
5493
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription)
|
@@ -5122,6 +5513,7 @@ declare var PushSubscription: {
|
|
5122
5513
|
};
|
5123
5514
|
|
5124
5515
|
/**
|
5516
|
+
* The **`PushSubscriptionOptions`** interface of the Push API represents the options associated with a push subscription.
|
5125
5517
|
* Available only in secure contexts.
|
5126
5518
|
*
|
5127
5519
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscriptionOptions)
|
@@ -5147,7 +5539,11 @@ interface RTCDataChannelEventMap {
|
|
5147
5539
|
"open": Event;
|
5148
5540
|
}
|
5149
5541
|
|
5150
|
-
/**
|
5542
|
+
/**
|
5543
|
+
* The **`RTCDataChannel`** interface represents a network channel which can be used for bidirectional peer-to-peer transfers of arbitrary data.
|
5544
|
+
*
|
5545
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel)
|
5546
|
+
*/
|
5151
5547
|
interface RTCDataChannel extends EventTarget {
|
5152
5548
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/binaryType) */
|
5153
5549
|
binaryType: BinaryType;
|
@@ -5189,7 +5585,7 @@ interface RTCDataChannel extends EventTarget {
|
|
5189
5585
|
send(data: string): void;
|
5190
5586
|
send(data: Blob): void;
|
5191
5587
|
send(data: ArrayBuffer): void;
|
5192
|
-
send(data: ArrayBufferView): void;
|
5588
|
+
send(data: ArrayBufferView<ArrayBuffer>): void;
|
5193
5589
|
addEventListener<K extends keyof RTCDataChannelEventMap>(type: K, listener: (this: RTCDataChannel, ev: RTCDataChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
5194
5590
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
5195
5591
|
removeEventListener<K extends keyof RTCDataChannelEventMap>(type: K, listener: (this: RTCDataChannel, ev: RTCDataChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
@@ -5201,7 +5597,11 @@ declare var RTCDataChannel: {
|
|
5201
5597
|
new(): RTCDataChannel;
|
5202
5598
|
};
|
5203
5599
|
|
5204
|
-
/**
|
5600
|
+
/**
|
5601
|
+
* The **`RTCEncodedAudioFrame`** of the WebRTC API represents an encoded audio frame in the WebRTC receiver or sender pipeline, which may be modified using a WebRTC Encoded Transform.
|
5602
|
+
*
|
5603
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame)
|
5604
|
+
*/
|
5205
5605
|
interface RTCEncodedAudioFrame {
|
5206
5606
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data) */
|
5207
5607
|
data: ArrayBuffer;
|
@@ -5216,7 +5616,11 @@ declare var RTCEncodedAudioFrame: {
|
|
5216
5616
|
new(): RTCEncodedAudioFrame;
|
5217
5617
|
};
|
5218
5618
|
|
5219
|
-
/**
|
5619
|
+
/**
|
5620
|
+
* The **`RTCEncodedVideoFrame`** of the WebRTC API represents an encoded video frame in the WebRTC receiver or sender pipeline, which may be modified using a WebRTC Encoded Transform.
|
5621
|
+
*
|
5622
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame)
|
5623
|
+
*/
|
5220
5624
|
interface RTCEncodedVideoFrame {
|
5221
5625
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data) */
|
5222
5626
|
data: ArrayBuffer;
|
@@ -5233,7 +5637,11 @@ declare var RTCEncodedVideoFrame: {
|
|
5233
5637
|
new(): RTCEncodedVideoFrame;
|
5234
5638
|
};
|
5235
5639
|
|
5236
|
-
/**
|
5640
|
+
/**
|
5641
|
+
* The **`RTCRtpScriptTransformer`** interface of the WebRTC API provides a worker-side Stream API interface that a WebRTC Encoded Transform can use to modify encoded media frames in the incoming and outgoing WebRTC pipelines.
|
5642
|
+
*
|
5643
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransformer)
|
5644
|
+
*/
|
5237
5645
|
interface RTCRtpScriptTransformer extends EventTarget {
|
5238
5646
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransformer/options) */
|
5239
5647
|
readonly options: any;
|
@@ -5252,7 +5660,11 @@ declare var RTCRtpScriptTransformer: {
|
|
5252
5660
|
new(): RTCRtpScriptTransformer;
|
5253
5661
|
};
|
5254
5662
|
|
5255
|
-
/**
|
5663
|
+
/**
|
5664
|
+
* The **`RTCTransformEvent`** of the WebRTC API represent an event that is fired in a dedicated worker when an encoded frame has been queued for processing by a WebRTC Encoded Transform.
|
5665
|
+
*
|
5666
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCTransformEvent)
|
5667
|
+
*/
|
5256
5668
|
interface RTCTransformEvent extends Event {
|
5257
5669
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCTransformEvent/transformer) */
|
5258
5670
|
readonly transformer: RTCRtpScriptTransformer;
|
@@ -5263,7 +5675,11 @@ declare var RTCTransformEvent: {
|
|
5263
5675
|
new(): RTCTransformEvent;
|
5264
5676
|
};
|
5265
5677
|
|
5266
|
-
/**
|
5678
|
+
/**
|
5679
|
+
* The **`ReadableByteStreamController`** interface of the Streams API represents a controller for a readable byte stream.
|
5680
|
+
*
|
5681
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController)
|
5682
|
+
*/
|
5267
5683
|
interface ReadableByteStreamController {
|
5268
5684
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/byobRequest) */
|
5269
5685
|
readonly byobRequest: ReadableStreamBYOBRequest | null;
|
@@ -5272,7 +5688,7 @@ interface ReadableByteStreamController {
|
|
5272
5688
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/close) */
|
5273
5689
|
close(): void;
|
5274
5690
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue) */
|
5275
|
-
enqueue(chunk: ArrayBufferView): void;
|
5691
|
+
enqueue(chunk: ArrayBufferView<ArrayBuffer>): void;
|
5276
5692
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/error) */
|
5277
5693
|
error(e?: any): void;
|
5278
5694
|
}
|
@@ -5283,7 +5699,7 @@ declare var ReadableByteStreamController: {
|
|
5283
5699
|
};
|
5284
5700
|
|
5285
5701
|
/**
|
5286
|
-
*
|
5702
|
+
* The `ReadableStream` interface of the Streams API represents a readable stream of byte data.
|
5287
5703
|
*
|
5288
5704
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream)
|
5289
5705
|
*/
|
@@ -5306,12 +5722,16 @@ interface ReadableStream<R = any> {
|
|
5306
5722
|
|
5307
5723
|
declare var ReadableStream: {
|
5308
5724
|
prototype: ReadableStream;
|
5309
|
-
new(underlyingSource: UnderlyingByteSource, strategy?: { highWaterMark?: number }): ReadableStream<Uint8Array
|
5725
|
+
new(underlyingSource: UnderlyingByteSource, strategy?: { highWaterMark?: number }): ReadableStream<Uint8Array<ArrayBuffer>>;
|
5310
5726
|
new<R = any>(underlyingSource: UnderlyingDefaultSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;
|
5311
5727
|
new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;
|
5312
5728
|
};
|
5313
5729
|
|
5314
|
-
/**
|
5730
|
+
/**
|
5731
|
+
* The `ReadableStreamBYOBReader` interface of the Streams API defines a reader for a ReadableStream that supports zero-copy reading from an underlying byte source.
|
5732
|
+
*
|
5733
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader)
|
5734
|
+
*/
|
5315
5735
|
interface ReadableStreamBYOBReader extends ReadableStreamGenericReader {
|
5316
5736
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/read) */
|
5317
5737
|
read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>;
|
@@ -5321,17 +5741,21 @@ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader {
|
|
5321
5741
|
|
5322
5742
|
declare var ReadableStreamBYOBReader: {
|
5323
5743
|
prototype: ReadableStreamBYOBReader;
|
5324
|
-
new(stream: ReadableStream<Uint8Array
|
5744
|
+
new(stream: ReadableStream<Uint8Array<ArrayBuffer>>): ReadableStreamBYOBReader;
|
5325
5745
|
};
|
5326
5746
|
|
5327
|
-
/**
|
5747
|
+
/**
|
5748
|
+
* The **`ReadableStreamBYOBRequest`** interface of the Streams API represents a 'pull request' for data from an underlying source that will made as a zero-copy transfer to a consumer (bypassing the stream's internal queues).
|
5749
|
+
*
|
5750
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest)
|
5751
|
+
*/
|
5328
5752
|
interface ReadableStreamBYOBRequest {
|
5329
5753
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view) */
|
5330
|
-
readonly view: ArrayBufferView | null;
|
5754
|
+
readonly view: ArrayBufferView<ArrayBuffer> | null;
|
5331
5755
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respond) */
|
5332
5756
|
respond(bytesWritten: number): void;
|
5333
5757
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respondWithNewView) */
|
5334
|
-
respondWithNewView(view: ArrayBufferView): void;
|
5758
|
+
respondWithNewView(view: ArrayBufferView<ArrayBuffer>): void;
|
5335
5759
|
}
|
5336
5760
|
|
5337
5761
|
declare var ReadableStreamBYOBRequest: {
|
@@ -5339,7 +5763,11 @@ declare var ReadableStreamBYOBRequest: {
|
|
5339
5763
|
new(): ReadableStreamBYOBRequest;
|
5340
5764
|
};
|
5341
5765
|
|
5342
|
-
/**
|
5766
|
+
/**
|
5767
|
+
* The **`ReadableStreamDefaultController`** interface of the Streams API represents a controller allowing control of a ReadableStream's state and internal queue.
|
5768
|
+
*
|
5769
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController)
|
5770
|
+
*/
|
5343
5771
|
interface ReadableStreamDefaultController<R = any> {
|
5344
5772
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize) */
|
5345
5773
|
readonly desiredSize: number | null;
|
@@ -5356,7 +5784,11 @@ declare var ReadableStreamDefaultController: {
|
|
5356
5784
|
new(): ReadableStreamDefaultController;
|
5357
5785
|
};
|
5358
5786
|
|
5359
|
-
/**
|
5787
|
+
/**
|
5788
|
+
* The **`ReadableStreamDefaultReader`** interface of the Streams API represents a default reader that can be used to read stream data supplied from a network (such as a fetch request).
|
5789
|
+
*
|
5790
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader)
|
5791
|
+
*/
|
5360
5792
|
interface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader {
|
5361
5793
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader/read) */
|
5362
5794
|
read(): Promise<ReadableStreamReadResult<R>>;
|
@@ -5376,7 +5808,11 @@ interface ReadableStreamGenericReader {
|
|
5376
5808
|
cancel(reason?: any): Promise<void>;
|
5377
5809
|
}
|
5378
5810
|
|
5379
|
-
/**
|
5811
|
+
/**
|
5812
|
+
* The `Report` interface of the Reporting API represents a single report.
|
5813
|
+
*
|
5814
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report)
|
5815
|
+
*/
|
5380
5816
|
interface Report {
|
5381
5817
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body) */
|
5382
5818
|
readonly body: ReportBody | null;
|
@@ -5392,7 +5828,11 @@ declare var Report: {
|
|
5392
5828
|
new(): Report;
|
5393
5829
|
};
|
5394
5830
|
|
5395
|
-
/**
|
5831
|
+
/**
|
5832
|
+
* The **`ReportBody`** interface of the Reporting API represents the body of a report.
|
5833
|
+
*
|
5834
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody)
|
5835
|
+
*/
|
5396
5836
|
interface ReportBody {
|
5397
5837
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) */
|
5398
5838
|
toJSON(): any;
|
@@ -5403,7 +5843,11 @@ declare var ReportBody: {
|
|
5403
5843
|
new(): ReportBody;
|
5404
5844
|
};
|
5405
5845
|
|
5406
|
-
/**
|
5846
|
+
/**
|
5847
|
+
* The `ReportingObserver` interface of the Reporting API allows you to collect and access reports.
|
5848
|
+
*
|
5849
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver)
|
5850
|
+
*/
|
5407
5851
|
interface ReportingObserver {
|
5408
5852
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/disconnect) */
|
5409
5853
|
disconnect(): void;
|
@@ -5419,7 +5863,7 @@ declare var ReportingObserver: {
|
|
5419
5863
|
};
|
5420
5864
|
|
5421
5865
|
/**
|
5422
|
-
*
|
5866
|
+
* The **`Request`** interface of the Fetch API represents a resource request.
|
5423
5867
|
*
|
5424
5868
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request)
|
5425
5869
|
*/
|
@@ -5512,7 +5956,7 @@ declare var Request: {
|
|
5512
5956
|
};
|
5513
5957
|
|
5514
5958
|
/**
|
5515
|
-
*
|
5959
|
+
* The **`Response`** interface of the Fetch API represents the response to a request.
|
5516
5960
|
*
|
5517
5961
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
5518
5962
|
*/
|
@@ -5547,7 +5991,7 @@ declare var Response: {
|
|
5547
5991
|
};
|
5548
5992
|
|
5549
5993
|
/**
|
5550
|
-
*
|
5994
|
+
* The **`SecurityPolicyViolationEvent`** interface inherits from Event, and represents the event object of a `securitypolicyviolation` event sent on an Element/securitypolicyviolation_event, Document/securitypolicyviolation_event, or WorkerGlobalScope/securitypolicyviolation_event when its Content Security Policy (CSP) is violated.
|
5551
5995
|
*
|
5552
5996
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent)
|
5553
5997
|
*/
|
@@ -5588,7 +6032,7 @@ interface ServiceWorkerEventMap extends AbstractWorkerEventMap {
|
|
5588
6032
|
}
|
5589
6033
|
|
5590
6034
|
/**
|
5591
|
-
*
|
6035
|
+
* The **`ServiceWorker`** interface of the Service Worker API provides a reference to a service worker.
|
5592
6036
|
* Available only in secure contexts.
|
5593
6037
|
*
|
5594
6038
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker)
|
@@ -5621,7 +6065,7 @@ interface ServiceWorkerContainerEventMap {
|
|
5621
6065
|
}
|
5622
6066
|
|
5623
6067
|
/**
|
5624
|
-
* The
|
6068
|
+
* The **`ServiceWorkerContainer`** interface of the Service Worker API provides an object representing the service worker as an overall unit in the network ecosystem, including facilities to register, unregister and update service workers, and access the state of service workers and their registrations.
|
5625
6069
|
* Available only in secure contexts.
|
5626
6070
|
*
|
5627
6071
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer)
|
@@ -5669,7 +6113,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
|
5669
6113
|
}
|
5670
6114
|
|
5671
6115
|
/**
|
5672
|
-
*
|
6116
|
+
* The **`ServiceWorkerGlobalScope`** interface of the Service Worker API represents the global execution context of a service worker.
|
5673
6117
|
* Available only in secure contexts.
|
5674
6118
|
*
|
5675
6119
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope)
|
@@ -5677,6 +6121,8 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
|
5677
6121
|
interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
5678
6122
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/clients) */
|
5679
6123
|
readonly clients: Clients;
|
6124
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/cookieStore) */
|
6125
|
+
readonly cookieStore: CookieStore;
|
5680
6126
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/activate_event) */
|
5681
6127
|
onactivate: ((this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any) | null;
|
5682
6128
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/fetch_event) */
|
@@ -5717,7 +6163,7 @@ interface ServiceWorkerRegistrationEventMap {
|
|
5717
6163
|
}
|
5718
6164
|
|
5719
6165
|
/**
|
5720
|
-
*
|
6166
|
+
* The **`ServiceWorkerRegistration`** interface of the Service Worker API represents the service worker registration.
|
5721
6167
|
* Available only in secure contexts.
|
5722
6168
|
*
|
5723
6169
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration)
|
@@ -5762,7 +6208,11 @@ interface SharedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
|
5762
6208
|
"connect": MessageEvent;
|
5763
6209
|
}
|
5764
6210
|
|
5765
|
-
/**
|
6211
|
+
/**
|
6212
|
+
* The **`SharedWorkerGlobalScope`** object (the SharedWorker global scope) is accessible through the window.self keyword.
|
6213
|
+
*
|
6214
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorkerGlobalScope)
|
6215
|
+
*/
|
5766
6216
|
interface SharedWorkerGlobalScope extends WorkerGlobalScope {
|
5767
6217
|
/**
|
5768
6218
|
* Returns sharedWorkerGlobal's name, i.e. the value given to the SharedWorker constructor. Multiple SharedWorker objects can correspond to the same shared worker (and SharedWorkerGlobalScope), by reusing the same name.
|
@@ -5790,6 +6240,7 @@ declare var SharedWorkerGlobalScope: {
|
|
5790
6240
|
};
|
5791
6241
|
|
5792
6242
|
/**
|
6243
|
+
* The **`StorageManager`** interface of the Storage API provides an interface for managing persistence permissions and estimating available storage.
|
5793
6244
|
* Available only in secure contexts.
|
5794
6245
|
*
|
5795
6246
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageManager)
|
@@ -5808,7 +6259,11 @@ declare var StorageManager: {
|
|
5808
6259
|
new(): StorageManager;
|
5809
6260
|
};
|
5810
6261
|
|
5811
|
-
/**
|
6262
|
+
/**
|
6263
|
+
* The **`StylePropertyMapReadOnly`** interface of the CSS Typed Object Model API provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
|
6264
|
+
*
|
6265
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly)
|
6266
|
+
*/
|
5812
6267
|
interface StylePropertyMapReadOnly {
|
5813
6268
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/size) */
|
5814
6269
|
readonly size: number;
|
@@ -5827,7 +6282,7 @@ declare var StylePropertyMapReadOnly: {
|
|
5827
6282
|
};
|
5828
6283
|
|
5829
6284
|
/**
|
5830
|
-
*
|
6285
|
+
* The **`SubtleCrypto`** interface of the Web Crypto API provides a number of low-level cryptographic functions.
|
5831
6286
|
* Available only in secure contexts.
|
5832
6287
|
*
|
5833
6288
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto)
|
@@ -5871,7 +6326,7 @@ declare var SubtleCrypto: {
|
|
5871
6326
|
};
|
5872
6327
|
|
5873
6328
|
/**
|
5874
|
-
*
|
6329
|
+
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, `KOI8-R`, `GBK`, etc.
|
5875
6330
|
*
|
5876
6331
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)
|
5877
6332
|
*/
|
@@ -5920,7 +6375,11 @@ interface TextDecoderCommon {
|
|
5920
6375
|
readonly ignoreBOM: boolean;
|
5921
6376
|
}
|
5922
6377
|
|
5923
|
-
/**
|
6378
|
+
/**
|
6379
|
+
* The **`TextDecoderStream`** interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings.
|
6380
|
+
*
|
6381
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
6382
|
+
*/
|
5924
6383
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
5925
6384
|
readonly readable: ReadableStream<string>;
|
5926
6385
|
readonly writable: WritableStream<BufferSource>;
|
@@ -5932,7 +6391,7 @@ declare var TextDecoderStream: {
|
|
5932
6391
|
};
|
5933
6392
|
|
5934
6393
|
/**
|
5935
|
-
* TextEncoder takes a stream of code points as input and emits a stream of
|
6394
|
+
* The **`TextEncoder`** interface takes a stream of code points as input and emits a stream of UTF-8 bytes.
|
5936
6395
|
*
|
5937
6396
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)
|
5938
6397
|
*/
|
@@ -5942,13 +6401,13 @@ interface TextEncoder extends TextEncoderCommon {
|
|
5942
6401
|
*
|
5943
6402
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)
|
5944
6403
|
*/
|
5945
|
-
encode(input?: string): Uint8Array
|
6404
|
+
encode(input?: string): Uint8Array<ArrayBuffer>;
|
5946
6405
|
/**
|
5947
6406
|
* Runs the UTF-8 encoder on source, stores the result of that operation into destination, and returns the progress made as an object wherein read is the number of converted code units of source and written is the number of bytes modified in destination.
|
5948
6407
|
*
|
5949
6408
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)
|
5950
6409
|
*/
|
5951
|
-
encodeInto(source: string, destination: Uint8Array): TextEncoderEncodeIntoResult;
|
6410
|
+
encodeInto(source: string, destination: Uint8Array<ArrayBufferLike>): TextEncoderEncodeIntoResult;
|
5952
6411
|
}
|
5953
6412
|
|
5954
6413
|
declare var TextEncoder: {
|
@@ -5965,9 +6424,13 @@ interface TextEncoderCommon {
|
|
5965
6424
|
readonly encoding: string;
|
5966
6425
|
}
|
5967
6426
|
|
5968
|
-
/**
|
6427
|
+
/**
|
6428
|
+
* The **`TextEncoderStream`** interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding.
|
6429
|
+
*
|
6430
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
6431
|
+
*/
|
5969
6432
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
5970
|
-
readonly readable: ReadableStream<Uint8Array
|
6433
|
+
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
|
5971
6434
|
readonly writable: WritableStream<string>;
|
5972
6435
|
}
|
5973
6436
|
|
@@ -5977,7 +6440,7 @@ declare var TextEncoderStream: {
|
|
5977
6440
|
};
|
5978
6441
|
|
5979
6442
|
/**
|
5980
|
-
* The dimensions of a piece of text in the canvas
|
6443
|
+
* The **`TextMetrics`** interface represents the dimensions of a piece of text in the canvas; a `TextMetrics` instance can be retrieved using the CanvasRenderingContext2D.measureText() method.
|
5981
6444
|
*
|
5982
6445
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics)
|
5983
6446
|
*/
|
@@ -6061,7 +6524,11 @@ declare var TextMetrics: {
|
|
6061
6524
|
new(): TextMetrics;
|
6062
6525
|
};
|
6063
6526
|
|
6064
|
-
/**
|
6527
|
+
/**
|
6528
|
+
* The **`TransformStream`** interface of the Streams API represents a concrete implementation of the pipe chain _transform stream_ concept.
|
6529
|
+
*
|
6530
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream)
|
6531
|
+
*/
|
6065
6532
|
interface TransformStream<I = any, O = any> {
|
6066
6533
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable) */
|
6067
6534
|
readonly readable: ReadableStream<O>;
|
@@ -6074,7 +6541,11 @@ declare var TransformStream: {
|
|
6074
6541
|
new<I = any, O = any>(transformer?: Transformer<I, O>, writableStrategy?: QueuingStrategy<I>, readableStrategy?: QueuingStrategy<O>): TransformStream<I, O>;
|
6075
6542
|
};
|
6076
6543
|
|
6077
|
-
/**
|
6544
|
+
/**
|
6545
|
+
* The **`TransformStreamDefaultController`** interface of the Streams API provides methods to manipulate the associated ReadableStream and WritableStream.
|
6546
|
+
*
|
6547
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController)
|
6548
|
+
*/
|
6078
6549
|
interface TransformStreamDefaultController<O = any> {
|
6079
6550
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize) */
|
6080
6551
|
readonly desiredSize: number | null;
|
@@ -6092,7 +6563,7 @@ declare var TransformStreamDefaultController: {
|
|
6092
6563
|
};
|
6093
6564
|
|
6094
6565
|
/**
|
6095
|
-
* The URL
|
6566
|
+
* The **`URL`** interface is used to parse, construct, normalize, and encode URL.
|
6096
6567
|
*
|
6097
6568
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL)
|
6098
6569
|
*/
|
@@ -6139,7 +6610,11 @@ declare var URL: {
|
|
6139
6610
|
revokeObjectURL(url: string): void;
|
6140
6611
|
};
|
6141
6612
|
|
6142
|
-
/**
|
6613
|
+
/**
|
6614
|
+
* The **`URLSearchParams`** interface defines utility methods to work with the query string of a URL.
|
6615
|
+
*
|
6616
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams)
|
6617
|
+
*/
|
6143
6618
|
interface URLSearchParams {
|
6144
6619
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/size) */
|
6145
6620
|
readonly size: number;
|
@@ -6191,7 +6666,11 @@ declare var URLSearchParams: {
|
|
6191
6666
|
new(init?: string[][] | Record<string, string> | string | URLSearchParams): URLSearchParams;
|
6192
6667
|
};
|
6193
6668
|
|
6194
|
-
/**
|
6669
|
+
/**
|
6670
|
+
* The **`VideoColorSpace`** interface of the WebCodecs API represents the color space of a video.
|
6671
|
+
*
|
6672
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoColorSpace)
|
6673
|
+
*/
|
6195
6674
|
interface VideoColorSpace {
|
6196
6675
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoColorSpace/fullRange) */
|
6197
6676
|
readonly fullRange: boolean | null;
|
@@ -6215,6 +6694,7 @@ interface VideoDecoderEventMap {
|
|
6215
6694
|
}
|
6216
6695
|
|
6217
6696
|
/**
|
6697
|
+
* The **`VideoDecoder`** interface of the WebCodecs API decodes chunks of video.
|
6218
6698
|
* Available only in secure contexts.
|
6219
6699
|
*
|
6220
6700
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder)
|
@@ -6254,6 +6734,7 @@ interface VideoEncoderEventMap {
|
|
6254
6734
|
}
|
6255
6735
|
|
6256
6736
|
/**
|
6737
|
+
* The **`VideoEncoder`** interface of the WebCodecs API encodes VideoFrame objects into EncodedVideoChunks.
|
6257
6738
|
* Available only in secure contexts.
|
6258
6739
|
*
|
6259
6740
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder)
|
@@ -6288,7 +6769,11 @@ declare var VideoEncoder: {
|
|
6288
6769
|
isConfigSupported(config: VideoEncoderConfig): Promise<VideoEncoderSupport>;
|
6289
6770
|
};
|
6290
6771
|
|
6291
|
-
/**
|
6772
|
+
/**
|
6773
|
+
* The **`VideoFrame`** interface of the Web Codecs API represents a frame of a video.
|
6774
|
+
*
|
6775
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame)
|
6776
|
+
*/
|
6292
6777
|
interface VideoFrame {
|
6293
6778
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/codedHeight) */
|
6294
6779
|
readonly codedHeight: number;
|
@@ -6326,14 +6811,22 @@ declare var VideoFrame: {
|
|
6326
6811
|
new(data: AllowSharedBufferSource, init: VideoFrameBufferInit): VideoFrame;
|
6327
6812
|
};
|
6328
6813
|
|
6329
|
-
/**
|
6814
|
+
/**
|
6815
|
+
* The **`WEBGL_color_buffer_float`** extension is part of the WebGL API and adds the ability to render to 32-bit floating-point color buffers.
|
6816
|
+
*
|
6817
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_color_buffer_float)
|
6818
|
+
*/
|
6330
6819
|
interface WEBGL_color_buffer_float {
|
6331
6820
|
readonly RGBA32F_EXT: 0x8814;
|
6332
6821
|
readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: 0x8211;
|
6333
6822
|
readonly UNSIGNED_NORMALIZED_EXT: 0x8C17;
|
6334
6823
|
}
|
6335
6824
|
|
6336
|
-
/**
|
6825
|
+
/**
|
6826
|
+
* The **`WEBGL_compressed_texture_astc`** extension is part of the WebGL API and exposes Adaptive Scalable Texture Compression (ASTC) compressed texture formats to WebGL.
|
6827
|
+
*
|
6828
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_astc)
|
6829
|
+
*/
|
6337
6830
|
interface WEBGL_compressed_texture_astc {
|
6338
6831
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_astc/getSupportedProfiles) */
|
6339
6832
|
getSupportedProfiles(): string[];
|
@@ -6367,7 +6860,11 @@ interface WEBGL_compressed_texture_astc {
|
|
6367
6860
|
readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: 0x93DD;
|
6368
6861
|
}
|
6369
6862
|
|
6370
|
-
/**
|
6863
|
+
/**
|
6864
|
+
* The **`WEBGL_compressed_texture_etc`** extension is part of the WebGL API and exposes 10 ETC/EAC compressed texture formats.
|
6865
|
+
*
|
6866
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_etc)
|
6867
|
+
*/
|
6371
6868
|
interface WEBGL_compressed_texture_etc {
|
6372
6869
|
readonly COMPRESSED_R11_EAC: 0x9270;
|
6373
6870
|
readonly COMPRESSED_SIGNED_R11_EAC: 0x9271;
|
@@ -6381,12 +6878,20 @@ interface WEBGL_compressed_texture_etc {
|
|
6381
6878
|
readonly COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: 0x9279;
|
6382
6879
|
}
|
6383
6880
|
|
6384
|
-
/**
|
6881
|
+
/**
|
6882
|
+
* The **`WEBGL_compressed_texture_etc1`** extension is part of the WebGL API and exposes the ETC1 compressed texture format.
|
6883
|
+
*
|
6884
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_etc1)
|
6885
|
+
*/
|
6385
6886
|
interface WEBGL_compressed_texture_etc1 {
|
6386
6887
|
readonly COMPRESSED_RGB_ETC1_WEBGL: 0x8D64;
|
6387
6888
|
}
|
6388
6889
|
|
6389
|
-
/**
|
6890
|
+
/**
|
6891
|
+
* The **`WEBGL_compressed_texture_pvrtc`** extension is part of the WebGL API and exposes four PVRTC compressed texture formats.
|
6892
|
+
*
|
6893
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_pvrtc)
|
6894
|
+
*/
|
6390
6895
|
interface WEBGL_compressed_texture_pvrtc {
|
6391
6896
|
readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: 0x8C00;
|
6392
6897
|
readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: 0x8C01;
|
@@ -6395,7 +6900,7 @@ interface WEBGL_compressed_texture_pvrtc {
|
|
6395
6900
|
}
|
6396
6901
|
|
6397
6902
|
/**
|
6398
|
-
* The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats.
|
6903
|
+
* The **`WEBGL_compressed_texture_s3tc`** extension is part of the WebGL API and exposes four S3TC compressed texture formats.
|
6399
6904
|
*
|
6400
6905
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_s3tc)
|
6401
6906
|
*/
|
@@ -6406,7 +6911,11 @@ interface WEBGL_compressed_texture_s3tc {
|
|
6406
6911
|
readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: 0x83F3;
|
6407
6912
|
}
|
6408
6913
|
|
6409
|
-
/**
|
6914
|
+
/**
|
6915
|
+
* The **`WEBGL_compressed_texture_s3tc_srgb`** extension is part of the WebGL API and exposes four S3TC compressed texture formats for the sRGB colorspace.
|
6916
|
+
*
|
6917
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_s3tc_srgb)
|
6918
|
+
*/
|
6410
6919
|
interface WEBGL_compressed_texture_s3tc_srgb {
|
6411
6920
|
readonly COMPRESSED_SRGB_S3TC_DXT1_EXT: 0x8C4C;
|
6412
6921
|
readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: 0x8C4D;
|
@@ -6415,7 +6924,7 @@ interface WEBGL_compressed_texture_s3tc_srgb {
|
|
6415
6924
|
}
|
6416
6925
|
|
6417
6926
|
/**
|
6418
|
-
* The WEBGL_debug_renderer_info extension is part of the WebGL API and exposes two constants with information about the graphics driver for debugging purposes.
|
6927
|
+
* The **`WEBGL_debug_renderer_info`** extension is part of the WebGL API and exposes two constants with information about the graphics driver for debugging purposes.
|
6419
6928
|
*
|
6420
6929
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_debug_renderer_info)
|
6421
6930
|
*/
|
@@ -6424,14 +6933,18 @@ interface WEBGL_debug_renderer_info {
|
|
6424
6933
|
readonly UNMASKED_RENDERER_WEBGL: 0x9246;
|
6425
6934
|
}
|
6426
6935
|
|
6427
|
-
/**
|
6936
|
+
/**
|
6937
|
+
* The **`WEBGL_debug_shaders`** extension is part of the WebGL API and exposes a method to debug shaders from privileged contexts.
|
6938
|
+
*
|
6939
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_debug_shaders)
|
6940
|
+
*/
|
6428
6941
|
interface WEBGL_debug_shaders {
|
6429
6942
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_debug_shaders/getTranslatedShaderSource) */
|
6430
6943
|
getTranslatedShaderSource(shader: WebGLShader): string;
|
6431
6944
|
}
|
6432
6945
|
|
6433
6946
|
/**
|
6434
|
-
* The WEBGL_depth_texture extension is part of the WebGL API and defines 2D depth and depth-stencil textures.
|
6947
|
+
* The **`WEBGL_depth_texture`** extension is part of the WebGL API and defines 2D depth and depth-stencil textures.
|
6435
6948
|
*
|
6436
6949
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_depth_texture)
|
6437
6950
|
*/
|
@@ -6439,7 +6952,11 @@ interface WEBGL_depth_texture {
|
|
6439
6952
|
readonly UNSIGNED_INT_24_8_WEBGL: 0x84FA;
|
6440
6953
|
}
|
6441
6954
|
|
6442
|
-
/**
|
6955
|
+
/**
|
6956
|
+
* The **`WEBGL_draw_buffers`** extension is part of the WebGL API and enables a fragment shader to write to several textures, which is useful for deferred shading, for example.
|
6957
|
+
*
|
6958
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers)
|
6959
|
+
*/
|
6443
6960
|
interface WEBGL_draw_buffers {
|
6444
6961
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */
|
6445
6962
|
drawBuffersWEBGL(buffers: GLenum[]): void;
|
@@ -6479,7 +6996,11 @@ interface WEBGL_draw_buffers {
|
|
6479
6996
|
readonly MAX_DRAW_BUFFERS_WEBGL: 0x8824;
|
6480
6997
|
}
|
6481
6998
|
|
6482
|
-
/**
|
6999
|
+
/**
|
7000
|
+
* The **WEBGL_lose_context** extension is part of the WebGL API and exposes functions to simulate losing and restoring a WebGLRenderingContext.
|
7001
|
+
*
|
7002
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context)
|
7003
|
+
*/
|
6483
7004
|
interface WEBGL_lose_context {
|
6484
7005
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/loseContext) */
|
6485
7006
|
loseContext(): void;
|
@@ -6487,19 +7008,27 @@ interface WEBGL_lose_context {
|
|
6487
7008
|
restoreContext(): void;
|
6488
7009
|
}
|
6489
7010
|
|
6490
|
-
/**
|
7011
|
+
/**
|
7012
|
+
* The **`WEBGL_multi_draw`** extension is part of the WebGL API and allows to render more than one primitive with a single function call.
|
7013
|
+
*
|
7014
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw)
|
7015
|
+
*/
|
6491
7016
|
interface WEBGL_multi_draw {
|
6492
7017
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */
|
6493
|
-
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: number, countsList: Int32Array | GLsizei[], countsOffset: number, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: number, drawcount: GLsizei): void;
|
7018
|
+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | GLint[], firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | GLsizei[], countsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | GLsizei[], instanceCountsOffset: number, drawcount: GLsizei): void;
|
6494
7019
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) */
|
6495
|
-
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: number, countsList: Int32Array | GLsizei[], countsOffset: number, drawcount: GLsizei): void;
|
7020
|
+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | GLint[], firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | GLsizei[], countsOffset: number, drawcount: GLsizei): void;
|
6496
7021
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) */
|
6497
|
-
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: number, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: number, drawcount: GLsizei): void;
|
7022
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | GLsizei[], offsetsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | GLsizei[], instanceCountsOffset: number, drawcount: GLsizei): void;
|
6498
7023
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) */
|
6499
|
-
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: number, drawcount: GLsizei): void;
|
7024
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | GLsizei[], offsetsOffset: number, drawcount: GLsizei): void;
|
6500
7025
|
}
|
6501
7026
|
|
6502
|
-
/**
|
7027
|
+
/**
|
7028
|
+
* The **WebGL2RenderingContext** interface provides the OpenGL ES 3.0 rendering context for the drawing surface of an HTML canvas element.
|
7029
|
+
*
|
7030
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext)
|
7031
|
+
*/
|
6503
7032
|
interface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {
|
6504
7033
|
}
|
6505
7034
|
|
@@ -7096,10 +7625,10 @@ interface WebGL2RenderingContextBase {
|
|
7096
7625
|
clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;
|
7097
7626
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) */
|
7098
7627
|
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;
|
7099
|
-
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView
|
7628
|
+
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset?: number, srcLengthOverride?: GLuint): void;
|
7100
7629
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */
|
7101
7630
|
compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;
|
7102
|
-
compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, srcData: ArrayBufferView
|
7631
|
+
compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset?: number, srcLengthOverride?: GLuint): void;
|
7103
7632
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/copyBufferSubData) */
|
7104
7633
|
copyBufferSubData(readTarget: GLenum, writeTarget: GLenum, readOffset: GLintptr, writeOffset: GLintptr, size: GLsizeiptr): void;
|
7105
7634
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/copyTexSubImage3D) */
|
@@ -7145,7 +7674,7 @@ interface WebGL2RenderingContextBase {
|
|
7145
7674
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
|
7146
7675
|
getActiveUniforms(program: WebGLProgram, uniformIndices: GLuint[], pname: GLenum): any;
|
7147
7676
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getBufferSubData) */
|
7148
|
-
getBufferSubData(target: GLenum, srcByteOffset: GLintptr, dstBuffer: ArrayBufferView
|
7677
|
+
getBufferSubData(target: GLenum, srcByteOffset: GLintptr, dstBuffer: ArrayBufferView<ArrayBufferLike>, dstOffset?: number, length?: GLuint): void;
|
7149
7678
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getFragDataLocation) */
|
7150
7679
|
getFragDataLocation(program: WebGLProgram, name: string): GLint;
|
7151
7680
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getIndexedParameter) */
|
@@ -7195,8 +7724,8 @@ interface WebGL2RenderingContextBase {
|
|
7195
7724
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/texImage3D) */
|
7196
7725
|
texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;
|
7197
7726
|
texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;
|
7198
|
-
texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView | null): void;
|
7199
|
-
texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView
|
7727
|
+
texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView<ArrayBufferLike> | null): void;
|
7728
|
+
texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset: number): void;
|
7200
7729
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/texStorage2D) */
|
7201
7730
|
texStorage2D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;
|
7202
7731
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/texStorage3D) */
|
@@ -7204,7 +7733,7 @@ interface WebGL2RenderingContextBase {
|
|
7204
7733
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/texSubImage3D) */
|
7205
7734
|
texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;
|
7206
7735
|
texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;
|
7207
|
-
texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView | null, srcOffset?: number): void;
|
7736
|
+
texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView<ArrayBufferLike> | null, srcOffset?: number): void;
|
7208
7737
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */
|
7209
7738
|
transformFeedbackVaryings(program: WebGLProgram, varyings: string[], bufferMode: GLenum): void;
|
7210
7739
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
@@ -7519,32 +8048,32 @@ interface WebGL2RenderingContextOverloads {
|
|
7519
8048
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bufferData) */
|
7520
8049
|
bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;
|
7521
8050
|
bufferData(target: GLenum, srcData: AllowSharedBufferSource | null, usage: GLenum): void;
|
7522
|
-
bufferData(target: GLenum, srcData: ArrayBufferView
|
8051
|
+
bufferData(target: GLenum, srcData: ArrayBufferView<ArrayBufferLike>, usage: GLenum, srcOffset: number, length?: GLuint): void;
|
7523
8052
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bufferSubData) */
|
7524
8053
|
bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: AllowSharedBufferSource): void;
|
7525
|
-
bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView
|
8054
|
+
bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset: number, length?: GLuint): void;
|
7526
8055
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
|
7527
8056
|
compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;
|
7528
|
-
compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, srcData: ArrayBufferView
|
8057
|
+
compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset?: number, srcLengthOverride?: GLuint): void;
|
7529
8058
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D) */
|
7530
8059
|
compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;
|
7531
|
-
compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, srcData: ArrayBufferView
|
8060
|
+
compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset?: number, srcLengthOverride?: GLuint): void;
|
7532
8061
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/readPixels) */
|
7533
|
-
readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView | null): void;
|
8062
|
+
readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView<ArrayBufferLike> | null): void;
|
7534
8063
|
readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, offset: GLintptr): void;
|
7535
|
-
readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView
|
8064
|
+
readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView<ArrayBufferLike>, dstOffset: number): void;
|
7536
8065
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texImage2D) */
|
7537
|
-
texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;
|
8066
|
+
texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView<ArrayBufferLike> | null): void;
|
7538
8067
|
texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;
|
7539
8068
|
texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;
|
7540
8069
|
texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;
|
7541
|
-
texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView
|
8070
|
+
texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset: number): void;
|
7542
8071
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texSubImage2D) */
|
7543
|
-
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;
|
8072
|
+
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView<ArrayBufferLike> | null): void;
|
7544
8073
|
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;
|
7545
8074
|
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;
|
7546
8075
|
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;
|
7547
|
-
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView
|
8076
|
+
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset: number): void;
|
7548
8077
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
7549
8078
|
uniform1fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
7550
8079
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
@@ -7570,7 +8099,7 @@ interface WebGL2RenderingContextOverloads {
|
|
7570
8099
|
}
|
7571
8100
|
|
7572
8101
|
/**
|
7573
|
-
*
|
8102
|
+
* The **WebGLActiveInfo** interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods.
|
7574
8103
|
*
|
7575
8104
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLActiveInfo)
|
7576
8105
|
*/
|
@@ -7589,7 +8118,7 @@ declare var WebGLActiveInfo: {
|
|
7589
8118
|
};
|
7590
8119
|
|
7591
8120
|
/**
|
7592
|
-
*
|
8121
|
+
* The **WebGLBuffer** interface is part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors.
|
7593
8122
|
*
|
7594
8123
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLBuffer)
|
7595
8124
|
*/
|
@@ -7602,7 +8131,7 @@ declare var WebGLBuffer: {
|
|
7602
8131
|
};
|
7603
8132
|
|
7604
8133
|
/**
|
7605
|
-
* The
|
8134
|
+
* The **WebGLContextEvent** interface is part of the WebGL API and is an interface for an event that is generated in response to a status change to the WebGL rendering context.
|
7606
8135
|
*
|
7607
8136
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLContextEvent)
|
7608
8137
|
*/
|
@@ -7617,7 +8146,7 @@ declare var WebGLContextEvent: {
|
|
7617
8146
|
};
|
7618
8147
|
|
7619
8148
|
/**
|
7620
|
-
*
|
8149
|
+
* The **WebGLFramebuffer** interface is part of the WebGL API and represents a collection of buffers that serve as a rendering destination.
|
7621
8150
|
*
|
7622
8151
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLFramebuffer)
|
7623
8152
|
*/
|
@@ -7630,7 +8159,7 @@ declare var WebGLFramebuffer: {
|
|
7630
8159
|
};
|
7631
8160
|
|
7632
8161
|
/**
|
7633
|
-
* The WebGLProgram is part of the WebGL API and is a combination of two compiled WebGLShaders consisting of a vertex shader and a fragment shader (both written in GLSL).
|
8162
|
+
* The **`WebGLProgram`** is part of the WebGL API and is a combination of two compiled WebGLShaders consisting of a vertex shader and a fragment shader (both written in GLSL).
|
7634
8163
|
*
|
7635
8164
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLProgram)
|
7636
8165
|
*/
|
@@ -7642,7 +8171,11 @@ declare var WebGLProgram: {
|
|
7642
8171
|
new(): WebGLProgram;
|
7643
8172
|
};
|
7644
8173
|
|
7645
|
-
/**
|
8174
|
+
/**
|
8175
|
+
* The **`WebGLQuery`** interface is part of the WebGL 2 API and provides ways to asynchronously query for information.
|
8176
|
+
*
|
8177
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLQuery)
|
8178
|
+
*/
|
7646
8179
|
interface WebGLQuery {
|
7647
8180
|
}
|
7648
8181
|
|
@@ -7652,7 +8185,7 @@ declare var WebGLQuery: {
|
|
7652
8185
|
};
|
7653
8186
|
|
7654
8187
|
/**
|
7655
|
-
*
|
8188
|
+
* The **WebGLRenderbuffer** interface is part of the WebGL API and represents a buffer that can contain an image, or that can be a source or target of a rendering operation.
|
7656
8189
|
*
|
7657
8190
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderbuffer)
|
7658
8191
|
*/
|
@@ -7665,7 +8198,7 @@ declare var WebGLRenderbuffer: {
|
|
7665
8198
|
};
|
7666
8199
|
|
7667
8200
|
/**
|
7668
|
-
*
|
8201
|
+
* The **`WebGLRenderingContext`** interface provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML canvas element.
|
7669
8202
|
*
|
7670
8203
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext)
|
7671
8204
|
*/
|
@@ -8559,16 +9092,16 @@ interface WebGLRenderingContextOverloads {
|
|
8559
9092
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferSubData) */
|
8560
9093
|
bufferSubData(target: GLenum, offset: GLintptr, data: AllowSharedBufferSource): void;
|
8561
9094
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
|
8562
|
-
compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, data: ArrayBufferView): void;
|
9095
|
+
compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, data: ArrayBufferView<ArrayBufferLike>): void;
|
8563
9096
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D) */
|
8564
|
-
compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, data: ArrayBufferView): void;
|
9097
|
+
compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, data: ArrayBufferView<ArrayBufferLike>): void;
|
8565
9098
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/readPixels) */
|
8566
|
-
readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;
|
9099
|
+
readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView<ArrayBufferLike> | null): void;
|
8567
9100
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texImage2D) */
|
8568
|
-
texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;
|
9101
|
+
texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView<ArrayBufferLike> | null): void;
|
8569
9102
|
texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;
|
8570
9103
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texSubImage2D) */
|
8571
|
-
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;
|
9104
|
+
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView<ArrayBufferLike> | null): void;
|
8572
9105
|
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;
|
8573
9106
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
8574
9107
|
uniform1fv(location: WebGLUniformLocation | null, v: Float32List): void;
|
@@ -8594,7 +9127,11 @@ interface WebGLRenderingContextOverloads {
|
|
8594
9127
|
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;
|
8595
9128
|
}
|
8596
9129
|
|
8597
|
-
/**
|
9130
|
+
/**
|
9131
|
+
* The **`WebGLSampler`** interface is part of the WebGL 2 API and stores sampling parameters for WebGLTexture access inside of a shader.
|
9132
|
+
*
|
9133
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLSampler)
|
9134
|
+
*/
|
8598
9135
|
interface WebGLSampler {
|
8599
9136
|
}
|
8600
9137
|
|
@@ -8604,7 +9141,7 @@ declare var WebGLSampler: {
|
|
8604
9141
|
};
|
8605
9142
|
|
8606
9143
|
/**
|
8607
|
-
* The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader.
|
9144
|
+
* The **WebGLShader** is part of the WebGL API and can either be a vertex or a fragment shader.
|
8608
9145
|
*
|
8609
9146
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLShader)
|
8610
9147
|
*/
|
@@ -8617,7 +9154,7 @@ declare var WebGLShader: {
|
|
8617
9154
|
};
|
8618
9155
|
|
8619
9156
|
/**
|
8620
|
-
*
|
9157
|
+
* The **WebGLShaderPrecisionFormat** interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() method.
|
8621
9158
|
*
|
8622
9159
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLShaderPrecisionFormat)
|
8623
9160
|
*/
|
@@ -8635,7 +9172,11 @@ declare var WebGLShaderPrecisionFormat: {
|
|
8635
9172
|
new(): WebGLShaderPrecisionFormat;
|
8636
9173
|
};
|
8637
9174
|
|
8638
|
-
/**
|
9175
|
+
/**
|
9176
|
+
* The **`WebGLSync`** interface is part of the WebGL 2 API and is used to synchronize activities between the GPU and the application.
|
9177
|
+
*
|
9178
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLSync)
|
9179
|
+
*/
|
8639
9180
|
interface WebGLSync {
|
8640
9181
|
}
|
8641
9182
|
|
@@ -8645,7 +9186,7 @@ declare var WebGLSync: {
|
|
8645
9186
|
};
|
8646
9187
|
|
8647
9188
|
/**
|
8648
|
-
*
|
9189
|
+
* The **WebGLTexture** interface is part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations.
|
8649
9190
|
*
|
8650
9191
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLTexture)
|
8651
9192
|
*/
|
@@ -8657,7 +9198,11 @@ declare var WebGLTexture: {
|
|
8657
9198
|
new(): WebGLTexture;
|
8658
9199
|
};
|
8659
9200
|
|
8660
|
-
/**
|
9201
|
+
/**
|
9202
|
+
* The **`WebGLTransformFeedback`** interface is part of the WebGL 2 API and enables transform feedback, which is the process of capturing primitives generated by vertex processing.
|
9203
|
+
*
|
9204
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLTransformFeedback)
|
9205
|
+
*/
|
8661
9206
|
interface WebGLTransformFeedback {
|
8662
9207
|
}
|
8663
9208
|
|
@@ -8667,7 +9212,7 @@ declare var WebGLTransformFeedback: {
|
|
8667
9212
|
};
|
8668
9213
|
|
8669
9214
|
/**
|
8670
|
-
*
|
9215
|
+
* The **WebGLUniformLocation** interface is part of the WebGL API and represents the location of a uniform variable in a shader program.
|
8671
9216
|
*
|
8672
9217
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLUniformLocation)
|
8673
9218
|
*/
|
@@ -8679,7 +9224,11 @@ declare var WebGLUniformLocation: {
|
|
8679
9224
|
new(): WebGLUniformLocation;
|
8680
9225
|
};
|
8681
9226
|
|
8682
|
-
/**
|
9227
|
+
/**
|
9228
|
+
* The **`WebGLVertexArrayObject`** interface is part of the WebGL 2 API, represents vertex array objects (VAOs) pointing to vertex array data, and provides names for different sets of vertex data.
|
9229
|
+
*
|
9230
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject)
|
9231
|
+
*/
|
8683
9232
|
interface WebGLVertexArrayObject {
|
8684
9233
|
}
|
8685
9234
|
|
@@ -8700,7 +9249,7 @@ interface WebSocketEventMap {
|
|
8700
9249
|
}
|
8701
9250
|
|
8702
9251
|
/**
|
8703
|
-
*
|
9252
|
+
* The `WebSocket` object provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.
|
8704
9253
|
*
|
8705
9254
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket)
|
8706
9255
|
*/
|
@@ -8785,6 +9334,7 @@ declare var WebSocket: {
|
|
8785
9334
|
};
|
8786
9335
|
|
8787
9336
|
/**
|
9337
|
+
* The **`WebTransport`** interface of the WebTransport API provides functionality to enable a user agent to connect to an HTTP/3 server, initiate reliable and unreliable transport in either or both directions, and close the connection once it is no longer needed.
|
8788
9338
|
* Available only in secure contexts.
|
8789
9339
|
*
|
8790
9340
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport)
|
@@ -8814,6 +9364,7 @@ declare var WebTransport: {
|
|
8814
9364
|
};
|
8815
9365
|
|
8816
9366
|
/**
|
9367
|
+
* The **`WebTransportBidirectionalStream`** interface of the WebTransport API represents a bidirectional stream created by a server or a client that can be used for reliable transport.
|
8817
9368
|
* Available only in secure contexts.
|
8818
9369
|
*
|
8819
9370
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportBidirectionalStream)
|
@@ -8831,6 +9382,7 @@ declare var WebTransportBidirectionalStream: {
|
|
8831
9382
|
};
|
8832
9383
|
|
8833
9384
|
/**
|
9385
|
+
* The **`WebTransportDatagramDuplexStream`** interface of the WebTransport API represents a duplex stream that can be used for unreliable transport of datagrams between client and server.
|
8834
9386
|
* Available only in secure contexts.
|
8835
9387
|
*
|
8836
9388
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream)
|
@@ -8858,6 +9410,7 @@ declare var WebTransportDatagramDuplexStream: {
|
|
8858
9410
|
};
|
8859
9411
|
|
8860
9412
|
/**
|
9413
|
+
* The **`WebTransportError`** interface of the WebTransport API represents an error related to the API, which can arise from server errors, network connection problems, or client-initiated abort operations (for example, arising from a WritableStream.abort() call).
|
8861
9414
|
* Available only in secure contexts.
|
8862
9415
|
*
|
8863
9416
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportError)
|
@@ -8875,7 +9428,7 @@ declare var WebTransportError: {
|
|
8875
9428
|
};
|
8876
9429
|
|
8877
9430
|
/**
|
8878
|
-
*
|
9431
|
+
* The `WindowClient` interface of the ServiceWorker API represents the scope of a service worker client that is a document in a browsing context, controlled by an active worker.
|
8879
9432
|
*
|
8880
9433
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient)
|
8881
9434
|
*/
|
@@ -8943,7 +9496,7 @@ interface WorkerEventMap extends AbstractWorkerEventMap, MessageEventTargetEvent
|
|
8943
9496
|
}
|
8944
9497
|
|
8945
9498
|
/**
|
8946
|
-
*
|
9499
|
+
* The **`Worker`** interface of the Web Workers API represents a background task that can be created via script, which can send messages back to its creator.
|
8947
9500
|
*
|
8948
9501
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Worker)
|
8949
9502
|
*/
|
@@ -8982,7 +9535,7 @@ interface WorkerGlobalScopeEventMap {
|
|
8982
9535
|
}
|
8983
9536
|
|
8984
9537
|
/**
|
8985
|
-
*
|
9538
|
+
* The **`WorkerGlobalScope`** interface of the Web Workers API is an interface representing the scope of any worker.
|
8986
9539
|
*
|
8987
9540
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope)
|
8988
9541
|
*/
|
@@ -9035,7 +9588,7 @@ declare var WorkerGlobalScope: {
|
|
9035
9588
|
};
|
9036
9589
|
|
9037
9590
|
/**
|
9038
|
-
* The absolute location of the script executed by the Worker.
|
9591
|
+
* The **`WorkerLocation`** interface defines the absolute location of the script executed by the Worker.
|
9039
9592
|
*
|
9040
9593
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerLocation)
|
9041
9594
|
*/
|
@@ -9067,7 +9620,7 @@ declare var WorkerLocation: {
|
|
9067
9620
|
};
|
9068
9621
|
|
9069
9622
|
/**
|
9070
|
-
*
|
9623
|
+
* The **`WorkerNavigator`** interface represents a subset of the Navigator interface allowed to be accessed from a Worker.
|
9071
9624
|
*
|
9072
9625
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerNavigator)
|
9073
9626
|
*/
|
@@ -9090,7 +9643,7 @@ declare var WorkerNavigator: {
|
|
9090
9643
|
};
|
9091
9644
|
|
9092
9645
|
/**
|
9093
|
-
*
|
9646
|
+
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
9094
9647
|
*
|
9095
9648
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream)
|
9096
9649
|
*/
|
@@ -9111,7 +9664,7 @@ declare var WritableStream: {
|
|
9111
9664
|
};
|
9112
9665
|
|
9113
9666
|
/**
|
9114
|
-
*
|
9667
|
+
* The **`WritableStreamDefaultController`** interface of the Streams API represents a controller allowing control of a WritableStream's state.
|
9115
9668
|
*
|
9116
9669
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController)
|
9117
9670
|
*/
|
@@ -9128,7 +9681,7 @@ declare var WritableStreamDefaultController: {
|
|
9128
9681
|
};
|
9129
9682
|
|
9130
9683
|
/**
|
9131
|
-
*
|
9684
|
+
* The **`WritableStreamDefaultWriter`** interface of the Streams API is the object returned by WritableStream.getWriter() and once created locks the writer to the `WritableStream` ensuring that no other streams can write to the underlying sink.
|
9132
9685
|
*
|
9133
9686
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter)
|
9134
9687
|
*/
|
@@ -9159,7 +9712,7 @@ interface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap {
|
|
9159
9712
|
}
|
9160
9713
|
|
9161
9714
|
/**
|
9162
|
-
*
|
9715
|
+
* `XMLHttpRequest` (XHR) objects are used to interact with servers.
|
9163
9716
|
*
|
9164
9717
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest)
|
9165
9718
|
*/
|
@@ -9308,7 +9861,11 @@ interface XMLHttpRequestEventTargetEventMap {
|
|
9308
9861
|
"timeout": ProgressEvent<XMLHttpRequestEventTarget>;
|
9309
9862
|
}
|
9310
9863
|
|
9311
|
-
/**
|
9864
|
+
/**
|
9865
|
+
* `XMLHttpRequestEventTarget` is the interface that describes the event handlers shared on XMLHttpRequest and XMLHttpRequestUpload.
|
9866
|
+
*
|
9867
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequestEventTarget)
|
9868
|
+
*/
|
9312
9869
|
interface XMLHttpRequestEventTarget extends EventTarget {
|
9313
9870
|
onabort: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
|
9314
9871
|
onerror: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
|
@@ -9328,7 +9885,11 @@ declare var XMLHttpRequestEventTarget: {
|
|
9328
9885
|
new(): XMLHttpRequestEventTarget;
|
9329
9886
|
};
|
9330
9887
|
|
9331
|
-
/**
|
9888
|
+
/**
|
9889
|
+
* The **`XMLHttpRequestUpload`** interface represents the upload process for a specific XMLHttpRequest.
|
9890
|
+
*
|
9891
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequestUpload)
|
9892
|
+
*/
|
9332
9893
|
interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget {
|
9333
9894
|
addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
9334
9895
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
@@ -9341,51 +9902,6 @@ declare var XMLHttpRequestUpload: {
|
|
9341
9902
|
new(): XMLHttpRequestUpload;
|
9342
9903
|
};
|
9343
9904
|
|
9344
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console) */
|
9345
|
-
interface Console {
|
9346
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/assert_static) */
|
9347
|
-
assert(condition?: boolean, ...data: any[]): void;
|
9348
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/clear_static) */
|
9349
|
-
clear(): void;
|
9350
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
|
9351
|
-
count(label?: string): void;
|
9352
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */
|
9353
|
-
countReset(label?: string): void;
|
9354
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
|
9355
|
-
debug(...data: any[]): void;
|
9356
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dir_static) */
|
9357
|
-
dir(item?: any, options?: any): void;
|
9358
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dirxml_static) */
|
9359
|
-
dirxml(...data: any[]): void;
|
9360
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/error_static) */
|
9361
|
-
error(...data: any[]): void;
|
9362
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
|
9363
|
-
group(...data: any[]): void;
|
9364
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */
|
9365
|
-
groupCollapsed(...data: any[]): void;
|
9366
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */
|
9367
|
-
groupEnd(): void;
|
9368
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
|
9369
|
-
info(...data: any[]): void;
|
9370
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/log_static) */
|
9371
|
-
log(...data: any[]): void;
|
9372
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/table_static) */
|
9373
|
-
table(tabularData?: any, properties?: string[]): void;
|
9374
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
|
9375
|
-
time(label?: string): void;
|
9376
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */
|
9377
|
-
timeEnd(label?: string): void;
|
9378
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */
|
9379
|
-
timeLog(label?: string, ...data: any[]): void;
|
9380
|
-
timeStamp(label?: string): void;
|
9381
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
|
9382
|
-
trace(...data: any[]): void;
|
9383
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/warn_static) */
|
9384
|
-
warn(...data: any[]): void;
|
9385
|
-
}
|
9386
|
-
|
9387
|
-
declare var console: Console;
|
9388
|
-
|
9389
9905
|
declare namespace WebAssembly {
|
9390
9906
|
interface CompileError extends Error {
|
9391
9907
|
}
|
@@ -9396,7 +9912,7 @@ declare namespace WebAssembly {
|
|
9396
9912
|
(message?: string): CompileError;
|
9397
9913
|
};
|
9398
9914
|
|
9399
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */
|
9915
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global) */
|
9400
9916
|
interface Global<T extends ValueType = ValueType> {
|
9401
9917
|
value: ValueTypeMap[T];
|
9402
9918
|
valueOf(): ValueTypeMap[T];
|
@@ -9407,9 +9923,9 @@ declare namespace WebAssembly {
|
|
9407
9923
|
new<T extends ValueType = ValueType>(descriptor: GlobalDescriptor<T>, v?: ValueTypeMap[T]): Global<T>;
|
9408
9924
|
};
|
9409
9925
|
|
9410
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Instance) */
|
9926
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance) */
|
9411
9927
|
interface Instance {
|
9412
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Instance/exports) */
|
9928
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance/exports) */
|
9413
9929
|
readonly exports: Exports;
|
9414
9930
|
}
|
9415
9931
|
|
@@ -9427,11 +9943,11 @@ declare namespace WebAssembly {
|
|
9427
9943
|
(message?: string): LinkError;
|
9428
9944
|
};
|
9429
9945
|
|
9430
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Memory) */
|
9946
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory) */
|
9431
9947
|
interface Memory {
|
9432
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Memory/buffer) */
|
9948
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/buffer) */
|
9433
9949
|
readonly buffer: ArrayBuffer;
|
9434
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Memory/grow) */
|
9950
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/grow) */
|
9435
9951
|
grow(delta: number): number;
|
9436
9952
|
}
|
9437
9953
|
|
@@ -9440,18 +9956,18 @@ declare namespace WebAssembly {
|
|
9440
9956
|
new(descriptor: MemoryDescriptor): Memory;
|
9441
9957
|
};
|
9442
9958
|
|
9443
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Module) */
|
9959
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module) */
|
9444
9960
|
interface Module {
|
9445
9961
|
}
|
9446
9962
|
|
9447
9963
|
var Module: {
|
9448
9964
|
prototype: Module;
|
9449
9965
|
new(bytes: BufferSource): Module;
|
9450
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Module/customSections_static) */
|
9966
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/customSections_static) */
|
9451
9967
|
customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];
|
9452
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Module/exports_static) */
|
9968
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/exports_static) */
|
9453
9969
|
exports(moduleObject: Module): ModuleExportDescriptor[];
|
9454
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Module/imports_static) */
|
9970
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/imports_static) */
|
9455
9971
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
9456
9972
|
};
|
9457
9973
|
|
@@ -9464,15 +9980,15 @@ declare namespace WebAssembly {
|
|
9464
9980
|
(message?: string): RuntimeError;
|
9465
9981
|
};
|
9466
9982
|
|
9467
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Table) */
|
9983
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table) */
|
9468
9984
|
interface Table {
|
9469
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Table/length) */
|
9985
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/length) */
|
9470
9986
|
readonly length: number;
|
9471
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Table/get) */
|
9987
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/get) */
|
9472
9988
|
get(index: number): any;
|
9473
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Table/grow) */
|
9989
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/grow) */
|
9474
9990
|
grow(delta: number, value?: any): number;
|
9475
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Table/set) */
|
9991
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/set) */
|
9476
9992
|
set(index: number, value?: any): void;
|
9477
9993
|
}
|
9478
9994
|
|
@@ -9532,19 +10048,69 @@ declare namespace WebAssembly {
|
|
9532
10048
|
type Imports = Record<string, ModuleImports>;
|
9533
10049
|
type ModuleImports = Record<string, ImportValue>;
|
9534
10050
|
type ValueType = keyof ValueTypeMap;
|
9535
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/compile_static) */
|
10051
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */
|
9536
10052
|
function compile(bytes: BufferSource): Promise<Module>;
|
9537
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/compileStreaming_static) */
|
10053
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */
|
9538
10054
|
function compileStreaming(source: Response | PromiseLike<Response>): Promise<Module>;
|
9539
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/instantiate_static) */
|
10055
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */
|
9540
10056
|
function instantiate(bytes: BufferSource, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;
|
9541
10057
|
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
|
9542
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/instantiateStreaming_static) */
|
10058
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */
|
9543
10059
|
function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;
|
9544
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/validate_static) */
|
10060
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */
|
9545
10061
|
function validate(bytes: BufferSource): boolean;
|
9546
10062
|
}
|
9547
10063
|
|
10064
|
+
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
|
10065
|
+
/**
|
10066
|
+
* The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox).
|
10067
|
+
*
|
10068
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console)
|
10069
|
+
*/
|
10070
|
+
interface Console {
|
10071
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/assert_static) */
|
10072
|
+
assert(condition?: boolean, ...data: any[]): void;
|
10073
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/clear_static) */
|
10074
|
+
clear(): void;
|
10075
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
|
10076
|
+
count(label?: string): void;
|
10077
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */
|
10078
|
+
countReset(label?: string): void;
|
10079
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
|
10080
|
+
debug(...data: any[]): void;
|
10081
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dir_static) */
|
10082
|
+
dir(item?: any, options?: any): void;
|
10083
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dirxml_static) */
|
10084
|
+
dirxml(...data: any[]): void;
|
10085
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/error_static) */
|
10086
|
+
error(...data: any[]): void;
|
10087
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
|
10088
|
+
group(...data: any[]): void;
|
10089
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */
|
10090
|
+
groupCollapsed(...data: any[]): void;
|
10091
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */
|
10092
|
+
groupEnd(): void;
|
10093
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
|
10094
|
+
info(...data: any[]): void;
|
10095
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/log_static) */
|
10096
|
+
log(...data: any[]): void;
|
10097
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/table_static) */
|
10098
|
+
table(tabularData?: any, properties?: string[]): void;
|
10099
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
|
10100
|
+
time(label?: string): void;
|
10101
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */
|
10102
|
+
timeEnd(label?: string): void;
|
10103
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */
|
10104
|
+
timeLog(label?: string, ...data: any[]): void;
|
10105
|
+
timeStamp(label?: string): void;
|
10106
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
|
10107
|
+
trace(...data: any[]): void;
|
10108
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/warn_static) */
|
10109
|
+
warn(...data: any[]): void;
|
10110
|
+
}
|
10111
|
+
|
10112
|
+
declare var console: Console;
|
10113
|
+
|
9548
10114
|
interface AudioDataOutputCallback {
|
9549
10115
|
(output: AudioData): void;
|
9550
10116
|
}
|
@@ -9561,8 +10127,8 @@ interface FrameRequestCallback {
|
|
9561
10127
|
(time: DOMHighResTimeStamp): void;
|
9562
10128
|
}
|
9563
10129
|
|
9564
|
-
interface LockGrantedCallback {
|
9565
|
-
(lock: Lock | null):
|
10130
|
+
interface LockGrantedCallback<T> {
|
10131
|
+
(lock: Lock | null): T;
|
9566
10132
|
}
|
9567
10133
|
|
9568
10134
|
interface OnErrorEventHandlerNonNull {
|
@@ -9758,21 +10324,22 @@ declare function addEventListener(type: string, listener: EventListenerOrEventLi
|
|
9758
10324
|
declare function removeEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
9759
10325
|
declare function removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
9760
10326
|
type AlgorithmIdentifier = Algorithm | string;
|
9761
|
-
type AllowSharedBufferSource =
|
9762
|
-
type BigInteger = Uint8Array
|
10327
|
+
type AllowSharedBufferSource = ArrayBufferLike | ArrayBufferView<ArrayBufferLike>;
|
10328
|
+
type BigInteger = Uint8Array<ArrayBuffer>;
|
9763
10329
|
type BlobPart = BufferSource | Blob | string;
|
9764
10330
|
type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
|
9765
|
-
type BufferSource = ArrayBufferView | ArrayBuffer;
|
10331
|
+
type BufferSource = ArrayBufferView<ArrayBuffer> | ArrayBuffer;
|
9766
10332
|
type CSSKeywordish = string | CSSKeywordValue;
|
9767
10333
|
type CSSNumberish = number | CSSNumericValue;
|
9768
10334
|
type CSSPerspectiveValue = CSSNumericValue | CSSKeywordish;
|
9769
10335
|
type CSSUnparsedSegment = string | CSSVariableReferenceValue;
|
9770
10336
|
type CanvasImageSource = ImageBitmap | OffscreenCanvas | VideoFrame;
|
10337
|
+
type CookieList = CookieListItem[];
|
9771
10338
|
type DOMHighResTimeStamp = number;
|
9772
10339
|
type EpochTimeStamp = number;
|
9773
10340
|
type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
|
9774
10341
|
type FileSystemWriteChunkType = BufferSource | Blob | string | WriteParams;
|
9775
|
-
type Float32List = Float32Array | GLfloat[];
|
10342
|
+
type Float32List = Float32Array<ArrayBufferLike> | GLfloat[];
|
9776
10343
|
type FormDataEntryValue = File | string;
|
9777
10344
|
type GLbitfield = number;
|
9778
10345
|
type GLboolean = boolean;
|
@@ -9791,7 +10358,8 @@ type HeadersInit = [string, string][] | Record<string, string> | Headers;
|
|
9791
10358
|
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
|
9792
10359
|
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
|
9793
10360
|
type ImageBufferSource = AllowSharedBufferSource | ReadableStream;
|
9794
|
-
type
|
10361
|
+
type ImageDataArray = Uint8ClampedArray<ArrayBuffer>;
|
10362
|
+
type Int32List = Int32Array<ArrayBufferLike> | GLint[];
|
9795
10363
|
type MessageEventSource = MessagePort | ServiceWorker;
|
9796
10364
|
type NamedCurve = string;
|
9797
10365
|
type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
@@ -9806,7 +10374,7 @@ type RequestInfo = Request | string;
|
|
9806
10374
|
type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas | VideoFrame;
|
9807
10375
|
type TimerHandler = string | Function;
|
9808
10376
|
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | AudioData | VideoFrame | RTCDataChannel | ArrayBuffer;
|
9809
|
-
type Uint32List = Uint32Array | GLuint[];
|
10377
|
+
type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
|
9810
10378
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
9811
10379
|
type AlphaOption = "discard" | "keep";
|
9812
10380
|
type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";
|
@@ -9830,6 +10398,7 @@ type CodecState = "closed" | "configured" | "unconfigured";
|
|
9830
10398
|
type ColorGamut = "p3" | "rec2020" | "srgb";
|
9831
10399
|
type ColorSpaceConversion = "default" | "none";
|
9832
10400
|
type CompressionFormat = "deflate" | "deflate-raw" | "gzip";
|
10401
|
+
type CookieSameSite = "lax" | "none" | "strict";
|
9833
10402
|
type DocumentVisibilityState = "hidden" | "visible";
|
9834
10403
|
type EncodedAudioChunkType = "delta" | "key";
|
9835
10404
|
type EncodedVideoChunkType = "delta" | "key";
|