@types/serviceworker 0.0.144 → 0.0.145
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 +199 -199
- package/iterable.d.ts +1 -1
- package/package.json +1 -1
- package/ts5.5/index.d.ts +199 -199
- package/ts5.5/iterable.d.ts +1 -1
- package/ts5.6/index.d.ts +199 -199
- package/ts5.6/iterable.d.ts +1 -1
package/ts5.6/index.d.ts
CHANGED
|
@@ -1016,7 +1016,7 @@ interface Blob {
|
|
|
1016
1016
|
*/
|
|
1017
1017
|
stream(): ReadableStream<Uint8Array>;
|
|
1018
1018
|
/**
|
|
1019
|
-
* The **`text()`** method of the string containing the contents of the blob, interpreted as UTF-8.
|
|
1019
|
+
* 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
1020
|
*
|
|
1021
1021
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text)
|
|
1022
1022
|
*/
|
|
@@ -1132,7 +1132,7 @@ declare var CSSImageValue: {
|
|
|
1132
1132
|
*/
|
|
1133
1133
|
interface CSSKeywordValue extends CSSStyleValue {
|
|
1134
1134
|
/**
|
|
1135
|
-
* The **`value`** property of the `CSSKeywordValue`.
|
|
1135
|
+
* The **`value`** property of the CSSKeywordValue interface returns or sets the value of the `CSSKeywordValue`.
|
|
1136
1136
|
*
|
|
1137
1137
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue/value)
|
|
1138
1138
|
*/
|
|
@@ -1162,7 +1162,7 @@ declare var CSSMathClamp: {
|
|
|
1162
1162
|
*/
|
|
1163
1163
|
interface CSSMathInvert extends CSSMathValue {
|
|
1164
1164
|
/**
|
|
1165
|
-
* The CSSMathInvert.value read-only property of the
|
|
1165
|
+
* The CSSMathInvert.value read-only property of the CSSMathInvert interface returns a CSSNumericValue object.
|
|
1166
1166
|
*
|
|
1167
1167
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert/value)
|
|
1168
1168
|
*/
|
|
@@ -1181,7 +1181,7 @@ declare var CSSMathInvert: {
|
|
|
1181
1181
|
*/
|
|
1182
1182
|
interface CSSMathMax extends CSSMathValue {
|
|
1183
1183
|
/**
|
|
1184
|
-
* The CSSMathMax.values read-only property of the which contains one or more CSSNumericValue objects.
|
|
1184
|
+
* The CSSMathMax.values read-only property of the CSSMathMax interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
1185
1185
|
*
|
|
1186
1186
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax/values)
|
|
1187
1187
|
*/
|
|
@@ -1200,7 +1200,7 @@ declare var CSSMathMax: {
|
|
|
1200
1200
|
*/
|
|
1201
1201
|
interface CSSMathMin extends CSSMathValue {
|
|
1202
1202
|
/**
|
|
1203
|
-
* The CSSMathMin.values read-only property of the which contains one or more CSSNumericValue objects.
|
|
1203
|
+
* The CSSMathMin.values read-only property of the CSSMathMin interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
1204
1204
|
*
|
|
1205
1205
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin/values)
|
|
1206
1206
|
*/
|
|
@@ -1219,7 +1219,7 @@ declare var CSSMathMin: {
|
|
|
1219
1219
|
*/
|
|
1220
1220
|
interface CSSMathNegate extends CSSMathValue {
|
|
1221
1221
|
/**
|
|
1222
|
-
* The CSSMathNegate.value read-only property of the
|
|
1222
|
+
* The CSSMathNegate.value read-only property of the CSSMathNegate interface returns a CSSNumericValue object.
|
|
1223
1223
|
*
|
|
1224
1224
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate/value)
|
|
1225
1225
|
*/
|
|
@@ -1238,7 +1238,7 @@ declare var CSSMathNegate: {
|
|
|
1238
1238
|
*/
|
|
1239
1239
|
interface CSSMathProduct extends CSSMathValue {
|
|
1240
1240
|
/**
|
|
1241
|
-
* The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a
|
|
1241
|
+
* The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
1242
1242
|
*
|
|
1243
1243
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct/values)
|
|
1244
1244
|
*/
|
|
@@ -1295,7 +1295,7 @@ declare var CSSMathValue: {
|
|
|
1295
1295
|
*/
|
|
1296
1296
|
interface CSSMatrixComponent extends CSSTransformComponent {
|
|
1297
1297
|
/**
|
|
1298
|
-
* The **`matrix`** property of the
|
|
1298
|
+
* The **`matrix`** property of the CSSMatrixComponent interface gets and sets a 2d or 3d matrix.
|
|
1299
1299
|
*
|
|
1300
1300
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent/matrix)
|
|
1301
1301
|
*/
|
|
@@ -1314,7 +1314,7 @@ declare var CSSMatrixComponent: {
|
|
|
1314
1314
|
*/
|
|
1315
1315
|
interface CSSNumericArray {
|
|
1316
1316
|
/**
|
|
1317
|
-
* The read-only **`length`** property of the
|
|
1317
|
+
* The read-only **`length`** property of the CSSNumericArray interface returns the number of CSSNumericValue objects in the list.
|
|
1318
1318
|
*
|
|
1319
1319
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray/length)
|
|
1320
1320
|
*/
|
|
@@ -1335,61 +1335,61 @@ declare var CSSNumericArray: {
|
|
|
1335
1335
|
*/
|
|
1336
1336
|
interface CSSNumericValue extends CSSStyleValue {
|
|
1337
1337
|
/**
|
|
1338
|
-
* The **`add()`** method of the `CSSNumericValue`.
|
|
1338
|
+
* The **`add()`** method of the CSSNumericValue interface adds a supplied number to the `CSSNumericValue`.
|
|
1339
1339
|
*
|
|
1340
1340
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add)
|
|
1341
1341
|
*/
|
|
1342
1342
|
add(...values: CSSNumberish[]): CSSNumericValue;
|
|
1343
1343
|
/**
|
|
1344
|
-
* The **`div()`** method of the supplied value.
|
|
1344
|
+
* The **`div()`** method of the CSSNumericValue interface divides the `CSSNumericValue` by the supplied value.
|
|
1345
1345
|
*
|
|
1346
1346
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/div)
|
|
1347
1347
|
*/
|
|
1348
1348
|
div(...values: CSSNumberish[]): CSSNumericValue;
|
|
1349
1349
|
/**
|
|
1350
|
-
* The **`equals()`** method of the value are strictly equal.
|
|
1350
|
+
* The **`equals()`** method of the CSSNumericValue interface returns a boolean indicating whether the passed value are strictly equal.
|
|
1351
1351
|
*
|
|
1352
1352
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/equals)
|
|
1353
1353
|
*/
|
|
1354
1354
|
equals(...value: CSSNumberish[]): boolean;
|
|
1355
1355
|
/**
|
|
1356
|
-
* The **`max()`** method of the passed.
|
|
1356
|
+
* The **`max()`** method of the CSSNumericValue interface returns the highest value from among the values passed.
|
|
1357
1357
|
*
|
|
1358
1358
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/max)
|
|
1359
1359
|
*/
|
|
1360
1360
|
max(...values: CSSNumberish[]): CSSNumericValue;
|
|
1361
1361
|
/**
|
|
1362
|
-
* The **`min()`** method of the values passed.
|
|
1362
|
+
* The **`min()`** method of the CSSNumericValue interface returns the lowest value from among those values passed.
|
|
1363
1363
|
*
|
|
1364
1364
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/min)
|
|
1365
1365
|
*/
|
|
1366
1366
|
min(...values: CSSNumberish[]): CSSNumericValue;
|
|
1367
1367
|
/**
|
|
1368
|
-
* The **`mul()`** method of the the supplied value.
|
|
1368
|
+
* The **`mul()`** method of the CSSNumericValue interface multiplies the `CSSNumericValue` by the supplied value.
|
|
1369
1369
|
*
|
|
1370
1370
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/mul)
|
|
1371
1371
|
*/
|
|
1372
1372
|
mul(...values: CSSNumberish[]): CSSNumericValue;
|
|
1373
1373
|
/**
|
|
1374
|
-
* The **`sub()`** method of the `CSSNumericValue`.
|
|
1374
|
+
* The **`sub()`** method of the CSSNumericValue interface subtracts a supplied number from the `CSSNumericValue`.
|
|
1375
1375
|
*
|
|
1376
1376
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/sub)
|
|
1377
1377
|
*/
|
|
1378
1378
|
sub(...values: CSSNumberish[]): CSSNumericValue;
|
|
1379
1379
|
/**
|
|
1380
|
-
* The **`to()`** method of the another.
|
|
1380
|
+
* The **`to()`** method of the CSSNumericValue interface converts a numeric value from one unit to another.
|
|
1381
1381
|
*
|
|
1382
1382
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/to)
|
|
1383
1383
|
*/
|
|
1384
1384
|
to(unit: string): CSSUnitValue;
|
|
1385
1385
|
/**
|
|
1386
|
-
* The **`toSum()`** method of the
|
|
1386
|
+
* The **`toSum()`** method of the CSSNumericValue interface converts the object's value to a CSSMathSum object to values of the specified unit.
|
|
1387
1387
|
*
|
|
1388
1388
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/toSum)
|
|
1389
1389
|
*/
|
|
1390
1390
|
toSum(...units: string[]): CSSMathSum;
|
|
1391
1391
|
/**
|
|
1392
|
-
* The **`type()`** method of the `CSSNumericValue`, one of `angle`, `flex`, `frequency`, `length`, `resolution`, `percent`, `percentHint`, or `time`.
|
|
1392
|
+
* The **`type()`** method of the CSSNumericValue interface returns the type of `CSSNumericValue`, one of `angle`, `flex`, `frequency`, `length`, `resolution`, `percent`, `percentHint`, or `time`.
|
|
1393
1393
|
*
|
|
1394
1394
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/type)
|
|
1395
1395
|
*/
|
|
@@ -1408,7 +1408,7 @@ declare var CSSNumericValue: {
|
|
|
1408
1408
|
*/
|
|
1409
1409
|
interface CSSPerspective extends CSSTransformComponent {
|
|
1410
1410
|
/**
|
|
1411
|
-
* The **`length`** property of the
|
|
1411
|
+
* The **`length`** property of the CSSPerspective interface sets the distance from z=0.
|
|
1412
1412
|
*
|
|
1413
1413
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective/length)
|
|
1414
1414
|
*/
|
|
@@ -1427,25 +1427,25 @@ declare var CSSPerspective: {
|
|
|
1427
1427
|
*/
|
|
1428
1428
|
interface CSSRotate extends CSSTransformComponent {
|
|
1429
1429
|
/**
|
|
1430
|
-
* The **`angle`** property of the
|
|
1430
|
+
* The **`angle`** property of the CSSRotate interface gets and sets the angle of rotation.
|
|
1431
1431
|
*
|
|
1432
1432
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/angle)
|
|
1433
1433
|
*/
|
|
1434
1434
|
angle: CSSNumericValue;
|
|
1435
1435
|
/**
|
|
1436
|
-
* The **`x`** property of the translating vector.
|
|
1436
|
+
* The **`x`** property of the CSSRotate interface gets and sets the abscissa or x-axis of the translating vector.
|
|
1437
1437
|
*
|
|
1438
1438
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/x)
|
|
1439
1439
|
*/
|
|
1440
1440
|
x: CSSNumberish;
|
|
1441
1441
|
/**
|
|
1442
|
-
* The **`y`** property of the translating vector.
|
|
1442
|
+
* The **`y`** property of the CSSRotate interface gets and sets the ordinate or y-axis of the translating vector.
|
|
1443
1443
|
*
|
|
1444
1444
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/y)
|
|
1445
1445
|
*/
|
|
1446
1446
|
y: CSSNumberish;
|
|
1447
1447
|
/**
|
|
1448
|
-
* The **`z`** property of the vector.
|
|
1448
|
+
* The **`z`** property of the CSSRotate interface representing the z-component of the translating vector.
|
|
1449
1449
|
*
|
|
1450
1450
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/z)
|
|
1451
1451
|
*/
|
|
@@ -1465,19 +1465,19 @@ declare var CSSRotate: {
|
|
|
1465
1465
|
*/
|
|
1466
1466
|
interface CSSScale extends CSSTransformComponent {
|
|
1467
1467
|
/**
|
|
1468
|
-
* The **`x`** property of the translating vector.
|
|
1468
|
+
* The **`x`** property of the CSSScale interface gets and sets the abscissa or x-axis of the translating vector.
|
|
1469
1469
|
*
|
|
1470
1470
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/x)
|
|
1471
1471
|
*/
|
|
1472
1472
|
x: CSSNumberish;
|
|
1473
1473
|
/**
|
|
1474
|
-
* The **`y`** property of the translating vector.
|
|
1474
|
+
* The **`y`** property of the CSSScale interface gets and sets the ordinate or y-axis of the translating vector.
|
|
1475
1475
|
*
|
|
1476
1476
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/y)
|
|
1477
1477
|
*/
|
|
1478
1478
|
y: CSSNumberish;
|
|
1479
1479
|
/**
|
|
1480
|
-
* The **`z`** property of the vector.
|
|
1480
|
+
* The **`z`** property of the CSSScale interface representing the z-component of the translating vector.
|
|
1481
1481
|
*
|
|
1482
1482
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/z)
|
|
1483
1483
|
*/
|
|
@@ -1496,13 +1496,13 @@ declare var CSSScale: {
|
|
|
1496
1496
|
*/
|
|
1497
1497
|
interface CSSSkew extends CSSTransformComponent {
|
|
1498
1498
|
/**
|
|
1499
|
-
* The **`ax`** property of the along the x-axis (or abscissa).
|
|
1499
|
+
* The **`ax`** property of the CSSSkew interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
|
|
1500
1500
|
*
|
|
1501
1501
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax)
|
|
1502
1502
|
*/
|
|
1503
1503
|
ax: CSSNumericValue;
|
|
1504
1504
|
/**
|
|
1505
|
-
* The **`ay`** property of the along the y-axis (or ordinate).
|
|
1505
|
+
* The **`ay`** property of the CSSSkew interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
|
|
1506
1506
|
*
|
|
1507
1507
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ay)
|
|
1508
1508
|
*/
|
|
@@ -1521,7 +1521,7 @@ declare var CSSSkew: {
|
|
|
1521
1521
|
*/
|
|
1522
1522
|
interface CSSSkewX extends CSSTransformComponent {
|
|
1523
1523
|
/**
|
|
1524
|
-
* The **`ax`** property of the along the x-axis (or abscissa).
|
|
1524
|
+
* The **`ax`** property of the CSSSkewX interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
|
|
1525
1525
|
*
|
|
1526
1526
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX/ax)
|
|
1527
1527
|
*/
|
|
@@ -1540,7 +1540,7 @@ declare var CSSSkewX: {
|
|
|
1540
1540
|
*/
|
|
1541
1541
|
interface CSSSkewY extends CSSTransformComponent {
|
|
1542
1542
|
/**
|
|
1543
|
-
* The **`ay`** property of the along the y-axis (or ordinate).
|
|
1543
|
+
* The **`ay`** property of the CSSSkewY interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
|
|
1544
1544
|
*
|
|
1545
1545
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY/ay)
|
|
1546
1546
|
*/
|
|
@@ -1579,7 +1579,7 @@ interface CSSTransformComponent {
|
|
|
1579
1579
|
*/
|
|
1580
1580
|
is2D: boolean;
|
|
1581
1581
|
/**
|
|
1582
|
-
* The **`toMatrix()`** method of the object.
|
|
1582
|
+
* The **`toMatrix()`** method of the CSSTransformComponent interface returns a DOMMatrix object.
|
|
1583
1583
|
*
|
|
1584
1584
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent/toMatrix)
|
|
1585
1585
|
*/
|
|
@@ -1599,19 +1599,19 @@ declare var CSSTransformComponent: {
|
|
|
1599
1599
|
*/
|
|
1600
1600
|
interface CSSTransformValue extends CSSStyleValue {
|
|
1601
1601
|
/**
|
|
1602
|
-
* The read-only **`is2D`** property of the
|
|
1602
|
+
* The read-only **`is2D`** property of the CSSTransformValue interface returns whether the transform is 2D or 3D.
|
|
1603
1603
|
*
|
|
1604
1604
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/is2D)
|
|
1605
1605
|
*/
|
|
1606
1606
|
readonly is2D: boolean;
|
|
1607
1607
|
/**
|
|
1608
|
-
* The read-only **`length`** property of the the list.
|
|
1608
|
+
* The read-only **`length`** property of the CSSTransformValue interface returns the number of transform components in the list.
|
|
1609
1609
|
*
|
|
1610
1610
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/length)
|
|
1611
1611
|
*/
|
|
1612
1612
|
readonly length: number;
|
|
1613
1613
|
/**
|
|
1614
|
-
* The **`toMatrix()`** method of the
|
|
1614
|
+
* The **`toMatrix()`** method of the CSSTransformValue interface returns a DOMMatrix object.
|
|
1615
1615
|
*
|
|
1616
1616
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/toMatrix)
|
|
1617
1617
|
*/
|
|
@@ -1632,19 +1632,19 @@ declare var CSSTransformValue: {
|
|
|
1632
1632
|
*/
|
|
1633
1633
|
interface CSSTranslate extends CSSTransformComponent {
|
|
1634
1634
|
/**
|
|
1635
|
-
* The **`x`** property of the translating vector.
|
|
1635
|
+
* The **`x`** property of the CSSTranslate interface gets and sets the abscissa or x-axis of the translating vector.
|
|
1636
1636
|
*
|
|
1637
1637
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/x)
|
|
1638
1638
|
*/
|
|
1639
1639
|
x: CSSNumericValue;
|
|
1640
1640
|
/**
|
|
1641
|
-
* The **`y`** property of the translating vector.
|
|
1641
|
+
* The **`y`** property of the CSSTranslate interface gets and sets the ordinate or y-axis of the translating vector.
|
|
1642
1642
|
*
|
|
1643
1643
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/y)
|
|
1644
1644
|
*/
|
|
1645
1645
|
y: CSSNumericValue;
|
|
1646
1646
|
/**
|
|
1647
|
-
* The **`z`** property of the vector.
|
|
1647
|
+
* The **`z`** property of the CSSTranslate interface representing the z-component of the translating vector.
|
|
1648
1648
|
*
|
|
1649
1649
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/z)
|
|
1650
1650
|
*/
|
|
@@ -1669,7 +1669,7 @@ interface CSSUnitValue extends CSSNumericValue {
|
|
|
1669
1669
|
*/
|
|
1670
1670
|
readonly unit: string;
|
|
1671
1671
|
/**
|
|
1672
|
-
* The **`CSSUnitValue.value`** property of the
|
|
1672
|
+
* The **`CSSUnitValue.value`** property of the CSSUnitValue interface returns a double indicating the number of units.
|
|
1673
1673
|
*
|
|
1674
1674
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/value)
|
|
1675
1675
|
*/
|
|
@@ -1688,7 +1688,7 @@ declare var CSSUnitValue: {
|
|
|
1688
1688
|
*/
|
|
1689
1689
|
interface CSSUnparsedValue extends CSSStyleValue {
|
|
1690
1690
|
/**
|
|
1691
|
-
* The **`length`** read-only property of the
|
|
1691
|
+
* The **`length`** read-only property of the CSSUnparsedValue interface returns the number of items in the object.
|
|
1692
1692
|
*
|
|
1693
1693
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue/length)
|
|
1694
1694
|
*/
|
|
@@ -1709,13 +1709,13 @@ declare var CSSUnparsedValue: {
|
|
|
1709
1709
|
*/
|
|
1710
1710
|
interface CSSVariableReferenceValue {
|
|
1711
1711
|
/**
|
|
1712
|
-
* The **`fallback`** read-only property of the
|
|
1712
|
+
* The **`fallback`** read-only property of the CSSVariableReferenceValue interface returns the custom property fallback value of the CSSVariableReferenceValue.
|
|
1713
1713
|
*
|
|
1714
1714
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/fallback)
|
|
1715
1715
|
*/
|
|
1716
1716
|
readonly fallback: CSSUnparsedValue | null;
|
|
1717
1717
|
/**
|
|
1718
|
-
* The **`variable`** property of the
|
|
1718
|
+
* The **`variable`** property of the CSSVariableReferenceValue interface returns the custom property name of the CSSVariableReferenceValue.
|
|
1719
1719
|
*
|
|
1720
1720
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/variable)
|
|
1721
1721
|
*/
|
|
@@ -1753,7 +1753,7 @@ interface Cache {
|
|
|
1753
1753
|
*/
|
|
1754
1754
|
delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<boolean>;
|
|
1755
1755
|
/**
|
|
1756
|
-
* The **`keys()`** method of the Cache interface returns a representing the keys of the Cache.
|
|
1756
|
+
* 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
1757
|
*
|
|
1758
1758
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/keys)
|
|
1759
1759
|
*/
|
|
@@ -1771,7 +1771,7 @@ interface Cache {
|
|
|
1771
1771
|
*/
|
|
1772
1772
|
matchAll(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;
|
|
1773
1773
|
/**
|
|
1774
|
-
* The **`put()`** method of the
|
|
1774
|
+
* The **`put()`** method of the Cache interface allows key/value pairs to be added to the current Cache object.
|
|
1775
1775
|
*
|
|
1776
1776
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/put)
|
|
1777
1777
|
*/
|
|
@@ -1797,7 +1797,7 @@ interface CacheStorage {
|
|
|
1797
1797
|
*/
|
|
1798
1798
|
delete(cacheName: string): Promise<boolean>;
|
|
1799
1799
|
/**
|
|
1800
|
-
* The **`has()`** method of the CacheStorage interface returns a Promise that resolves to `true` if a
|
|
1800
|
+
* The **`has()`** method of the CacheStorage interface returns a Promise that resolves to `true` if a Cache object matches the `cacheName`.
|
|
1801
1801
|
*
|
|
1802
1802
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/has)
|
|
1803
1803
|
*/
|
|
@@ -1815,7 +1815,7 @@ interface CacheStorage {
|
|
|
1815
1815
|
*/
|
|
1816
1816
|
match(request: RequestInfo | URL, options?: MultiCacheQueryOptions): Promise<Response | undefined>;
|
|
1817
1817
|
/**
|
|
1818
|
-
* The **`open()`** method of the the Cache object matching the `cacheName`.
|
|
1818
|
+
* The **`open()`** method of the CacheStorage interface returns a Promise that resolves to the Cache object matching the `cacheName`.
|
|
1819
1819
|
*
|
|
1820
1820
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/open)
|
|
1821
1821
|
*/
|
|
@@ -2089,7 +2089,7 @@ interface Client {
|
|
|
2089
2089
|
*/
|
|
2090
2090
|
readonly url: string;
|
|
2091
2091
|
/**
|
|
2092
|
-
* The **`postMessage()`** method of the (a Window, Worker, or SharedWorker).
|
|
2092
|
+
* The **`postMessage()`** method of the Client interface allows a service worker to send a message to a client (a Window, Worker, or SharedWorker).
|
|
2093
2093
|
*
|
|
2094
2094
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Client/postMessage)
|
|
2095
2095
|
*/
|
|
@@ -2115,13 +2115,13 @@ interface Clients {
|
|
|
2115
2115
|
*/
|
|
2116
2116
|
claim(): Promise<void>;
|
|
2117
2117
|
/**
|
|
2118
|
-
* The **`get()`** method of the `id` and returns it in a Promise.
|
|
2118
|
+
* The **`get()`** method of the Clients interface gets a service worker client matching a given `id` and returns it in a Promise.
|
|
2119
2119
|
*
|
|
2120
2120
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clients/get)
|
|
2121
2121
|
*/
|
|
2122
2122
|
get(id: string): Promise<Client | undefined>;
|
|
2123
2123
|
/**
|
|
2124
|
-
* The **`matchAll()`** method of the Clients interface returns a Promise for a list of service worker
|
|
2124
|
+
* The **`matchAll()`** method of the Clients interface returns a Promise for a list of service worker Client objects.
|
|
2125
2125
|
*
|
|
2126
2126
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clients/matchAll)
|
|
2127
2127
|
*/
|
|
@@ -2287,7 +2287,7 @@ declare var CountQueuingStrategy: {
|
|
|
2287
2287
|
*/
|
|
2288
2288
|
interface Crypto {
|
|
2289
2289
|
/**
|
|
2290
|
-
* The **`Crypto.subtle`** read-only property returns a cryptographic operations.
|
|
2290
|
+
* The **`Crypto.subtle`** read-only property returns a SubtleCrypto which can then be used to perform low-level cryptographic operations.
|
|
2291
2291
|
* Available only in secure contexts.
|
|
2292
2292
|
*
|
|
2293
2293
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/subtle)
|
|
@@ -2391,13 +2391,13 @@ interface DOMException extends Error {
|
|
|
2391
2391
|
*/
|
|
2392
2392
|
readonly code: number;
|
|
2393
2393
|
/**
|
|
2394
|
-
* The **`message`** read-only property of the a message or description associated with the given error name.
|
|
2394
|
+
* The **`message`** read-only property of the DOMException interface returns a string representing a message or description associated with the given error name.
|
|
2395
2395
|
*
|
|
2396
2396
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message)
|
|
2397
2397
|
*/
|
|
2398
2398
|
readonly message: string;
|
|
2399
2399
|
/**
|
|
2400
|
-
* The **`name`** read-only property of the one of the strings associated with an error name.
|
|
2400
|
+
* The **`name`** read-only property of the DOMException interface returns a string that contains one of the strings associated with an error name.
|
|
2401
2401
|
*
|
|
2402
2402
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name)
|
|
2403
2403
|
*/
|
|
@@ -2690,7 +2690,7 @@ interface DOMMatrixReadOnly {
|
|
|
2690
2690
|
*/
|
|
2691
2691
|
rotateFromVector(x?: number, y?: number): DOMMatrix;
|
|
2692
2692
|
/**
|
|
2693
|
-
* The **`scale()`** method of the original matrix with a scale transform applied.
|
|
2693
|
+
* The **`scale()`** method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a scale transform applied.
|
|
2694
2694
|
*
|
|
2695
2695
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale)
|
|
2696
2696
|
*/
|
|
@@ -2734,7 +2734,7 @@ interface DOMMatrixReadOnly {
|
|
|
2734
2734
|
*/
|
|
2735
2735
|
toJSON(): any;
|
|
2736
2736
|
/**
|
|
2737
|
-
* The **`transformPoint`** method of the
|
|
2737
|
+
* The **`transformPoint`** method of the DOMMatrixReadOnly interface creates a new DOMPoint object, transforming a specified point by the matrix.
|
|
2738
2738
|
*
|
|
2739
2739
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint)
|
|
2740
2740
|
*/
|
|
@@ -2835,7 +2835,7 @@ interface DOMPointReadOnly {
|
|
|
2835
2835
|
*/
|
|
2836
2836
|
matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
|
|
2837
2837
|
/**
|
|
2838
|
-
* The DOMPointReadOnly method `toJSON()` returns an object giving the
|
|
2838
|
+
* The DOMPointReadOnly method `toJSON()` returns an object giving the JSON form of the point object.
|
|
2839
2839
|
*
|
|
2840
2840
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON)
|
|
2841
2841
|
*/
|
|
@@ -2890,7 +2890,7 @@ interface DOMQuad {
|
|
|
2890
2890
|
*/
|
|
2891
2891
|
getBounds(): DOMRect;
|
|
2892
2892
|
/**
|
|
2893
|
-
* The DOMQuad method `toJSON()` returns a
|
|
2893
|
+
* The DOMQuad method `toJSON()` returns a JSON representation of the `DOMQuad` object.
|
|
2894
2894
|
*
|
|
2895
2895
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/toJSON)
|
|
2896
2896
|
*/
|
|
@@ -2940,7 +2940,7 @@ declare var DOMRect: {
|
|
|
2940
2940
|
prototype: DOMRect;
|
|
2941
2941
|
new(x?: number, y?: number, width?: number, height?: number): DOMRect;
|
|
2942
2942
|
/**
|
|
2943
|
-
* The **`fromRect()`** static method of the object with a given location and dimensions.
|
|
2943
|
+
* The **`fromRect()`** static method of the DOMRect object creates a new `DOMRect` object with a given location and dimensions.
|
|
2944
2944
|
*
|
|
2945
2945
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static)
|
|
2946
2946
|
*/
|
|
@@ -3013,7 +3013,7 @@ declare var DOMRectReadOnly: {
|
|
|
3013
3013
|
prototype: DOMRectReadOnly;
|
|
3014
3014
|
new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;
|
|
3015
3015
|
/**
|
|
3016
|
-
* The **`fromRect()`** static method of the object with a given location and dimensions.
|
|
3016
|
+
* The **`fromRect()`** static method of the DOMRectReadOnly object creates a new `DOMRectReadOnly` object with a given location and dimensions.
|
|
3017
3017
|
*
|
|
3018
3018
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/fromRect_static)
|
|
3019
3019
|
*/
|
|
@@ -3252,7 +3252,7 @@ interface Event {
|
|
|
3252
3252
|
*/
|
|
3253
3253
|
readonly cancelable: boolean;
|
|
3254
3254
|
/**
|
|
3255
|
-
* The read-only **`composed`** property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.
|
|
3255
|
+
* 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
3256
|
*
|
|
3257
3257
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)
|
|
3258
3258
|
*/
|
|
@@ -3270,13 +3270,13 @@ interface Event {
|
|
|
3270
3270
|
*/
|
|
3271
3271
|
readonly defaultPrevented: boolean;
|
|
3272
3272
|
/**
|
|
3273
|
-
* The **`eventPhase`** read-only property of the being evaluated.
|
|
3273
|
+
* The **`eventPhase`** read-only property of the Event interface indicates which phase of the event flow is currently being evaluated.
|
|
3274
3274
|
*
|
|
3275
3275
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)
|
|
3276
3276
|
*/
|
|
3277
3277
|
readonly eventPhase: number;
|
|
3278
3278
|
/**
|
|
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
|
|
3279
|
+
* 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
3280
|
*
|
|
3281
3281
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
|
|
3282
3282
|
*/
|
|
@@ -3296,7 +3296,7 @@ interface Event {
|
|
|
3296
3296
|
*/
|
|
3297
3297
|
readonly srcElement: EventTarget | null;
|
|
3298
3298
|
/**
|
|
3299
|
-
* The read-only **`target`** property of the dispatched.
|
|
3299
|
+
* The read-only **`target`** property of the Event interface is a reference to the object onto which the event was dispatched.
|
|
3300
3300
|
*
|
|
3301
3301
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)
|
|
3302
3302
|
*/
|
|
@@ -3333,7 +3333,7 @@ interface Event {
|
|
|
3333
3333
|
*/
|
|
3334
3334
|
preventDefault(): void;
|
|
3335
3335
|
/**
|
|
3336
|
-
* The **`stopImmediatePropagation()`** method of the
|
|
3336
|
+
* The **`stopImmediatePropagation()`** method of the Event interface prevents other listeners of the same event from being called.
|
|
3337
3337
|
*
|
|
3338
3338
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)
|
|
3339
3339
|
*/
|
|
@@ -3386,25 +3386,25 @@ interface EventSource extends EventTarget {
|
|
|
3386
3386
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/open_event) */
|
|
3387
3387
|
onopen: ((this: EventSource, ev: Event) => any) | null;
|
|
3388
3388
|
/**
|
|
3389
|
-
* The **`readyState`** read-only property of the connection.
|
|
3389
|
+
* The **`readyState`** read-only property of the EventSource interface returns a number representing the state of the connection.
|
|
3390
3390
|
*
|
|
3391
3391
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/readyState)
|
|
3392
3392
|
*/
|
|
3393
3393
|
readonly readyState: number;
|
|
3394
3394
|
/**
|
|
3395
|
-
* The **`url`** read-only property of the URL of the source.
|
|
3395
|
+
* The **`url`** read-only property of the EventSource interface returns a string representing the URL of the source.
|
|
3396
3396
|
*
|
|
3397
3397
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/url)
|
|
3398
3398
|
*/
|
|
3399
3399
|
readonly url: string;
|
|
3400
3400
|
/**
|
|
3401
|
-
* The **`withCredentials`** read-only property of the the `EventSource` object was instantiated with CORS credentials set.
|
|
3401
|
+
* 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
3402
|
*
|
|
3403
3403
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/withCredentials)
|
|
3404
3404
|
*/
|
|
3405
3405
|
readonly withCredentials: boolean;
|
|
3406
3406
|
/**
|
|
3407
|
-
* The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the
|
|
3407
|
+
* The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the EventSource.readyState attribute to `2` (closed).
|
|
3408
3408
|
*
|
|
3409
3409
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/close)
|
|
3410
3410
|
*/
|
|
@@ -3510,31 +3510,31 @@ declare var ExtendableEvent: {
|
|
|
3510
3510
|
*/
|
|
3511
3511
|
interface ExtendableMessageEvent extends ExtendableEvent {
|
|
3512
3512
|
/**
|
|
3513
|
-
* The **`data`** read-only property of the data
|
|
3513
|
+
* The **`data`** read-only property of the ExtendableMessageEvent interface returns the event's data.
|
|
3514
3514
|
*
|
|
3515
3515
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/data)
|
|
3516
3516
|
*/
|
|
3517
3517
|
readonly data: any;
|
|
3518
3518
|
/**
|
|
3519
|
-
* The **`lastEventID`** read-only property of the
|
|
3519
|
+
* The **`lastEventID`** read-only property of the ExtendableMessageEvent interface represents, in server-sent events, the last event ID of the event source.
|
|
3520
3520
|
*
|
|
3521
3521
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/lastEventId)
|
|
3522
3522
|
*/
|
|
3523
3523
|
readonly lastEventId: string;
|
|
3524
3524
|
/**
|
|
3525
|
-
* The **`origin`** read-only property of the
|
|
3525
|
+
* The **`origin`** read-only property of the ExtendableMessageEvent interface returns the origin of the Client that sent the message.
|
|
3526
3526
|
*
|
|
3527
3527
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/origin)
|
|
3528
3528
|
*/
|
|
3529
3529
|
readonly origin: string;
|
|
3530
3530
|
/**
|
|
3531
|
-
* The **`ports`** read-only property of the channel (the channel the message is being sent through.)
|
|
3531
|
+
* 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
3532
|
*
|
|
3533
3533
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/ports)
|
|
3534
3534
|
*/
|
|
3535
3535
|
readonly ports: ReadonlyArray<MessagePort>;
|
|
3536
3536
|
/**
|
|
3537
|
-
* The **`source`** read-only property of the
|
|
3537
|
+
* The **`source`** read-only property of the ExtendableMessageEvent interface returns a reference to the Client object from which the message was sent.
|
|
3538
3538
|
*
|
|
3539
3539
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/source)
|
|
3540
3540
|
*/
|
|
@@ -3553,7 +3553,7 @@ declare var ExtendableMessageEvent: {
|
|
|
3553
3553
|
*/
|
|
3554
3554
|
interface FetchEvent extends ExtendableEvent {
|
|
3555
3555
|
/**
|
|
3556
|
-
* The **`clientId`** read-only property of the current service worker is controlling.
|
|
3556
|
+
* The **`clientId`** read-only property of the FetchEvent interface returns the id of the Client that the current service worker is controlling.
|
|
3557
3557
|
*
|
|
3558
3558
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/clientId)
|
|
3559
3559
|
*/
|
|
@@ -3571,19 +3571,19 @@ interface FetchEvent extends ExtendableEvent {
|
|
|
3571
3571
|
*/
|
|
3572
3572
|
readonly preloadResponse: Promise<any>;
|
|
3573
3573
|
/**
|
|
3574
|
-
* The **`request`** read-only property of the the event handler.
|
|
3574
|
+
* The **`request`** read-only property of the FetchEvent interface returns the Request that triggered the event handler.
|
|
3575
3575
|
*
|
|
3576
3576
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/request)
|
|
3577
3577
|
*/
|
|
3578
3578
|
readonly request: Request;
|
|
3579
3579
|
/**
|
|
3580
|
-
* The **`resultingClientId`** read-only property of the navigation.
|
|
3580
|
+
* 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
3581
|
*
|
|
3582
3582
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/resultingClientId)
|
|
3583
3583
|
*/
|
|
3584
3584
|
readonly resultingClientId: string;
|
|
3585
3585
|
/**
|
|
3586
|
-
* The **`respondWith()`** method of allows you to provide a promise for a Response yourself.
|
|
3586
|
+
* The **`respondWith()`** method of FetchEvent prevents the browser's default fetch handling, and allows you to provide a promise for a Response yourself.
|
|
3587
3587
|
*
|
|
3588
3588
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/respondWith)
|
|
3589
3589
|
*/
|
|
@@ -3717,7 +3717,7 @@ interface FileReader extends EventTarget {
|
|
|
3717
3717
|
*/
|
|
3718
3718
|
readAsBinaryString(blob: Blob): void;
|
|
3719
3719
|
/**
|
|
3720
|
-
* The **`readAsDataURL()`** method of the FileReader interface is used to read the contents of the specified
|
|
3720
|
+
* The **`readAsDataURL()`** method of the FileReader interface is used to read the contents of the specified Blob or File.
|
|
3721
3721
|
*
|
|
3722
3722
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsDataURL)
|
|
3723
3723
|
*/
|
|
@@ -3754,25 +3754,25 @@ declare var FileReader: {
|
|
|
3754
3754
|
interface FileSystemDirectoryHandle extends FileSystemHandle {
|
|
3755
3755
|
readonly kind: "directory";
|
|
3756
3756
|
/**
|
|
3757
|
-
* The **`getDirectoryHandle()`** method of the within the directory handle on which the method is called.
|
|
3757
|
+
* 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
3758
|
*
|
|
3759
3759
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getDirectoryHandle)
|
|
3760
3760
|
*/
|
|
3761
3761
|
getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
|
|
3762
3762
|
/**
|
|
3763
|
-
* The **`getFileHandle()`** method of the directory the method is called.
|
|
3763
|
+
* 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
3764
|
*
|
|
3765
3765
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getFileHandle)
|
|
3766
3766
|
*/
|
|
3767
3767
|
getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
|
|
3768
3768
|
/**
|
|
3769
|
-
* The **`removeEntry()`** method of the directory handle contains a file or directory called the name specified.
|
|
3769
|
+
* 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
3770
|
*
|
|
3771
3771
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/removeEntry)
|
|
3772
3772
|
*/
|
|
3773
3773
|
removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
|
|
3774
3774
|
/**
|
|
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.
|
|
3775
|
+
* 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
3776
|
*
|
|
3777
3777
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/resolve)
|
|
3778
3778
|
*/
|
|
@@ -3799,7 +3799,7 @@ interface FileSystemFileHandle extends FileSystemHandle {
|
|
|
3799
3799
|
*/
|
|
3800
3800
|
createWritable(options?: FileSystemCreateWritableOptions): Promise<FileSystemWritableFileStream>;
|
|
3801
3801
|
/**
|
|
3802
|
-
* The **`getFile()`** method of the
|
|
3802
|
+
* 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
3803
|
*
|
|
3804
3804
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/getFile)
|
|
3805
3805
|
*/
|
|
@@ -3819,19 +3819,19 @@ declare var FileSystemFileHandle: {
|
|
|
3819
3819
|
*/
|
|
3820
3820
|
interface FileSystemHandle {
|
|
3821
3821
|
/**
|
|
3822
|
-
* The **`kind`** read-only property of the
|
|
3822
|
+
* The **`kind`** read-only property of the FileSystemHandle interface returns the type of entry.
|
|
3823
3823
|
*
|
|
3824
3824
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/kind)
|
|
3825
3825
|
*/
|
|
3826
3826
|
readonly kind: FileSystemHandleKind;
|
|
3827
3827
|
/**
|
|
3828
|
-
* The **`name`** read-only property of the handle.
|
|
3828
|
+
* The **`name`** read-only property of the FileSystemHandle interface returns the name of the entry represented by handle.
|
|
3829
3829
|
*
|
|
3830
3830
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/name)
|
|
3831
3831
|
*/
|
|
3832
3832
|
readonly name: string;
|
|
3833
3833
|
/**
|
|
3834
|
-
* The **`isSameEntry()`** method of the
|
|
3834
|
+
* The **`isSameEntry()`** method of the FileSystemHandle interface compares two FileSystemHandle to see if the associated entries (either a file or directory) match.
|
|
3835
3835
|
*
|
|
3836
3836
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/isSameEntry)
|
|
3837
3837
|
*/
|
|
@@ -4027,7 +4027,7 @@ declare var FontFaceSet: {
|
|
|
4027
4027
|
*/
|
|
4028
4028
|
interface FontFaceSetLoadEvent extends Event {
|
|
4029
4029
|
/**
|
|
4030
|
-
* The **`fontfaces`** read-only property of the
|
|
4030
|
+
* The **`fontfaces`** read-only property of the FontFaceSetLoadEvent interface returns an array of FontFace instances, each of which represents a single usable font.
|
|
4031
4031
|
*
|
|
4032
4032
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent/fontfaces)
|
|
4033
4033
|
*/
|
|
@@ -4106,7 +4106,7 @@ declare var FormData: {
|
|
|
4106
4106
|
*/
|
|
4107
4107
|
interface GPUError {
|
|
4108
4108
|
/**
|
|
4109
|
-
* The **`message`** read-only property of the
|
|
4109
|
+
* The **`message`** read-only property of the GPUError interface provides a human-readable message that explains why the error occurred.
|
|
4110
4110
|
*
|
|
4111
4111
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError/message)
|
|
4112
4112
|
*/
|
|
@@ -4177,19 +4177,19 @@ declare var Headers: {
|
|
|
4177
4177
|
*/
|
|
4178
4178
|
interface IDBCursor {
|
|
4179
4179
|
/**
|
|
4180
|
-
* The **`direction`** read-only property of the direction of traversal of the cursor (set using
|
|
4180
|
+
* 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
4181
|
*
|
|
4182
4182
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/direction)
|
|
4183
4183
|
*/
|
|
4184
4184
|
readonly direction: IDBCursorDirection;
|
|
4185
4185
|
/**
|
|
4186
|
-
* The **`key`** read-only property of the position.
|
|
4186
|
+
* The **`key`** read-only property of the IDBCursor interface returns the key for the record at the cursor's position.
|
|
4187
4187
|
*
|
|
4188
4188
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/key)
|
|
4189
4189
|
*/
|
|
4190
4190
|
readonly key: IDBValidKey;
|
|
4191
4191
|
/**
|
|
4192
|
-
* The **`primaryKey`** read-only property of the
|
|
4192
|
+
* The **`primaryKey`** read-only property of the IDBCursor interface returns the cursor's current effective key.
|
|
4193
4193
|
*
|
|
4194
4194
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/primaryKey)
|
|
4195
4195
|
*/
|
|
@@ -4201,7 +4201,7 @@ interface IDBCursor {
|
|
|
4201
4201
|
*/
|
|
4202
4202
|
readonly request: IDBRequest;
|
|
4203
4203
|
/**
|
|
4204
|
-
* The **`source`** read-only property of the
|
|
4204
|
+
* The **`source`** read-only property of the IDBCursor interface returns the IDBObjectStore or IDBIndex that the cursor is iterating over.
|
|
4205
4205
|
*
|
|
4206
4206
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/source)
|
|
4207
4207
|
*/
|
|
@@ -4219,7 +4219,7 @@ interface IDBCursor {
|
|
|
4219
4219
|
*/
|
|
4220
4220
|
continue(key?: IDBValidKey): void;
|
|
4221
4221
|
/**
|
|
4222
|
-
* The **`continuePrimaryKey()`** method of the matches the key parameter as well as whose primary key matches the primary key parameter.
|
|
4222
|
+
* 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
4223
|
*
|
|
4224
4224
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/continuePrimaryKey)
|
|
4225
4225
|
*/
|
|
@@ -4250,7 +4250,7 @@ declare var IDBCursor: {
|
|
|
4250
4250
|
*/
|
|
4251
4251
|
interface IDBCursorWithValue extends IDBCursor {
|
|
4252
4252
|
/**
|
|
4253
|
-
* The **`value`** read-only property of the whatever that is.
|
|
4253
|
+
* The **`value`** read-only property of the IDBCursorWithValue interface returns the value of the current cursor, whatever that is.
|
|
4254
4254
|
*
|
|
4255
4255
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue/value)
|
|
4256
4256
|
*/
|
|
@@ -4282,7 +4282,7 @@ interface IDBDatabase extends EventTarget {
|
|
|
4282
4282
|
*/
|
|
4283
4283
|
readonly name: string;
|
|
4284
4284
|
/**
|
|
4285
|
-
* The **`objectStoreNames`** read-only property of the list of the names of the object stores currently in the connected database.
|
|
4285
|
+
* 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
4286
|
*
|
|
4287
4287
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
|
|
4288
4288
|
*/
|
|
@@ -4306,13 +4306,13 @@ interface IDBDatabase extends EventTarget {
|
|
|
4306
4306
|
*/
|
|
4307
4307
|
close(): void;
|
|
4308
4308
|
/**
|
|
4309
|
-
* The **`createObjectStore()`** method of the
|
|
4309
|
+
* The **`createObjectStore()`** method of the IDBDatabase interface creates and returns a new IDBObjectStore.
|
|
4310
4310
|
*
|
|
4311
4311
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/createObjectStore)
|
|
4312
4312
|
*/
|
|
4313
4313
|
createObjectStore(name: string, options?: IDBObjectStoreParameters): IDBObjectStore;
|
|
4314
4314
|
/**
|
|
4315
|
-
* The **`deleteObjectStore()`** method of the the connected database, along with any indexes that reference it.
|
|
4315
|
+
* 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
4316
|
*
|
|
4317
4317
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/deleteObjectStore)
|
|
4318
4318
|
*/
|
|
@@ -4353,7 +4353,7 @@ interface IDBFactory {
|
|
|
4353
4353
|
*/
|
|
4354
4354
|
databases(): Promise<IDBDatabaseInfo[]>;
|
|
4355
4355
|
/**
|
|
4356
|
-
* The **`deleteDatabase()`** method of the
|
|
4356
|
+
* The **`deleteDatabase()`** method of the IDBFactory interface requests the deletion of a database.
|
|
4357
4357
|
*
|
|
4358
4358
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/deleteDatabase)
|
|
4359
4359
|
*/
|
|
@@ -4384,7 +4384,7 @@ interface IDBIndex {
|
|
|
4384
4384
|
*/
|
|
4385
4385
|
readonly keyPath: string | string[];
|
|
4386
4386
|
/**
|
|
4387
|
-
* The **`multiEntry`** read-only property of the behaves when the result of evaluating the index's key path yields an array.
|
|
4387
|
+
* 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
4388
|
*
|
|
4389
4389
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/multiEntry)
|
|
4390
4390
|
*/
|
|
@@ -4414,7 +4414,7 @@ interface IDBIndex {
|
|
|
4414
4414
|
*/
|
|
4415
4415
|
count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
|
4416
4416
|
/**
|
|
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
|
|
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 IDBKeyRange.
|
|
4418
4418
|
*
|
|
4419
4419
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/get)
|
|
4420
4420
|
*/
|
|
@@ -4432,7 +4432,7 @@ interface IDBIndex {
|
|
|
4432
4432
|
*/
|
|
4433
4433
|
getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
4434
4434
|
/**
|
|
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
|
|
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 IDBKeyRange.
|
|
4436
4436
|
*
|
|
4437
4437
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getKey)
|
|
4438
4438
|
*/
|
|
@@ -4444,7 +4444,7 @@ interface IDBIndex {
|
|
|
4444
4444
|
*/
|
|
4445
4445
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
|
4446
4446
|
/**
|
|
4447
|
-
* The **`openKeyCursor()`** method of the a separate thread, creates a cursor over the specified key range, as arranged by this index.
|
|
4447
|
+
* 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
4448
|
*
|
|
4449
4449
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/openKeyCursor)
|
|
4450
4450
|
*/
|
|
@@ -4463,25 +4463,25 @@ declare var IDBIndex: {
|
|
|
4463
4463
|
*/
|
|
4464
4464
|
interface IDBKeyRange {
|
|
4465
4465
|
/**
|
|
4466
|
-
* The **`lower`** read-only property of the
|
|
4466
|
+
* The **`lower`** read-only property of the IDBKeyRange interface returns the lower bound of the key range.
|
|
4467
4467
|
*
|
|
4468
4468
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lower)
|
|
4469
4469
|
*/
|
|
4470
4470
|
readonly lower: any;
|
|
4471
4471
|
/**
|
|
4472
|
-
* The **`lowerOpen`** read-only property of the lower-bound value is included in the key range.
|
|
4472
|
+
* 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
4473
|
*
|
|
4474
4474
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerOpen)
|
|
4475
4475
|
*/
|
|
4476
4476
|
readonly lowerOpen: boolean;
|
|
4477
4477
|
/**
|
|
4478
|
-
* The **`upper`** read-only property of the
|
|
4478
|
+
* The **`upper`** read-only property of the IDBKeyRange interface returns the upper bound of the key range.
|
|
4479
4479
|
*
|
|
4480
4480
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upper)
|
|
4481
4481
|
*/
|
|
4482
4482
|
readonly upper: any;
|
|
4483
4483
|
/**
|
|
4484
|
-
* The **`upperOpen`** read-only property of the upper-bound value is included in the key range.
|
|
4484
|
+
* 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
4485
|
*
|
|
4486
4486
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperOpen)
|
|
4487
4487
|
*/
|
|
@@ -4504,7 +4504,7 @@ declare var IDBKeyRange: {
|
|
|
4504
4504
|
*/
|
|
4505
4505
|
bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;
|
|
4506
4506
|
/**
|
|
4507
|
-
* The **`lowerBound()`** static method of the
|
|
4507
|
+
* The **`lowerBound()`** static method of the IDBKeyRange interface creates a new key range with only a lower bound.
|
|
4508
4508
|
*
|
|
4509
4509
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerBound_static)
|
|
4510
4510
|
*/
|
|
@@ -4516,7 +4516,7 @@ declare var IDBKeyRange: {
|
|
|
4516
4516
|
*/
|
|
4517
4517
|
only(value: any): IDBKeyRange;
|
|
4518
4518
|
/**
|
|
4519
|
-
* The **`upperBound()`** static method of the
|
|
4519
|
+
* The **`upperBound()`** static method of the IDBKeyRange interface creates a new upper-bound key range.
|
|
4520
4520
|
*
|
|
4521
4521
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperBound_static)
|
|
4522
4522
|
*/
|
|
@@ -4530,19 +4530,19 @@ declare var IDBKeyRange: {
|
|
|
4530
4530
|
*/
|
|
4531
4531
|
interface IDBObjectStore {
|
|
4532
4532
|
/**
|
|
4533
|
-
* The **`autoIncrement`** read-only property of the for this object store.
|
|
4533
|
+
* The **`autoIncrement`** read-only property of the IDBObjectStore interface returns the value of the auto increment flag for this object store.
|
|
4534
4534
|
*
|
|
4535
4535
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/autoIncrement)
|
|
4536
4536
|
*/
|
|
4537
4537
|
readonly autoIncrement: boolean;
|
|
4538
4538
|
/**
|
|
4539
|
-
* The **`indexNames`** read-only property of the in this object store.
|
|
4539
|
+
* The **`indexNames`** read-only property of the IDBObjectStore interface returns a list of the names of indexes on objects in this object store.
|
|
4540
4540
|
*
|
|
4541
4541
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/indexNames)
|
|
4542
4542
|
*/
|
|
4543
4543
|
readonly indexNames: DOMStringList;
|
|
4544
4544
|
/**
|
|
4545
|
-
* The **`keyPath`** read-only property of the
|
|
4545
|
+
* The **`keyPath`** read-only property of the IDBObjectStore interface returns the key path of this object store.
|
|
4546
4546
|
*
|
|
4547
4547
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
|
|
4548
4548
|
*/
|
|
@@ -4554,7 +4554,7 @@ interface IDBObjectStore {
|
|
|
4554
4554
|
*/
|
|
4555
4555
|
name: string;
|
|
4556
4556
|
/**
|
|
4557
|
-
* The **`transaction`** read-only property of the object store belongs.
|
|
4557
|
+
* The **`transaction`** read-only property of the IDBObjectStore interface returns the transaction object to which this object store belongs.
|
|
4558
4558
|
*
|
|
4559
4559
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/transaction)
|
|
4560
4560
|
*/
|
|
@@ -4572,25 +4572,25 @@ interface IDBObjectStore {
|
|
|
4572
4572
|
*/
|
|
4573
4573
|
clear(): IDBRequest<undefined>;
|
|
4574
4574
|
/**
|
|
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
|
|
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 IDBKeyRange.
|
|
4576
4576
|
*
|
|
4577
4577
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/count)
|
|
4578
4578
|
*/
|
|
4579
4579
|
count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
|
4580
4580
|
/**
|
|
4581
|
-
* The **`createIndex()`** method of the
|
|
4581
|
+
* The **`createIndex()`** method of the IDBObjectStore interface creates and returns a new IDBIndex object in the connected database.
|
|
4582
4582
|
*
|
|
4583
4583
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
|
4584
4584
|
*/
|
|
4585
4585
|
createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;
|
|
4586
4586
|
/**
|
|
4587
|
-
* The **`delete()`** method of the and, in a separate thread, deletes the specified record or records.
|
|
4587
|
+
* The **`delete()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, deletes the specified record or records.
|
|
4588
4588
|
*
|
|
4589
4589
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/delete)
|
|
4590
4590
|
*/
|
|
4591
4591
|
delete(query: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;
|
|
4592
4592
|
/**
|
|
4593
|
-
* The **`deleteIndex()`** method of the the connected database, used during a version upgrade.
|
|
4593
|
+
* The **`deleteIndex()`** method of the IDBObjectStore interface destroys the index with the specified name in the connected database, used during a version upgrade.
|
|
4594
4594
|
*
|
|
4595
4595
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/deleteIndex)
|
|
4596
4596
|
*/
|
|
@@ -4602,7 +4602,7 @@ interface IDBObjectStore {
|
|
|
4602
4602
|
*/
|
|
4603
4603
|
get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;
|
|
4604
4604
|
/**
|
|
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.
|
|
4605
|
+
* 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
4606
|
*
|
|
4607
4607
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)
|
|
4608
4608
|
*/
|
|
@@ -4614,7 +4614,7 @@ interface IDBObjectStore {
|
|
|
4614
4614
|
*/
|
|
4615
4615
|
getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
4616
4616
|
/**
|
|
4617
|
-
* The **`getKey()`** method of the and, in a separate thread, returns the key selected by the specified query.
|
|
4617
|
+
* 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
4618
|
*
|
|
4619
4619
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getKey)
|
|
4620
4620
|
*/
|
|
@@ -4626,13 +4626,13 @@ interface IDBObjectStore {
|
|
|
4626
4626
|
*/
|
|
4627
4627
|
index(name: string): IDBIndex;
|
|
4628
4628
|
/**
|
|
4629
|
-
* The **`openCursor()`** method of the and, in a separate thread, returns a new IDBCursorWithValue object.
|
|
4629
|
+
* The **`openCursor()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns a new IDBCursorWithValue object.
|
|
4630
4630
|
*
|
|
4631
4631
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openCursor)
|
|
4632
4632
|
*/
|
|
4633
4633
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
|
4634
4634
|
/**
|
|
4635
|
-
* The **`openKeyCursor()`** method of the whose result will be set to an IDBCursor that can be used to iterate through matching results.
|
|
4635
|
+
* 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
4636
|
*
|
|
4637
4637
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openKeyCursor)
|
|
4638
4638
|
*/
|
|
@@ -4688,7 +4688,7 @@ interface IDBRequestEventMap {
|
|
|
4688
4688
|
*/
|
|
4689
4689
|
interface IDBRequest<T = any> extends EventTarget {
|
|
4690
4690
|
/**
|
|
4691
|
-
* The **`error`** read-only property of the request.
|
|
4691
|
+
* The **`error`** read-only property of the IDBRequest interface returns the error in the event of an unsuccessful request.
|
|
4692
4692
|
*
|
|
4693
4693
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/error)
|
|
4694
4694
|
*/
|
|
@@ -4698,19 +4698,19 @@ interface IDBRequest<T = any> extends EventTarget {
|
|
|
4698
4698
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/success_event) */
|
|
4699
4699
|
onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;
|
|
4700
4700
|
/**
|
|
4701
|
-
* The **`readyState`** read-only property of the
|
|
4701
|
+
* The **`readyState`** read-only property of the IDBRequest interface returns the state of the request.
|
|
4702
4702
|
*
|
|
4703
4703
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/readyState)
|
|
4704
4704
|
*/
|
|
4705
4705
|
readonly readyState: IDBRequestReadyState;
|
|
4706
4706
|
/**
|
|
4707
|
-
* The **`result`** read-only property of the
|
|
4707
|
+
* The **`result`** read-only property of the IDBRequest interface returns the result of the request.
|
|
4708
4708
|
*
|
|
4709
4709
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/result)
|
|
4710
4710
|
*/
|
|
4711
4711
|
readonly result: T;
|
|
4712
4712
|
/**
|
|
4713
|
-
* The **`source`** read-only property of the Index or an object store.
|
|
4713
|
+
* The **`source`** read-only property of the IDBRequest interface returns the source of the request, such as an Index or an object store.
|
|
4714
4714
|
*
|
|
4715
4715
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/source)
|
|
4716
4716
|
*/
|
|
@@ -4763,13 +4763,13 @@ interface IDBTransaction extends EventTarget {
|
|
|
4763
4763
|
*/
|
|
4764
4764
|
readonly error: DOMException | null;
|
|
4765
4765
|
/**
|
|
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`.
|
|
4766
|
+
* 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
4767
|
*
|
|
4768
4768
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/mode)
|
|
4769
4769
|
*/
|
|
4770
4770
|
readonly mode: IDBTransactionMode;
|
|
4771
4771
|
/**
|
|
4772
|
-
* The **`objectStoreNames`** read-only property of the of IDBObjectStore objects.
|
|
4772
|
+
* The **`objectStoreNames`** read-only property of the IDBTransaction interface returns a DOMStringList of names of IDBObjectStore objects.
|
|
4773
4773
|
*
|
|
4774
4774
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames)
|
|
4775
4775
|
*/
|
|
@@ -4793,7 +4793,7 @@ interface IDBTransaction extends EventTarget {
|
|
|
4793
4793
|
*/
|
|
4794
4794
|
commit(): void;
|
|
4795
4795
|
/**
|
|
4796
|
-
* The **`objectStore()`** method of the added to the scope of this transaction.
|
|
4796
|
+
* The **`objectStore()`** method of the IDBTransaction interface returns an object store that has already been added to the scope of this transaction.
|
|
4797
4797
|
*
|
|
4798
4798
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStore)
|
|
4799
4799
|
*/
|
|
@@ -4816,13 +4816,13 @@ declare var IDBTransaction: {
|
|
|
4816
4816
|
*/
|
|
4817
4817
|
interface IDBVersionChangeEvent extends Event {
|
|
4818
4818
|
/**
|
|
4819
|
-
* The **`newVersion`** read-only property of the database.
|
|
4819
|
+
* The **`newVersion`** read-only property of the IDBVersionChangeEvent interface returns the new version number of the database.
|
|
4820
4820
|
*
|
|
4821
4821
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/newVersion)
|
|
4822
4822
|
*/
|
|
4823
4823
|
readonly newVersion: number | null;
|
|
4824
4824
|
/**
|
|
4825
|
-
* The **`oldVersion`** read-only property of the database.
|
|
4825
|
+
* The **`oldVersion`** read-only property of the IDBVersionChangeEvent interface returns the old version number of the database.
|
|
4826
4826
|
*
|
|
4827
4827
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/oldVersion)
|
|
4828
4828
|
*/
|
|
@@ -4897,7 +4897,7 @@ interface ImageData {
|
|
|
4897
4897
|
*/
|
|
4898
4898
|
readonly colorSpace: PredefinedColorSpace;
|
|
4899
4899
|
/**
|
|
4900
|
-
* The readonly **`ImageData.data`** property returns a pixel data.
|
|
4900
|
+
* The readonly **`ImageData.data`** property returns a Uint8ClampedArray or Float16Array that contains the ImageData object's pixel data.
|
|
4901
4901
|
*
|
|
4902
4902
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
|
|
4903
4903
|
*/
|
|
@@ -4950,7 +4950,7 @@ interface Lock {
|
|
|
4950
4950
|
*/
|
|
4951
4951
|
readonly mode: LockMode;
|
|
4952
4952
|
/**
|
|
4953
|
-
* The **`name`** read-only property of the Lock interface returns the _name_ passed to
|
|
4953
|
+
* The **`name`** read-only property of the Lock interface returns the _name_ passed to LockManager.request selected when the lock was requested.
|
|
4954
4954
|
*
|
|
4955
4955
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Lock/name)
|
|
4956
4956
|
*/
|
|
@@ -5021,13 +5021,13 @@ declare var MediaCapabilities: {
|
|
|
5021
5021
|
*/
|
|
5022
5022
|
interface MessageChannel {
|
|
5023
5023
|
/**
|
|
5024
|
-
* The **`port1`** read-only property of the the port attached to the context that originated the channel.
|
|
5024
|
+
* 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
5025
|
*
|
|
5026
5026
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port1)
|
|
5027
5027
|
*/
|
|
5028
5028
|
readonly port1: MessagePort;
|
|
5029
5029
|
/**
|
|
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.
|
|
5030
|
+
* 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
5031
|
*
|
|
5032
5032
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port2)
|
|
5033
5033
|
*/
|
|
@@ -5046,31 +5046,31 @@ declare var MessageChannel: {
|
|
|
5046
5046
|
*/
|
|
5047
5047
|
interface MessageEvent<T = any> extends Event {
|
|
5048
5048
|
/**
|
|
5049
|
-
* The **`data`** read-only property of the
|
|
5049
|
+
* The **`data`** read-only property of the MessageEvent interface represents the data sent by the message emitter.
|
|
5050
5050
|
*
|
|
5051
5051
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/data)
|
|
5052
5052
|
*/
|
|
5053
5053
|
readonly data: T;
|
|
5054
5054
|
/**
|
|
5055
|
-
* The **`lastEventId`** read-only property of the unique ID for the event.
|
|
5055
|
+
* The **`lastEventId`** read-only property of the MessageEvent interface is a string representing a unique ID for the event.
|
|
5056
5056
|
*
|
|
5057
5057
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/lastEventId)
|
|
5058
5058
|
*/
|
|
5059
5059
|
readonly lastEventId: string;
|
|
5060
5060
|
/**
|
|
5061
|
-
* The **`origin`** read-only property of the origin of the message emitter.
|
|
5061
|
+
* The **`origin`** read-only property of the MessageEvent interface is a string representing the origin of the message emitter.
|
|
5062
5062
|
*
|
|
5063
5063
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/origin)
|
|
5064
5064
|
*/
|
|
5065
5065
|
readonly origin: string;
|
|
5066
5066
|
/**
|
|
5067
|
-
* The **`ports`** read-only property of the containing all MessagePort objects sent with the message, in order.
|
|
5067
|
+
* 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
5068
|
*
|
|
5069
5069
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/ports)
|
|
5070
5070
|
*/
|
|
5071
5071
|
readonly ports: ReadonlyArray<MessagePort>;
|
|
5072
5072
|
/**
|
|
5073
|
-
* The **`source`** read-only property of the
|
|
5073
|
+
* 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
5074
|
*
|
|
5075
5075
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
|
|
5076
5076
|
*/
|
|
@@ -5118,7 +5118,7 @@ interface MessagePort extends EventTarget, MessageEventTarget<MessagePort> {
|
|
|
5118
5118
|
*/
|
|
5119
5119
|
close(): void;
|
|
5120
5120
|
/**
|
|
5121
|
-
* The **`postMessage()`** method of the transfers ownership of objects to other browsing contexts.
|
|
5121
|
+
* The **`postMessage()`** method of the MessagePort interface sends a message from the port, and optionally, transfers ownership of objects to other browsing contexts.
|
|
5122
5122
|
*
|
|
5123
5123
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage)
|
|
5124
5124
|
*/
|
|
@@ -5265,13 +5265,13 @@ interface NotificationEventMap {
|
|
|
5265
5265
|
*/
|
|
5266
5266
|
interface Notification extends EventTarget {
|
|
5267
5267
|
/**
|
|
5268
|
-
* The **`body`** read-only property of the specified in the `body` option of the
|
|
5268
|
+
* 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
5269
|
*
|
|
5270
5270
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/body)
|
|
5271
5271
|
*/
|
|
5272
5272
|
readonly body: string;
|
|
5273
5273
|
/**
|
|
5274
|
-
* The **`data`** read-only property of the
|
|
5274
|
+
* 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
5275
|
*
|
|
5276
5276
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/data)
|
|
5277
5277
|
*/
|
|
@@ -5283,13 +5283,13 @@ interface Notification extends EventTarget {
|
|
|
5283
5283
|
*/
|
|
5284
5284
|
readonly dir: NotificationDirection;
|
|
5285
5285
|
/**
|
|
5286
|
-
* The **`icon`** read-only property of the part of the notification, as specified in the `icon` option of the
|
|
5286
|
+
* 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
5287
|
*
|
|
5288
5288
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/icon)
|
|
5289
5289
|
*/
|
|
5290
5290
|
readonly icon: string;
|
|
5291
5291
|
/**
|
|
5292
|
-
* The **`lang`** read-only property of the
|
|
5292
|
+
* 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
5293
|
*
|
|
5294
5294
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/lang)
|
|
5295
5295
|
*/
|
|
@@ -5309,19 +5309,19 @@ interface Notification extends EventTarget {
|
|
|
5309
5309
|
*/
|
|
5310
5310
|
readonly requireInteraction: boolean;
|
|
5311
5311
|
/**
|
|
5312
|
-
* The **`silent`** read-only property of the silent, i.e., no sounds or vibrations should be issued regardless of the device settings.
|
|
5312
|
+
* 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
5313
|
*
|
|
5314
5314
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/silent)
|
|
5315
5315
|
*/
|
|
5316
5316
|
readonly silent: boolean | null;
|
|
5317
5317
|
/**
|
|
5318
|
-
* The **`tag`** read-only property of the
|
|
5318
|
+
* 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
5319
|
*
|
|
5320
5320
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/tag)
|
|
5321
5321
|
*/
|
|
5322
5322
|
readonly tag: string;
|
|
5323
5323
|
/**
|
|
5324
|
-
* The **`title`** read-only property of the specified in the `title` parameter of the
|
|
5324
|
+
* 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
5325
|
*
|
|
5326
5326
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/title)
|
|
5327
5327
|
*/
|
|
@@ -5495,13 +5495,13 @@ interface OES_vertex_array_object {
|
|
|
5495
5495
|
*/
|
|
5496
5496
|
bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
|
|
5497
5497
|
/**
|
|
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.
|
|
5498
|
+
* 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
5499
|
*
|
|
5500
5500
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/createVertexArrayOES)
|
|
5501
5501
|
*/
|
|
5502
5502
|
createVertexArrayOES(): WebGLVertexArrayObjectOES;
|
|
5503
5503
|
/**
|
|
5504
|
-
* The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given
|
|
5504
|
+
* The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given WebGLVertexArrayObject object.
|
|
5505
5505
|
*
|
|
5506
5506
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES)
|
|
5507
5507
|
*/
|
|
@@ -5986,7 +5986,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
5986
5986
|
*/
|
|
5987
5987
|
readonly transferSize: number;
|
|
5988
5988
|
/**
|
|
5989
|
-
* The **`workerStart`** read-only property of the PerformanceResourceTiming interface returns a
|
|
5989
|
+
* 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
5990
|
*
|
|
5991
5991
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/workerStart)
|
|
5992
5992
|
*/
|
|
@@ -6060,7 +6060,7 @@ interface PermissionStatus extends EventTarget {
|
|
|
6060
6060
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/change_event) */
|
|
6061
6061
|
onchange: ((this: PermissionStatus, ev: Event) => any) | null;
|
|
6062
6062
|
/**
|
|
6063
|
-
* The **`state`** read-only property of the
|
|
6063
|
+
* The **`state`** read-only property of the PermissionStatus interface returns the state of a requested permission.
|
|
6064
6064
|
*
|
|
6065
6065
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/state)
|
|
6066
6066
|
*/
|
|
@@ -6077,7 +6077,7 @@ declare var PermissionStatus: {
|
|
|
6077
6077
|
};
|
|
6078
6078
|
|
|
6079
6079
|
/**
|
|
6080
|
-
* The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions
|
|
6080
|
+
* The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions
|
|
6081
6081
|
*
|
|
6082
6082
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions)
|
|
6083
6083
|
*/
|
|
@@ -6102,7 +6102,7 @@ declare var Permissions: {
|
|
|
6102
6102
|
*/
|
|
6103
6103
|
interface ProgressEvent<T extends EventTarget = EventTarget> extends Event {
|
|
6104
6104
|
/**
|
|
6105
|
-
* The **`ProgressEvent.lengthComputable`** read-only property is a boolean flag indicating if the resource concerned by the
|
|
6105
|
+
* 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
6106
|
*
|
|
6107
6107
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/lengthComputable)
|
|
6108
6108
|
*/
|
|
@@ -6134,7 +6134,7 @@ declare var ProgressEvent: {
|
|
|
6134
6134
|
*/
|
|
6135
6135
|
interface PromiseRejectionEvent extends Event {
|
|
6136
6136
|
/**
|
|
6137
|
-
* The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript rejected.
|
|
6137
|
+
* The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript Promise which was rejected.
|
|
6138
6138
|
*
|
|
6139
6139
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise)
|
|
6140
6140
|
*/
|
|
@@ -6186,7 +6186,7 @@ interface PushManager {
|
|
|
6186
6186
|
*/
|
|
6187
6187
|
getSubscription(): Promise<PushSubscription | null>;
|
|
6188
6188
|
/**
|
|
6189
|
-
* The **`permissionState()`** method of the string indicating the permission state of the push manager.
|
|
6189
|
+
* The **`permissionState()`** method of the PushManager interface returns a Promise that resolves to a string indicating the permission state of the push manager.
|
|
6190
6190
|
*
|
|
6191
6191
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/permissionState)
|
|
6192
6192
|
*/
|
|
@@ -6262,13 +6262,13 @@ declare var PushMessageData: {
|
|
|
6262
6262
|
*/
|
|
6263
6263
|
interface PushSubscription {
|
|
6264
6264
|
/**
|
|
6265
|
-
* The **`endpoint`** read-only property of the the endpoint associated with the push subscription.
|
|
6265
|
+
* The **`endpoint`** read-only property of the PushSubscription interface returns a string containing the endpoint associated with the push subscription.
|
|
6266
6266
|
*
|
|
6267
6267
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/endpoint)
|
|
6268
6268
|
*/
|
|
6269
6269
|
readonly endpoint: string;
|
|
6270
6270
|
/**
|
|
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.
|
|
6271
|
+
* 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
6272
|
*
|
|
6273
6273
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/expirationTime)
|
|
6274
6274
|
*/
|
|
@@ -6423,7 +6423,7 @@ interface ReadableStream<R = any> {
|
|
|
6423
6423
|
*/
|
|
6424
6424
|
pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
|
|
6425
6425
|
/**
|
|
6426
|
-
* The **`tee()`** method of the two-element array containing the two resulting branches as new ReadableStream instances.
|
|
6426
|
+
* 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
6427
|
*
|
|
6428
6428
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/tee)
|
|
6429
6429
|
*/
|
|
@@ -6500,7 +6500,7 @@ declare var ReadableStreamBYOBRequest: {
|
|
|
6500
6500
|
*/
|
|
6501
6501
|
interface ReadableStreamDefaultController<R = any> {
|
|
6502
6502
|
/**
|
|
6503
|
-
* The **`desiredSize`** read-only property of the required to fill the stream's internal queue.
|
|
6503
|
+
* The **`desiredSize`** read-only property of the ReadableStreamDefaultController interface returns the desired size required to fill the stream's internal queue.
|
|
6504
6504
|
*
|
|
6505
6505
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize)
|
|
6506
6506
|
*/
|
|
@@ -6512,13 +6512,13 @@ interface ReadableStreamDefaultController<R = any> {
|
|
|
6512
6512
|
*/
|
|
6513
6513
|
close(): void;
|
|
6514
6514
|
/**
|
|
6515
|
-
* The **`enqueue()`** method of the
|
|
6515
|
+
* The **`enqueue()`** method of the ReadableStreamDefaultController interface enqueues a given chunk in the associated stream.
|
|
6516
6516
|
*
|
|
6517
6517
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
|
|
6518
6518
|
*/
|
|
6519
6519
|
enqueue(chunk?: R): void;
|
|
6520
6520
|
/**
|
|
6521
|
-
* The **`error()`** method of the with the associated stream to error.
|
|
6521
|
+
* The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
6522
6522
|
*
|
|
6523
6523
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error)
|
|
6524
6524
|
*/
|
|
@@ -6569,19 +6569,19 @@ interface ReadableStreamGenericReader {
|
|
|
6569
6569
|
*/
|
|
6570
6570
|
interface ReportingObserver {
|
|
6571
6571
|
/**
|
|
6572
|
-
* The **`disconnect()`** method of the previously started observing from collecting reports.
|
|
6572
|
+
* The **`disconnect()`** method of the ReportingObserver interface stops a reporting observer that had previously started observing from collecting reports.
|
|
6573
6573
|
*
|
|
6574
6574
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/disconnect)
|
|
6575
6575
|
*/
|
|
6576
6576
|
disconnect(): void;
|
|
6577
6577
|
/**
|
|
6578
|
-
* The **`observe()`** method of the collecting reports in its report queue.
|
|
6578
|
+
* The **`observe()`** method of the ReportingObserver interface instructs a reporting observer to start collecting reports in its report queue.
|
|
6579
6579
|
*
|
|
6580
6580
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/observe)
|
|
6581
6581
|
*/
|
|
6582
6582
|
observe(): void;
|
|
6583
6583
|
/**
|
|
6584
|
-
* The **`takeRecords()`** method of the in the observer's report queue, and empties the queue.
|
|
6584
|
+
* 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
6585
|
*
|
|
6586
6586
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/takeRecords)
|
|
6587
6587
|
*/
|
|
@@ -6618,7 +6618,7 @@ interface Request extends Body {
|
|
|
6618
6618
|
*/
|
|
6619
6619
|
readonly destination: RequestDestination;
|
|
6620
6620
|
/**
|
|
6621
|
-
* The **`headers`** read-only property of the with the request.
|
|
6621
|
+
* The **`headers`** read-only property of the Request interface contains the Headers object associated with the request.
|
|
6622
6622
|
*
|
|
6623
6623
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/headers)
|
|
6624
6624
|
*/
|
|
@@ -6636,7 +6636,7 @@ interface Request extends Body {
|
|
|
6636
6636
|
*/
|
|
6637
6637
|
readonly keepalive: boolean;
|
|
6638
6638
|
/**
|
|
6639
|
-
* The **`method`** read-only property of the
|
|
6639
|
+
* The **`method`** read-only property of the Request interface contains the request's method (`GET`, `POST`, etc.)
|
|
6640
6640
|
*
|
|
6641
6641
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/method)
|
|
6642
6642
|
*/
|
|
@@ -6654,13 +6654,13 @@ interface Request extends Body {
|
|
|
6654
6654
|
*/
|
|
6655
6655
|
readonly redirect: RequestRedirect;
|
|
6656
6656
|
/**
|
|
6657
|
-
* The **`referrer`** read-only property of the Request.
|
|
6657
|
+
* The **`referrer`** read-only property of the Request interface is set by the user agent to be the referrer of the Request.
|
|
6658
6658
|
*
|
|
6659
6659
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrer)
|
|
6660
6660
|
*/
|
|
6661
6661
|
readonly referrer: string;
|
|
6662
6662
|
/**
|
|
6663
|
-
* The **`referrerPolicy`** read-only property of the referrer information, sent in the Referer header, should be included with the request.
|
|
6663
|
+
* 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
6664
|
*
|
|
6665
6665
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrerPolicy)
|
|
6666
6666
|
*/
|
|
@@ -6697,7 +6697,7 @@ declare var Request: {
|
|
|
6697
6697
|
*/
|
|
6698
6698
|
interface Response extends Body {
|
|
6699
6699
|
/**
|
|
6700
|
-
* The **`headers`** read-only property of the with the response.
|
|
6700
|
+
* The **`headers`** read-only property of the Response interface contains the Headers object associated with the response.
|
|
6701
6701
|
*
|
|
6702
6702
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/headers)
|
|
6703
6703
|
*/
|
|
@@ -6874,7 +6874,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker {
|
|
|
6874
6874
|
*/
|
|
6875
6875
|
readonly scriptURL: string;
|
|
6876
6876
|
/**
|
|
6877
|
-
* The **`state`** read-only property of the of the service worker.
|
|
6877
|
+
* The **`state`** read-only property of the ServiceWorker interface returns a string representing the current state of the service worker.
|
|
6878
6878
|
*
|
|
6879
6879
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/state)
|
|
6880
6880
|
*/
|
|
@@ -6929,13 +6929,13 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
|
6929
6929
|
*/
|
|
6930
6930
|
readonly ready: Promise<ServiceWorkerRegistration>;
|
|
6931
6931
|
/**
|
|
6932
|
-
* The **`getRegistration()`** method of the client URL.
|
|
6932
|
+
* The **`getRegistration()`** method of the ServiceWorkerContainer interface gets a ServiceWorkerRegistration object whose scope URL matches the provided client URL.
|
|
6933
6933
|
*
|
|
6934
6934
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistration)
|
|
6935
6935
|
*/
|
|
6936
6936
|
getRegistration(clientURL?: string | URL): Promise<ServiceWorkerRegistration | undefined>;
|
|
6937
6937
|
/**
|
|
6938
|
-
* The **`getRegistrations()`** method of the `ServiceWorkerContainer`, in an array.
|
|
6938
|
+
* The **`getRegistrations()`** method of the ServiceWorkerContainer interface gets all ServiceWorkerRegistrations associated with a `ServiceWorkerContainer`, in an array.
|
|
6939
6939
|
*
|
|
6940
6940
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistrations)
|
|
6941
6941
|
*/
|
|
@@ -6984,7 +6984,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
|
|
6984
6984
|
*/
|
|
6985
6985
|
interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
6986
6986
|
/**
|
|
6987
|
-
* The **`clients`** read-only property of the object associated with the service worker.
|
|
6987
|
+
* The **`clients`** read-only property of the ServiceWorkerGlobalScope interface returns the `Clients` object associated with the service worker.
|
|
6988
6988
|
*
|
|
6989
6989
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/clients)
|
|
6990
6990
|
*/
|
|
@@ -7056,7 +7056,7 @@ interface ServiceWorkerRegistrationEventMap {
|
|
|
7056
7056
|
*/
|
|
7057
7057
|
interface ServiceWorkerRegistration extends EventTarget {
|
|
7058
7058
|
/**
|
|
7059
|
-
* The **`active`** read-only property of the
|
|
7059
|
+
* The **`active`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `activating` or `activated`.
|
|
7060
7060
|
*
|
|
7061
7061
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)
|
|
7062
7062
|
*/
|
|
@@ -7068,7 +7068,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
7068
7068
|
*/
|
|
7069
7069
|
readonly cookies: CookieStoreManager;
|
|
7070
7070
|
/**
|
|
7071
|
-
* The **`installing`** read-only property of the
|
|
7071
|
+
* The **`installing`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `installing`.
|
|
7072
7072
|
*
|
|
7073
7073
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/installing)
|
|
7074
7074
|
*/
|
|
@@ -7082,7 +7082,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
7082
7082
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updatefound_event) */
|
|
7083
7083
|
onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;
|
|
7084
7084
|
/**
|
|
7085
|
-
* The **`pushManager`** read-only property of the support for subscribing, getting an active subscription, and accessing push permission status.
|
|
7085
|
+
* 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
7086
|
*
|
|
7087
7087
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/pushManager)
|
|
7088
7088
|
*/
|
|
@@ -7100,7 +7100,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
7100
7100
|
*/
|
|
7101
7101
|
readonly updateViaCache: ServiceWorkerUpdateViaCache;
|
|
7102
7102
|
/**
|
|
7103
|
-
* The **`waiting`** read-only property of the
|
|
7103
|
+
* The **`waiting`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `installed`.
|
|
7104
7104
|
*
|
|
7105
7105
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/waiting)
|
|
7106
7106
|
*/
|
|
@@ -7112,19 +7112,19 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
7112
7112
|
*/
|
|
7113
7113
|
getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;
|
|
7114
7114
|
/**
|
|
7115
|
-
* The **`showNotification()`** method of the service worker.
|
|
7115
|
+
* The **`showNotification()`** method of the ServiceWorkerRegistration interface creates a notification on an active service worker.
|
|
7116
7116
|
*
|
|
7117
7117
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/showNotification)
|
|
7118
7118
|
*/
|
|
7119
7119
|
showNotification(title: string, options?: NotificationOptions): Promise<void>;
|
|
7120
7120
|
/**
|
|
7121
|
-
* The **`unregister()`** method of the registration and returns a Promise.
|
|
7121
|
+
* The **`unregister()`** method of the ServiceWorkerRegistration interface unregisters the service worker registration and returns a Promise.
|
|
7122
7122
|
*
|
|
7123
7123
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister)
|
|
7124
7124
|
*/
|
|
7125
7125
|
unregister(): Promise<boolean>;
|
|
7126
7126
|
/**
|
|
7127
|
-
* The **`update()`** method of the worker.
|
|
7127
|
+
* The **`update()`** method of the ServiceWorkerRegistration interface attempts to update the service worker.
|
|
7128
7128
|
*
|
|
7129
7129
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update)
|
|
7130
7130
|
*/
|
|
@@ -7179,25 +7179,25 @@ declare var StorageManager: {
|
|
|
7179
7179
|
*/
|
|
7180
7180
|
interface StylePropertyMapReadOnly {
|
|
7181
7181
|
/**
|
|
7182
|
-
* The **`size`** read-only property of the containing the size of the `StylePropertyMapReadOnly` object.
|
|
7182
|
+
* The **`size`** read-only property of the StylePropertyMapReadOnly interface returns an unsigned long integer containing the size of the `StylePropertyMapReadOnly` object.
|
|
7183
7183
|
*
|
|
7184
7184
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/size)
|
|
7185
7185
|
*/
|
|
7186
7186
|
readonly size: number;
|
|
7187
7187
|
/**
|
|
7188
|
-
* The **`get()`** method of the object for the first value of the specified property.
|
|
7188
|
+
* The **`get()`** method of the StylePropertyMapReadOnly interface returns a CSSStyleValue object for the first value of the specified property.
|
|
7189
7189
|
*
|
|
7190
7190
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/get)
|
|
7191
7191
|
*/
|
|
7192
7192
|
get(property: string): undefined | CSSStyleValue;
|
|
7193
7193
|
/**
|
|
7194
|
-
* The **`getAll()`** method of the
|
|
7194
|
+
* The **`getAll()`** method of the StylePropertyMapReadOnly interface returns an array of CSSStyleValue objects containing the values for the provided property.
|
|
7195
7195
|
*
|
|
7196
7196
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/getAll)
|
|
7197
7197
|
*/
|
|
7198
7198
|
getAll(property: string): CSSStyleValue[];
|
|
7199
7199
|
/**
|
|
7200
|
-
* The **`has()`** method of the property is in the `StylePropertyMapReadOnly` object.
|
|
7200
|
+
* The **`has()`** method of the StylePropertyMapReadOnly interface indicates whether the specified property is in the `StylePropertyMapReadOnly` object.
|
|
7201
7201
|
*
|
|
7202
7202
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/has)
|
|
7203
7203
|
*/
|
|
@@ -7224,7 +7224,7 @@ interface SubtleCrypto {
|
|
|
7224
7224
|
*/
|
|
7225
7225
|
decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;
|
|
7226
7226
|
/**
|
|
7227
|
-
* The **`deriveBits()`** method of the key.
|
|
7227
|
+
* The **`deriveBits()`** method of the SubtleCrypto interface can be used to derive an array of bits from a base key.
|
|
7228
7228
|
*
|
|
7229
7229
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits)
|
|
7230
7230
|
*/
|
|
@@ -7621,7 +7621,7 @@ interface URL {
|
|
|
7621
7621
|
*/
|
|
7622
7622
|
search: string;
|
|
7623
7623
|
/**
|
|
7624
|
-
* The **`searchParams`** read-only property of the access to the
|
|
7624
|
+
* 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
7625
|
*
|
|
7626
7626
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/searchParams)
|
|
7627
7627
|
*/
|
|
@@ -7633,7 +7633,7 @@ interface URL {
|
|
|
7633
7633
|
*/
|
|
7634
7634
|
username: string;
|
|
7635
7635
|
/**
|
|
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
|
|
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 URL.toString().
|
|
7637
7637
|
*
|
|
7638
7638
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)
|
|
7639
7639
|
*/
|
|
@@ -10352,7 +10352,7 @@ interface WebSocket extends EventTarget {
|
|
|
10352
10352
|
*/
|
|
10353
10353
|
readonly url: string;
|
|
10354
10354
|
/**
|
|
10355
|
-
* The **`WebSocket.close()`** method closes the
|
|
10355
|
+
* The **`WebSocket.close()`** method closes the WebSocket connection or connection attempt, if any.
|
|
10356
10356
|
*
|
|
10357
10357
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close)
|
|
10358
10358
|
*/
|
|
@@ -10555,25 +10555,25 @@ declare var WebTransportError: {
|
|
|
10555
10555
|
*/
|
|
10556
10556
|
interface WindowClient extends Client {
|
|
10557
10557
|
/**
|
|
10558
|
-
* The **`focused`** read-only property of the the current client has focus.
|
|
10558
|
+
* The **`focused`** read-only property of the WindowClient interface is a boolean value that indicates whether the current client has focus.
|
|
10559
10559
|
*
|
|
10560
10560
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/focused)
|
|
10561
10561
|
*/
|
|
10562
10562
|
readonly focused: boolean;
|
|
10563
10563
|
/**
|
|
10564
|
-
* The **`visibilityState`** read-only property of the
|
|
10564
|
+
* The **`visibilityState`** read-only property of the WindowClient interface indicates the visibility of the current client.
|
|
10565
10565
|
*
|
|
10566
10566
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/visibilityState)
|
|
10567
10567
|
*/
|
|
10568
10568
|
readonly visibilityState: DocumentVisibilityState;
|
|
10569
10569
|
/**
|
|
10570
|
-
* The **`focus()`** method of the WindowClient interface gives user input focus to the current client and returns a
|
|
10570
|
+
* 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
10571
|
*
|
|
10572
10572
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/focus)
|
|
10573
10573
|
*/
|
|
10574
10574
|
focus(): Promise<WindowClient>;
|
|
10575
10575
|
/**
|
|
10576
|
-
* The **`navigate()`** method of the WindowClient interface loads a specified URL into a controlled client page then returns a
|
|
10576
|
+
* 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
10577
|
*
|
|
10578
10578
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/navigate)
|
|
10579
10579
|
*/
|
|
@@ -10841,7 +10841,7 @@ interface WritableStreamDefaultController {
|
|
|
10841
10841
|
*/
|
|
10842
10842
|
readonly signal: AbortSignal;
|
|
10843
10843
|
/**
|
|
10844
|
-
* The **`error()`** method of the with the associated stream to error.
|
|
10844
|
+
* The **`error()`** method of the WritableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
10845
10845
|
*
|
|
10846
10846
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error)
|
|
10847
10847
|
*/
|
|
@@ -10860,43 +10860,43 @@ declare var WritableStreamDefaultController: {
|
|
|
10860
10860
|
*/
|
|
10861
10861
|
interface WritableStreamDefaultWriter<W = any> {
|
|
10862
10862
|
/**
|
|
10863
|
-
* The **`closed`** read-only property of the the stream errors or the writer's lock is released.
|
|
10863
|
+
* 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
10864
|
*
|
|
10865
10865
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed)
|
|
10866
10866
|
*/
|
|
10867
10867
|
readonly closed: Promise<void>;
|
|
10868
10868
|
/**
|
|
10869
|
-
* The **`desiredSize`** read-only property of the to fill the stream's internal queue.
|
|
10869
|
+
* The **`desiredSize`** read-only property of the WritableStreamDefaultWriter interface returns the desired size required to fill the stream's internal queue.
|
|
10870
10870
|
*
|
|
10871
10871
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/desiredSize)
|
|
10872
10872
|
*/
|
|
10873
10873
|
readonly desiredSize: number | null;
|
|
10874
10874
|
/**
|
|
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.
|
|
10875
|
+
* 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
10876
|
*
|
|
10877
10877
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/ready)
|
|
10878
10878
|
*/
|
|
10879
10879
|
readonly ready: Promise<void>;
|
|
10880
10880
|
/**
|
|
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.
|
|
10881
|
+
* 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
10882
|
*
|
|
10883
10883
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort)
|
|
10884
10884
|
*/
|
|
10885
10885
|
abort(reason?: any): Promise<void>;
|
|
10886
10886
|
/**
|
|
10887
|
-
* The **`close()`** method of the stream.
|
|
10887
|
+
* The **`close()`** method of the WritableStreamDefaultWriter interface closes the associated writable stream.
|
|
10888
10888
|
*
|
|
10889
10889
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close)
|
|
10890
10890
|
*/
|
|
10891
10891
|
close(): Promise<void>;
|
|
10892
10892
|
/**
|
|
10893
|
-
* The **`releaseLock()`** method of the corresponding stream.
|
|
10893
|
+
* The **`releaseLock()`** method of the WritableStreamDefaultWriter interface releases the writer's lock on the corresponding stream.
|
|
10894
10894
|
*
|
|
10895
10895
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/releaseLock)
|
|
10896
10896
|
*/
|
|
10897
10897
|
releaseLock(): void;
|
|
10898
10898
|
/**
|
|
10899
|
-
* The **`write()`** method of the operation.
|
|
10899
|
+
* 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
10900
|
*
|
|
10901
10901
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
|
|
10902
10902
|
*/
|
|
@@ -11318,7 +11318,7 @@ interface VoidFunction {
|
|
|
11318
11318
|
}
|
|
11319
11319
|
|
|
11320
11320
|
/**
|
|
11321
|
-
* The **`clients`** read-only property of the object associated with the service worker.
|
|
11321
|
+
* The **`clients`** read-only property of the ServiceWorkerGlobalScope interface returns the `Clients` object associated with the service worker.
|
|
11322
11322
|
*
|
|
11323
11323
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/clients)
|
|
11324
11324
|
*/
|