@types/sharedworker 0.0.171 → 0.0.173
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/README.md +1 -1
- package/index.d.ts +214 -184
- package/iterable.d.ts +1 -1
- package/package.json +1 -1
- package/ts5.5/index.d.ts +214 -184
- package/ts5.5/iterable.d.ts +1 -1
- package/ts5.6/index.d.ts +214 -184
- package/ts5.6/iterable.d.ts +1 -1
package/ts5.6/index.d.ts
CHANGED
|
@@ -215,6 +215,10 @@ interface FontFaceSetLoadEventInit extends EventInit {
|
|
|
215
215
|
fontfaces?: FontFace[];
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
+
interface GPUPipelineErrorInit {
|
|
219
|
+
reason: GPUPipelineErrorReason;
|
|
220
|
+
}
|
|
221
|
+
|
|
218
222
|
interface GetNotificationOptions {
|
|
219
223
|
tag?: string;
|
|
220
224
|
}
|
|
@@ -952,7 +956,7 @@ interface Blob {
|
|
|
952
956
|
*/
|
|
953
957
|
stream(): ReadableStream<Uint8Array>;
|
|
954
958
|
/**
|
|
955
|
-
* The **`text()`** method of the string containing the contents of the blob, interpreted as UTF-8.
|
|
959
|
+
* The **`text()`** method of the Blob interface returns a Promise that resolves with a string containing the contents of the blob, interpreted as UTF-8.
|
|
956
960
|
*
|
|
957
961
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text)
|
|
958
962
|
*/
|
|
@@ -1068,7 +1072,7 @@ declare var CSSImageValue: {
|
|
|
1068
1072
|
*/
|
|
1069
1073
|
interface CSSKeywordValue extends CSSStyleValue {
|
|
1070
1074
|
/**
|
|
1071
|
-
* The **`value`** property of the `CSSKeywordValue`.
|
|
1075
|
+
* The **`value`** property of the CSSKeywordValue interface returns or sets the value of the `CSSKeywordValue`.
|
|
1072
1076
|
*
|
|
1073
1077
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue/value)
|
|
1074
1078
|
*/
|
|
@@ -1098,7 +1102,7 @@ declare var CSSMathClamp: {
|
|
|
1098
1102
|
*/
|
|
1099
1103
|
interface CSSMathInvert extends CSSMathValue {
|
|
1100
1104
|
/**
|
|
1101
|
-
* The CSSMathInvert.value read-only property of the
|
|
1105
|
+
* The CSSMathInvert.value read-only property of the CSSMathInvert interface returns a CSSNumericValue object.
|
|
1102
1106
|
*
|
|
1103
1107
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert/value)
|
|
1104
1108
|
*/
|
|
@@ -1117,7 +1121,7 @@ declare var CSSMathInvert: {
|
|
|
1117
1121
|
*/
|
|
1118
1122
|
interface CSSMathMax extends CSSMathValue {
|
|
1119
1123
|
/**
|
|
1120
|
-
* The CSSMathMax.values read-only property of the which contains one or more CSSNumericValue objects.
|
|
1124
|
+
* The CSSMathMax.values read-only property of the CSSMathMax interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
1121
1125
|
*
|
|
1122
1126
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax/values)
|
|
1123
1127
|
*/
|
|
@@ -1136,7 +1140,7 @@ declare var CSSMathMax: {
|
|
|
1136
1140
|
*/
|
|
1137
1141
|
interface CSSMathMin extends CSSMathValue {
|
|
1138
1142
|
/**
|
|
1139
|
-
* The CSSMathMin.values read-only property of the which contains one or more CSSNumericValue objects.
|
|
1143
|
+
* The CSSMathMin.values read-only property of the CSSMathMin interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
1140
1144
|
*
|
|
1141
1145
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin/values)
|
|
1142
1146
|
*/
|
|
@@ -1155,7 +1159,7 @@ declare var CSSMathMin: {
|
|
|
1155
1159
|
*/
|
|
1156
1160
|
interface CSSMathNegate extends CSSMathValue {
|
|
1157
1161
|
/**
|
|
1158
|
-
* The CSSMathNegate.value read-only property of the
|
|
1162
|
+
* The CSSMathNegate.value read-only property of the CSSMathNegate interface returns a CSSNumericValue object.
|
|
1159
1163
|
*
|
|
1160
1164
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate/value)
|
|
1161
1165
|
*/
|
|
@@ -1174,7 +1178,7 @@ declare var CSSMathNegate: {
|
|
|
1174
1178
|
*/
|
|
1175
1179
|
interface CSSMathProduct extends CSSMathValue {
|
|
1176
1180
|
/**
|
|
1177
|
-
* The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a
|
|
1181
|
+
* The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
1178
1182
|
*
|
|
1179
1183
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct/values)
|
|
1180
1184
|
*/
|
|
@@ -1231,7 +1235,7 @@ declare var CSSMathValue: {
|
|
|
1231
1235
|
*/
|
|
1232
1236
|
interface CSSMatrixComponent extends CSSTransformComponent {
|
|
1233
1237
|
/**
|
|
1234
|
-
* The **`matrix`** property of the
|
|
1238
|
+
* The **`matrix`** property of the CSSMatrixComponent interface gets and sets a 2d or 3d matrix.
|
|
1235
1239
|
*
|
|
1236
1240
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent/matrix)
|
|
1237
1241
|
*/
|
|
@@ -1250,7 +1254,7 @@ declare var CSSMatrixComponent: {
|
|
|
1250
1254
|
*/
|
|
1251
1255
|
interface CSSNumericArray {
|
|
1252
1256
|
/**
|
|
1253
|
-
* The read-only **`length`** property of the
|
|
1257
|
+
* The read-only **`length`** property of the CSSNumericArray interface returns the number of CSSNumericValue objects in the list.
|
|
1254
1258
|
*
|
|
1255
1259
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray/length)
|
|
1256
1260
|
*/
|
|
@@ -1271,61 +1275,61 @@ declare var CSSNumericArray: {
|
|
|
1271
1275
|
*/
|
|
1272
1276
|
interface CSSNumericValue extends CSSStyleValue {
|
|
1273
1277
|
/**
|
|
1274
|
-
* The **`add()`** method of the `CSSNumericValue`.
|
|
1278
|
+
* The **`add()`** method of the CSSNumericValue interface adds a supplied number to the `CSSNumericValue`.
|
|
1275
1279
|
*
|
|
1276
1280
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add)
|
|
1277
1281
|
*/
|
|
1278
1282
|
add(...values: CSSNumberish[]): CSSNumericValue;
|
|
1279
1283
|
/**
|
|
1280
|
-
* The **`div()`** method of the supplied value.
|
|
1284
|
+
* The **`div()`** method of the CSSNumericValue interface divides the `CSSNumericValue` by the supplied value.
|
|
1281
1285
|
*
|
|
1282
1286
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/div)
|
|
1283
1287
|
*/
|
|
1284
1288
|
div(...values: CSSNumberish[]): CSSNumericValue;
|
|
1285
1289
|
/**
|
|
1286
|
-
* The **`equals()`** method of the value are strictly equal.
|
|
1290
|
+
* The **`equals()`** method of the CSSNumericValue interface returns a boolean indicating whether the passed value are strictly equal.
|
|
1287
1291
|
*
|
|
1288
1292
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/equals)
|
|
1289
1293
|
*/
|
|
1290
1294
|
equals(...value: CSSNumberish[]): boolean;
|
|
1291
1295
|
/**
|
|
1292
|
-
* The **`max()`** method of the passed.
|
|
1296
|
+
* The **`max()`** method of the CSSNumericValue interface returns the highest value from among the values passed.
|
|
1293
1297
|
*
|
|
1294
1298
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/max)
|
|
1295
1299
|
*/
|
|
1296
1300
|
max(...values: CSSNumberish[]): CSSNumericValue;
|
|
1297
1301
|
/**
|
|
1298
|
-
* The **`min()`** method of the values passed.
|
|
1302
|
+
* The **`min()`** method of the CSSNumericValue interface returns the lowest value from among those values passed.
|
|
1299
1303
|
*
|
|
1300
1304
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/min)
|
|
1301
1305
|
*/
|
|
1302
1306
|
min(...values: CSSNumberish[]): CSSNumericValue;
|
|
1303
1307
|
/**
|
|
1304
|
-
* The **`mul()`** method of the the supplied value.
|
|
1308
|
+
* The **`mul()`** method of the CSSNumericValue interface multiplies the `CSSNumericValue` by the supplied value.
|
|
1305
1309
|
*
|
|
1306
1310
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/mul)
|
|
1307
1311
|
*/
|
|
1308
1312
|
mul(...values: CSSNumberish[]): CSSNumericValue;
|
|
1309
1313
|
/**
|
|
1310
|
-
* The **`sub()`** method of the `CSSNumericValue`.
|
|
1314
|
+
* The **`sub()`** method of the CSSNumericValue interface subtracts a supplied number from the `CSSNumericValue`.
|
|
1311
1315
|
*
|
|
1312
1316
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/sub)
|
|
1313
1317
|
*/
|
|
1314
1318
|
sub(...values: CSSNumberish[]): CSSNumericValue;
|
|
1315
1319
|
/**
|
|
1316
|
-
* The **`to()`** method of the another.
|
|
1320
|
+
* The **`to()`** method of the CSSNumericValue interface converts a numeric value from one unit to another.
|
|
1317
1321
|
*
|
|
1318
1322
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/to)
|
|
1319
1323
|
*/
|
|
1320
1324
|
to(unit: string): CSSUnitValue;
|
|
1321
1325
|
/**
|
|
1322
|
-
* The **`toSum()`** method of the
|
|
1326
|
+
* The **`toSum()`** method of the CSSNumericValue interface converts the object's value to a CSSMathSum object to values of the specified unit.
|
|
1323
1327
|
*
|
|
1324
1328
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/toSum)
|
|
1325
1329
|
*/
|
|
1326
1330
|
toSum(...units: string[]): CSSMathSum;
|
|
1327
1331
|
/**
|
|
1328
|
-
* The **`type()`** method of the `CSSNumericValue`, one of `angle`, `flex`, `frequency`, `length`, `resolution`, `percent`, `percentHint`, or `time`.
|
|
1332
|
+
* The **`type()`** method of the CSSNumericValue interface returns the type of `CSSNumericValue`, one of `angle`, `flex`, `frequency`, `length`, `resolution`, `percent`, `percentHint`, or `time`.
|
|
1329
1333
|
*
|
|
1330
1334
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/type)
|
|
1331
1335
|
*/
|
|
@@ -1344,7 +1348,7 @@ declare var CSSNumericValue: {
|
|
|
1344
1348
|
*/
|
|
1345
1349
|
interface CSSPerspective extends CSSTransformComponent {
|
|
1346
1350
|
/**
|
|
1347
|
-
* The **`length`** property of the
|
|
1351
|
+
* The **`length`** property of the CSSPerspective interface sets the distance from z=0.
|
|
1348
1352
|
*
|
|
1349
1353
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective/length)
|
|
1350
1354
|
*/
|
|
@@ -1363,25 +1367,25 @@ declare var CSSPerspective: {
|
|
|
1363
1367
|
*/
|
|
1364
1368
|
interface CSSRotate extends CSSTransformComponent {
|
|
1365
1369
|
/**
|
|
1366
|
-
* The **`angle`** property of the
|
|
1370
|
+
* The **`angle`** property of the CSSRotate interface gets and sets the angle of rotation.
|
|
1367
1371
|
*
|
|
1368
1372
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/angle)
|
|
1369
1373
|
*/
|
|
1370
1374
|
angle: CSSNumericValue;
|
|
1371
1375
|
/**
|
|
1372
|
-
* The **`x`** property of the translating vector.
|
|
1376
|
+
* The **`x`** property of the CSSRotate interface gets and sets the abscissa or x-axis of the translating vector.
|
|
1373
1377
|
*
|
|
1374
1378
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/x)
|
|
1375
1379
|
*/
|
|
1376
1380
|
x: CSSNumberish;
|
|
1377
1381
|
/**
|
|
1378
|
-
* The **`y`** property of the translating vector.
|
|
1382
|
+
* The **`y`** property of the CSSRotate interface gets and sets the ordinate or y-axis of the translating vector.
|
|
1379
1383
|
*
|
|
1380
1384
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/y)
|
|
1381
1385
|
*/
|
|
1382
1386
|
y: CSSNumberish;
|
|
1383
1387
|
/**
|
|
1384
|
-
* The **`z`** property of the vector.
|
|
1388
|
+
* The **`z`** property of the CSSRotate interface representing the z-component of the translating vector.
|
|
1385
1389
|
*
|
|
1386
1390
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/z)
|
|
1387
1391
|
*/
|
|
@@ -1401,19 +1405,19 @@ declare var CSSRotate: {
|
|
|
1401
1405
|
*/
|
|
1402
1406
|
interface CSSScale extends CSSTransformComponent {
|
|
1403
1407
|
/**
|
|
1404
|
-
* The **`x`** property of the translating vector.
|
|
1408
|
+
* The **`x`** property of the CSSScale interface gets and sets the abscissa or x-axis of the translating vector.
|
|
1405
1409
|
*
|
|
1406
1410
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/x)
|
|
1407
1411
|
*/
|
|
1408
1412
|
x: CSSNumberish;
|
|
1409
1413
|
/**
|
|
1410
|
-
* The **`y`** property of the translating vector.
|
|
1414
|
+
* The **`y`** property of the CSSScale interface gets and sets the ordinate or y-axis of the translating vector.
|
|
1411
1415
|
*
|
|
1412
1416
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/y)
|
|
1413
1417
|
*/
|
|
1414
1418
|
y: CSSNumberish;
|
|
1415
1419
|
/**
|
|
1416
|
-
* The **`z`** property of the vector.
|
|
1420
|
+
* The **`z`** property of the CSSScale interface representing the z-component of the translating vector.
|
|
1417
1421
|
*
|
|
1418
1422
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/z)
|
|
1419
1423
|
*/
|
|
@@ -1432,13 +1436,13 @@ declare var CSSScale: {
|
|
|
1432
1436
|
*/
|
|
1433
1437
|
interface CSSSkew extends CSSTransformComponent {
|
|
1434
1438
|
/**
|
|
1435
|
-
* The **`ax`** property of the along the x-axis (or abscissa).
|
|
1439
|
+
* The **`ax`** property of the CSSSkew interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
|
|
1436
1440
|
*
|
|
1437
1441
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax)
|
|
1438
1442
|
*/
|
|
1439
1443
|
ax: CSSNumericValue;
|
|
1440
1444
|
/**
|
|
1441
|
-
* The **`ay`** property of the along the y-axis (or ordinate).
|
|
1445
|
+
* The **`ay`** property of the CSSSkew interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
|
|
1442
1446
|
*
|
|
1443
1447
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ay)
|
|
1444
1448
|
*/
|
|
@@ -1457,7 +1461,7 @@ declare var CSSSkew: {
|
|
|
1457
1461
|
*/
|
|
1458
1462
|
interface CSSSkewX extends CSSTransformComponent {
|
|
1459
1463
|
/**
|
|
1460
|
-
* The **`ax`** property of the along the x-axis (or abscissa).
|
|
1464
|
+
* The **`ax`** property of the CSSSkewX interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
|
|
1461
1465
|
*
|
|
1462
1466
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX/ax)
|
|
1463
1467
|
*/
|
|
@@ -1476,7 +1480,7 @@ declare var CSSSkewX: {
|
|
|
1476
1480
|
*/
|
|
1477
1481
|
interface CSSSkewY extends CSSTransformComponent {
|
|
1478
1482
|
/**
|
|
1479
|
-
* The **`ay`** property of the along the y-axis (or ordinate).
|
|
1483
|
+
* The **`ay`** property of the CSSSkewY interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
|
|
1480
1484
|
*
|
|
1481
1485
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY/ay)
|
|
1482
1486
|
*/
|
|
@@ -1515,7 +1519,7 @@ interface CSSTransformComponent {
|
|
|
1515
1519
|
*/
|
|
1516
1520
|
is2D: boolean;
|
|
1517
1521
|
/**
|
|
1518
|
-
* The **`toMatrix()`** method of the object.
|
|
1522
|
+
* The **`toMatrix()`** method of the CSSTransformComponent interface returns a DOMMatrix object.
|
|
1519
1523
|
*
|
|
1520
1524
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent/toMatrix)
|
|
1521
1525
|
*/
|
|
@@ -1535,19 +1539,19 @@ declare var CSSTransformComponent: {
|
|
|
1535
1539
|
*/
|
|
1536
1540
|
interface CSSTransformValue extends CSSStyleValue {
|
|
1537
1541
|
/**
|
|
1538
|
-
* The read-only **`is2D`** property of the
|
|
1542
|
+
* The read-only **`is2D`** property of the CSSTransformValue interface returns whether the transform is 2D or 3D.
|
|
1539
1543
|
*
|
|
1540
1544
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/is2D)
|
|
1541
1545
|
*/
|
|
1542
1546
|
readonly is2D: boolean;
|
|
1543
1547
|
/**
|
|
1544
|
-
* The read-only **`length`** property of the the list.
|
|
1548
|
+
* The read-only **`length`** property of the CSSTransformValue interface returns the number of transform components in the list.
|
|
1545
1549
|
*
|
|
1546
1550
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/length)
|
|
1547
1551
|
*/
|
|
1548
1552
|
readonly length: number;
|
|
1549
1553
|
/**
|
|
1550
|
-
* The **`toMatrix()`** method of the
|
|
1554
|
+
* The **`toMatrix()`** method of the CSSTransformValue interface returns a DOMMatrix object.
|
|
1551
1555
|
*
|
|
1552
1556
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/toMatrix)
|
|
1553
1557
|
*/
|
|
@@ -1568,19 +1572,19 @@ declare var CSSTransformValue: {
|
|
|
1568
1572
|
*/
|
|
1569
1573
|
interface CSSTranslate extends CSSTransformComponent {
|
|
1570
1574
|
/**
|
|
1571
|
-
* The **`x`** property of the translating vector.
|
|
1575
|
+
* The **`x`** property of the CSSTranslate interface gets and sets the abscissa or x-axis of the translating vector.
|
|
1572
1576
|
*
|
|
1573
1577
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/x)
|
|
1574
1578
|
*/
|
|
1575
1579
|
x: CSSNumericValue;
|
|
1576
1580
|
/**
|
|
1577
|
-
* The **`y`** property of the translating vector.
|
|
1581
|
+
* The **`y`** property of the CSSTranslate interface gets and sets the ordinate or y-axis of the translating vector.
|
|
1578
1582
|
*
|
|
1579
1583
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/y)
|
|
1580
1584
|
*/
|
|
1581
1585
|
y: CSSNumericValue;
|
|
1582
1586
|
/**
|
|
1583
|
-
* The **`z`** property of the vector.
|
|
1587
|
+
* The **`z`** property of the CSSTranslate interface representing the z-component of the translating vector.
|
|
1584
1588
|
*
|
|
1585
1589
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/z)
|
|
1586
1590
|
*/
|
|
@@ -1605,7 +1609,7 @@ interface CSSUnitValue extends CSSNumericValue {
|
|
|
1605
1609
|
*/
|
|
1606
1610
|
readonly unit: string;
|
|
1607
1611
|
/**
|
|
1608
|
-
* The **`CSSUnitValue.value`** property of the
|
|
1612
|
+
* The **`CSSUnitValue.value`** property of the CSSUnitValue interface returns a double indicating the number of units.
|
|
1609
1613
|
*
|
|
1610
1614
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/value)
|
|
1611
1615
|
*/
|
|
@@ -1624,7 +1628,7 @@ declare var CSSUnitValue: {
|
|
|
1624
1628
|
*/
|
|
1625
1629
|
interface CSSUnparsedValue extends CSSStyleValue {
|
|
1626
1630
|
/**
|
|
1627
|
-
* The **`length`** read-only property of the
|
|
1631
|
+
* The **`length`** read-only property of the CSSUnparsedValue interface returns the number of items in the object.
|
|
1628
1632
|
*
|
|
1629
1633
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue/length)
|
|
1630
1634
|
*/
|
|
@@ -1645,13 +1649,13 @@ declare var CSSUnparsedValue: {
|
|
|
1645
1649
|
*/
|
|
1646
1650
|
interface CSSVariableReferenceValue {
|
|
1647
1651
|
/**
|
|
1648
|
-
* The **`fallback`** read-only property of the
|
|
1652
|
+
* The **`fallback`** read-only property of the CSSVariableReferenceValue interface returns the custom property fallback value of the CSSVariableReferenceValue.
|
|
1649
1653
|
*
|
|
1650
1654
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/fallback)
|
|
1651
1655
|
*/
|
|
1652
1656
|
readonly fallback: CSSUnparsedValue | null;
|
|
1653
1657
|
/**
|
|
1654
|
-
* The **`variable`** property of the
|
|
1658
|
+
* The **`variable`** property of the CSSVariableReferenceValue interface returns the custom property name of the CSSVariableReferenceValue.
|
|
1655
1659
|
*
|
|
1656
1660
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/variable)
|
|
1657
1661
|
*/
|
|
@@ -1689,7 +1693,7 @@ interface Cache {
|
|
|
1689
1693
|
*/
|
|
1690
1694
|
delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<boolean>;
|
|
1691
1695
|
/**
|
|
1692
|
-
* The **`keys()`** method of the Cache interface returns a representing the keys of the Cache.
|
|
1696
|
+
* The **`keys()`** method of the Cache interface returns a Promise that resolves to an array of Request objects representing the keys of the Cache.
|
|
1693
1697
|
*
|
|
1694
1698
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/keys)
|
|
1695
1699
|
*/
|
|
@@ -1707,7 +1711,7 @@ interface Cache {
|
|
|
1707
1711
|
*/
|
|
1708
1712
|
matchAll(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;
|
|
1709
1713
|
/**
|
|
1710
|
-
* The **`put()`** method of the
|
|
1714
|
+
* The **`put()`** method of the Cache interface allows key/value pairs to be added to the current Cache object.
|
|
1711
1715
|
*
|
|
1712
1716
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/put)
|
|
1713
1717
|
*/
|
|
@@ -1733,7 +1737,7 @@ interface CacheStorage {
|
|
|
1733
1737
|
*/
|
|
1734
1738
|
delete(cacheName: string): Promise<boolean>;
|
|
1735
1739
|
/**
|
|
1736
|
-
* The **`has()`** method of the CacheStorage interface returns a Promise that resolves to `true` if a
|
|
1740
|
+
* The **`has()`** method of the CacheStorage interface returns a Promise that resolves to `true` if a Cache object matches the `cacheName`.
|
|
1737
1741
|
*
|
|
1738
1742
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/has)
|
|
1739
1743
|
*/
|
|
@@ -1751,7 +1755,7 @@ interface CacheStorage {
|
|
|
1751
1755
|
*/
|
|
1752
1756
|
match(request: RequestInfo | URL, options?: MultiCacheQueryOptions): Promise<Response | undefined>;
|
|
1753
1757
|
/**
|
|
1754
|
-
* The **`open()`** method of the the Cache object matching the `cacheName`.
|
|
1758
|
+
* The **`open()`** method of the CacheStorage interface returns a Promise that resolves to the Cache object matching the `cacheName`.
|
|
1755
1759
|
*
|
|
1756
1760
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/open)
|
|
1757
1761
|
*/
|
|
@@ -2068,7 +2072,7 @@ declare var CountQueuingStrategy: {
|
|
|
2068
2072
|
*/
|
|
2069
2073
|
interface Crypto {
|
|
2070
2074
|
/**
|
|
2071
|
-
* The **`Crypto.subtle`** read-only property returns a cryptographic operations.
|
|
2075
|
+
* The **`Crypto.subtle`** read-only property returns a SubtleCrypto which can then be used to perform low-level cryptographic operations.
|
|
2072
2076
|
* Available only in secure contexts.
|
|
2073
2077
|
*
|
|
2074
2078
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/subtle)
|
|
@@ -2172,13 +2176,13 @@ interface DOMException extends Error {
|
|
|
2172
2176
|
*/
|
|
2173
2177
|
readonly code: number;
|
|
2174
2178
|
/**
|
|
2175
|
-
* The **`message`** read-only property of the a message or description associated with the given error name.
|
|
2179
|
+
* The **`message`** read-only property of the DOMException interface returns a string representing a message or description associated with the given error name.
|
|
2176
2180
|
*
|
|
2177
2181
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message)
|
|
2178
2182
|
*/
|
|
2179
2183
|
readonly message: string;
|
|
2180
2184
|
/**
|
|
2181
|
-
* The **`name`** read-only property of the one of the strings associated with an error name.
|
|
2185
|
+
* The **`name`** read-only property of the DOMException interface returns a string that contains one of the strings associated with an error name.
|
|
2182
2186
|
*
|
|
2183
2187
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name)
|
|
2184
2188
|
*/
|
|
@@ -2471,7 +2475,7 @@ interface DOMMatrixReadOnly {
|
|
|
2471
2475
|
*/
|
|
2472
2476
|
rotateFromVector(x?: number, y?: number): DOMMatrix;
|
|
2473
2477
|
/**
|
|
2474
|
-
* The **`scale()`** method of the original matrix with a scale transform applied.
|
|
2478
|
+
* The **`scale()`** method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a scale transform applied.
|
|
2475
2479
|
*
|
|
2476
2480
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale)
|
|
2477
2481
|
*/
|
|
@@ -2515,7 +2519,7 @@ interface DOMMatrixReadOnly {
|
|
|
2515
2519
|
*/
|
|
2516
2520
|
toJSON(): any;
|
|
2517
2521
|
/**
|
|
2518
|
-
* The **`transformPoint`** method of the
|
|
2522
|
+
* The **`transformPoint`** method of the DOMMatrixReadOnly interface creates a new DOMPoint object, transforming a specified point by the matrix.
|
|
2519
2523
|
*
|
|
2520
2524
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint)
|
|
2521
2525
|
*/
|
|
@@ -2616,7 +2620,7 @@ interface DOMPointReadOnly {
|
|
|
2616
2620
|
*/
|
|
2617
2621
|
matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
|
|
2618
2622
|
/**
|
|
2619
|
-
* The DOMPointReadOnly method `toJSON()` returns an object giving the
|
|
2623
|
+
* The DOMPointReadOnly method `toJSON()` returns an object giving the JSON form of the point object.
|
|
2620
2624
|
*
|
|
2621
2625
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON)
|
|
2622
2626
|
*/
|
|
@@ -2671,7 +2675,7 @@ interface DOMQuad {
|
|
|
2671
2675
|
*/
|
|
2672
2676
|
getBounds(): DOMRect;
|
|
2673
2677
|
/**
|
|
2674
|
-
* The DOMQuad method `toJSON()` returns a
|
|
2678
|
+
* The DOMQuad method `toJSON()` returns a JSON representation of the `DOMQuad` object.
|
|
2675
2679
|
*
|
|
2676
2680
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/toJSON)
|
|
2677
2681
|
*/
|
|
@@ -2721,7 +2725,7 @@ declare var DOMRect: {
|
|
|
2721
2725
|
prototype: DOMRect;
|
|
2722
2726
|
new(x?: number, y?: number, width?: number, height?: number): DOMRect;
|
|
2723
2727
|
/**
|
|
2724
|
-
* The **`fromRect()`** static method of the object with a given location and dimensions.
|
|
2728
|
+
* The **`fromRect()`** static method of the DOMRect object creates a new `DOMRect` object with a given location and dimensions.
|
|
2725
2729
|
*
|
|
2726
2730
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static)
|
|
2727
2731
|
*/
|
|
@@ -2794,7 +2798,7 @@ declare var DOMRectReadOnly: {
|
|
|
2794
2798
|
prototype: DOMRectReadOnly;
|
|
2795
2799
|
new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;
|
|
2796
2800
|
/**
|
|
2797
|
-
* The **`fromRect()`** static method of the object with a given location and dimensions.
|
|
2801
|
+
* The **`fromRect()`** static method of the DOMRectReadOnly object creates a new `DOMRectReadOnly` object with a given location and dimensions.
|
|
2798
2802
|
*
|
|
2799
2803
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/fromRect_static)
|
|
2800
2804
|
*/
|
|
@@ -3033,7 +3037,7 @@ interface Event {
|
|
|
3033
3037
|
*/
|
|
3034
3038
|
readonly cancelable: boolean;
|
|
3035
3039
|
/**
|
|
3036
|
-
* The read-only **`composed`** property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.
|
|
3040
|
+
* The read-only **`composed`** property of the Event interface returns a boolean value which indicates whether or not the event will propagate across the shadow DOM boundary into the standard DOM.
|
|
3037
3041
|
*
|
|
3038
3042
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)
|
|
3039
3043
|
*/
|
|
@@ -3051,13 +3055,13 @@ interface Event {
|
|
|
3051
3055
|
*/
|
|
3052
3056
|
readonly defaultPrevented: boolean;
|
|
3053
3057
|
/**
|
|
3054
|
-
* The **`eventPhase`** read-only property of the being evaluated.
|
|
3058
|
+
* The **`eventPhase`** read-only property of the Event interface indicates which phase of the event flow is currently being evaluated.
|
|
3055
3059
|
*
|
|
3056
3060
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)
|
|
3057
3061
|
*/
|
|
3058
3062
|
readonly eventPhase: number;
|
|
3059
3063
|
/**
|
|
3060
|
-
* The **`isTrusted`** read-only property of the when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and `false` when the event was dispatched via
|
|
3064
|
+
* The **`isTrusted`** read-only property of the Event interface is a boolean value that is `true` when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and `false` when the event was dispatched via EventTarget.dispatchEvent().
|
|
3061
3065
|
*
|
|
3062
3066
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
|
|
3063
3067
|
*/
|
|
@@ -3077,7 +3081,7 @@ interface Event {
|
|
|
3077
3081
|
*/
|
|
3078
3082
|
readonly srcElement: EventTarget | null;
|
|
3079
3083
|
/**
|
|
3080
|
-
* The read-only **`target`** property of the dispatched.
|
|
3084
|
+
* The read-only **`target`** property of the Event interface is a reference to the object onto which the event was dispatched.
|
|
3081
3085
|
*
|
|
3082
3086
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)
|
|
3083
3087
|
*/
|
|
@@ -3114,7 +3118,7 @@ interface Event {
|
|
|
3114
3118
|
*/
|
|
3115
3119
|
preventDefault(): void;
|
|
3116
3120
|
/**
|
|
3117
|
-
* The **`stopImmediatePropagation()`** method of the
|
|
3121
|
+
* The **`stopImmediatePropagation()`** method of the Event interface prevents other listeners of the same event from being called.
|
|
3118
3122
|
*
|
|
3119
3123
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)
|
|
3120
3124
|
*/
|
|
@@ -3167,25 +3171,25 @@ interface EventSource extends EventTarget {
|
|
|
3167
3171
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/open_event) */
|
|
3168
3172
|
onopen: ((this: EventSource, ev: Event) => any) | null;
|
|
3169
3173
|
/**
|
|
3170
|
-
* The **`readyState`** read-only property of the connection.
|
|
3174
|
+
* The **`readyState`** read-only property of the EventSource interface returns a number representing the state of the connection.
|
|
3171
3175
|
*
|
|
3172
3176
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/readyState)
|
|
3173
3177
|
*/
|
|
3174
3178
|
readonly readyState: number;
|
|
3175
3179
|
/**
|
|
3176
|
-
* The **`url`** read-only property of the URL of the source.
|
|
3180
|
+
* The **`url`** read-only property of the EventSource interface returns a string representing the URL of the source.
|
|
3177
3181
|
*
|
|
3178
3182
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/url)
|
|
3179
3183
|
*/
|
|
3180
3184
|
readonly url: string;
|
|
3181
3185
|
/**
|
|
3182
|
-
* The **`withCredentials`** read-only property of the the `EventSource` object was instantiated with CORS credentials set.
|
|
3186
|
+
* The **`withCredentials`** read-only property of the EventSource interface returns a boolean value indicating whether the `EventSource` object was instantiated with CORS credentials set.
|
|
3183
3187
|
*
|
|
3184
3188
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/withCredentials)
|
|
3185
3189
|
*/
|
|
3186
3190
|
readonly withCredentials: boolean;
|
|
3187
3191
|
/**
|
|
3188
|
-
* The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the
|
|
3192
|
+
* The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the EventSource.readyState attribute to `2` (closed).
|
|
3189
3193
|
*
|
|
3190
3194
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/close)
|
|
3191
3195
|
*/
|
|
@@ -3362,7 +3366,7 @@ interface FileReader extends EventTarget {
|
|
|
3362
3366
|
*/
|
|
3363
3367
|
readAsBinaryString(blob: Blob): void;
|
|
3364
3368
|
/**
|
|
3365
|
-
* The **`readAsDataURL()`** method of the FileReader interface is used to read the contents of the specified
|
|
3369
|
+
* The **`readAsDataURL()`** method of the FileReader interface is used to read the contents of the specified Blob or File.
|
|
3366
3370
|
*
|
|
3367
3371
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsDataURL)
|
|
3368
3372
|
*/
|
|
@@ -3437,25 +3441,25 @@ declare var FileReaderSync: {
|
|
|
3437
3441
|
interface FileSystemDirectoryHandle extends FileSystemHandle {
|
|
3438
3442
|
readonly kind: "directory";
|
|
3439
3443
|
/**
|
|
3440
|
-
* The **`getDirectoryHandle()`** method of the within the directory handle on which the method is called.
|
|
3444
|
+
* The **`getDirectoryHandle()`** method of the FileSystemDirectoryHandle interface returns a FileSystemDirectoryHandle for a subdirectory with the specified name within the directory handle on which the method is called.
|
|
3441
3445
|
*
|
|
3442
3446
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getDirectoryHandle)
|
|
3443
3447
|
*/
|
|
3444
3448
|
getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
|
|
3445
3449
|
/**
|
|
3446
|
-
* The **`getFileHandle()`** method of the directory the method is called.
|
|
3450
|
+
* The **`getFileHandle()`** method of the FileSystemDirectoryHandle interface returns a FileSystemFileHandle for a file with the specified name, within the directory the method is called.
|
|
3447
3451
|
*
|
|
3448
3452
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getFileHandle)
|
|
3449
3453
|
*/
|
|
3450
3454
|
getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
|
|
3451
3455
|
/**
|
|
3452
|
-
* The **`removeEntry()`** method of the directory handle contains a file or directory called the name specified.
|
|
3456
|
+
* The **`removeEntry()`** method of the FileSystemDirectoryHandle interface attempts to remove an entry if the directory handle contains a file or directory called the name specified.
|
|
3453
3457
|
*
|
|
3454
3458
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/removeEntry)
|
|
3455
3459
|
*/
|
|
3456
3460
|
removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
|
|
3457
3461
|
/**
|
|
3458
|
-
* The **`resolve()`** method of the directory names from the parent handle to the specified child entry, with the name of the child entry as the last array item.
|
|
3462
|
+
* The **`resolve()`** method of the FileSystemDirectoryHandle interface returns an Array of directory names from the parent handle to the specified child entry, with the name of the child entry as the last array item.
|
|
3459
3463
|
*
|
|
3460
3464
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/resolve)
|
|
3461
3465
|
*/
|
|
@@ -3482,7 +3486,7 @@ interface FileSystemFileHandle extends FileSystemHandle {
|
|
|
3482
3486
|
*/
|
|
3483
3487
|
createWritable(options?: FileSystemCreateWritableOptions): Promise<FileSystemWritableFileStream>;
|
|
3484
3488
|
/**
|
|
3485
|
-
* The **`getFile()`** method of the
|
|
3489
|
+
* The **`getFile()`** method of the FileSystemFileHandle interface returns a Promise which resolves to a File object representing the state on disk of the entry represented by the handle.
|
|
3486
3490
|
*
|
|
3487
3491
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/getFile)
|
|
3488
3492
|
*/
|
|
@@ -3502,19 +3506,19 @@ declare var FileSystemFileHandle: {
|
|
|
3502
3506
|
*/
|
|
3503
3507
|
interface FileSystemHandle {
|
|
3504
3508
|
/**
|
|
3505
|
-
* The **`kind`** read-only property of the
|
|
3509
|
+
* The **`kind`** read-only property of the FileSystemHandle interface returns the type of entry.
|
|
3506
3510
|
*
|
|
3507
3511
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/kind)
|
|
3508
3512
|
*/
|
|
3509
3513
|
readonly kind: FileSystemHandleKind;
|
|
3510
3514
|
/**
|
|
3511
|
-
* The **`name`** read-only property of the handle.
|
|
3515
|
+
* The **`name`** read-only property of the FileSystemHandle interface returns the name of the entry represented by handle.
|
|
3512
3516
|
*
|
|
3513
3517
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/name)
|
|
3514
3518
|
*/
|
|
3515
3519
|
readonly name: string;
|
|
3516
3520
|
/**
|
|
3517
|
-
* The **`isSameEntry()`** method of the
|
|
3521
|
+
* The **`isSameEntry()`** method of the FileSystemHandle interface compares two FileSystemHandle to see if the associated entries (either a file or directory) match.
|
|
3518
3522
|
*
|
|
3519
3523
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/isSameEntry)
|
|
3520
3524
|
*/
|
|
@@ -3710,7 +3714,7 @@ declare var FontFaceSet: {
|
|
|
3710
3714
|
*/
|
|
3711
3715
|
interface FontFaceSetLoadEvent extends Event {
|
|
3712
3716
|
/**
|
|
3713
|
-
* The **`fontfaces`** read-only property of the
|
|
3717
|
+
* The **`fontfaces`** read-only property of the FontFaceSetLoadEvent interface returns an array of FontFace instances, each of which represents a single usable font.
|
|
3714
3718
|
*
|
|
3715
3719
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent/fontfaces)
|
|
3716
3720
|
*/
|
|
@@ -3789,13 +3793,38 @@ declare var FormData: {
|
|
|
3789
3793
|
*/
|
|
3790
3794
|
interface GPUError {
|
|
3791
3795
|
/**
|
|
3792
|
-
* The **`message`** read-only property of the
|
|
3796
|
+
* The **`message`** read-only property of the GPUError interface provides a human-readable message that explains why the error occurred.
|
|
3793
3797
|
*
|
|
3794
3798
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError/message)
|
|
3795
3799
|
*/
|
|
3796
3800
|
readonly message: string;
|
|
3797
3801
|
}
|
|
3798
3802
|
|
|
3803
|
+
declare var GPUError: {
|
|
3804
|
+
prototype: GPUError;
|
|
3805
|
+
new(): GPUError;
|
|
3806
|
+
};
|
|
3807
|
+
|
|
3808
|
+
/**
|
|
3809
|
+
* The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
|
|
3810
|
+
* Available only in secure contexts.
|
|
3811
|
+
*
|
|
3812
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
|
|
3813
|
+
*/
|
|
3814
|
+
interface GPUPipelineError extends DOMException {
|
|
3815
|
+
/**
|
|
3816
|
+
* The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
|
|
3817
|
+
*
|
|
3818
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
|
|
3819
|
+
*/
|
|
3820
|
+
readonly reason: GPUPipelineErrorReason;
|
|
3821
|
+
}
|
|
3822
|
+
|
|
3823
|
+
declare var GPUPipelineError: {
|
|
3824
|
+
prototype: GPUPipelineError;
|
|
3825
|
+
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
|
|
3826
|
+
};
|
|
3827
|
+
|
|
3799
3828
|
interface GenericTransformStream {
|
|
3800
3829
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */
|
|
3801
3830
|
readonly readable: ReadableStream;
|
|
@@ -3860,19 +3889,19 @@ declare var Headers: {
|
|
|
3860
3889
|
*/
|
|
3861
3890
|
interface IDBCursor {
|
|
3862
3891
|
/**
|
|
3863
|
-
* The **`direction`** read-only property of the direction of traversal of the cursor (set using
|
|
3892
|
+
* The **`direction`** read-only property of the IDBCursor interface is a string that returns the direction of traversal of the cursor (set using IDBObjectStore.openCursor for example).
|
|
3864
3893
|
*
|
|
3865
3894
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/direction)
|
|
3866
3895
|
*/
|
|
3867
3896
|
readonly direction: IDBCursorDirection;
|
|
3868
3897
|
/**
|
|
3869
|
-
* The **`key`** read-only property of the position.
|
|
3898
|
+
* The **`key`** read-only property of the IDBCursor interface returns the key for the record at the cursor's position.
|
|
3870
3899
|
*
|
|
3871
3900
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/key)
|
|
3872
3901
|
*/
|
|
3873
3902
|
readonly key: IDBValidKey;
|
|
3874
3903
|
/**
|
|
3875
|
-
* The **`primaryKey`** read-only property of the
|
|
3904
|
+
* The **`primaryKey`** read-only property of the IDBCursor interface returns the cursor's current effective key.
|
|
3876
3905
|
*
|
|
3877
3906
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/primaryKey)
|
|
3878
3907
|
*/
|
|
@@ -3884,7 +3913,7 @@ interface IDBCursor {
|
|
|
3884
3913
|
*/
|
|
3885
3914
|
readonly request: IDBRequest;
|
|
3886
3915
|
/**
|
|
3887
|
-
* The **`source`** read-only property of the
|
|
3916
|
+
* The **`source`** read-only property of the IDBCursor interface returns the IDBObjectStore or IDBIndex that the cursor is iterating over.
|
|
3888
3917
|
*
|
|
3889
3918
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/source)
|
|
3890
3919
|
*/
|
|
@@ -3902,7 +3931,7 @@ interface IDBCursor {
|
|
|
3902
3931
|
*/
|
|
3903
3932
|
continue(key?: IDBValidKey): void;
|
|
3904
3933
|
/**
|
|
3905
|
-
* The **`continuePrimaryKey()`** method of the matches the key parameter as well as whose primary key matches the primary key parameter.
|
|
3934
|
+
* The **`continuePrimaryKey()`** method of the IDBCursor interface advances the cursor to the item whose key matches the key parameter as well as whose primary key matches the primary key parameter.
|
|
3906
3935
|
*
|
|
3907
3936
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/continuePrimaryKey)
|
|
3908
3937
|
*/
|
|
@@ -3933,7 +3962,7 @@ declare var IDBCursor: {
|
|
|
3933
3962
|
*/
|
|
3934
3963
|
interface IDBCursorWithValue extends IDBCursor {
|
|
3935
3964
|
/**
|
|
3936
|
-
* The **`value`** read-only property of the whatever that is.
|
|
3965
|
+
* The **`value`** read-only property of the IDBCursorWithValue interface returns the value of the current cursor, whatever that is.
|
|
3937
3966
|
*
|
|
3938
3967
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue/value)
|
|
3939
3968
|
*/
|
|
@@ -3965,7 +3994,7 @@ interface IDBDatabase extends EventTarget {
|
|
|
3965
3994
|
*/
|
|
3966
3995
|
readonly name: string;
|
|
3967
3996
|
/**
|
|
3968
|
-
* The **`objectStoreNames`** read-only property of the list of the names of the object stores currently in the connected database.
|
|
3997
|
+
* The **`objectStoreNames`** read-only property of the IDBDatabase interface is a DOMStringList containing a list of the names of the object stores currently in the connected database.
|
|
3969
3998
|
*
|
|
3970
3999
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
|
|
3971
4000
|
*/
|
|
@@ -3989,13 +4018,13 @@ interface IDBDatabase extends EventTarget {
|
|
|
3989
4018
|
*/
|
|
3990
4019
|
close(): void;
|
|
3991
4020
|
/**
|
|
3992
|
-
* The **`createObjectStore()`** method of the
|
|
4021
|
+
* The **`createObjectStore()`** method of the IDBDatabase interface creates and returns a new IDBObjectStore.
|
|
3993
4022
|
*
|
|
3994
4023
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/createObjectStore)
|
|
3995
4024
|
*/
|
|
3996
4025
|
createObjectStore(name: string, options?: IDBObjectStoreParameters): IDBObjectStore;
|
|
3997
4026
|
/**
|
|
3998
|
-
* The **`deleteObjectStore()`** method of the the connected database, along with any indexes that reference it.
|
|
4027
|
+
* The **`deleteObjectStore()`** method of the IDBDatabase interface destroys the object store with the given name in the connected database, along with any indexes that reference it.
|
|
3999
4028
|
*
|
|
4000
4029
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/deleteObjectStore)
|
|
4001
4030
|
*/
|
|
@@ -4036,7 +4065,7 @@ interface IDBFactory {
|
|
|
4036
4065
|
*/
|
|
4037
4066
|
databases(): Promise<IDBDatabaseInfo[]>;
|
|
4038
4067
|
/**
|
|
4039
|
-
* The **`deleteDatabase()`** method of the
|
|
4068
|
+
* The **`deleteDatabase()`** method of the IDBFactory interface requests the deletion of a database.
|
|
4040
4069
|
*
|
|
4041
4070
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/deleteDatabase)
|
|
4042
4071
|
*/
|
|
@@ -4067,7 +4096,7 @@ interface IDBIndex {
|
|
|
4067
4096
|
*/
|
|
4068
4097
|
readonly keyPath: string | string[];
|
|
4069
4098
|
/**
|
|
4070
|
-
* The **`multiEntry`** read-only property of the behaves when the result of evaluating the index's key path yields an array.
|
|
4099
|
+
* The **`multiEntry`** read-only property of the IDBIndex interface returns a boolean value that affects how the index behaves when the result of evaluating the index's key path yields an array.
|
|
4071
4100
|
*
|
|
4072
4101
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/multiEntry)
|
|
4073
4102
|
*/
|
|
@@ -4097,7 +4126,7 @@ interface IDBIndex {
|
|
|
4097
4126
|
*/
|
|
4098
4127
|
count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
|
4099
4128
|
/**
|
|
4100
|
-
* The **`get()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the value in the referenced object store that corresponds to the given key or the first corresponding value, if `key` is set to an
|
|
4129
|
+
* The **`get()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the value in the referenced object store that corresponds to the given key or the first corresponding value, if `key` is set to an IDBKeyRange.
|
|
4101
4130
|
*
|
|
4102
4131
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/get)
|
|
4103
4132
|
*/
|
|
@@ -4115,7 +4144,7 @@ interface IDBIndex {
|
|
|
4115
4144
|
*/
|
|
4116
4145
|
getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
4117
4146
|
/**
|
|
4118
|
-
* The **`getKey()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the primary key that corresponds to the given key in this index or the first corresponding primary key, if `key` is set to an
|
|
4147
|
+
* The **`getKey()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the primary key that corresponds to the given key in this index or the first corresponding primary key, if `key` is set to an IDBKeyRange.
|
|
4119
4148
|
*
|
|
4120
4149
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getKey)
|
|
4121
4150
|
*/
|
|
@@ -4127,7 +4156,7 @@ interface IDBIndex {
|
|
|
4127
4156
|
*/
|
|
4128
4157
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
|
4129
4158
|
/**
|
|
4130
|
-
* The **`openKeyCursor()`** method of the a separate thread, creates a cursor over the specified key range, as arranged by this index.
|
|
4159
|
+
* The **`openKeyCursor()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, creates a cursor over the specified key range, as arranged by this index.
|
|
4131
4160
|
*
|
|
4132
4161
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/openKeyCursor)
|
|
4133
4162
|
*/
|
|
@@ -4146,25 +4175,25 @@ declare var IDBIndex: {
|
|
|
4146
4175
|
*/
|
|
4147
4176
|
interface IDBKeyRange {
|
|
4148
4177
|
/**
|
|
4149
|
-
* The **`lower`** read-only property of the
|
|
4178
|
+
* The **`lower`** read-only property of the IDBKeyRange interface returns the lower bound of the key range.
|
|
4150
4179
|
*
|
|
4151
4180
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lower)
|
|
4152
4181
|
*/
|
|
4153
4182
|
readonly lower: any;
|
|
4154
4183
|
/**
|
|
4155
|
-
* The **`lowerOpen`** read-only property of the lower-bound value is included in the key range.
|
|
4184
|
+
* The **`lowerOpen`** read-only property of the IDBKeyRange interface returns a boolean indicating whether the lower-bound value is included in the key range.
|
|
4156
4185
|
*
|
|
4157
4186
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerOpen)
|
|
4158
4187
|
*/
|
|
4159
4188
|
readonly lowerOpen: boolean;
|
|
4160
4189
|
/**
|
|
4161
|
-
* The **`upper`** read-only property of the
|
|
4190
|
+
* The **`upper`** read-only property of the IDBKeyRange interface returns the upper bound of the key range.
|
|
4162
4191
|
*
|
|
4163
4192
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upper)
|
|
4164
4193
|
*/
|
|
4165
4194
|
readonly upper: any;
|
|
4166
4195
|
/**
|
|
4167
|
-
* The **`upperOpen`** read-only property of the upper-bound value is included in the key range.
|
|
4196
|
+
* The **`upperOpen`** read-only property of the IDBKeyRange interface returns a boolean indicating whether the upper-bound value is included in the key range.
|
|
4168
4197
|
*
|
|
4169
4198
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperOpen)
|
|
4170
4199
|
*/
|
|
@@ -4187,7 +4216,7 @@ declare var IDBKeyRange: {
|
|
|
4187
4216
|
*/
|
|
4188
4217
|
bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;
|
|
4189
4218
|
/**
|
|
4190
|
-
* The **`lowerBound()`** static method of the
|
|
4219
|
+
* The **`lowerBound()`** static method of the IDBKeyRange interface creates a new key range with only a lower bound.
|
|
4191
4220
|
*
|
|
4192
4221
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerBound_static)
|
|
4193
4222
|
*/
|
|
@@ -4199,7 +4228,7 @@ declare var IDBKeyRange: {
|
|
|
4199
4228
|
*/
|
|
4200
4229
|
only(value: any): IDBKeyRange;
|
|
4201
4230
|
/**
|
|
4202
|
-
* The **`upperBound()`** static method of the
|
|
4231
|
+
* The **`upperBound()`** static method of the IDBKeyRange interface creates a new upper-bound key range.
|
|
4203
4232
|
*
|
|
4204
4233
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperBound_static)
|
|
4205
4234
|
*/
|
|
@@ -4213,19 +4242,19 @@ declare var IDBKeyRange: {
|
|
|
4213
4242
|
*/
|
|
4214
4243
|
interface IDBObjectStore {
|
|
4215
4244
|
/**
|
|
4216
|
-
* The **`autoIncrement`** read-only property of the for this object store.
|
|
4245
|
+
* The **`autoIncrement`** read-only property of the IDBObjectStore interface returns the value of the auto increment flag for this object store.
|
|
4217
4246
|
*
|
|
4218
4247
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/autoIncrement)
|
|
4219
4248
|
*/
|
|
4220
4249
|
readonly autoIncrement: boolean;
|
|
4221
4250
|
/**
|
|
4222
|
-
* The **`indexNames`** read-only property of the in this object store.
|
|
4251
|
+
* The **`indexNames`** read-only property of the IDBObjectStore interface returns a list of the names of indexes on objects in this object store.
|
|
4223
4252
|
*
|
|
4224
4253
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/indexNames)
|
|
4225
4254
|
*/
|
|
4226
4255
|
readonly indexNames: DOMStringList;
|
|
4227
4256
|
/**
|
|
4228
|
-
* The **`keyPath`** read-only property of the
|
|
4257
|
+
* The **`keyPath`** read-only property of the IDBObjectStore interface returns the key path of this object store.
|
|
4229
4258
|
*
|
|
4230
4259
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
|
|
4231
4260
|
*/
|
|
@@ -4237,7 +4266,7 @@ interface IDBObjectStore {
|
|
|
4237
4266
|
*/
|
|
4238
4267
|
name: string;
|
|
4239
4268
|
/**
|
|
4240
|
-
* The **`transaction`** read-only property of the object store belongs.
|
|
4269
|
+
* The **`transaction`** read-only property of the IDBObjectStore interface returns the transaction object to which this object store belongs.
|
|
4241
4270
|
*
|
|
4242
4271
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/transaction)
|
|
4243
4272
|
*/
|
|
@@ -4255,25 +4284,25 @@ interface IDBObjectStore {
|
|
|
4255
4284
|
*/
|
|
4256
4285
|
clear(): IDBRequest<undefined>;
|
|
4257
4286
|
/**
|
|
4258
|
-
* The **`count()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the total number of records that match the provided key or
|
|
4287
|
+
* The **`count()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the total number of records that match the provided key or IDBKeyRange.
|
|
4259
4288
|
*
|
|
4260
4289
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/count)
|
|
4261
4290
|
*/
|
|
4262
4291
|
count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
|
4263
4292
|
/**
|
|
4264
|
-
* The **`createIndex()`** method of the
|
|
4293
|
+
* The **`createIndex()`** method of the IDBObjectStore interface creates and returns a new IDBIndex object in the connected database.
|
|
4265
4294
|
*
|
|
4266
4295
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
|
4267
4296
|
*/
|
|
4268
4297
|
createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;
|
|
4269
4298
|
/**
|
|
4270
|
-
* The **`delete()`** method of the and, in a separate thread, deletes the specified record or records.
|
|
4299
|
+
* The **`delete()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, deletes the specified record or records.
|
|
4271
4300
|
*
|
|
4272
4301
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/delete)
|
|
4273
4302
|
*/
|
|
4274
4303
|
delete(query: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;
|
|
4275
4304
|
/**
|
|
4276
|
-
* The **`deleteIndex()`** method of the the connected database, used during a version upgrade.
|
|
4305
|
+
* The **`deleteIndex()`** method of the IDBObjectStore interface destroys the index with the specified name in the connected database, used during a version upgrade.
|
|
4277
4306
|
*
|
|
4278
4307
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/deleteIndex)
|
|
4279
4308
|
*/
|
|
@@ -4285,7 +4314,7 @@ interface IDBObjectStore {
|
|
|
4285
4314
|
*/
|
|
4286
4315
|
get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;
|
|
4287
4316
|
/**
|
|
4288
|
-
* The **`getAll()`** method of the containing all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.
|
|
4317
|
+
* The **`getAll()`** method of the IDBObjectStore interface returns an IDBRequest object containing all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.
|
|
4289
4318
|
*
|
|
4290
4319
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)
|
|
4291
4320
|
*/
|
|
@@ -4297,7 +4326,7 @@ interface IDBObjectStore {
|
|
|
4297
4326
|
*/
|
|
4298
4327
|
getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
4299
4328
|
/**
|
|
4300
|
-
* The **`getKey()`** method of the and, in a separate thread, returns the key selected by the specified query.
|
|
4329
|
+
* The **`getKey()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the key selected by the specified query.
|
|
4301
4330
|
*
|
|
4302
4331
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getKey)
|
|
4303
4332
|
*/
|
|
@@ -4309,13 +4338,13 @@ interface IDBObjectStore {
|
|
|
4309
4338
|
*/
|
|
4310
4339
|
index(name: string): IDBIndex;
|
|
4311
4340
|
/**
|
|
4312
|
-
* The **`openCursor()`** method of the and, in a separate thread, returns a new IDBCursorWithValue object.
|
|
4341
|
+
* The **`openCursor()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns a new IDBCursorWithValue object.
|
|
4313
4342
|
*
|
|
4314
4343
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openCursor)
|
|
4315
4344
|
*/
|
|
4316
4345
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
|
4317
4346
|
/**
|
|
4318
|
-
* The **`openKeyCursor()`** method of the whose result will be set to an IDBCursor that can be used to iterate through matching results.
|
|
4347
|
+
* The **`openKeyCursor()`** method of the IDBObjectStore interface returns an IDBRequest object whose result will be set to an IDBCursor that can be used to iterate through matching results.
|
|
4319
4348
|
*
|
|
4320
4349
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openKeyCursor)
|
|
4321
4350
|
*/
|
|
@@ -4371,7 +4400,7 @@ interface IDBRequestEventMap {
|
|
|
4371
4400
|
*/
|
|
4372
4401
|
interface IDBRequest<T = any> extends EventTarget {
|
|
4373
4402
|
/**
|
|
4374
|
-
* The **`error`** read-only property of the request.
|
|
4403
|
+
* The **`error`** read-only property of the IDBRequest interface returns the error in the event of an unsuccessful request.
|
|
4375
4404
|
*
|
|
4376
4405
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/error)
|
|
4377
4406
|
*/
|
|
@@ -4381,19 +4410,19 @@ interface IDBRequest<T = any> extends EventTarget {
|
|
|
4381
4410
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/success_event) */
|
|
4382
4411
|
onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;
|
|
4383
4412
|
/**
|
|
4384
|
-
* The **`readyState`** read-only property of the
|
|
4413
|
+
* The **`readyState`** read-only property of the IDBRequest interface returns the state of the request.
|
|
4385
4414
|
*
|
|
4386
4415
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/readyState)
|
|
4387
4416
|
*/
|
|
4388
4417
|
readonly readyState: IDBRequestReadyState;
|
|
4389
4418
|
/**
|
|
4390
|
-
* The **`result`** read-only property of the
|
|
4419
|
+
* The **`result`** read-only property of the IDBRequest interface returns the result of the request.
|
|
4391
4420
|
*
|
|
4392
4421
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/result)
|
|
4393
4422
|
*/
|
|
4394
4423
|
readonly result: T;
|
|
4395
4424
|
/**
|
|
4396
|
-
* The **`source`** read-only property of the Index or an object store.
|
|
4425
|
+
* The **`source`** read-only property of the IDBRequest interface returns the source of the request, such as an Index or an object store.
|
|
4397
4426
|
*
|
|
4398
4427
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/source)
|
|
4399
4428
|
*/
|
|
@@ -4446,13 +4475,13 @@ interface IDBTransaction extends EventTarget {
|
|
|
4446
4475
|
*/
|
|
4447
4476
|
readonly error: DOMException | null;
|
|
4448
4477
|
/**
|
|
4449
|
-
* The **`mode`** read-only property of the data in the object stores in the scope of the transaction (i.e., is the mode to be read-only, or do you want to write to the object stores?) The default value is `readonly`.
|
|
4478
|
+
* The **`mode`** read-only property of the IDBTransaction interface returns the current mode for accessing the data in the object stores in the scope of the transaction (i.e., is the mode to be read-only, or do you want to write to the object stores?) The default value is `readonly`.
|
|
4450
4479
|
*
|
|
4451
4480
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/mode)
|
|
4452
4481
|
*/
|
|
4453
4482
|
readonly mode: IDBTransactionMode;
|
|
4454
4483
|
/**
|
|
4455
|
-
* The **`objectStoreNames`** read-only property of the of IDBObjectStore objects.
|
|
4484
|
+
* The **`objectStoreNames`** read-only property of the IDBTransaction interface returns a DOMStringList of names of IDBObjectStore objects.
|
|
4456
4485
|
*
|
|
4457
4486
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames)
|
|
4458
4487
|
*/
|
|
@@ -4476,7 +4505,7 @@ interface IDBTransaction extends EventTarget {
|
|
|
4476
4505
|
*/
|
|
4477
4506
|
commit(): void;
|
|
4478
4507
|
/**
|
|
4479
|
-
* The **`objectStore()`** method of the added to the scope of this transaction.
|
|
4508
|
+
* The **`objectStore()`** method of the IDBTransaction interface returns an object store that has already been added to the scope of this transaction.
|
|
4480
4509
|
*
|
|
4481
4510
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStore)
|
|
4482
4511
|
*/
|
|
@@ -4499,13 +4528,13 @@ declare var IDBTransaction: {
|
|
|
4499
4528
|
*/
|
|
4500
4529
|
interface IDBVersionChangeEvent extends Event {
|
|
4501
4530
|
/**
|
|
4502
|
-
* The **`newVersion`** read-only property of the database.
|
|
4531
|
+
* The **`newVersion`** read-only property of the IDBVersionChangeEvent interface returns the new version number of the database.
|
|
4503
4532
|
*
|
|
4504
4533
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/newVersion)
|
|
4505
4534
|
*/
|
|
4506
4535
|
readonly newVersion: number | null;
|
|
4507
4536
|
/**
|
|
4508
|
-
* The **`oldVersion`** read-only property of the database.
|
|
4537
|
+
* The **`oldVersion`** read-only property of the IDBVersionChangeEvent interface returns the old version number of the database.
|
|
4509
4538
|
*
|
|
4510
4539
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/oldVersion)
|
|
4511
4540
|
*/
|
|
@@ -4580,7 +4609,7 @@ interface ImageData {
|
|
|
4580
4609
|
*/
|
|
4581
4610
|
readonly colorSpace: PredefinedColorSpace;
|
|
4582
4611
|
/**
|
|
4583
|
-
* The readonly **`ImageData.data`** property returns a pixel data.
|
|
4612
|
+
* The readonly **`ImageData.data`** property returns a Uint8ClampedArray or Float16Array that contains the ImageData object's pixel data.
|
|
4584
4613
|
*
|
|
4585
4614
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
|
|
4586
4615
|
*/
|
|
@@ -4633,7 +4662,7 @@ interface Lock {
|
|
|
4633
4662
|
*/
|
|
4634
4663
|
readonly mode: LockMode;
|
|
4635
4664
|
/**
|
|
4636
|
-
* The **`name`** read-only property of the Lock interface returns the _name_ passed to
|
|
4665
|
+
* The **`name`** read-only property of the Lock interface returns the _name_ passed to LockManager.request selected when the lock was requested.
|
|
4637
4666
|
*
|
|
4638
4667
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Lock/name)
|
|
4639
4668
|
*/
|
|
@@ -4704,13 +4733,13 @@ declare var MediaCapabilities: {
|
|
|
4704
4733
|
*/
|
|
4705
4734
|
interface MessageChannel {
|
|
4706
4735
|
/**
|
|
4707
|
-
* The **`port1`** read-only property of the the port attached to the context that originated the channel.
|
|
4736
|
+
* The **`port1`** read-only property of the MessageChannel interface returns the first port of the message channel — the port attached to the context that originated the channel.
|
|
4708
4737
|
*
|
|
4709
4738
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port1)
|
|
4710
4739
|
*/
|
|
4711
4740
|
readonly port1: MessagePort;
|
|
4712
4741
|
/**
|
|
4713
|
-
* The **`port2`** read-only property of the the port attached to the context at the other end of the channel, which the message is initially sent to.
|
|
4742
|
+
* The **`port2`** read-only property of the MessageChannel interface returns the second port of the message channel — the port attached to the context at the other end of the channel, which the message is initially sent to.
|
|
4714
4743
|
*
|
|
4715
4744
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port2)
|
|
4716
4745
|
*/
|
|
@@ -4729,31 +4758,31 @@ declare var MessageChannel: {
|
|
|
4729
4758
|
*/
|
|
4730
4759
|
interface MessageEvent<T = any> extends Event {
|
|
4731
4760
|
/**
|
|
4732
|
-
* The **`data`** read-only property of the
|
|
4761
|
+
* The **`data`** read-only property of the MessageEvent interface represents the data sent by the message emitter.
|
|
4733
4762
|
*
|
|
4734
4763
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/data)
|
|
4735
4764
|
*/
|
|
4736
4765
|
readonly data: T;
|
|
4737
4766
|
/**
|
|
4738
|
-
* The **`lastEventId`** read-only property of the unique ID for the event.
|
|
4767
|
+
* The **`lastEventId`** read-only property of the MessageEvent interface is a string representing a unique ID for the event.
|
|
4739
4768
|
*
|
|
4740
4769
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/lastEventId)
|
|
4741
4770
|
*/
|
|
4742
4771
|
readonly lastEventId: string;
|
|
4743
4772
|
/**
|
|
4744
|
-
* The **`origin`** read-only property of the origin of the message emitter.
|
|
4773
|
+
* The **`origin`** read-only property of the MessageEvent interface is a string representing the origin of the message emitter.
|
|
4745
4774
|
*
|
|
4746
4775
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/origin)
|
|
4747
4776
|
*/
|
|
4748
4777
|
readonly origin: string;
|
|
4749
4778
|
/**
|
|
4750
|
-
* The **`ports`** read-only property of the containing all MessagePort objects sent with the message, in order.
|
|
4779
|
+
* The **`ports`** read-only property of the MessageEvent interface is an array of MessagePort objects containing all MessagePort objects sent with the message, in order.
|
|
4751
4780
|
*
|
|
4752
4781
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/ports)
|
|
4753
4782
|
*/
|
|
4754
4783
|
readonly ports: ReadonlyArray<MessagePort>;
|
|
4755
4784
|
/**
|
|
4756
|
-
* The **`source`** read-only property of the
|
|
4785
|
+
* The **`source`** read-only property of the MessageEvent interface is a `MessageEventSource` (which can be a WindowProxy, MessagePort, or ServiceWorker object) representing the message emitter.
|
|
4757
4786
|
*
|
|
4758
4787
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
|
|
4759
4788
|
*/
|
|
@@ -4801,7 +4830,7 @@ interface MessagePort extends EventTarget, MessageEventTarget<MessagePort> {
|
|
|
4801
4830
|
*/
|
|
4802
4831
|
close(): void;
|
|
4803
4832
|
/**
|
|
4804
|
-
* The **`postMessage()`** method of the transfers ownership of objects to other browsing contexts.
|
|
4833
|
+
* The **`postMessage()`** method of the MessagePort interface sends a message from the port, and optionally, transfers ownership of objects to other browsing contexts.
|
|
4805
4834
|
*
|
|
4806
4835
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage)
|
|
4807
4836
|
*/
|
|
@@ -4948,13 +4977,13 @@ interface NotificationEventMap {
|
|
|
4948
4977
|
*/
|
|
4949
4978
|
interface Notification extends EventTarget {
|
|
4950
4979
|
/**
|
|
4951
|
-
* The **`body`** read-only property of the specified in the `body` option of the
|
|
4980
|
+
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the `body` option of the Notification.Notification constructor.
|
|
4952
4981
|
*
|
|
4953
4982
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/body)
|
|
4954
4983
|
*/
|
|
4955
4984
|
readonly body: string;
|
|
4956
4985
|
/**
|
|
4957
|
-
* The **`data`** read-only property of the
|
|
4986
|
+
* The **`data`** read-only property of the Notification interface returns a structured clone of the notification's data, as specified in the `data` option of the Notification.Notification constructor.
|
|
4958
4987
|
*
|
|
4959
4988
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/data)
|
|
4960
4989
|
*/
|
|
@@ -4966,13 +4995,13 @@ interface Notification extends EventTarget {
|
|
|
4966
4995
|
*/
|
|
4967
4996
|
readonly dir: NotificationDirection;
|
|
4968
4997
|
/**
|
|
4969
|
-
* The **`icon`** read-only property of the part of the notification, as specified in the `icon` option of the
|
|
4998
|
+
* The **`icon`** read-only property of the Notification interface contains the URL of an icon to be displayed as part of the notification, as specified in the `icon` option of the Notification.Notification constructor.
|
|
4970
4999
|
*
|
|
4971
5000
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/icon)
|
|
4972
5001
|
*/
|
|
4973
5002
|
readonly icon: string;
|
|
4974
5003
|
/**
|
|
4975
|
-
* The **`lang`** read-only property of the
|
|
5004
|
+
* The **`lang`** read-only property of the Notification interface indicates the language used in the notification, as specified in the `lang` option of the Notification.Notification constructor.
|
|
4976
5005
|
*
|
|
4977
5006
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/lang)
|
|
4978
5007
|
*/
|
|
@@ -4992,19 +5021,19 @@ interface Notification extends EventTarget {
|
|
|
4992
5021
|
*/
|
|
4993
5022
|
readonly requireInteraction: boolean;
|
|
4994
5023
|
/**
|
|
4995
|
-
* The **`silent`** read-only property of the silent, i.e., no sounds or vibrations should be issued regardless of the device settings.
|
|
5024
|
+
* The **`silent`** read-only property of the Notification interface specifies whether the notification should be silent, i.e., no sounds or vibrations should be issued regardless of the device settings.
|
|
4996
5025
|
*
|
|
4997
5026
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/silent)
|
|
4998
5027
|
*/
|
|
4999
5028
|
readonly silent: boolean | null;
|
|
5000
5029
|
/**
|
|
5001
|
-
* The **`tag`** read-only property of the
|
|
5030
|
+
* The **`tag`** read-only property of the Notification interface signifies an identifying tag for the notification, as specified in the `tag` option of the Notification.Notification constructor.
|
|
5002
5031
|
*
|
|
5003
5032
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/tag)
|
|
5004
5033
|
*/
|
|
5005
5034
|
readonly tag: string;
|
|
5006
5035
|
/**
|
|
5007
|
-
* The **`title`** read-only property of the specified in the `title` parameter of the
|
|
5036
|
+
* The **`title`** read-only property of the Notification interface indicates the title of the notification, as specified in the `title` parameter of the Notification.Notification constructor.
|
|
5008
5037
|
*
|
|
5009
5038
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/title)
|
|
5010
5039
|
*/
|
|
@@ -5153,13 +5182,13 @@ interface OES_vertex_array_object {
|
|
|
5153
5182
|
*/
|
|
5154
5183
|
bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
|
|
5155
5184
|
/**
|
|
5156
|
-
* The **`OES_vertex_array_object.createVertexArrayOES()`** method of the WebGL API creates and initializes a pointing to vertex array data and which provides names for different sets of vertex data.
|
|
5185
|
+
* The **`OES_vertex_array_object.createVertexArrayOES()`** method of the WebGL API creates and initializes a WebGLVertexArrayObject object that represents a vertex array object (VAO) pointing to vertex array data and which provides names for different sets of vertex data.
|
|
5157
5186
|
*
|
|
5158
5187
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/createVertexArrayOES)
|
|
5159
5188
|
*/
|
|
5160
5189
|
createVertexArrayOES(): WebGLVertexArrayObjectOES;
|
|
5161
5190
|
/**
|
|
5162
|
-
* The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given
|
|
5191
|
+
* The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given WebGLVertexArrayObject object.
|
|
5163
5192
|
*
|
|
5164
5193
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES)
|
|
5165
5194
|
*/
|
|
@@ -5644,7 +5673,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
5644
5673
|
*/
|
|
5645
5674
|
readonly transferSize: number;
|
|
5646
5675
|
/**
|
|
5647
|
-
* The **`workerStart`** read-only property of the PerformanceResourceTiming interface returns a
|
|
5676
|
+
* The **`workerStart`** read-only property of the PerformanceResourceTiming interface returns a DOMHighResTimeStamp immediately before dispatching the FetchEvent if a Service Worker thread is already running, or immediately before starting the Service Worker thread if it is not already running.
|
|
5648
5677
|
*
|
|
5649
5678
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/workerStart)
|
|
5650
5679
|
*/
|
|
@@ -5718,7 +5747,7 @@ interface PermissionStatus extends EventTarget {
|
|
|
5718
5747
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/change_event) */
|
|
5719
5748
|
onchange: ((this: PermissionStatus, ev: Event) => any) | null;
|
|
5720
5749
|
/**
|
|
5721
|
-
* The **`state`** read-only property of the
|
|
5750
|
+
* The **`state`** read-only property of the PermissionStatus interface returns the state of a requested permission.
|
|
5722
5751
|
*
|
|
5723
5752
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/state)
|
|
5724
5753
|
*/
|
|
@@ -5735,7 +5764,7 @@ declare var PermissionStatus: {
|
|
|
5735
5764
|
};
|
|
5736
5765
|
|
|
5737
5766
|
/**
|
|
5738
|
-
* The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions
|
|
5767
|
+
* The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions
|
|
5739
5768
|
*
|
|
5740
5769
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions)
|
|
5741
5770
|
*/
|
|
@@ -5760,7 +5789,7 @@ declare var Permissions: {
|
|
|
5760
5789
|
*/
|
|
5761
5790
|
interface ProgressEvent<T extends EventTarget = EventTarget> extends Event {
|
|
5762
5791
|
/**
|
|
5763
|
-
* The **`ProgressEvent.lengthComputable`** read-only property is a boolean flag indicating if the resource concerned by the
|
|
5792
|
+
* The **`ProgressEvent.lengthComputable`** read-only property is a boolean flag indicating if the resource concerned by the ProgressEvent has a length that can be calculated.
|
|
5764
5793
|
*
|
|
5765
5794
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/lengthComputable)
|
|
5766
5795
|
*/
|
|
@@ -5792,7 +5821,7 @@ declare var ProgressEvent: {
|
|
|
5792
5821
|
*/
|
|
5793
5822
|
interface PromiseRejectionEvent extends Event {
|
|
5794
5823
|
/**
|
|
5795
|
-
* The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript rejected.
|
|
5824
|
+
* The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript Promise which was rejected.
|
|
5796
5825
|
*
|
|
5797
5826
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise)
|
|
5798
5827
|
*/
|
|
@@ -5824,7 +5853,7 @@ interface PushManager {
|
|
|
5824
5853
|
*/
|
|
5825
5854
|
getSubscription(): Promise<PushSubscription | null>;
|
|
5826
5855
|
/**
|
|
5827
|
-
* The **`permissionState()`** method of the string indicating the permission state of the push manager.
|
|
5856
|
+
* The **`permissionState()`** method of the PushManager interface returns a Promise that resolves to a string indicating the permission state of the push manager.
|
|
5828
5857
|
*
|
|
5829
5858
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/permissionState)
|
|
5830
5859
|
*/
|
|
@@ -5856,13 +5885,13 @@ declare var PushManager: {
|
|
|
5856
5885
|
*/
|
|
5857
5886
|
interface PushSubscription {
|
|
5858
5887
|
/**
|
|
5859
|
-
* The **`endpoint`** read-only property of the the endpoint associated with the push subscription.
|
|
5888
|
+
* The **`endpoint`** read-only property of the PushSubscription interface returns a string containing the endpoint associated with the push subscription.
|
|
5860
5889
|
*
|
|
5861
5890
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/endpoint)
|
|
5862
5891
|
*/
|
|
5863
5892
|
readonly endpoint: string;
|
|
5864
5893
|
/**
|
|
5865
|
-
* The **`expirationTime`** read-only property of the of the subscription expiration time associated with the push subscription, if there is one, or `null` otherwise.
|
|
5894
|
+
* The **`expirationTime`** read-only property of the PushSubscription interface returns a DOMHighResTimeStamp of the subscription expiration time associated with the push subscription, if there is one, or `null` otherwise.
|
|
5866
5895
|
*
|
|
5867
5896
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/expirationTime)
|
|
5868
5897
|
*/
|
|
@@ -6006,7 +6035,7 @@ interface ReadableStream<R = any> {
|
|
|
6006
6035
|
*/
|
|
6007
6036
|
pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
|
|
6008
6037
|
/**
|
|
6009
|
-
* The **`tee()`** method of the two-element array containing the two resulting branches as new ReadableStream instances.
|
|
6038
|
+
* The **`tee()`** method of the ReadableStream interface tees the current readable stream, returning a two-element array containing the two resulting branches as new ReadableStream instances.
|
|
6010
6039
|
*
|
|
6011
6040
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/tee)
|
|
6012
6041
|
*/
|
|
@@ -6083,7 +6112,7 @@ declare var ReadableStreamBYOBRequest: {
|
|
|
6083
6112
|
*/
|
|
6084
6113
|
interface ReadableStreamDefaultController<R = any> {
|
|
6085
6114
|
/**
|
|
6086
|
-
* The **`desiredSize`** read-only property of the required to fill the stream's internal queue.
|
|
6115
|
+
* The **`desiredSize`** read-only property of the ReadableStreamDefaultController interface returns the desired size required to fill the stream's internal queue.
|
|
6087
6116
|
*
|
|
6088
6117
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize)
|
|
6089
6118
|
*/
|
|
@@ -6095,13 +6124,13 @@ interface ReadableStreamDefaultController<R = any> {
|
|
|
6095
6124
|
*/
|
|
6096
6125
|
close(): void;
|
|
6097
6126
|
/**
|
|
6098
|
-
* The **`enqueue()`** method of the
|
|
6127
|
+
* The **`enqueue()`** method of the ReadableStreamDefaultController interface enqueues a given chunk in the associated stream.
|
|
6099
6128
|
*
|
|
6100
6129
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
|
|
6101
6130
|
*/
|
|
6102
6131
|
enqueue(chunk?: R): void;
|
|
6103
6132
|
/**
|
|
6104
|
-
* The **`error()`** method of the with the associated stream to error.
|
|
6133
|
+
* The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
6105
6134
|
*
|
|
6106
6135
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error)
|
|
6107
6136
|
*/
|
|
@@ -6152,19 +6181,19 @@ interface ReadableStreamGenericReader {
|
|
|
6152
6181
|
*/
|
|
6153
6182
|
interface ReportingObserver {
|
|
6154
6183
|
/**
|
|
6155
|
-
* The **`disconnect()`** method of the previously started observing from collecting reports.
|
|
6184
|
+
* The **`disconnect()`** method of the ReportingObserver interface stops a reporting observer that had previously started observing from collecting reports.
|
|
6156
6185
|
*
|
|
6157
6186
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/disconnect)
|
|
6158
6187
|
*/
|
|
6159
6188
|
disconnect(): void;
|
|
6160
6189
|
/**
|
|
6161
|
-
* The **`observe()`** method of the collecting reports in its report queue.
|
|
6190
|
+
* The **`observe()`** method of the ReportingObserver interface instructs a reporting observer to start collecting reports in its report queue.
|
|
6162
6191
|
*
|
|
6163
6192
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/observe)
|
|
6164
6193
|
*/
|
|
6165
6194
|
observe(): void;
|
|
6166
6195
|
/**
|
|
6167
|
-
* The **`takeRecords()`** method of the in the observer's report queue, and empties the queue.
|
|
6196
|
+
* The **`takeRecords()`** method of the ReportingObserver interface returns the current list of reports contained in the observer's report queue, and empties the queue.
|
|
6168
6197
|
*
|
|
6169
6198
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/takeRecords)
|
|
6170
6199
|
*/
|
|
@@ -6201,7 +6230,7 @@ interface Request extends Body {
|
|
|
6201
6230
|
*/
|
|
6202
6231
|
readonly destination: RequestDestination;
|
|
6203
6232
|
/**
|
|
6204
|
-
* The **`headers`** read-only property of the with the request.
|
|
6233
|
+
* The **`headers`** read-only property of the Request interface contains the Headers object associated with the request.
|
|
6205
6234
|
*
|
|
6206
6235
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/headers)
|
|
6207
6236
|
*/
|
|
@@ -6219,7 +6248,7 @@ interface Request extends Body {
|
|
|
6219
6248
|
*/
|
|
6220
6249
|
readonly keepalive: boolean;
|
|
6221
6250
|
/**
|
|
6222
|
-
* The **`method`** read-only property of the
|
|
6251
|
+
* The **`method`** read-only property of the Request interface contains the request's method (`GET`, `POST`, etc.)
|
|
6223
6252
|
*
|
|
6224
6253
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/method)
|
|
6225
6254
|
*/
|
|
@@ -6237,13 +6266,13 @@ interface Request extends Body {
|
|
|
6237
6266
|
*/
|
|
6238
6267
|
readonly redirect: RequestRedirect;
|
|
6239
6268
|
/**
|
|
6240
|
-
* The **`referrer`** read-only property of the Request.
|
|
6269
|
+
* The **`referrer`** read-only property of the Request interface is set by the user agent to be the referrer of the Request.
|
|
6241
6270
|
*
|
|
6242
6271
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrer)
|
|
6243
6272
|
*/
|
|
6244
6273
|
readonly referrer: string;
|
|
6245
6274
|
/**
|
|
6246
|
-
* The **`referrerPolicy`** read-only property of the referrer information, sent in the Referer header, should be included with the request.
|
|
6275
|
+
* The **`referrerPolicy`** read-only property of the Request interface returns the referrer policy, which governs what referrer information, sent in the Referer header, should be included with the request.
|
|
6247
6276
|
*
|
|
6248
6277
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrerPolicy)
|
|
6249
6278
|
*/
|
|
@@ -6280,7 +6309,7 @@ declare var Request: {
|
|
|
6280
6309
|
*/
|
|
6281
6310
|
interface Response extends Body {
|
|
6282
6311
|
/**
|
|
6283
|
-
* The **`headers`** read-only property of the with the response.
|
|
6312
|
+
* The **`headers`** read-only property of the Response interface contains the Headers object associated with the response.
|
|
6284
6313
|
*
|
|
6285
6314
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/headers)
|
|
6286
6315
|
*/
|
|
@@ -6457,7 +6486,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker {
|
|
|
6457
6486
|
*/
|
|
6458
6487
|
readonly scriptURL: string;
|
|
6459
6488
|
/**
|
|
6460
|
-
* The **`state`** read-only property of the of the service worker.
|
|
6489
|
+
* The **`state`** read-only property of the ServiceWorker interface returns a string representing the current state of the service worker.
|
|
6461
6490
|
*
|
|
6462
6491
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/state)
|
|
6463
6492
|
*/
|
|
@@ -6512,13 +6541,13 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
|
6512
6541
|
*/
|
|
6513
6542
|
readonly ready: Promise<ServiceWorkerRegistration>;
|
|
6514
6543
|
/**
|
|
6515
|
-
* The **`getRegistration()`** method of the client URL.
|
|
6544
|
+
* The **`getRegistration()`** method of the ServiceWorkerContainer interface gets a ServiceWorkerRegistration object whose scope URL matches the provided client URL.
|
|
6516
6545
|
*
|
|
6517
6546
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistration)
|
|
6518
6547
|
*/
|
|
6519
6548
|
getRegistration(clientURL?: string | URL): Promise<ServiceWorkerRegistration | undefined>;
|
|
6520
6549
|
/**
|
|
6521
|
-
* The **`getRegistrations()`** method of the `ServiceWorkerContainer`, in an array.
|
|
6550
|
+
* The **`getRegistrations()`** method of the ServiceWorkerContainer interface gets all ServiceWorkerRegistrations associated with a `ServiceWorkerContainer`, in an array.
|
|
6522
6551
|
*
|
|
6523
6552
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistrations)
|
|
6524
6553
|
*/
|
|
@@ -6558,13 +6587,13 @@ interface ServiceWorkerRegistrationEventMap {
|
|
|
6558
6587
|
*/
|
|
6559
6588
|
interface ServiceWorkerRegistration extends EventTarget {
|
|
6560
6589
|
/**
|
|
6561
|
-
* The **`active`** read-only property of the
|
|
6590
|
+
* The **`active`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `activating` or `activated`.
|
|
6562
6591
|
*
|
|
6563
6592
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)
|
|
6564
6593
|
*/
|
|
6565
6594
|
readonly active: ServiceWorker | null;
|
|
6566
6595
|
/**
|
|
6567
|
-
* The **`installing`** read-only property of the
|
|
6596
|
+
* The **`installing`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `installing`.
|
|
6568
6597
|
*
|
|
6569
6598
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/installing)
|
|
6570
6599
|
*/
|
|
@@ -6578,7 +6607,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
6578
6607
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updatefound_event) */
|
|
6579
6608
|
onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;
|
|
6580
6609
|
/**
|
|
6581
|
-
* The **`pushManager`** read-only property of the support for subscribing, getting an active subscription, and accessing push permission status.
|
|
6610
|
+
* The **`pushManager`** read-only property of the ServiceWorkerRegistration interface returns a reference to the PushManager interface for managing push subscriptions; this includes support for subscribing, getting an active subscription, and accessing push permission status.
|
|
6582
6611
|
*
|
|
6583
6612
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/pushManager)
|
|
6584
6613
|
*/
|
|
@@ -6596,7 +6625,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
6596
6625
|
*/
|
|
6597
6626
|
readonly updateViaCache: ServiceWorkerUpdateViaCache;
|
|
6598
6627
|
/**
|
|
6599
|
-
* The **`waiting`** read-only property of the
|
|
6628
|
+
* The **`waiting`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `installed`.
|
|
6600
6629
|
*
|
|
6601
6630
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/waiting)
|
|
6602
6631
|
*/
|
|
@@ -6608,19 +6637,19 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
6608
6637
|
*/
|
|
6609
6638
|
getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;
|
|
6610
6639
|
/**
|
|
6611
|
-
* The **`showNotification()`** method of the service worker.
|
|
6640
|
+
* The **`showNotification()`** method of the ServiceWorkerRegistration interface creates a notification on an active service worker.
|
|
6612
6641
|
*
|
|
6613
6642
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/showNotification)
|
|
6614
6643
|
*/
|
|
6615
6644
|
showNotification(title: string, options?: NotificationOptions): Promise<void>;
|
|
6616
6645
|
/**
|
|
6617
|
-
* The **`unregister()`** method of the registration and returns a Promise.
|
|
6646
|
+
* The **`unregister()`** method of the ServiceWorkerRegistration interface unregisters the service worker registration and returns a Promise.
|
|
6618
6647
|
*
|
|
6619
6648
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister)
|
|
6620
6649
|
*/
|
|
6621
6650
|
unregister(): Promise<boolean>;
|
|
6622
6651
|
/**
|
|
6623
|
-
* The **`update()`** method of the worker.
|
|
6652
|
+
* The **`update()`** method of the ServiceWorkerRegistration interface attempts to update the service worker.
|
|
6624
6653
|
*
|
|
6625
6654
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update)
|
|
6626
6655
|
*/
|
|
@@ -6647,7 +6676,7 @@ interface SharedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
|
|
6647
6676
|
*/
|
|
6648
6677
|
interface SharedWorkerGlobalScope extends WorkerGlobalScope {
|
|
6649
6678
|
/**
|
|
6650
|
-
* The **`name`** read-only property of the
|
|
6679
|
+
* The **`name`** read-only property of the SharedWorkerGlobalScope interface returns the name that the SharedWorker was (optionally) given when it was created.
|
|
6651
6680
|
*
|
|
6652
6681
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorkerGlobalScope/name)
|
|
6653
6682
|
*/
|
|
@@ -6710,25 +6739,25 @@ declare var StorageManager: {
|
|
|
6710
6739
|
*/
|
|
6711
6740
|
interface StylePropertyMapReadOnly {
|
|
6712
6741
|
/**
|
|
6713
|
-
* The **`size`** read-only property of the containing the size of the `StylePropertyMapReadOnly` object.
|
|
6742
|
+
* The **`size`** read-only property of the StylePropertyMapReadOnly interface returns an unsigned long integer containing the size of the `StylePropertyMapReadOnly` object.
|
|
6714
6743
|
*
|
|
6715
6744
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/size)
|
|
6716
6745
|
*/
|
|
6717
6746
|
readonly size: number;
|
|
6718
6747
|
/**
|
|
6719
|
-
* The **`get()`** method of the object for the first value of the specified property.
|
|
6748
|
+
* The **`get()`** method of the StylePropertyMapReadOnly interface returns a CSSStyleValue object for the first value of the specified property.
|
|
6720
6749
|
*
|
|
6721
6750
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/get)
|
|
6722
6751
|
*/
|
|
6723
6752
|
get(property: string): undefined | CSSStyleValue;
|
|
6724
6753
|
/**
|
|
6725
|
-
* The **`getAll()`** method of the
|
|
6754
|
+
* The **`getAll()`** method of the StylePropertyMapReadOnly interface returns an array of CSSStyleValue objects containing the values for the provided property.
|
|
6726
6755
|
*
|
|
6727
6756
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/getAll)
|
|
6728
6757
|
*/
|
|
6729
6758
|
getAll(property: string): CSSStyleValue[];
|
|
6730
6759
|
/**
|
|
6731
|
-
* The **`has()`** method of the property is in the `StylePropertyMapReadOnly` object.
|
|
6760
|
+
* The **`has()`** method of the StylePropertyMapReadOnly interface indicates whether the specified property is in the `StylePropertyMapReadOnly` object.
|
|
6732
6761
|
*
|
|
6733
6762
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/has)
|
|
6734
6763
|
*/
|
|
@@ -6755,7 +6784,7 @@ interface SubtleCrypto {
|
|
|
6755
6784
|
*/
|
|
6756
6785
|
decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;
|
|
6757
6786
|
/**
|
|
6758
|
-
* The **`deriveBits()`** method of the key.
|
|
6787
|
+
* The **`deriveBits()`** method of the SubtleCrypto interface can be used to derive an array of bits from a base key.
|
|
6759
6788
|
*
|
|
6760
6789
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits)
|
|
6761
6790
|
*/
|
|
@@ -7152,7 +7181,7 @@ interface URL {
|
|
|
7152
7181
|
*/
|
|
7153
7182
|
search: string;
|
|
7154
7183
|
/**
|
|
7155
|
-
* The **`searchParams`** read-only property of the access to the
|
|
7184
|
+
* The **`searchParams`** read-only property of the URL interface returns a URLSearchParams object allowing access to the GET decoded query arguments contained in the URL.
|
|
7156
7185
|
*
|
|
7157
7186
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/searchParams)
|
|
7158
7187
|
*/
|
|
@@ -7164,7 +7193,7 @@ interface URL {
|
|
|
7164
7193
|
*/
|
|
7165
7194
|
username: string;
|
|
7166
7195
|
/**
|
|
7167
|
-
* The **`toJSON()`** method of the URL interface returns a string containing a serialized version of the URL, although in practice it seems to have the same effect as
|
|
7196
|
+
* The **`toJSON()`** method of the URL interface returns a string containing a serialized version of the URL, although in practice it seems to have the same effect as URL.toString().
|
|
7168
7197
|
*
|
|
7169
7198
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)
|
|
7170
7199
|
*/
|
|
@@ -7193,7 +7222,7 @@ declare var URL: {
|
|
|
7193
7222
|
*/
|
|
7194
7223
|
parse(url: string | URL, base?: string | URL): URL | null;
|
|
7195
7224
|
/**
|
|
7196
|
-
* The **`revokeObjectURL()`** static method of the URL interface releases an existing object URL which was previously created by calling
|
|
7225
|
+
* The **`revokeObjectURL()`** static method of the URL interface releases an existing object URL which was previously created by calling URL.createObjectURL_static.
|
|
7197
7226
|
*
|
|
7198
7227
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static)
|
|
7199
7228
|
*/
|
|
@@ -9895,7 +9924,7 @@ interface WebSocket extends EventTarget {
|
|
|
9895
9924
|
*/
|
|
9896
9925
|
readonly url: string;
|
|
9897
9926
|
/**
|
|
9898
|
-
* The **`WebSocket.close()`** method closes the
|
|
9927
|
+
* The **`WebSocket.close()`** method closes the WebSocket connection or connection attempt, if any.
|
|
9899
9928
|
*
|
|
9900
9929
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close)
|
|
9901
9930
|
*/
|
|
@@ -10380,7 +10409,7 @@ interface WritableStreamDefaultController {
|
|
|
10380
10409
|
*/
|
|
10381
10410
|
readonly signal: AbortSignal;
|
|
10382
10411
|
/**
|
|
10383
|
-
* The **`error()`** method of the with the associated stream to error.
|
|
10412
|
+
* The **`error()`** method of the WritableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
10384
10413
|
*
|
|
10385
10414
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error)
|
|
10386
10415
|
*/
|
|
@@ -10399,43 +10428,43 @@ declare var WritableStreamDefaultController: {
|
|
|
10399
10428
|
*/
|
|
10400
10429
|
interface WritableStreamDefaultWriter<W = any> {
|
|
10401
10430
|
/**
|
|
10402
|
-
* The **`closed`** read-only property of the the stream errors or the writer's lock is released.
|
|
10431
|
+
* The **`closed`** read-only property of the WritableStreamDefaultWriter interface returns a Promise that fulfills if the stream becomes closed, or rejects if the stream errors or the writer's lock is released.
|
|
10403
10432
|
*
|
|
10404
10433
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed)
|
|
10405
10434
|
*/
|
|
10406
10435
|
readonly closed: Promise<void>;
|
|
10407
10436
|
/**
|
|
10408
|
-
* The **`desiredSize`** read-only property of the to fill the stream's internal queue.
|
|
10437
|
+
* The **`desiredSize`** read-only property of the WritableStreamDefaultWriter interface returns the desired size required to fill the stream's internal queue.
|
|
10409
10438
|
*
|
|
10410
10439
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/desiredSize)
|
|
10411
10440
|
*/
|
|
10412
10441
|
readonly desiredSize: number | null;
|
|
10413
10442
|
/**
|
|
10414
|
-
* The **`ready`** read-only property of the that resolves when the desired size of the stream's internal queue transitions from non-positive to positive, signaling that it is no longer applying backpressure.
|
|
10443
|
+
* The **`ready`** read-only property of the WritableStreamDefaultWriter interface returns a Promise that resolves when the desired size of the stream's internal queue transitions from non-positive to positive, signaling that it is no longer applying backpressure.
|
|
10415
10444
|
*
|
|
10416
10445
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/ready)
|
|
10417
10446
|
*/
|
|
10418
10447
|
readonly ready: Promise<void>;
|
|
10419
10448
|
/**
|
|
10420
|
-
* The **`abort()`** method of the the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.
|
|
10449
|
+
* The **`abort()`** method of the WritableStreamDefaultWriter interface aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.
|
|
10421
10450
|
*
|
|
10422
10451
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort)
|
|
10423
10452
|
*/
|
|
10424
10453
|
abort(reason?: any): Promise<void>;
|
|
10425
10454
|
/**
|
|
10426
|
-
* The **`close()`** method of the stream.
|
|
10455
|
+
* The **`close()`** method of the WritableStreamDefaultWriter interface closes the associated writable stream.
|
|
10427
10456
|
*
|
|
10428
10457
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close)
|
|
10429
10458
|
*/
|
|
10430
10459
|
close(): Promise<void>;
|
|
10431
10460
|
/**
|
|
10432
|
-
* The **`releaseLock()`** method of the corresponding stream.
|
|
10461
|
+
* The **`releaseLock()`** method of the WritableStreamDefaultWriter interface releases the writer's lock on the corresponding stream.
|
|
10433
10462
|
*
|
|
10434
10463
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/releaseLock)
|
|
10435
10464
|
*/
|
|
10436
10465
|
releaseLock(): void;
|
|
10437
10466
|
/**
|
|
10438
|
-
* The **`write()`** method of the operation.
|
|
10467
|
+
* The **`write()`** method of the WritableStreamDefaultWriter interface writes a passed chunk of data to a WritableStream and its underlying sink, then returns a Promise that resolves to indicate the success or failure of the write operation.
|
|
10439
10468
|
*
|
|
10440
10469
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
|
|
10441
10470
|
*/
|
|
@@ -11044,7 +11073,7 @@ interface VoidFunction {
|
|
|
11044
11073
|
}
|
|
11045
11074
|
|
|
11046
11075
|
/**
|
|
11047
|
-
* The **`name`** read-only property of the
|
|
11076
|
+
* The **`name`** read-only property of the SharedWorkerGlobalScope interface returns the name that the SharedWorker was (optionally) given when it was created.
|
|
11048
11077
|
*
|
|
11049
11078
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorkerGlobalScope/name)
|
|
11050
11079
|
*/
|
|
@@ -11225,6 +11254,7 @@ type FileSystemHandleKind = "directory" | "file";
|
|
|
11225
11254
|
type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
11226
11255
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
11227
11256
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
11257
|
+
type GPUPipelineErrorReason = "internal" | "validation";
|
|
11228
11258
|
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
|
|
11229
11259
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|
|
11230
11260
|
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|