@types/serviceworker 0.0.144 → 0.0.146
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 +229 -199
- package/iterable.d.ts +1 -1
- package/package.json +1 -1
- package/ts5.5/index.d.ts +229 -199
- package/ts5.5/iterable.d.ts +1 -1
- package/ts5.6/index.d.ts +229 -199
- package/ts5.6/iterable.d.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -271,6 +271,10 @@ interface FontFaceSetLoadEventInit extends EventInit {
|
|
|
271
271
|
fontfaces?: FontFace[];
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
+
interface GPUPipelineErrorInit {
|
|
275
|
+
reason: GPUPipelineErrorReason;
|
|
276
|
+
}
|
|
277
|
+
|
|
274
278
|
interface GetNotificationOptions {
|
|
275
279
|
tag?: string;
|
|
276
280
|
}
|
|
@@ -1016,7 +1020,7 @@ interface Blob {
|
|
|
1016
1020
|
*/
|
|
1017
1021
|
stream(): ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
1018
1022
|
/**
|
|
1019
|
-
* The **`text()`** method of the string containing the contents of the blob, interpreted as UTF-8.
|
|
1023
|
+
* 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.
|
|
1020
1024
|
*
|
|
1021
1025
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text)
|
|
1022
1026
|
*/
|
|
@@ -1132,7 +1136,7 @@ declare var CSSImageValue: {
|
|
|
1132
1136
|
*/
|
|
1133
1137
|
interface CSSKeywordValue extends CSSStyleValue {
|
|
1134
1138
|
/**
|
|
1135
|
-
* The **`value`** property of the `CSSKeywordValue`.
|
|
1139
|
+
* The **`value`** property of the CSSKeywordValue interface returns or sets the value of the `CSSKeywordValue`.
|
|
1136
1140
|
*
|
|
1137
1141
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue/value)
|
|
1138
1142
|
*/
|
|
@@ -1162,7 +1166,7 @@ declare var CSSMathClamp: {
|
|
|
1162
1166
|
*/
|
|
1163
1167
|
interface CSSMathInvert extends CSSMathValue {
|
|
1164
1168
|
/**
|
|
1165
|
-
* The CSSMathInvert.value read-only property of the
|
|
1169
|
+
* The CSSMathInvert.value read-only property of the CSSMathInvert interface returns a CSSNumericValue object.
|
|
1166
1170
|
*
|
|
1167
1171
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert/value)
|
|
1168
1172
|
*/
|
|
@@ -1181,7 +1185,7 @@ declare var CSSMathInvert: {
|
|
|
1181
1185
|
*/
|
|
1182
1186
|
interface CSSMathMax extends CSSMathValue {
|
|
1183
1187
|
/**
|
|
1184
|
-
* The CSSMathMax.values read-only property of the which contains one or more CSSNumericValue objects.
|
|
1188
|
+
* The CSSMathMax.values read-only property of the CSSMathMax interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
1185
1189
|
*
|
|
1186
1190
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax/values)
|
|
1187
1191
|
*/
|
|
@@ -1200,7 +1204,7 @@ declare var CSSMathMax: {
|
|
|
1200
1204
|
*/
|
|
1201
1205
|
interface CSSMathMin extends CSSMathValue {
|
|
1202
1206
|
/**
|
|
1203
|
-
* The CSSMathMin.values read-only property of the which contains one or more CSSNumericValue objects.
|
|
1207
|
+
* The CSSMathMin.values read-only property of the CSSMathMin interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
1204
1208
|
*
|
|
1205
1209
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin/values)
|
|
1206
1210
|
*/
|
|
@@ -1219,7 +1223,7 @@ declare var CSSMathMin: {
|
|
|
1219
1223
|
*/
|
|
1220
1224
|
interface CSSMathNegate extends CSSMathValue {
|
|
1221
1225
|
/**
|
|
1222
|
-
* The CSSMathNegate.value read-only property of the
|
|
1226
|
+
* The CSSMathNegate.value read-only property of the CSSMathNegate interface returns a CSSNumericValue object.
|
|
1223
1227
|
*
|
|
1224
1228
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate/value)
|
|
1225
1229
|
*/
|
|
@@ -1238,7 +1242,7 @@ declare var CSSMathNegate: {
|
|
|
1238
1242
|
*/
|
|
1239
1243
|
interface CSSMathProduct extends CSSMathValue {
|
|
1240
1244
|
/**
|
|
1241
|
-
* The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a
|
|
1245
|
+
* The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
1242
1246
|
*
|
|
1243
1247
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct/values)
|
|
1244
1248
|
*/
|
|
@@ -1295,7 +1299,7 @@ declare var CSSMathValue: {
|
|
|
1295
1299
|
*/
|
|
1296
1300
|
interface CSSMatrixComponent extends CSSTransformComponent {
|
|
1297
1301
|
/**
|
|
1298
|
-
* The **`matrix`** property of the
|
|
1302
|
+
* The **`matrix`** property of the CSSMatrixComponent interface gets and sets a 2d or 3d matrix.
|
|
1299
1303
|
*
|
|
1300
1304
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent/matrix)
|
|
1301
1305
|
*/
|
|
@@ -1314,7 +1318,7 @@ declare var CSSMatrixComponent: {
|
|
|
1314
1318
|
*/
|
|
1315
1319
|
interface CSSNumericArray {
|
|
1316
1320
|
/**
|
|
1317
|
-
* The read-only **`length`** property of the
|
|
1321
|
+
* The read-only **`length`** property of the CSSNumericArray interface returns the number of CSSNumericValue objects in the list.
|
|
1318
1322
|
*
|
|
1319
1323
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray/length)
|
|
1320
1324
|
*/
|
|
@@ -1335,61 +1339,61 @@ declare var CSSNumericArray: {
|
|
|
1335
1339
|
*/
|
|
1336
1340
|
interface CSSNumericValue extends CSSStyleValue {
|
|
1337
1341
|
/**
|
|
1338
|
-
* The **`add()`** method of the `CSSNumericValue`.
|
|
1342
|
+
* The **`add()`** method of the CSSNumericValue interface adds a supplied number to the `CSSNumericValue`.
|
|
1339
1343
|
*
|
|
1340
1344
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add)
|
|
1341
1345
|
*/
|
|
1342
1346
|
add(...values: CSSNumberish[]): CSSNumericValue;
|
|
1343
1347
|
/**
|
|
1344
|
-
* The **`div()`** method of the supplied value.
|
|
1348
|
+
* The **`div()`** method of the CSSNumericValue interface divides the `CSSNumericValue` by the supplied value.
|
|
1345
1349
|
*
|
|
1346
1350
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/div)
|
|
1347
1351
|
*/
|
|
1348
1352
|
div(...values: CSSNumberish[]): CSSNumericValue;
|
|
1349
1353
|
/**
|
|
1350
|
-
* The **`equals()`** method of the value are strictly equal.
|
|
1354
|
+
* The **`equals()`** method of the CSSNumericValue interface returns a boolean indicating whether the passed value are strictly equal.
|
|
1351
1355
|
*
|
|
1352
1356
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/equals)
|
|
1353
1357
|
*/
|
|
1354
1358
|
equals(...value: CSSNumberish[]): boolean;
|
|
1355
1359
|
/**
|
|
1356
|
-
* The **`max()`** method of the passed.
|
|
1360
|
+
* The **`max()`** method of the CSSNumericValue interface returns the highest value from among the values passed.
|
|
1357
1361
|
*
|
|
1358
1362
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/max)
|
|
1359
1363
|
*/
|
|
1360
1364
|
max(...values: CSSNumberish[]): CSSNumericValue;
|
|
1361
1365
|
/**
|
|
1362
|
-
* The **`min()`** method of the values passed.
|
|
1366
|
+
* The **`min()`** method of the CSSNumericValue interface returns the lowest value from among those values passed.
|
|
1363
1367
|
*
|
|
1364
1368
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/min)
|
|
1365
1369
|
*/
|
|
1366
1370
|
min(...values: CSSNumberish[]): CSSNumericValue;
|
|
1367
1371
|
/**
|
|
1368
|
-
* The **`mul()`** method of the the supplied value.
|
|
1372
|
+
* The **`mul()`** method of the CSSNumericValue interface multiplies the `CSSNumericValue` by the supplied value.
|
|
1369
1373
|
*
|
|
1370
1374
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/mul)
|
|
1371
1375
|
*/
|
|
1372
1376
|
mul(...values: CSSNumberish[]): CSSNumericValue;
|
|
1373
1377
|
/**
|
|
1374
|
-
* The **`sub()`** method of the `CSSNumericValue`.
|
|
1378
|
+
* The **`sub()`** method of the CSSNumericValue interface subtracts a supplied number from the `CSSNumericValue`.
|
|
1375
1379
|
*
|
|
1376
1380
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/sub)
|
|
1377
1381
|
*/
|
|
1378
1382
|
sub(...values: CSSNumberish[]): CSSNumericValue;
|
|
1379
1383
|
/**
|
|
1380
|
-
* The **`to()`** method of the another.
|
|
1384
|
+
* The **`to()`** method of the CSSNumericValue interface converts a numeric value from one unit to another.
|
|
1381
1385
|
*
|
|
1382
1386
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/to)
|
|
1383
1387
|
*/
|
|
1384
1388
|
to(unit: string): CSSUnitValue;
|
|
1385
1389
|
/**
|
|
1386
|
-
* The **`toSum()`** method of the
|
|
1390
|
+
* The **`toSum()`** method of the CSSNumericValue interface converts the object's value to a CSSMathSum object to values of the specified unit.
|
|
1387
1391
|
*
|
|
1388
1392
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/toSum)
|
|
1389
1393
|
*/
|
|
1390
1394
|
toSum(...units: string[]): CSSMathSum;
|
|
1391
1395
|
/**
|
|
1392
|
-
* The **`type()`** method of the `CSSNumericValue`, one of `angle`, `flex`, `frequency`, `length`, `resolution`, `percent`, `percentHint`, or `time`.
|
|
1396
|
+
* The **`type()`** method of the CSSNumericValue interface returns the type of `CSSNumericValue`, one of `angle`, `flex`, `frequency`, `length`, `resolution`, `percent`, `percentHint`, or `time`.
|
|
1393
1397
|
*
|
|
1394
1398
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/type)
|
|
1395
1399
|
*/
|
|
@@ -1408,7 +1412,7 @@ declare var CSSNumericValue: {
|
|
|
1408
1412
|
*/
|
|
1409
1413
|
interface CSSPerspective extends CSSTransformComponent {
|
|
1410
1414
|
/**
|
|
1411
|
-
* The **`length`** property of the
|
|
1415
|
+
* The **`length`** property of the CSSPerspective interface sets the distance from z=0.
|
|
1412
1416
|
*
|
|
1413
1417
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective/length)
|
|
1414
1418
|
*/
|
|
@@ -1427,25 +1431,25 @@ declare var CSSPerspective: {
|
|
|
1427
1431
|
*/
|
|
1428
1432
|
interface CSSRotate extends CSSTransformComponent {
|
|
1429
1433
|
/**
|
|
1430
|
-
* The **`angle`** property of the
|
|
1434
|
+
* The **`angle`** property of the CSSRotate interface gets and sets the angle of rotation.
|
|
1431
1435
|
*
|
|
1432
1436
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/angle)
|
|
1433
1437
|
*/
|
|
1434
1438
|
angle: CSSNumericValue;
|
|
1435
1439
|
/**
|
|
1436
|
-
* The **`x`** property of the translating vector.
|
|
1440
|
+
* The **`x`** property of the CSSRotate interface gets and sets the abscissa or x-axis of the translating vector.
|
|
1437
1441
|
*
|
|
1438
1442
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/x)
|
|
1439
1443
|
*/
|
|
1440
1444
|
x: CSSNumberish;
|
|
1441
1445
|
/**
|
|
1442
|
-
* The **`y`** property of the translating vector.
|
|
1446
|
+
* The **`y`** property of the CSSRotate interface gets and sets the ordinate or y-axis of the translating vector.
|
|
1443
1447
|
*
|
|
1444
1448
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/y)
|
|
1445
1449
|
*/
|
|
1446
1450
|
y: CSSNumberish;
|
|
1447
1451
|
/**
|
|
1448
|
-
* The **`z`** property of the vector.
|
|
1452
|
+
* The **`z`** property of the CSSRotate interface representing the z-component of the translating vector.
|
|
1449
1453
|
*
|
|
1450
1454
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/z)
|
|
1451
1455
|
*/
|
|
@@ -1465,19 +1469,19 @@ declare var CSSRotate: {
|
|
|
1465
1469
|
*/
|
|
1466
1470
|
interface CSSScale extends CSSTransformComponent {
|
|
1467
1471
|
/**
|
|
1468
|
-
* The **`x`** property of the translating vector.
|
|
1472
|
+
* The **`x`** property of the CSSScale interface gets and sets the abscissa or x-axis of the translating vector.
|
|
1469
1473
|
*
|
|
1470
1474
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/x)
|
|
1471
1475
|
*/
|
|
1472
1476
|
x: CSSNumberish;
|
|
1473
1477
|
/**
|
|
1474
|
-
* The **`y`** property of the translating vector.
|
|
1478
|
+
* The **`y`** property of the CSSScale interface gets and sets the ordinate or y-axis of the translating vector.
|
|
1475
1479
|
*
|
|
1476
1480
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/y)
|
|
1477
1481
|
*/
|
|
1478
1482
|
y: CSSNumberish;
|
|
1479
1483
|
/**
|
|
1480
|
-
* The **`z`** property of the vector.
|
|
1484
|
+
* The **`z`** property of the CSSScale interface representing the z-component of the translating vector.
|
|
1481
1485
|
*
|
|
1482
1486
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/z)
|
|
1483
1487
|
*/
|
|
@@ -1496,13 +1500,13 @@ declare var CSSScale: {
|
|
|
1496
1500
|
*/
|
|
1497
1501
|
interface CSSSkew extends CSSTransformComponent {
|
|
1498
1502
|
/**
|
|
1499
|
-
* The **`ax`** property of the along the x-axis (or abscissa).
|
|
1503
|
+
* The **`ax`** property of the CSSSkew interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
|
|
1500
1504
|
*
|
|
1501
1505
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax)
|
|
1502
1506
|
*/
|
|
1503
1507
|
ax: CSSNumericValue;
|
|
1504
1508
|
/**
|
|
1505
|
-
* The **`ay`** property of the along the y-axis (or ordinate).
|
|
1509
|
+
* The **`ay`** property of the CSSSkew interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
|
|
1506
1510
|
*
|
|
1507
1511
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ay)
|
|
1508
1512
|
*/
|
|
@@ -1521,7 +1525,7 @@ declare var CSSSkew: {
|
|
|
1521
1525
|
*/
|
|
1522
1526
|
interface CSSSkewX extends CSSTransformComponent {
|
|
1523
1527
|
/**
|
|
1524
|
-
* The **`ax`** property of the along the x-axis (or abscissa).
|
|
1528
|
+
* The **`ax`** property of the CSSSkewX interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
|
|
1525
1529
|
*
|
|
1526
1530
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX/ax)
|
|
1527
1531
|
*/
|
|
@@ -1540,7 +1544,7 @@ declare var CSSSkewX: {
|
|
|
1540
1544
|
*/
|
|
1541
1545
|
interface CSSSkewY extends CSSTransformComponent {
|
|
1542
1546
|
/**
|
|
1543
|
-
* The **`ay`** property of the along the y-axis (or ordinate).
|
|
1547
|
+
* The **`ay`** property of the CSSSkewY interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
|
|
1544
1548
|
*
|
|
1545
1549
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY/ay)
|
|
1546
1550
|
*/
|
|
@@ -1579,7 +1583,7 @@ interface CSSTransformComponent {
|
|
|
1579
1583
|
*/
|
|
1580
1584
|
is2D: boolean;
|
|
1581
1585
|
/**
|
|
1582
|
-
* The **`toMatrix()`** method of the object.
|
|
1586
|
+
* The **`toMatrix()`** method of the CSSTransformComponent interface returns a DOMMatrix object.
|
|
1583
1587
|
*
|
|
1584
1588
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent/toMatrix)
|
|
1585
1589
|
*/
|
|
@@ -1599,19 +1603,19 @@ declare var CSSTransformComponent: {
|
|
|
1599
1603
|
*/
|
|
1600
1604
|
interface CSSTransformValue extends CSSStyleValue {
|
|
1601
1605
|
/**
|
|
1602
|
-
* The read-only **`is2D`** property of the
|
|
1606
|
+
* The read-only **`is2D`** property of the CSSTransformValue interface returns whether the transform is 2D or 3D.
|
|
1603
1607
|
*
|
|
1604
1608
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/is2D)
|
|
1605
1609
|
*/
|
|
1606
1610
|
readonly is2D: boolean;
|
|
1607
1611
|
/**
|
|
1608
|
-
* The read-only **`length`** property of the the list.
|
|
1612
|
+
* The read-only **`length`** property of the CSSTransformValue interface returns the number of transform components in the list.
|
|
1609
1613
|
*
|
|
1610
1614
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/length)
|
|
1611
1615
|
*/
|
|
1612
1616
|
readonly length: number;
|
|
1613
1617
|
/**
|
|
1614
|
-
* The **`toMatrix()`** method of the
|
|
1618
|
+
* The **`toMatrix()`** method of the CSSTransformValue interface returns a DOMMatrix object.
|
|
1615
1619
|
*
|
|
1616
1620
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/toMatrix)
|
|
1617
1621
|
*/
|
|
@@ -1632,19 +1636,19 @@ declare var CSSTransformValue: {
|
|
|
1632
1636
|
*/
|
|
1633
1637
|
interface CSSTranslate extends CSSTransformComponent {
|
|
1634
1638
|
/**
|
|
1635
|
-
* The **`x`** property of the translating vector.
|
|
1639
|
+
* The **`x`** property of the CSSTranslate interface gets and sets the abscissa or x-axis of the translating vector.
|
|
1636
1640
|
*
|
|
1637
1641
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/x)
|
|
1638
1642
|
*/
|
|
1639
1643
|
x: CSSNumericValue;
|
|
1640
1644
|
/**
|
|
1641
|
-
* The **`y`** property of the translating vector.
|
|
1645
|
+
* The **`y`** property of the CSSTranslate interface gets and sets the ordinate or y-axis of the translating vector.
|
|
1642
1646
|
*
|
|
1643
1647
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/y)
|
|
1644
1648
|
*/
|
|
1645
1649
|
y: CSSNumericValue;
|
|
1646
1650
|
/**
|
|
1647
|
-
* The **`z`** property of the vector.
|
|
1651
|
+
* The **`z`** property of the CSSTranslate interface representing the z-component of the translating vector.
|
|
1648
1652
|
*
|
|
1649
1653
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/z)
|
|
1650
1654
|
*/
|
|
@@ -1669,7 +1673,7 @@ interface CSSUnitValue extends CSSNumericValue {
|
|
|
1669
1673
|
*/
|
|
1670
1674
|
readonly unit: string;
|
|
1671
1675
|
/**
|
|
1672
|
-
* The **`CSSUnitValue.value`** property of the
|
|
1676
|
+
* The **`CSSUnitValue.value`** property of the CSSUnitValue interface returns a double indicating the number of units.
|
|
1673
1677
|
*
|
|
1674
1678
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/value)
|
|
1675
1679
|
*/
|
|
@@ -1688,7 +1692,7 @@ declare var CSSUnitValue: {
|
|
|
1688
1692
|
*/
|
|
1689
1693
|
interface CSSUnparsedValue extends CSSStyleValue {
|
|
1690
1694
|
/**
|
|
1691
|
-
* The **`length`** read-only property of the
|
|
1695
|
+
* The **`length`** read-only property of the CSSUnparsedValue interface returns the number of items in the object.
|
|
1692
1696
|
*
|
|
1693
1697
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue/length)
|
|
1694
1698
|
*/
|
|
@@ -1709,13 +1713,13 @@ declare var CSSUnparsedValue: {
|
|
|
1709
1713
|
*/
|
|
1710
1714
|
interface CSSVariableReferenceValue {
|
|
1711
1715
|
/**
|
|
1712
|
-
* The **`fallback`** read-only property of the
|
|
1716
|
+
* The **`fallback`** read-only property of the CSSVariableReferenceValue interface returns the custom property fallback value of the CSSVariableReferenceValue.
|
|
1713
1717
|
*
|
|
1714
1718
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/fallback)
|
|
1715
1719
|
*/
|
|
1716
1720
|
readonly fallback: CSSUnparsedValue | null;
|
|
1717
1721
|
/**
|
|
1718
|
-
* The **`variable`** property of the
|
|
1722
|
+
* The **`variable`** property of the CSSVariableReferenceValue interface returns the custom property name of the CSSVariableReferenceValue.
|
|
1719
1723
|
*
|
|
1720
1724
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/variable)
|
|
1721
1725
|
*/
|
|
@@ -1753,7 +1757,7 @@ interface Cache {
|
|
|
1753
1757
|
*/
|
|
1754
1758
|
delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<boolean>;
|
|
1755
1759
|
/**
|
|
1756
|
-
* The **`keys()`** method of the Cache interface returns a representing the keys of the Cache.
|
|
1760
|
+
* The **`keys()`** method of the Cache interface returns a Promise that resolves to an array of Request objects representing the keys of the Cache.
|
|
1757
1761
|
*
|
|
1758
1762
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/keys)
|
|
1759
1763
|
*/
|
|
@@ -1771,7 +1775,7 @@ interface Cache {
|
|
|
1771
1775
|
*/
|
|
1772
1776
|
matchAll(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;
|
|
1773
1777
|
/**
|
|
1774
|
-
* The **`put()`** method of the
|
|
1778
|
+
* The **`put()`** method of the Cache interface allows key/value pairs to be added to the current Cache object.
|
|
1775
1779
|
*
|
|
1776
1780
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/put)
|
|
1777
1781
|
*/
|
|
@@ -1797,7 +1801,7 @@ interface CacheStorage {
|
|
|
1797
1801
|
*/
|
|
1798
1802
|
delete(cacheName: string): Promise<boolean>;
|
|
1799
1803
|
/**
|
|
1800
|
-
* The **`has()`** method of the CacheStorage interface returns a Promise that resolves to `true` if a
|
|
1804
|
+
* The **`has()`** method of the CacheStorage interface returns a Promise that resolves to `true` if a Cache object matches the `cacheName`.
|
|
1801
1805
|
*
|
|
1802
1806
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/has)
|
|
1803
1807
|
*/
|
|
@@ -1815,7 +1819,7 @@ interface CacheStorage {
|
|
|
1815
1819
|
*/
|
|
1816
1820
|
match(request: RequestInfo | URL, options?: MultiCacheQueryOptions): Promise<Response | undefined>;
|
|
1817
1821
|
/**
|
|
1818
|
-
* The **`open()`** method of the the Cache object matching the `cacheName`.
|
|
1822
|
+
* The **`open()`** method of the CacheStorage interface returns a Promise that resolves to the Cache object matching the `cacheName`.
|
|
1819
1823
|
*
|
|
1820
1824
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/open)
|
|
1821
1825
|
*/
|
|
@@ -2089,7 +2093,7 @@ interface Client {
|
|
|
2089
2093
|
*/
|
|
2090
2094
|
readonly url: string;
|
|
2091
2095
|
/**
|
|
2092
|
-
* The **`postMessage()`** method of the (a Window, Worker, or SharedWorker).
|
|
2096
|
+
* The **`postMessage()`** method of the Client interface allows a service worker to send a message to a client (a Window, Worker, or SharedWorker).
|
|
2093
2097
|
*
|
|
2094
2098
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Client/postMessage)
|
|
2095
2099
|
*/
|
|
@@ -2115,13 +2119,13 @@ interface Clients {
|
|
|
2115
2119
|
*/
|
|
2116
2120
|
claim(): Promise<void>;
|
|
2117
2121
|
/**
|
|
2118
|
-
* The **`get()`** method of the `id` and returns it in a Promise.
|
|
2122
|
+
* The **`get()`** method of the Clients interface gets a service worker client matching a given `id` and returns it in a Promise.
|
|
2119
2123
|
*
|
|
2120
2124
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clients/get)
|
|
2121
2125
|
*/
|
|
2122
2126
|
get(id: string): Promise<Client | undefined>;
|
|
2123
2127
|
/**
|
|
2124
|
-
* The **`matchAll()`** method of the Clients interface returns a Promise for a list of service worker
|
|
2128
|
+
* The **`matchAll()`** method of the Clients interface returns a Promise for a list of service worker Client objects.
|
|
2125
2129
|
*
|
|
2126
2130
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clients/matchAll)
|
|
2127
2131
|
*/
|
|
@@ -2287,7 +2291,7 @@ declare var CountQueuingStrategy: {
|
|
|
2287
2291
|
*/
|
|
2288
2292
|
interface Crypto {
|
|
2289
2293
|
/**
|
|
2290
|
-
* The **`Crypto.subtle`** read-only property returns a cryptographic operations.
|
|
2294
|
+
* The **`Crypto.subtle`** read-only property returns a SubtleCrypto which can then be used to perform low-level cryptographic operations.
|
|
2291
2295
|
* Available only in secure contexts.
|
|
2292
2296
|
*
|
|
2293
2297
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/subtle)
|
|
@@ -2391,13 +2395,13 @@ interface DOMException extends Error {
|
|
|
2391
2395
|
*/
|
|
2392
2396
|
readonly code: number;
|
|
2393
2397
|
/**
|
|
2394
|
-
* The **`message`** read-only property of the a message or description associated with the given error name.
|
|
2398
|
+
* The **`message`** read-only property of the DOMException interface returns a string representing a message or description associated with the given error name.
|
|
2395
2399
|
*
|
|
2396
2400
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message)
|
|
2397
2401
|
*/
|
|
2398
2402
|
readonly message: string;
|
|
2399
2403
|
/**
|
|
2400
|
-
* The **`name`** read-only property of the one of the strings associated with an error name.
|
|
2404
|
+
* The **`name`** read-only property of the DOMException interface returns a string that contains one of the strings associated with an error name.
|
|
2401
2405
|
*
|
|
2402
2406
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name)
|
|
2403
2407
|
*/
|
|
@@ -2690,7 +2694,7 @@ interface DOMMatrixReadOnly {
|
|
|
2690
2694
|
*/
|
|
2691
2695
|
rotateFromVector(x?: number, y?: number): DOMMatrix;
|
|
2692
2696
|
/**
|
|
2693
|
-
* The **`scale()`** method of the original matrix with a scale transform applied.
|
|
2697
|
+
* The **`scale()`** method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a scale transform applied.
|
|
2694
2698
|
*
|
|
2695
2699
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale)
|
|
2696
2700
|
*/
|
|
@@ -2734,7 +2738,7 @@ interface DOMMatrixReadOnly {
|
|
|
2734
2738
|
*/
|
|
2735
2739
|
toJSON(): any;
|
|
2736
2740
|
/**
|
|
2737
|
-
* The **`transformPoint`** method of the
|
|
2741
|
+
* The **`transformPoint`** method of the DOMMatrixReadOnly interface creates a new DOMPoint object, transforming a specified point by the matrix.
|
|
2738
2742
|
*
|
|
2739
2743
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint)
|
|
2740
2744
|
*/
|
|
@@ -2835,7 +2839,7 @@ interface DOMPointReadOnly {
|
|
|
2835
2839
|
*/
|
|
2836
2840
|
matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
|
|
2837
2841
|
/**
|
|
2838
|
-
* The DOMPointReadOnly method `toJSON()` returns an object giving the
|
|
2842
|
+
* The DOMPointReadOnly method `toJSON()` returns an object giving the JSON form of the point object.
|
|
2839
2843
|
*
|
|
2840
2844
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON)
|
|
2841
2845
|
*/
|
|
@@ -2890,7 +2894,7 @@ interface DOMQuad {
|
|
|
2890
2894
|
*/
|
|
2891
2895
|
getBounds(): DOMRect;
|
|
2892
2896
|
/**
|
|
2893
|
-
* The DOMQuad method `toJSON()` returns a
|
|
2897
|
+
* The DOMQuad method `toJSON()` returns a JSON representation of the `DOMQuad` object.
|
|
2894
2898
|
*
|
|
2895
2899
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/toJSON)
|
|
2896
2900
|
*/
|
|
@@ -2940,7 +2944,7 @@ declare var DOMRect: {
|
|
|
2940
2944
|
prototype: DOMRect;
|
|
2941
2945
|
new(x?: number, y?: number, width?: number, height?: number): DOMRect;
|
|
2942
2946
|
/**
|
|
2943
|
-
* The **`fromRect()`** static method of the object with a given location and dimensions.
|
|
2947
|
+
* The **`fromRect()`** static method of the DOMRect object creates a new `DOMRect` object with a given location and dimensions.
|
|
2944
2948
|
*
|
|
2945
2949
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static)
|
|
2946
2950
|
*/
|
|
@@ -3013,7 +3017,7 @@ declare var DOMRectReadOnly: {
|
|
|
3013
3017
|
prototype: DOMRectReadOnly;
|
|
3014
3018
|
new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;
|
|
3015
3019
|
/**
|
|
3016
|
-
* The **`fromRect()`** static method of the object with a given location and dimensions.
|
|
3020
|
+
* The **`fromRect()`** static method of the DOMRectReadOnly object creates a new `DOMRectReadOnly` object with a given location and dimensions.
|
|
3017
3021
|
*
|
|
3018
3022
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/fromRect_static)
|
|
3019
3023
|
*/
|
|
@@ -3252,7 +3256,7 @@ interface Event {
|
|
|
3252
3256
|
*/
|
|
3253
3257
|
readonly cancelable: boolean;
|
|
3254
3258
|
/**
|
|
3255
|
-
* The read-only **`composed`** property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.
|
|
3259
|
+
* 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.
|
|
3256
3260
|
*
|
|
3257
3261
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)
|
|
3258
3262
|
*/
|
|
@@ -3270,13 +3274,13 @@ interface Event {
|
|
|
3270
3274
|
*/
|
|
3271
3275
|
readonly defaultPrevented: boolean;
|
|
3272
3276
|
/**
|
|
3273
|
-
* The **`eventPhase`** read-only property of the being evaluated.
|
|
3277
|
+
* The **`eventPhase`** read-only property of the Event interface indicates which phase of the event flow is currently being evaluated.
|
|
3274
3278
|
*
|
|
3275
3279
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)
|
|
3276
3280
|
*/
|
|
3277
3281
|
readonly eventPhase: number;
|
|
3278
3282
|
/**
|
|
3279
|
-
* 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
|
|
3283
|
+
* 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().
|
|
3280
3284
|
*
|
|
3281
3285
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
|
|
3282
3286
|
*/
|
|
@@ -3296,7 +3300,7 @@ interface Event {
|
|
|
3296
3300
|
*/
|
|
3297
3301
|
readonly srcElement: EventTarget | null;
|
|
3298
3302
|
/**
|
|
3299
|
-
* The read-only **`target`** property of the dispatched.
|
|
3303
|
+
* The read-only **`target`** property of the Event interface is a reference to the object onto which the event was dispatched.
|
|
3300
3304
|
*
|
|
3301
3305
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)
|
|
3302
3306
|
*/
|
|
@@ -3333,7 +3337,7 @@ interface Event {
|
|
|
3333
3337
|
*/
|
|
3334
3338
|
preventDefault(): void;
|
|
3335
3339
|
/**
|
|
3336
|
-
* The **`stopImmediatePropagation()`** method of the
|
|
3340
|
+
* The **`stopImmediatePropagation()`** method of the Event interface prevents other listeners of the same event from being called.
|
|
3337
3341
|
*
|
|
3338
3342
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)
|
|
3339
3343
|
*/
|
|
@@ -3386,25 +3390,25 @@ interface EventSource extends EventTarget {
|
|
|
3386
3390
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/open_event) */
|
|
3387
3391
|
onopen: ((this: EventSource, ev: Event) => any) | null;
|
|
3388
3392
|
/**
|
|
3389
|
-
* The **`readyState`** read-only property of the connection.
|
|
3393
|
+
* The **`readyState`** read-only property of the EventSource interface returns a number representing the state of the connection.
|
|
3390
3394
|
*
|
|
3391
3395
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/readyState)
|
|
3392
3396
|
*/
|
|
3393
3397
|
readonly readyState: number;
|
|
3394
3398
|
/**
|
|
3395
|
-
* The **`url`** read-only property of the URL of the source.
|
|
3399
|
+
* The **`url`** read-only property of the EventSource interface returns a string representing the URL of the source.
|
|
3396
3400
|
*
|
|
3397
3401
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/url)
|
|
3398
3402
|
*/
|
|
3399
3403
|
readonly url: string;
|
|
3400
3404
|
/**
|
|
3401
|
-
* The **`withCredentials`** read-only property of the the `EventSource` object was instantiated with CORS credentials set.
|
|
3405
|
+
* The **`withCredentials`** read-only property of the EventSource interface returns a boolean value indicating whether the `EventSource` object was instantiated with CORS credentials set.
|
|
3402
3406
|
*
|
|
3403
3407
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/withCredentials)
|
|
3404
3408
|
*/
|
|
3405
3409
|
readonly withCredentials: boolean;
|
|
3406
3410
|
/**
|
|
3407
|
-
* The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the
|
|
3411
|
+
* The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the EventSource.readyState attribute to `2` (closed).
|
|
3408
3412
|
*
|
|
3409
3413
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/close)
|
|
3410
3414
|
*/
|
|
@@ -3510,31 +3514,31 @@ declare var ExtendableEvent: {
|
|
|
3510
3514
|
*/
|
|
3511
3515
|
interface ExtendableMessageEvent extends ExtendableEvent {
|
|
3512
3516
|
/**
|
|
3513
|
-
* The **`data`** read-only property of the data
|
|
3517
|
+
* The **`data`** read-only property of the ExtendableMessageEvent interface returns the event's data.
|
|
3514
3518
|
*
|
|
3515
3519
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/data)
|
|
3516
3520
|
*/
|
|
3517
3521
|
readonly data: any;
|
|
3518
3522
|
/**
|
|
3519
|
-
* The **`lastEventID`** read-only property of the
|
|
3523
|
+
* The **`lastEventID`** read-only property of the ExtendableMessageEvent interface represents, in server-sent events, the last event ID of the event source.
|
|
3520
3524
|
*
|
|
3521
3525
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/lastEventId)
|
|
3522
3526
|
*/
|
|
3523
3527
|
readonly lastEventId: string;
|
|
3524
3528
|
/**
|
|
3525
|
-
* The **`origin`** read-only property of the
|
|
3529
|
+
* The **`origin`** read-only property of the ExtendableMessageEvent interface returns the origin of the Client that sent the message.
|
|
3526
3530
|
*
|
|
3527
3531
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/origin)
|
|
3528
3532
|
*/
|
|
3529
3533
|
readonly origin: string;
|
|
3530
3534
|
/**
|
|
3531
|
-
* The **`ports`** read-only property of the channel (the channel the message is being sent through.)
|
|
3535
|
+
* The **`ports`** read-only property of the ExtendableMessageEvent interface returns the array containing the MessagePort objects representing the ports of the associated message channel (the channel the message is being sent through.)
|
|
3532
3536
|
*
|
|
3533
3537
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/ports)
|
|
3534
3538
|
*/
|
|
3535
3539
|
readonly ports: ReadonlyArray<MessagePort>;
|
|
3536
3540
|
/**
|
|
3537
|
-
* The **`source`** read-only property of the
|
|
3541
|
+
* The **`source`** read-only property of the ExtendableMessageEvent interface returns a reference to the Client object from which the message was sent.
|
|
3538
3542
|
*
|
|
3539
3543
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/source)
|
|
3540
3544
|
*/
|
|
@@ -3553,7 +3557,7 @@ declare var ExtendableMessageEvent: {
|
|
|
3553
3557
|
*/
|
|
3554
3558
|
interface FetchEvent extends ExtendableEvent {
|
|
3555
3559
|
/**
|
|
3556
|
-
* The **`clientId`** read-only property of the current service worker is controlling.
|
|
3560
|
+
* The **`clientId`** read-only property of the FetchEvent interface returns the id of the Client that the current service worker is controlling.
|
|
3557
3561
|
*
|
|
3558
3562
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/clientId)
|
|
3559
3563
|
*/
|
|
@@ -3571,19 +3575,19 @@ interface FetchEvent extends ExtendableEvent {
|
|
|
3571
3575
|
*/
|
|
3572
3576
|
readonly preloadResponse: Promise<any>;
|
|
3573
3577
|
/**
|
|
3574
|
-
* The **`request`** read-only property of the the event handler.
|
|
3578
|
+
* The **`request`** read-only property of the FetchEvent interface returns the Request that triggered the event handler.
|
|
3575
3579
|
*
|
|
3576
3580
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/request)
|
|
3577
3581
|
*/
|
|
3578
3582
|
readonly request: Request;
|
|
3579
3583
|
/**
|
|
3580
|
-
* The **`resultingClientId`** read-only property of the navigation.
|
|
3584
|
+
* The **`resultingClientId`** read-only property of the FetchEvent interface is the Client.id of the Client that replaces the previous client during a page navigation.
|
|
3581
3585
|
*
|
|
3582
3586
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/resultingClientId)
|
|
3583
3587
|
*/
|
|
3584
3588
|
readonly resultingClientId: string;
|
|
3585
3589
|
/**
|
|
3586
|
-
* The **`respondWith()`** method of allows you to provide a promise for a Response yourself.
|
|
3590
|
+
* The **`respondWith()`** method of FetchEvent prevents the browser's default fetch handling, and allows you to provide a promise for a Response yourself.
|
|
3587
3591
|
*
|
|
3588
3592
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/respondWith)
|
|
3589
3593
|
*/
|
|
@@ -3717,7 +3721,7 @@ interface FileReader extends EventTarget {
|
|
|
3717
3721
|
*/
|
|
3718
3722
|
readAsBinaryString(blob: Blob): void;
|
|
3719
3723
|
/**
|
|
3720
|
-
* The **`readAsDataURL()`** method of the FileReader interface is used to read the contents of the specified
|
|
3724
|
+
* The **`readAsDataURL()`** method of the FileReader interface is used to read the contents of the specified Blob or File.
|
|
3721
3725
|
*
|
|
3722
3726
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsDataURL)
|
|
3723
3727
|
*/
|
|
@@ -3754,25 +3758,25 @@ declare var FileReader: {
|
|
|
3754
3758
|
interface FileSystemDirectoryHandle extends FileSystemHandle {
|
|
3755
3759
|
readonly kind: "directory";
|
|
3756
3760
|
/**
|
|
3757
|
-
* The **`getDirectoryHandle()`** method of the within the directory handle on which the method is called.
|
|
3761
|
+
* 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.
|
|
3758
3762
|
*
|
|
3759
3763
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getDirectoryHandle)
|
|
3760
3764
|
*/
|
|
3761
3765
|
getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
|
|
3762
3766
|
/**
|
|
3763
|
-
* The **`getFileHandle()`** method of the directory the method is called.
|
|
3767
|
+
* The **`getFileHandle()`** method of the FileSystemDirectoryHandle interface returns a FileSystemFileHandle for a file with the specified name, within the directory the method is called.
|
|
3764
3768
|
*
|
|
3765
3769
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getFileHandle)
|
|
3766
3770
|
*/
|
|
3767
3771
|
getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
|
|
3768
3772
|
/**
|
|
3769
|
-
* The **`removeEntry()`** method of the directory handle contains a file or directory called the name specified.
|
|
3773
|
+
* 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.
|
|
3770
3774
|
*
|
|
3771
3775
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/removeEntry)
|
|
3772
3776
|
*/
|
|
3773
3777
|
removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
|
|
3774
3778
|
/**
|
|
3775
|
-
* 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.
|
|
3779
|
+
* 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.
|
|
3776
3780
|
*
|
|
3777
3781
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/resolve)
|
|
3778
3782
|
*/
|
|
@@ -3799,7 +3803,7 @@ interface FileSystemFileHandle extends FileSystemHandle {
|
|
|
3799
3803
|
*/
|
|
3800
3804
|
createWritable(options?: FileSystemCreateWritableOptions): Promise<FileSystemWritableFileStream>;
|
|
3801
3805
|
/**
|
|
3802
|
-
* The **`getFile()`** method of the
|
|
3806
|
+
* 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.
|
|
3803
3807
|
*
|
|
3804
3808
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/getFile)
|
|
3805
3809
|
*/
|
|
@@ -3819,19 +3823,19 @@ declare var FileSystemFileHandle: {
|
|
|
3819
3823
|
*/
|
|
3820
3824
|
interface FileSystemHandle {
|
|
3821
3825
|
/**
|
|
3822
|
-
* The **`kind`** read-only property of the
|
|
3826
|
+
* The **`kind`** read-only property of the FileSystemHandle interface returns the type of entry.
|
|
3823
3827
|
*
|
|
3824
3828
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/kind)
|
|
3825
3829
|
*/
|
|
3826
3830
|
readonly kind: FileSystemHandleKind;
|
|
3827
3831
|
/**
|
|
3828
|
-
* The **`name`** read-only property of the handle.
|
|
3832
|
+
* The **`name`** read-only property of the FileSystemHandle interface returns the name of the entry represented by handle.
|
|
3829
3833
|
*
|
|
3830
3834
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/name)
|
|
3831
3835
|
*/
|
|
3832
3836
|
readonly name: string;
|
|
3833
3837
|
/**
|
|
3834
|
-
* The **`isSameEntry()`** method of the
|
|
3838
|
+
* The **`isSameEntry()`** method of the FileSystemHandle interface compares two FileSystemHandle to see if the associated entries (either a file or directory) match.
|
|
3835
3839
|
*
|
|
3836
3840
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/isSameEntry)
|
|
3837
3841
|
*/
|
|
@@ -4027,7 +4031,7 @@ declare var FontFaceSet: {
|
|
|
4027
4031
|
*/
|
|
4028
4032
|
interface FontFaceSetLoadEvent extends Event {
|
|
4029
4033
|
/**
|
|
4030
|
-
* The **`fontfaces`** read-only property of the
|
|
4034
|
+
* The **`fontfaces`** read-only property of the FontFaceSetLoadEvent interface returns an array of FontFace instances, each of which represents a single usable font.
|
|
4031
4035
|
*
|
|
4032
4036
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent/fontfaces)
|
|
4033
4037
|
*/
|
|
@@ -4106,13 +4110,38 @@ declare var FormData: {
|
|
|
4106
4110
|
*/
|
|
4107
4111
|
interface GPUError {
|
|
4108
4112
|
/**
|
|
4109
|
-
* The **`message`** read-only property of the
|
|
4113
|
+
* The **`message`** read-only property of the GPUError interface provides a human-readable message that explains why the error occurred.
|
|
4110
4114
|
*
|
|
4111
4115
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError/message)
|
|
4112
4116
|
*/
|
|
4113
4117
|
readonly message: string;
|
|
4114
4118
|
}
|
|
4115
4119
|
|
|
4120
|
+
declare var GPUError: {
|
|
4121
|
+
prototype: GPUError;
|
|
4122
|
+
new(): GPUError;
|
|
4123
|
+
};
|
|
4124
|
+
|
|
4125
|
+
/**
|
|
4126
|
+
* The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
|
|
4127
|
+
* Available only in secure contexts.
|
|
4128
|
+
*
|
|
4129
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
|
|
4130
|
+
*/
|
|
4131
|
+
interface GPUPipelineError extends DOMException {
|
|
4132
|
+
/**
|
|
4133
|
+
* The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
|
|
4134
|
+
*
|
|
4135
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
|
|
4136
|
+
*/
|
|
4137
|
+
readonly reason: GPUPipelineErrorReason;
|
|
4138
|
+
}
|
|
4139
|
+
|
|
4140
|
+
declare var GPUPipelineError: {
|
|
4141
|
+
prototype: GPUPipelineError;
|
|
4142
|
+
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
|
|
4143
|
+
};
|
|
4144
|
+
|
|
4116
4145
|
interface GenericTransformStream {
|
|
4117
4146
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */
|
|
4118
4147
|
readonly readable: ReadableStream;
|
|
@@ -4177,19 +4206,19 @@ declare var Headers: {
|
|
|
4177
4206
|
*/
|
|
4178
4207
|
interface IDBCursor {
|
|
4179
4208
|
/**
|
|
4180
|
-
* The **`direction`** read-only property of the direction of traversal of the cursor (set using
|
|
4209
|
+
* 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).
|
|
4181
4210
|
*
|
|
4182
4211
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/direction)
|
|
4183
4212
|
*/
|
|
4184
4213
|
readonly direction: IDBCursorDirection;
|
|
4185
4214
|
/**
|
|
4186
|
-
* The **`key`** read-only property of the position.
|
|
4215
|
+
* The **`key`** read-only property of the IDBCursor interface returns the key for the record at the cursor's position.
|
|
4187
4216
|
*
|
|
4188
4217
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/key)
|
|
4189
4218
|
*/
|
|
4190
4219
|
readonly key: IDBValidKey;
|
|
4191
4220
|
/**
|
|
4192
|
-
* The **`primaryKey`** read-only property of the
|
|
4221
|
+
* The **`primaryKey`** read-only property of the IDBCursor interface returns the cursor's current effective key.
|
|
4193
4222
|
*
|
|
4194
4223
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/primaryKey)
|
|
4195
4224
|
*/
|
|
@@ -4201,7 +4230,7 @@ interface IDBCursor {
|
|
|
4201
4230
|
*/
|
|
4202
4231
|
readonly request: IDBRequest;
|
|
4203
4232
|
/**
|
|
4204
|
-
* The **`source`** read-only property of the
|
|
4233
|
+
* The **`source`** read-only property of the IDBCursor interface returns the IDBObjectStore or IDBIndex that the cursor is iterating over.
|
|
4205
4234
|
*
|
|
4206
4235
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/source)
|
|
4207
4236
|
*/
|
|
@@ -4219,7 +4248,7 @@ interface IDBCursor {
|
|
|
4219
4248
|
*/
|
|
4220
4249
|
continue(key?: IDBValidKey): void;
|
|
4221
4250
|
/**
|
|
4222
|
-
* The **`continuePrimaryKey()`** method of the matches the key parameter as well as whose primary key matches the primary key parameter.
|
|
4251
|
+
* 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.
|
|
4223
4252
|
*
|
|
4224
4253
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/continuePrimaryKey)
|
|
4225
4254
|
*/
|
|
@@ -4250,7 +4279,7 @@ declare var IDBCursor: {
|
|
|
4250
4279
|
*/
|
|
4251
4280
|
interface IDBCursorWithValue extends IDBCursor {
|
|
4252
4281
|
/**
|
|
4253
|
-
* The **`value`** read-only property of the whatever that is.
|
|
4282
|
+
* The **`value`** read-only property of the IDBCursorWithValue interface returns the value of the current cursor, whatever that is.
|
|
4254
4283
|
*
|
|
4255
4284
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue/value)
|
|
4256
4285
|
*/
|
|
@@ -4282,7 +4311,7 @@ interface IDBDatabase extends EventTarget {
|
|
|
4282
4311
|
*/
|
|
4283
4312
|
readonly name: string;
|
|
4284
4313
|
/**
|
|
4285
|
-
* The **`objectStoreNames`** read-only property of the list of the names of the object stores currently in the connected database.
|
|
4314
|
+
* 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.
|
|
4286
4315
|
*
|
|
4287
4316
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
|
|
4288
4317
|
*/
|
|
@@ -4306,13 +4335,13 @@ interface IDBDatabase extends EventTarget {
|
|
|
4306
4335
|
*/
|
|
4307
4336
|
close(): void;
|
|
4308
4337
|
/**
|
|
4309
|
-
* The **`createObjectStore()`** method of the
|
|
4338
|
+
* The **`createObjectStore()`** method of the IDBDatabase interface creates and returns a new IDBObjectStore.
|
|
4310
4339
|
*
|
|
4311
4340
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/createObjectStore)
|
|
4312
4341
|
*/
|
|
4313
4342
|
createObjectStore(name: string, options?: IDBObjectStoreParameters): IDBObjectStore;
|
|
4314
4343
|
/**
|
|
4315
|
-
* The **`deleteObjectStore()`** method of the the connected database, along with any indexes that reference it.
|
|
4344
|
+
* 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.
|
|
4316
4345
|
*
|
|
4317
4346
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/deleteObjectStore)
|
|
4318
4347
|
*/
|
|
@@ -4353,7 +4382,7 @@ interface IDBFactory {
|
|
|
4353
4382
|
*/
|
|
4354
4383
|
databases(): Promise<IDBDatabaseInfo[]>;
|
|
4355
4384
|
/**
|
|
4356
|
-
* The **`deleteDatabase()`** method of the
|
|
4385
|
+
* The **`deleteDatabase()`** method of the IDBFactory interface requests the deletion of a database.
|
|
4357
4386
|
*
|
|
4358
4387
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/deleteDatabase)
|
|
4359
4388
|
*/
|
|
@@ -4384,7 +4413,7 @@ interface IDBIndex {
|
|
|
4384
4413
|
*/
|
|
4385
4414
|
readonly keyPath: string | string[];
|
|
4386
4415
|
/**
|
|
4387
|
-
* The **`multiEntry`** read-only property of the behaves when the result of evaluating the index's key path yields an array.
|
|
4416
|
+
* 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.
|
|
4388
4417
|
*
|
|
4389
4418
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/multiEntry)
|
|
4390
4419
|
*/
|
|
@@ -4414,7 +4443,7 @@ interface IDBIndex {
|
|
|
4414
4443
|
*/
|
|
4415
4444
|
count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
|
4416
4445
|
/**
|
|
4417
|
-
* 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
|
|
4446
|
+
* 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.
|
|
4418
4447
|
*
|
|
4419
4448
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/get)
|
|
4420
4449
|
*/
|
|
@@ -4432,7 +4461,7 @@ interface IDBIndex {
|
|
|
4432
4461
|
*/
|
|
4433
4462
|
getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
4434
4463
|
/**
|
|
4435
|
-
* 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
|
|
4464
|
+
* 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.
|
|
4436
4465
|
*
|
|
4437
4466
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getKey)
|
|
4438
4467
|
*/
|
|
@@ -4444,7 +4473,7 @@ interface IDBIndex {
|
|
|
4444
4473
|
*/
|
|
4445
4474
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
|
4446
4475
|
/**
|
|
4447
|
-
* The **`openKeyCursor()`** method of the a separate thread, creates a cursor over the specified key range, as arranged by this index.
|
|
4476
|
+
* 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.
|
|
4448
4477
|
*
|
|
4449
4478
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/openKeyCursor)
|
|
4450
4479
|
*/
|
|
@@ -4463,25 +4492,25 @@ declare var IDBIndex: {
|
|
|
4463
4492
|
*/
|
|
4464
4493
|
interface IDBKeyRange {
|
|
4465
4494
|
/**
|
|
4466
|
-
* The **`lower`** read-only property of the
|
|
4495
|
+
* The **`lower`** read-only property of the IDBKeyRange interface returns the lower bound of the key range.
|
|
4467
4496
|
*
|
|
4468
4497
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lower)
|
|
4469
4498
|
*/
|
|
4470
4499
|
readonly lower: any;
|
|
4471
4500
|
/**
|
|
4472
|
-
* The **`lowerOpen`** read-only property of the lower-bound value is included in the key range.
|
|
4501
|
+
* The **`lowerOpen`** read-only property of the IDBKeyRange interface returns a boolean indicating whether the lower-bound value is included in the key range.
|
|
4473
4502
|
*
|
|
4474
4503
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerOpen)
|
|
4475
4504
|
*/
|
|
4476
4505
|
readonly lowerOpen: boolean;
|
|
4477
4506
|
/**
|
|
4478
|
-
* The **`upper`** read-only property of the
|
|
4507
|
+
* The **`upper`** read-only property of the IDBKeyRange interface returns the upper bound of the key range.
|
|
4479
4508
|
*
|
|
4480
4509
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upper)
|
|
4481
4510
|
*/
|
|
4482
4511
|
readonly upper: any;
|
|
4483
4512
|
/**
|
|
4484
|
-
* The **`upperOpen`** read-only property of the upper-bound value is included in the key range.
|
|
4513
|
+
* The **`upperOpen`** read-only property of the IDBKeyRange interface returns a boolean indicating whether the upper-bound value is included in the key range.
|
|
4485
4514
|
*
|
|
4486
4515
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperOpen)
|
|
4487
4516
|
*/
|
|
@@ -4504,7 +4533,7 @@ declare var IDBKeyRange: {
|
|
|
4504
4533
|
*/
|
|
4505
4534
|
bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;
|
|
4506
4535
|
/**
|
|
4507
|
-
* The **`lowerBound()`** static method of the
|
|
4536
|
+
* The **`lowerBound()`** static method of the IDBKeyRange interface creates a new key range with only a lower bound.
|
|
4508
4537
|
*
|
|
4509
4538
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerBound_static)
|
|
4510
4539
|
*/
|
|
@@ -4516,7 +4545,7 @@ declare var IDBKeyRange: {
|
|
|
4516
4545
|
*/
|
|
4517
4546
|
only(value: any): IDBKeyRange;
|
|
4518
4547
|
/**
|
|
4519
|
-
* The **`upperBound()`** static method of the
|
|
4548
|
+
* The **`upperBound()`** static method of the IDBKeyRange interface creates a new upper-bound key range.
|
|
4520
4549
|
*
|
|
4521
4550
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperBound_static)
|
|
4522
4551
|
*/
|
|
@@ -4530,19 +4559,19 @@ declare var IDBKeyRange: {
|
|
|
4530
4559
|
*/
|
|
4531
4560
|
interface IDBObjectStore {
|
|
4532
4561
|
/**
|
|
4533
|
-
* The **`autoIncrement`** read-only property of the for this object store.
|
|
4562
|
+
* The **`autoIncrement`** read-only property of the IDBObjectStore interface returns the value of the auto increment flag for this object store.
|
|
4534
4563
|
*
|
|
4535
4564
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/autoIncrement)
|
|
4536
4565
|
*/
|
|
4537
4566
|
readonly autoIncrement: boolean;
|
|
4538
4567
|
/**
|
|
4539
|
-
* The **`indexNames`** read-only property of the in this object store.
|
|
4568
|
+
* The **`indexNames`** read-only property of the IDBObjectStore interface returns a list of the names of indexes on objects in this object store.
|
|
4540
4569
|
*
|
|
4541
4570
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/indexNames)
|
|
4542
4571
|
*/
|
|
4543
4572
|
readonly indexNames: DOMStringList;
|
|
4544
4573
|
/**
|
|
4545
|
-
* The **`keyPath`** read-only property of the
|
|
4574
|
+
* The **`keyPath`** read-only property of the IDBObjectStore interface returns the key path of this object store.
|
|
4546
4575
|
*
|
|
4547
4576
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
|
|
4548
4577
|
*/
|
|
@@ -4554,7 +4583,7 @@ interface IDBObjectStore {
|
|
|
4554
4583
|
*/
|
|
4555
4584
|
name: string;
|
|
4556
4585
|
/**
|
|
4557
|
-
* The **`transaction`** read-only property of the object store belongs.
|
|
4586
|
+
* The **`transaction`** read-only property of the IDBObjectStore interface returns the transaction object to which this object store belongs.
|
|
4558
4587
|
*
|
|
4559
4588
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/transaction)
|
|
4560
4589
|
*/
|
|
@@ -4572,25 +4601,25 @@ interface IDBObjectStore {
|
|
|
4572
4601
|
*/
|
|
4573
4602
|
clear(): IDBRequest<undefined>;
|
|
4574
4603
|
/**
|
|
4575
|
-
* 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
|
|
4604
|
+
* 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.
|
|
4576
4605
|
*
|
|
4577
4606
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/count)
|
|
4578
4607
|
*/
|
|
4579
4608
|
count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
|
4580
4609
|
/**
|
|
4581
|
-
* The **`createIndex()`** method of the
|
|
4610
|
+
* The **`createIndex()`** method of the IDBObjectStore interface creates and returns a new IDBIndex object in the connected database.
|
|
4582
4611
|
*
|
|
4583
4612
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
|
4584
4613
|
*/
|
|
4585
4614
|
createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;
|
|
4586
4615
|
/**
|
|
4587
|
-
* The **`delete()`** method of the and, in a separate thread, deletes the specified record or records.
|
|
4616
|
+
* The **`delete()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, deletes the specified record or records.
|
|
4588
4617
|
*
|
|
4589
4618
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/delete)
|
|
4590
4619
|
*/
|
|
4591
4620
|
delete(query: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;
|
|
4592
4621
|
/**
|
|
4593
|
-
* The **`deleteIndex()`** method of the the connected database, used during a version upgrade.
|
|
4622
|
+
* The **`deleteIndex()`** method of the IDBObjectStore interface destroys the index with the specified name in the connected database, used during a version upgrade.
|
|
4594
4623
|
*
|
|
4595
4624
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/deleteIndex)
|
|
4596
4625
|
*/
|
|
@@ -4602,7 +4631,7 @@ interface IDBObjectStore {
|
|
|
4602
4631
|
*/
|
|
4603
4632
|
get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;
|
|
4604
4633
|
/**
|
|
4605
|
-
* 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.
|
|
4634
|
+
* 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.
|
|
4606
4635
|
*
|
|
4607
4636
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)
|
|
4608
4637
|
*/
|
|
@@ -4614,7 +4643,7 @@ interface IDBObjectStore {
|
|
|
4614
4643
|
*/
|
|
4615
4644
|
getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
4616
4645
|
/**
|
|
4617
|
-
* The **`getKey()`** method of the and, in a separate thread, returns the key selected by the specified query.
|
|
4646
|
+
* The **`getKey()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the key selected by the specified query.
|
|
4618
4647
|
*
|
|
4619
4648
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getKey)
|
|
4620
4649
|
*/
|
|
@@ -4626,13 +4655,13 @@ interface IDBObjectStore {
|
|
|
4626
4655
|
*/
|
|
4627
4656
|
index(name: string): IDBIndex;
|
|
4628
4657
|
/**
|
|
4629
|
-
* The **`openCursor()`** method of the and, in a separate thread, returns a new IDBCursorWithValue object.
|
|
4658
|
+
* The **`openCursor()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns a new IDBCursorWithValue object.
|
|
4630
4659
|
*
|
|
4631
4660
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openCursor)
|
|
4632
4661
|
*/
|
|
4633
4662
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
|
4634
4663
|
/**
|
|
4635
|
-
* The **`openKeyCursor()`** method of the whose result will be set to an IDBCursor that can be used to iterate through matching results.
|
|
4664
|
+
* 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.
|
|
4636
4665
|
*
|
|
4637
4666
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openKeyCursor)
|
|
4638
4667
|
*/
|
|
@@ -4688,7 +4717,7 @@ interface IDBRequestEventMap {
|
|
|
4688
4717
|
*/
|
|
4689
4718
|
interface IDBRequest<T = any> extends EventTarget {
|
|
4690
4719
|
/**
|
|
4691
|
-
* The **`error`** read-only property of the request.
|
|
4720
|
+
* The **`error`** read-only property of the IDBRequest interface returns the error in the event of an unsuccessful request.
|
|
4692
4721
|
*
|
|
4693
4722
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/error)
|
|
4694
4723
|
*/
|
|
@@ -4698,19 +4727,19 @@ interface IDBRequest<T = any> extends EventTarget {
|
|
|
4698
4727
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/success_event) */
|
|
4699
4728
|
onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;
|
|
4700
4729
|
/**
|
|
4701
|
-
* The **`readyState`** read-only property of the
|
|
4730
|
+
* The **`readyState`** read-only property of the IDBRequest interface returns the state of the request.
|
|
4702
4731
|
*
|
|
4703
4732
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/readyState)
|
|
4704
4733
|
*/
|
|
4705
4734
|
readonly readyState: IDBRequestReadyState;
|
|
4706
4735
|
/**
|
|
4707
|
-
* The **`result`** read-only property of the
|
|
4736
|
+
* The **`result`** read-only property of the IDBRequest interface returns the result of the request.
|
|
4708
4737
|
*
|
|
4709
4738
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/result)
|
|
4710
4739
|
*/
|
|
4711
4740
|
readonly result: T;
|
|
4712
4741
|
/**
|
|
4713
|
-
* The **`source`** read-only property of the Index or an object store.
|
|
4742
|
+
* The **`source`** read-only property of the IDBRequest interface returns the source of the request, such as an Index or an object store.
|
|
4714
4743
|
*
|
|
4715
4744
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/source)
|
|
4716
4745
|
*/
|
|
@@ -4763,13 +4792,13 @@ interface IDBTransaction extends EventTarget {
|
|
|
4763
4792
|
*/
|
|
4764
4793
|
readonly error: DOMException | null;
|
|
4765
4794
|
/**
|
|
4766
|
-
* 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`.
|
|
4795
|
+
* 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`.
|
|
4767
4796
|
*
|
|
4768
4797
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/mode)
|
|
4769
4798
|
*/
|
|
4770
4799
|
readonly mode: IDBTransactionMode;
|
|
4771
4800
|
/**
|
|
4772
|
-
* The **`objectStoreNames`** read-only property of the of IDBObjectStore objects.
|
|
4801
|
+
* The **`objectStoreNames`** read-only property of the IDBTransaction interface returns a DOMStringList of names of IDBObjectStore objects.
|
|
4773
4802
|
*
|
|
4774
4803
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames)
|
|
4775
4804
|
*/
|
|
@@ -4793,7 +4822,7 @@ interface IDBTransaction extends EventTarget {
|
|
|
4793
4822
|
*/
|
|
4794
4823
|
commit(): void;
|
|
4795
4824
|
/**
|
|
4796
|
-
* The **`objectStore()`** method of the added to the scope of this transaction.
|
|
4825
|
+
* The **`objectStore()`** method of the IDBTransaction interface returns an object store that has already been added to the scope of this transaction.
|
|
4797
4826
|
*
|
|
4798
4827
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStore)
|
|
4799
4828
|
*/
|
|
@@ -4816,13 +4845,13 @@ declare var IDBTransaction: {
|
|
|
4816
4845
|
*/
|
|
4817
4846
|
interface IDBVersionChangeEvent extends Event {
|
|
4818
4847
|
/**
|
|
4819
|
-
* The **`newVersion`** read-only property of the database.
|
|
4848
|
+
* The **`newVersion`** read-only property of the IDBVersionChangeEvent interface returns the new version number of the database.
|
|
4820
4849
|
*
|
|
4821
4850
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/newVersion)
|
|
4822
4851
|
*/
|
|
4823
4852
|
readonly newVersion: number | null;
|
|
4824
4853
|
/**
|
|
4825
|
-
* The **`oldVersion`** read-only property of the database.
|
|
4854
|
+
* The **`oldVersion`** read-only property of the IDBVersionChangeEvent interface returns the old version number of the database.
|
|
4826
4855
|
*
|
|
4827
4856
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/oldVersion)
|
|
4828
4857
|
*/
|
|
@@ -4897,7 +4926,7 @@ interface ImageData {
|
|
|
4897
4926
|
*/
|
|
4898
4927
|
readonly colorSpace: PredefinedColorSpace;
|
|
4899
4928
|
/**
|
|
4900
|
-
* The readonly **`ImageData.data`** property returns a pixel data.
|
|
4929
|
+
* The readonly **`ImageData.data`** property returns a Uint8ClampedArray or Float16Array that contains the ImageData object's pixel data.
|
|
4901
4930
|
*
|
|
4902
4931
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
|
|
4903
4932
|
*/
|
|
@@ -4950,7 +4979,7 @@ interface Lock {
|
|
|
4950
4979
|
*/
|
|
4951
4980
|
readonly mode: LockMode;
|
|
4952
4981
|
/**
|
|
4953
|
-
* The **`name`** read-only property of the Lock interface returns the _name_ passed to
|
|
4982
|
+
* The **`name`** read-only property of the Lock interface returns the _name_ passed to LockManager.request selected when the lock was requested.
|
|
4954
4983
|
*
|
|
4955
4984
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Lock/name)
|
|
4956
4985
|
*/
|
|
@@ -5021,13 +5050,13 @@ declare var MediaCapabilities: {
|
|
|
5021
5050
|
*/
|
|
5022
5051
|
interface MessageChannel {
|
|
5023
5052
|
/**
|
|
5024
|
-
* The **`port1`** read-only property of the the port attached to the context that originated the channel.
|
|
5053
|
+
* 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.
|
|
5025
5054
|
*
|
|
5026
5055
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port1)
|
|
5027
5056
|
*/
|
|
5028
5057
|
readonly port1: MessagePort;
|
|
5029
5058
|
/**
|
|
5030
|
-
* 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.
|
|
5059
|
+
* 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.
|
|
5031
5060
|
*
|
|
5032
5061
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port2)
|
|
5033
5062
|
*/
|
|
@@ -5046,31 +5075,31 @@ declare var MessageChannel: {
|
|
|
5046
5075
|
*/
|
|
5047
5076
|
interface MessageEvent<T = any> extends Event {
|
|
5048
5077
|
/**
|
|
5049
|
-
* The **`data`** read-only property of the
|
|
5078
|
+
* The **`data`** read-only property of the MessageEvent interface represents the data sent by the message emitter.
|
|
5050
5079
|
*
|
|
5051
5080
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/data)
|
|
5052
5081
|
*/
|
|
5053
5082
|
readonly data: T;
|
|
5054
5083
|
/**
|
|
5055
|
-
* The **`lastEventId`** read-only property of the unique ID for the event.
|
|
5084
|
+
* The **`lastEventId`** read-only property of the MessageEvent interface is a string representing a unique ID for the event.
|
|
5056
5085
|
*
|
|
5057
5086
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/lastEventId)
|
|
5058
5087
|
*/
|
|
5059
5088
|
readonly lastEventId: string;
|
|
5060
5089
|
/**
|
|
5061
|
-
* The **`origin`** read-only property of the origin of the message emitter.
|
|
5090
|
+
* The **`origin`** read-only property of the MessageEvent interface is a string representing the origin of the message emitter.
|
|
5062
5091
|
*
|
|
5063
5092
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/origin)
|
|
5064
5093
|
*/
|
|
5065
5094
|
readonly origin: string;
|
|
5066
5095
|
/**
|
|
5067
|
-
* The **`ports`** read-only property of the containing all MessagePort objects sent with the message, in order.
|
|
5096
|
+
* 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.
|
|
5068
5097
|
*
|
|
5069
5098
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/ports)
|
|
5070
5099
|
*/
|
|
5071
5100
|
readonly ports: ReadonlyArray<MessagePort>;
|
|
5072
5101
|
/**
|
|
5073
|
-
* The **`source`** read-only property of the
|
|
5102
|
+
* 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.
|
|
5074
5103
|
*
|
|
5075
5104
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
|
|
5076
5105
|
*/
|
|
@@ -5118,7 +5147,7 @@ interface MessagePort extends EventTarget, MessageEventTarget<MessagePort> {
|
|
|
5118
5147
|
*/
|
|
5119
5148
|
close(): void;
|
|
5120
5149
|
/**
|
|
5121
|
-
* The **`postMessage()`** method of the transfers ownership of objects to other browsing contexts.
|
|
5150
|
+
* The **`postMessage()`** method of the MessagePort interface sends a message from the port, and optionally, transfers ownership of objects to other browsing contexts.
|
|
5122
5151
|
*
|
|
5123
5152
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage)
|
|
5124
5153
|
*/
|
|
@@ -5265,13 +5294,13 @@ interface NotificationEventMap {
|
|
|
5265
5294
|
*/
|
|
5266
5295
|
interface Notification extends EventTarget {
|
|
5267
5296
|
/**
|
|
5268
|
-
* The **`body`** read-only property of the specified in the `body` option of the
|
|
5297
|
+
* 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.
|
|
5269
5298
|
*
|
|
5270
5299
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/body)
|
|
5271
5300
|
*/
|
|
5272
5301
|
readonly body: string;
|
|
5273
5302
|
/**
|
|
5274
|
-
* The **`data`** read-only property of the
|
|
5303
|
+
* 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.
|
|
5275
5304
|
*
|
|
5276
5305
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/data)
|
|
5277
5306
|
*/
|
|
@@ -5283,13 +5312,13 @@ interface Notification extends EventTarget {
|
|
|
5283
5312
|
*/
|
|
5284
5313
|
readonly dir: NotificationDirection;
|
|
5285
5314
|
/**
|
|
5286
|
-
* The **`icon`** read-only property of the part of the notification, as specified in the `icon` option of the
|
|
5315
|
+
* 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.
|
|
5287
5316
|
*
|
|
5288
5317
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/icon)
|
|
5289
5318
|
*/
|
|
5290
5319
|
readonly icon: string;
|
|
5291
5320
|
/**
|
|
5292
|
-
* The **`lang`** read-only property of the
|
|
5321
|
+
* 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.
|
|
5293
5322
|
*
|
|
5294
5323
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/lang)
|
|
5295
5324
|
*/
|
|
@@ -5309,19 +5338,19 @@ interface Notification extends EventTarget {
|
|
|
5309
5338
|
*/
|
|
5310
5339
|
readonly requireInteraction: boolean;
|
|
5311
5340
|
/**
|
|
5312
|
-
* The **`silent`** read-only property of the silent, i.e., no sounds or vibrations should be issued regardless of the device settings.
|
|
5341
|
+
* 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.
|
|
5313
5342
|
*
|
|
5314
5343
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/silent)
|
|
5315
5344
|
*/
|
|
5316
5345
|
readonly silent: boolean | null;
|
|
5317
5346
|
/**
|
|
5318
|
-
* The **`tag`** read-only property of the
|
|
5347
|
+
* 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.
|
|
5319
5348
|
*
|
|
5320
5349
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/tag)
|
|
5321
5350
|
*/
|
|
5322
5351
|
readonly tag: string;
|
|
5323
5352
|
/**
|
|
5324
|
-
* The **`title`** read-only property of the specified in the `title` parameter of the
|
|
5353
|
+
* 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.
|
|
5325
5354
|
*
|
|
5326
5355
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/title)
|
|
5327
5356
|
*/
|
|
@@ -5495,13 +5524,13 @@ interface OES_vertex_array_object {
|
|
|
5495
5524
|
*/
|
|
5496
5525
|
bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
|
|
5497
5526
|
/**
|
|
5498
|
-
* 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.
|
|
5527
|
+
* 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.
|
|
5499
5528
|
*
|
|
5500
5529
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/createVertexArrayOES)
|
|
5501
5530
|
*/
|
|
5502
5531
|
createVertexArrayOES(): WebGLVertexArrayObjectOES;
|
|
5503
5532
|
/**
|
|
5504
|
-
* The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given
|
|
5533
|
+
* The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given WebGLVertexArrayObject object.
|
|
5505
5534
|
*
|
|
5506
5535
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES)
|
|
5507
5536
|
*/
|
|
@@ -5986,7 +6015,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
5986
6015
|
*/
|
|
5987
6016
|
readonly transferSize: number;
|
|
5988
6017
|
/**
|
|
5989
|
-
* The **`workerStart`** read-only property of the PerformanceResourceTiming interface returns a
|
|
6018
|
+
* 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.
|
|
5990
6019
|
*
|
|
5991
6020
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/workerStart)
|
|
5992
6021
|
*/
|
|
@@ -6060,7 +6089,7 @@ interface PermissionStatus extends EventTarget {
|
|
|
6060
6089
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/change_event) */
|
|
6061
6090
|
onchange: ((this: PermissionStatus, ev: Event) => any) | null;
|
|
6062
6091
|
/**
|
|
6063
|
-
* The **`state`** read-only property of the
|
|
6092
|
+
* The **`state`** read-only property of the PermissionStatus interface returns the state of a requested permission.
|
|
6064
6093
|
*
|
|
6065
6094
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/state)
|
|
6066
6095
|
*/
|
|
@@ -6077,7 +6106,7 @@ declare var PermissionStatus: {
|
|
|
6077
6106
|
};
|
|
6078
6107
|
|
|
6079
6108
|
/**
|
|
6080
|
-
* The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions
|
|
6109
|
+
* The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions
|
|
6081
6110
|
*
|
|
6082
6111
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions)
|
|
6083
6112
|
*/
|
|
@@ -6102,7 +6131,7 @@ declare var Permissions: {
|
|
|
6102
6131
|
*/
|
|
6103
6132
|
interface ProgressEvent<T extends EventTarget = EventTarget> extends Event {
|
|
6104
6133
|
/**
|
|
6105
|
-
* The **`ProgressEvent.lengthComputable`** read-only property is a boolean flag indicating if the resource concerned by the
|
|
6134
|
+
* 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.
|
|
6106
6135
|
*
|
|
6107
6136
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/lengthComputable)
|
|
6108
6137
|
*/
|
|
@@ -6134,7 +6163,7 @@ declare var ProgressEvent: {
|
|
|
6134
6163
|
*/
|
|
6135
6164
|
interface PromiseRejectionEvent extends Event {
|
|
6136
6165
|
/**
|
|
6137
|
-
* The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript rejected.
|
|
6166
|
+
* The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript Promise which was rejected.
|
|
6138
6167
|
*
|
|
6139
6168
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise)
|
|
6140
6169
|
*/
|
|
@@ -6186,7 +6215,7 @@ interface PushManager {
|
|
|
6186
6215
|
*/
|
|
6187
6216
|
getSubscription(): Promise<PushSubscription | null>;
|
|
6188
6217
|
/**
|
|
6189
|
-
* The **`permissionState()`** method of the string indicating the permission state of the push manager.
|
|
6218
|
+
* The **`permissionState()`** method of the PushManager interface returns a Promise that resolves to a string indicating the permission state of the push manager.
|
|
6190
6219
|
*
|
|
6191
6220
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/permissionState)
|
|
6192
6221
|
*/
|
|
@@ -6262,13 +6291,13 @@ declare var PushMessageData: {
|
|
|
6262
6291
|
*/
|
|
6263
6292
|
interface PushSubscription {
|
|
6264
6293
|
/**
|
|
6265
|
-
* The **`endpoint`** read-only property of the the endpoint associated with the push subscription.
|
|
6294
|
+
* The **`endpoint`** read-only property of the PushSubscription interface returns a string containing the endpoint associated with the push subscription.
|
|
6266
6295
|
*
|
|
6267
6296
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/endpoint)
|
|
6268
6297
|
*/
|
|
6269
6298
|
readonly endpoint: string;
|
|
6270
6299
|
/**
|
|
6271
|
-
* The **`expirationTime`** read-only property of the of the subscription expiration time associated with the push subscription, if there is one, or `null` otherwise.
|
|
6300
|
+
* 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.
|
|
6272
6301
|
*
|
|
6273
6302
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/expirationTime)
|
|
6274
6303
|
*/
|
|
@@ -6423,7 +6452,7 @@ interface ReadableStream<R = any> {
|
|
|
6423
6452
|
*/
|
|
6424
6453
|
pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
|
|
6425
6454
|
/**
|
|
6426
|
-
* The **`tee()`** method of the two-element array containing the two resulting branches as new ReadableStream instances.
|
|
6455
|
+
* 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.
|
|
6427
6456
|
*
|
|
6428
6457
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/tee)
|
|
6429
6458
|
*/
|
|
@@ -6500,7 +6529,7 @@ declare var ReadableStreamBYOBRequest: {
|
|
|
6500
6529
|
*/
|
|
6501
6530
|
interface ReadableStreamDefaultController<R = any> {
|
|
6502
6531
|
/**
|
|
6503
|
-
* The **`desiredSize`** read-only property of the required to fill the stream's internal queue.
|
|
6532
|
+
* The **`desiredSize`** read-only property of the ReadableStreamDefaultController interface returns the desired size required to fill the stream's internal queue.
|
|
6504
6533
|
*
|
|
6505
6534
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize)
|
|
6506
6535
|
*/
|
|
@@ -6512,13 +6541,13 @@ interface ReadableStreamDefaultController<R = any> {
|
|
|
6512
6541
|
*/
|
|
6513
6542
|
close(): void;
|
|
6514
6543
|
/**
|
|
6515
|
-
* The **`enqueue()`** method of the
|
|
6544
|
+
* The **`enqueue()`** method of the ReadableStreamDefaultController interface enqueues a given chunk in the associated stream.
|
|
6516
6545
|
*
|
|
6517
6546
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
|
|
6518
6547
|
*/
|
|
6519
6548
|
enqueue(chunk?: R): void;
|
|
6520
6549
|
/**
|
|
6521
|
-
* The **`error()`** method of the with the associated stream to error.
|
|
6550
|
+
* The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
6522
6551
|
*
|
|
6523
6552
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error)
|
|
6524
6553
|
*/
|
|
@@ -6569,19 +6598,19 @@ interface ReadableStreamGenericReader {
|
|
|
6569
6598
|
*/
|
|
6570
6599
|
interface ReportingObserver {
|
|
6571
6600
|
/**
|
|
6572
|
-
* The **`disconnect()`** method of the previously started observing from collecting reports.
|
|
6601
|
+
* The **`disconnect()`** method of the ReportingObserver interface stops a reporting observer that had previously started observing from collecting reports.
|
|
6573
6602
|
*
|
|
6574
6603
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/disconnect)
|
|
6575
6604
|
*/
|
|
6576
6605
|
disconnect(): void;
|
|
6577
6606
|
/**
|
|
6578
|
-
* The **`observe()`** method of the collecting reports in its report queue.
|
|
6607
|
+
* The **`observe()`** method of the ReportingObserver interface instructs a reporting observer to start collecting reports in its report queue.
|
|
6579
6608
|
*
|
|
6580
6609
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/observe)
|
|
6581
6610
|
*/
|
|
6582
6611
|
observe(): void;
|
|
6583
6612
|
/**
|
|
6584
|
-
* The **`takeRecords()`** method of the in the observer's report queue, and empties the queue.
|
|
6613
|
+
* The **`takeRecords()`** method of the ReportingObserver interface returns the current list of reports contained in the observer's report queue, and empties the queue.
|
|
6585
6614
|
*
|
|
6586
6615
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/takeRecords)
|
|
6587
6616
|
*/
|
|
@@ -6618,7 +6647,7 @@ interface Request extends Body {
|
|
|
6618
6647
|
*/
|
|
6619
6648
|
readonly destination: RequestDestination;
|
|
6620
6649
|
/**
|
|
6621
|
-
* The **`headers`** read-only property of the with the request.
|
|
6650
|
+
* The **`headers`** read-only property of the Request interface contains the Headers object associated with the request.
|
|
6622
6651
|
*
|
|
6623
6652
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/headers)
|
|
6624
6653
|
*/
|
|
@@ -6636,7 +6665,7 @@ interface Request extends Body {
|
|
|
6636
6665
|
*/
|
|
6637
6666
|
readonly keepalive: boolean;
|
|
6638
6667
|
/**
|
|
6639
|
-
* The **`method`** read-only property of the
|
|
6668
|
+
* The **`method`** read-only property of the Request interface contains the request's method (`GET`, `POST`, etc.)
|
|
6640
6669
|
*
|
|
6641
6670
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/method)
|
|
6642
6671
|
*/
|
|
@@ -6654,13 +6683,13 @@ interface Request extends Body {
|
|
|
6654
6683
|
*/
|
|
6655
6684
|
readonly redirect: RequestRedirect;
|
|
6656
6685
|
/**
|
|
6657
|
-
* The **`referrer`** read-only property of the Request.
|
|
6686
|
+
* The **`referrer`** read-only property of the Request interface is set by the user agent to be the referrer of the Request.
|
|
6658
6687
|
*
|
|
6659
6688
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrer)
|
|
6660
6689
|
*/
|
|
6661
6690
|
readonly referrer: string;
|
|
6662
6691
|
/**
|
|
6663
|
-
* The **`referrerPolicy`** read-only property of the referrer information, sent in the Referer header, should be included with the request.
|
|
6692
|
+
* 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.
|
|
6664
6693
|
*
|
|
6665
6694
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrerPolicy)
|
|
6666
6695
|
*/
|
|
@@ -6697,7 +6726,7 @@ declare var Request: {
|
|
|
6697
6726
|
*/
|
|
6698
6727
|
interface Response extends Body {
|
|
6699
6728
|
/**
|
|
6700
|
-
* The **`headers`** read-only property of the with the response.
|
|
6729
|
+
* The **`headers`** read-only property of the Response interface contains the Headers object associated with the response.
|
|
6701
6730
|
*
|
|
6702
6731
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/headers)
|
|
6703
6732
|
*/
|
|
@@ -6874,7 +6903,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker {
|
|
|
6874
6903
|
*/
|
|
6875
6904
|
readonly scriptURL: string;
|
|
6876
6905
|
/**
|
|
6877
|
-
* The **`state`** read-only property of the of the service worker.
|
|
6906
|
+
* The **`state`** read-only property of the ServiceWorker interface returns a string representing the current state of the service worker.
|
|
6878
6907
|
*
|
|
6879
6908
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/state)
|
|
6880
6909
|
*/
|
|
@@ -6929,13 +6958,13 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
|
6929
6958
|
*/
|
|
6930
6959
|
readonly ready: Promise<ServiceWorkerRegistration>;
|
|
6931
6960
|
/**
|
|
6932
|
-
* The **`getRegistration()`** method of the client URL.
|
|
6961
|
+
* The **`getRegistration()`** method of the ServiceWorkerContainer interface gets a ServiceWorkerRegistration object whose scope URL matches the provided client URL.
|
|
6933
6962
|
*
|
|
6934
6963
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistration)
|
|
6935
6964
|
*/
|
|
6936
6965
|
getRegistration(clientURL?: string | URL): Promise<ServiceWorkerRegistration | undefined>;
|
|
6937
6966
|
/**
|
|
6938
|
-
* The **`getRegistrations()`** method of the `ServiceWorkerContainer`, in an array.
|
|
6967
|
+
* The **`getRegistrations()`** method of the ServiceWorkerContainer interface gets all ServiceWorkerRegistrations associated with a `ServiceWorkerContainer`, in an array.
|
|
6939
6968
|
*
|
|
6940
6969
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistrations)
|
|
6941
6970
|
*/
|
|
@@ -6984,7 +7013,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
|
|
6984
7013
|
*/
|
|
6985
7014
|
interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
6986
7015
|
/**
|
|
6987
|
-
* The **`clients`** read-only property of the object associated with the service worker.
|
|
7016
|
+
* The **`clients`** read-only property of the ServiceWorkerGlobalScope interface returns the `Clients` object associated with the service worker.
|
|
6988
7017
|
*
|
|
6989
7018
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/clients)
|
|
6990
7019
|
*/
|
|
@@ -7056,7 +7085,7 @@ interface ServiceWorkerRegistrationEventMap {
|
|
|
7056
7085
|
*/
|
|
7057
7086
|
interface ServiceWorkerRegistration extends EventTarget {
|
|
7058
7087
|
/**
|
|
7059
|
-
* The **`active`** read-only property of the
|
|
7088
|
+
* The **`active`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `activating` or `activated`.
|
|
7060
7089
|
*
|
|
7061
7090
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)
|
|
7062
7091
|
*/
|
|
@@ -7068,7 +7097,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
7068
7097
|
*/
|
|
7069
7098
|
readonly cookies: CookieStoreManager;
|
|
7070
7099
|
/**
|
|
7071
|
-
* The **`installing`** read-only property of the
|
|
7100
|
+
* The **`installing`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `installing`.
|
|
7072
7101
|
*
|
|
7073
7102
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/installing)
|
|
7074
7103
|
*/
|
|
@@ -7082,7 +7111,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
7082
7111
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updatefound_event) */
|
|
7083
7112
|
onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;
|
|
7084
7113
|
/**
|
|
7085
|
-
* The **`pushManager`** read-only property of the support for subscribing, getting an active subscription, and accessing push permission status.
|
|
7114
|
+
* 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.
|
|
7086
7115
|
*
|
|
7087
7116
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/pushManager)
|
|
7088
7117
|
*/
|
|
@@ -7100,7 +7129,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
7100
7129
|
*/
|
|
7101
7130
|
readonly updateViaCache: ServiceWorkerUpdateViaCache;
|
|
7102
7131
|
/**
|
|
7103
|
-
* The **`waiting`** read-only property of the
|
|
7132
|
+
* The **`waiting`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `installed`.
|
|
7104
7133
|
*
|
|
7105
7134
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/waiting)
|
|
7106
7135
|
*/
|
|
@@ -7112,19 +7141,19 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
7112
7141
|
*/
|
|
7113
7142
|
getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;
|
|
7114
7143
|
/**
|
|
7115
|
-
* The **`showNotification()`** method of the service worker.
|
|
7144
|
+
* The **`showNotification()`** method of the ServiceWorkerRegistration interface creates a notification on an active service worker.
|
|
7116
7145
|
*
|
|
7117
7146
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/showNotification)
|
|
7118
7147
|
*/
|
|
7119
7148
|
showNotification(title: string, options?: NotificationOptions): Promise<void>;
|
|
7120
7149
|
/**
|
|
7121
|
-
* The **`unregister()`** method of the registration and returns a Promise.
|
|
7150
|
+
* The **`unregister()`** method of the ServiceWorkerRegistration interface unregisters the service worker registration and returns a Promise.
|
|
7122
7151
|
*
|
|
7123
7152
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister)
|
|
7124
7153
|
*/
|
|
7125
7154
|
unregister(): Promise<boolean>;
|
|
7126
7155
|
/**
|
|
7127
|
-
* The **`update()`** method of the worker.
|
|
7156
|
+
* The **`update()`** method of the ServiceWorkerRegistration interface attempts to update the service worker.
|
|
7128
7157
|
*
|
|
7129
7158
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update)
|
|
7130
7159
|
*/
|
|
@@ -7179,25 +7208,25 @@ declare var StorageManager: {
|
|
|
7179
7208
|
*/
|
|
7180
7209
|
interface StylePropertyMapReadOnly {
|
|
7181
7210
|
/**
|
|
7182
|
-
* The **`size`** read-only property of the containing the size of the `StylePropertyMapReadOnly` object.
|
|
7211
|
+
* The **`size`** read-only property of the StylePropertyMapReadOnly interface returns an unsigned long integer containing the size of the `StylePropertyMapReadOnly` object.
|
|
7183
7212
|
*
|
|
7184
7213
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/size)
|
|
7185
7214
|
*/
|
|
7186
7215
|
readonly size: number;
|
|
7187
7216
|
/**
|
|
7188
|
-
* The **`get()`** method of the object for the first value of the specified property.
|
|
7217
|
+
* The **`get()`** method of the StylePropertyMapReadOnly interface returns a CSSStyleValue object for the first value of the specified property.
|
|
7189
7218
|
*
|
|
7190
7219
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/get)
|
|
7191
7220
|
*/
|
|
7192
7221
|
get(property: string): undefined | CSSStyleValue;
|
|
7193
7222
|
/**
|
|
7194
|
-
* The **`getAll()`** method of the
|
|
7223
|
+
* The **`getAll()`** method of the StylePropertyMapReadOnly interface returns an array of CSSStyleValue objects containing the values for the provided property.
|
|
7195
7224
|
*
|
|
7196
7225
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/getAll)
|
|
7197
7226
|
*/
|
|
7198
7227
|
getAll(property: string): CSSStyleValue[];
|
|
7199
7228
|
/**
|
|
7200
|
-
* The **`has()`** method of the property is in the `StylePropertyMapReadOnly` object.
|
|
7229
|
+
* The **`has()`** method of the StylePropertyMapReadOnly interface indicates whether the specified property is in the `StylePropertyMapReadOnly` object.
|
|
7201
7230
|
*
|
|
7202
7231
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/has)
|
|
7203
7232
|
*/
|
|
@@ -7224,7 +7253,7 @@ interface SubtleCrypto {
|
|
|
7224
7253
|
*/
|
|
7225
7254
|
decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;
|
|
7226
7255
|
/**
|
|
7227
|
-
* The **`deriveBits()`** method of the key.
|
|
7256
|
+
* The **`deriveBits()`** method of the SubtleCrypto interface can be used to derive an array of bits from a base key.
|
|
7228
7257
|
*
|
|
7229
7258
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits)
|
|
7230
7259
|
*/
|
|
@@ -7621,7 +7650,7 @@ interface URL {
|
|
|
7621
7650
|
*/
|
|
7622
7651
|
search: string;
|
|
7623
7652
|
/**
|
|
7624
|
-
* The **`searchParams`** read-only property of the access to the
|
|
7653
|
+
* 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.
|
|
7625
7654
|
*
|
|
7626
7655
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/searchParams)
|
|
7627
7656
|
*/
|
|
@@ -7633,7 +7662,7 @@ interface URL {
|
|
|
7633
7662
|
*/
|
|
7634
7663
|
username: string;
|
|
7635
7664
|
/**
|
|
7636
|
-
* 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
|
|
7665
|
+
* 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().
|
|
7637
7666
|
*
|
|
7638
7667
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)
|
|
7639
7668
|
*/
|
|
@@ -10352,7 +10381,7 @@ interface WebSocket extends EventTarget {
|
|
|
10352
10381
|
*/
|
|
10353
10382
|
readonly url: string;
|
|
10354
10383
|
/**
|
|
10355
|
-
* The **`WebSocket.close()`** method closes the
|
|
10384
|
+
* The **`WebSocket.close()`** method closes the WebSocket connection or connection attempt, if any.
|
|
10356
10385
|
*
|
|
10357
10386
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close)
|
|
10358
10387
|
*/
|
|
@@ -10555,25 +10584,25 @@ declare var WebTransportError: {
|
|
|
10555
10584
|
*/
|
|
10556
10585
|
interface WindowClient extends Client {
|
|
10557
10586
|
/**
|
|
10558
|
-
* The **`focused`** read-only property of the the current client has focus.
|
|
10587
|
+
* The **`focused`** read-only property of the WindowClient interface is a boolean value that indicates whether the current client has focus.
|
|
10559
10588
|
*
|
|
10560
10589
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/focused)
|
|
10561
10590
|
*/
|
|
10562
10591
|
readonly focused: boolean;
|
|
10563
10592
|
/**
|
|
10564
|
-
* The **`visibilityState`** read-only property of the
|
|
10593
|
+
* The **`visibilityState`** read-only property of the WindowClient interface indicates the visibility of the current client.
|
|
10565
10594
|
*
|
|
10566
10595
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/visibilityState)
|
|
10567
10596
|
*/
|
|
10568
10597
|
readonly visibilityState: DocumentVisibilityState;
|
|
10569
10598
|
/**
|
|
10570
|
-
* The **`focus()`** method of the WindowClient interface gives user input focus to the current client and returns a
|
|
10599
|
+
* The **`focus()`** method of the WindowClient interface gives user input focus to the current client and returns a Promise that resolves to the existing WindowClient.
|
|
10571
10600
|
*
|
|
10572
10601
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/focus)
|
|
10573
10602
|
*/
|
|
10574
10603
|
focus(): Promise<WindowClient>;
|
|
10575
10604
|
/**
|
|
10576
|
-
* The **`navigate()`** method of the WindowClient interface loads a specified URL into a controlled client page then returns a
|
|
10605
|
+
* The **`navigate()`** method of the WindowClient interface loads a specified URL into a controlled client page then returns a Promise that resolves to the existing WindowClient.
|
|
10577
10606
|
*
|
|
10578
10607
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/navigate)
|
|
10579
10608
|
*/
|
|
@@ -10841,7 +10870,7 @@ interface WritableStreamDefaultController {
|
|
|
10841
10870
|
*/
|
|
10842
10871
|
readonly signal: AbortSignal;
|
|
10843
10872
|
/**
|
|
10844
|
-
* The **`error()`** method of the with the associated stream to error.
|
|
10873
|
+
* The **`error()`** method of the WritableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
10845
10874
|
*
|
|
10846
10875
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error)
|
|
10847
10876
|
*/
|
|
@@ -10860,43 +10889,43 @@ declare var WritableStreamDefaultController: {
|
|
|
10860
10889
|
*/
|
|
10861
10890
|
interface WritableStreamDefaultWriter<W = any> {
|
|
10862
10891
|
/**
|
|
10863
|
-
* The **`closed`** read-only property of the the stream errors or the writer's lock is released.
|
|
10892
|
+
* 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.
|
|
10864
10893
|
*
|
|
10865
10894
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed)
|
|
10866
10895
|
*/
|
|
10867
10896
|
readonly closed: Promise<void>;
|
|
10868
10897
|
/**
|
|
10869
|
-
* The **`desiredSize`** read-only property of the to fill the stream's internal queue.
|
|
10898
|
+
* The **`desiredSize`** read-only property of the WritableStreamDefaultWriter interface returns the desired size required to fill the stream's internal queue.
|
|
10870
10899
|
*
|
|
10871
10900
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/desiredSize)
|
|
10872
10901
|
*/
|
|
10873
10902
|
readonly desiredSize: number | null;
|
|
10874
10903
|
/**
|
|
10875
|
-
* 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.
|
|
10904
|
+
* 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.
|
|
10876
10905
|
*
|
|
10877
10906
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/ready)
|
|
10878
10907
|
*/
|
|
10879
10908
|
readonly ready: Promise<void>;
|
|
10880
10909
|
/**
|
|
10881
|
-
* 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.
|
|
10910
|
+
* 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.
|
|
10882
10911
|
*
|
|
10883
10912
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort)
|
|
10884
10913
|
*/
|
|
10885
10914
|
abort(reason?: any): Promise<void>;
|
|
10886
10915
|
/**
|
|
10887
|
-
* The **`close()`** method of the stream.
|
|
10916
|
+
* The **`close()`** method of the WritableStreamDefaultWriter interface closes the associated writable stream.
|
|
10888
10917
|
*
|
|
10889
10918
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close)
|
|
10890
10919
|
*/
|
|
10891
10920
|
close(): Promise<void>;
|
|
10892
10921
|
/**
|
|
10893
|
-
* The **`releaseLock()`** method of the corresponding stream.
|
|
10922
|
+
* The **`releaseLock()`** method of the WritableStreamDefaultWriter interface releases the writer's lock on the corresponding stream.
|
|
10894
10923
|
*
|
|
10895
10924
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/releaseLock)
|
|
10896
10925
|
*/
|
|
10897
10926
|
releaseLock(): void;
|
|
10898
10927
|
/**
|
|
10899
|
-
* The **`write()`** method of the operation.
|
|
10928
|
+
* 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.
|
|
10900
10929
|
*
|
|
10901
10930
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
|
|
10902
10931
|
*/
|
|
@@ -11318,7 +11347,7 @@ interface VoidFunction {
|
|
|
11318
11347
|
}
|
|
11319
11348
|
|
|
11320
11349
|
/**
|
|
11321
|
-
* The **`clients`** read-only property of the object associated with the service worker.
|
|
11350
|
+
* The **`clients`** read-only property of the ServiceWorkerGlobalScope interface returns the `Clients` object associated with the service worker.
|
|
11322
11351
|
*
|
|
11323
11352
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/clients)
|
|
11324
11353
|
*/
|
|
@@ -11540,6 +11569,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
|
11540
11569
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
11541
11570
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
11542
11571
|
type FrameType = "auxiliary" | "nested" | "none" | "top-level";
|
|
11572
|
+
type GPUPipelineErrorReason = "internal" | "validation";
|
|
11543
11573
|
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";
|
|
11544
11574
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|
|
11545
11575
|
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|