@types/webworker 0.0.18 → 0.0.19
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 +213 -213
- package/iterable.d.ts +1 -1
- package/package.json +1 -1
- package/ts5.5/index.d.ts +213 -213
- package/ts5.5/iterable.d.ts +1 -1
- package/ts5.6/index.d.ts +213 -213
- package/ts5.6/iterable.d.ts +1 -1
package/ts5.6/index.d.ts
CHANGED
|
@@ -1484,7 +1484,7 @@ interface Blob {
|
|
|
1484
1484
|
*/
|
|
1485
1485
|
stream(): ReadableStream<Uint8Array>;
|
|
1486
1486
|
/**
|
|
1487
|
-
* The **`text()`** method of the string containing the contents of the blob, interpreted as UTF-8.
|
|
1487
|
+
* 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.
|
|
1488
1488
|
*
|
|
1489
1489
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text)
|
|
1490
1490
|
*/
|
|
@@ -1600,7 +1600,7 @@ declare var CSSImageValue: {
|
|
|
1600
1600
|
*/
|
|
1601
1601
|
interface CSSKeywordValue extends CSSStyleValue {
|
|
1602
1602
|
/**
|
|
1603
|
-
* The **`value`** property of the `CSSKeywordValue`.
|
|
1603
|
+
* The **`value`** property of the CSSKeywordValue interface returns or sets the value of the `CSSKeywordValue`.
|
|
1604
1604
|
*
|
|
1605
1605
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue/value)
|
|
1606
1606
|
*/
|
|
@@ -1630,7 +1630,7 @@ declare var CSSMathClamp: {
|
|
|
1630
1630
|
*/
|
|
1631
1631
|
interface CSSMathInvert extends CSSMathValue {
|
|
1632
1632
|
/**
|
|
1633
|
-
* The CSSMathInvert.value read-only property of the
|
|
1633
|
+
* The CSSMathInvert.value read-only property of the CSSMathInvert interface returns a CSSNumericValue object.
|
|
1634
1634
|
*
|
|
1635
1635
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert/value)
|
|
1636
1636
|
*/
|
|
@@ -1649,7 +1649,7 @@ declare var CSSMathInvert: {
|
|
|
1649
1649
|
*/
|
|
1650
1650
|
interface CSSMathMax extends CSSMathValue {
|
|
1651
1651
|
/**
|
|
1652
|
-
* The CSSMathMax.values read-only property of the which contains one or more CSSNumericValue objects.
|
|
1652
|
+
* The CSSMathMax.values read-only property of the CSSMathMax interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
1653
1653
|
*
|
|
1654
1654
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax/values)
|
|
1655
1655
|
*/
|
|
@@ -1668,7 +1668,7 @@ declare var CSSMathMax: {
|
|
|
1668
1668
|
*/
|
|
1669
1669
|
interface CSSMathMin extends CSSMathValue {
|
|
1670
1670
|
/**
|
|
1671
|
-
* The CSSMathMin.values read-only property of the which contains one or more CSSNumericValue objects.
|
|
1671
|
+
* The CSSMathMin.values read-only property of the CSSMathMin interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
1672
1672
|
*
|
|
1673
1673
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin/values)
|
|
1674
1674
|
*/
|
|
@@ -1687,7 +1687,7 @@ declare var CSSMathMin: {
|
|
|
1687
1687
|
*/
|
|
1688
1688
|
interface CSSMathNegate extends CSSMathValue {
|
|
1689
1689
|
/**
|
|
1690
|
-
* The CSSMathNegate.value read-only property of the
|
|
1690
|
+
* The CSSMathNegate.value read-only property of the CSSMathNegate interface returns a CSSNumericValue object.
|
|
1691
1691
|
*
|
|
1692
1692
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate/value)
|
|
1693
1693
|
*/
|
|
@@ -1706,7 +1706,7 @@ declare var CSSMathNegate: {
|
|
|
1706
1706
|
*/
|
|
1707
1707
|
interface CSSMathProduct extends CSSMathValue {
|
|
1708
1708
|
/**
|
|
1709
|
-
* The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a
|
|
1709
|
+
* The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
1710
1710
|
*
|
|
1711
1711
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct/values)
|
|
1712
1712
|
*/
|
|
@@ -1763,7 +1763,7 @@ declare var CSSMathValue: {
|
|
|
1763
1763
|
*/
|
|
1764
1764
|
interface CSSMatrixComponent extends CSSTransformComponent {
|
|
1765
1765
|
/**
|
|
1766
|
-
* The **`matrix`** property of the
|
|
1766
|
+
* The **`matrix`** property of the CSSMatrixComponent interface gets and sets a 2d or 3d matrix.
|
|
1767
1767
|
*
|
|
1768
1768
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent/matrix)
|
|
1769
1769
|
*/
|
|
@@ -1782,7 +1782,7 @@ declare var CSSMatrixComponent: {
|
|
|
1782
1782
|
*/
|
|
1783
1783
|
interface CSSNumericArray {
|
|
1784
1784
|
/**
|
|
1785
|
-
* The read-only **`length`** property of the
|
|
1785
|
+
* The read-only **`length`** property of the CSSNumericArray interface returns the number of CSSNumericValue objects in the list.
|
|
1786
1786
|
*
|
|
1787
1787
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray/length)
|
|
1788
1788
|
*/
|
|
@@ -1803,61 +1803,61 @@ declare var CSSNumericArray: {
|
|
|
1803
1803
|
*/
|
|
1804
1804
|
interface CSSNumericValue extends CSSStyleValue {
|
|
1805
1805
|
/**
|
|
1806
|
-
* The **`add()`** method of the `CSSNumericValue`.
|
|
1806
|
+
* The **`add()`** method of the CSSNumericValue interface adds a supplied number to the `CSSNumericValue`.
|
|
1807
1807
|
*
|
|
1808
1808
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add)
|
|
1809
1809
|
*/
|
|
1810
1810
|
add(...values: CSSNumberish[]): CSSNumericValue;
|
|
1811
1811
|
/**
|
|
1812
|
-
* The **`div()`** method of the supplied value.
|
|
1812
|
+
* The **`div()`** method of the CSSNumericValue interface divides the `CSSNumericValue` by the supplied value.
|
|
1813
1813
|
*
|
|
1814
1814
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/div)
|
|
1815
1815
|
*/
|
|
1816
1816
|
div(...values: CSSNumberish[]): CSSNumericValue;
|
|
1817
1817
|
/**
|
|
1818
|
-
* The **`equals()`** method of the value are strictly equal.
|
|
1818
|
+
* The **`equals()`** method of the CSSNumericValue interface returns a boolean indicating whether the passed value are strictly equal.
|
|
1819
1819
|
*
|
|
1820
1820
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/equals)
|
|
1821
1821
|
*/
|
|
1822
1822
|
equals(...value: CSSNumberish[]): boolean;
|
|
1823
1823
|
/**
|
|
1824
|
-
* The **`max()`** method of the passed.
|
|
1824
|
+
* The **`max()`** method of the CSSNumericValue interface returns the highest value from among the values passed.
|
|
1825
1825
|
*
|
|
1826
1826
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/max)
|
|
1827
1827
|
*/
|
|
1828
1828
|
max(...values: CSSNumberish[]): CSSNumericValue;
|
|
1829
1829
|
/**
|
|
1830
|
-
* The **`min()`** method of the values passed.
|
|
1830
|
+
* The **`min()`** method of the CSSNumericValue interface returns the lowest value from among those values passed.
|
|
1831
1831
|
*
|
|
1832
1832
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/min)
|
|
1833
1833
|
*/
|
|
1834
1834
|
min(...values: CSSNumberish[]): CSSNumericValue;
|
|
1835
1835
|
/**
|
|
1836
|
-
* The **`mul()`** method of the the supplied value.
|
|
1836
|
+
* The **`mul()`** method of the CSSNumericValue interface multiplies the `CSSNumericValue` by the supplied value.
|
|
1837
1837
|
*
|
|
1838
1838
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/mul)
|
|
1839
1839
|
*/
|
|
1840
1840
|
mul(...values: CSSNumberish[]): CSSNumericValue;
|
|
1841
1841
|
/**
|
|
1842
|
-
* The **`sub()`** method of the `CSSNumericValue`.
|
|
1842
|
+
* The **`sub()`** method of the CSSNumericValue interface subtracts a supplied number from the `CSSNumericValue`.
|
|
1843
1843
|
*
|
|
1844
1844
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/sub)
|
|
1845
1845
|
*/
|
|
1846
1846
|
sub(...values: CSSNumberish[]): CSSNumericValue;
|
|
1847
1847
|
/**
|
|
1848
|
-
* The **`to()`** method of the another.
|
|
1848
|
+
* The **`to()`** method of the CSSNumericValue interface converts a numeric value from one unit to another.
|
|
1849
1849
|
*
|
|
1850
1850
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/to)
|
|
1851
1851
|
*/
|
|
1852
1852
|
to(unit: string): CSSUnitValue;
|
|
1853
1853
|
/**
|
|
1854
|
-
* The **`toSum()`** method of the
|
|
1854
|
+
* The **`toSum()`** method of the CSSNumericValue interface converts the object's value to a CSSMathSum object to values of the specified unit.
|
|
1855
1855
|
*
|
|
1856
1856
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/toSum)
|
|
1857
1857
|
*/
|
|
1858
1858
|
toSum(...units: string[]): CSSMathSum;
|
|
1859
1859
|
/**
|
|
1860
|
-
* The **`type()`** method of the `CSSNumericValue`, one of `angle`, `flex`, `frequency`, `length`, `resolution`, `percent`, `percentHint`, or `time`.
|
|
1860
|
+
* The **`type()`** method of the CSSNumericValue interface returns the type of `CSSNumericValue`, one of `angle`, `flex`, `frequency`, `length`, `resolution`, `percent`, `percentHint`, or `time`.
|
|
1861
1861
|
*
|
|
1862
1862
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/type)
|
|
1863
1863
|
*/
|
|
@@ -1876,7 +1876,7 @@ declare var CSSNumericValue: {
|
|
|
1876
1876
|
*/
|
|
1877
1877
|
interface CSSPerspective extends CSSTransformComponent {
|
|
1878
1878
|
/**
|
|
1879
|
-
* The **`length`** property of the
|
|
1879
|
+
* The **`length`** property of the CSSPerspective interface sets the distance from z=0.
|
|
1880
1880
|
*
|
|
1881
1881
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective/length)
|
|
1882
1882
|
*/
|
|
@@ -1895,25 +1895,25 @@ declare var CSSPerspective: {
|
|
|
1895
1895
|
*/
|
|
1896
1896
|
interface CSSRotate extends CSSTransformComponent {
|
|
1897
1897
|
/**
|
|
1898
|
-
* The **`angle`** property of the
|
|
1898
|
+
* The **`angle`** property of the CSSRotate interface gets and sets the angle of rotation.
|
|
1899
1899
|
*
|
|
1900
1900
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/angle)
|
|
1901
1901
|
*/
|
|
1902
1902
|
angle: CSSNumericValue;
|
|
1903
1903
|
/**
|
|
1904
|
-
* The **`x`** property of the translating vector.
|
|
1904
|
+
* The **`x`** property of the CSSRotate interface gets and sets the abscissa or x-axis of the translating vector.
|
|
1905
1905
|
*
|
|
1906
1906
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/x)
|
|
1907
1907
|
*/
|
|
1908
1908
|
x: CSSNumberish;
|
|
1909
1909
|
/**
|
|
1910
|
-
* The **`y`** property of the translating vector.
|
|
1910
|
+
* The **`y`** property of the CSSRotate interface gets and sets the ordinate or y-axis of the translating vector.
|
|
1911
1911
|
*
|
|
1912
1912
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/y)
|
|
1913
1913
|
*/
|
|
1914
1914
|
y: CSSNumberish;
|
|
1915
1915
|
/**
|
|
1916
|
-
* The **`z`** property of the vector.
|
|
1916
|
+
* The **`z`** property of the CSSRotate interface representing the z-component of the translating vector.
|
|
1917
1917
|
*
|
|
1918
1918
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/z)
|
|
1919
1919
|
*/
|
|
@@ -1933,19 +1933,19 @@ declare var CSSRotate: {
|
|
|
1933
1933
|
*/
|
|
1934
1934
|
interface CSSScale extends CSSTransformComponent {
|
|
1935
1935
|
/**
|
|
1936
|
-
* The **`x`** property of the translating vector.
|
|
1936
|
+
* The **`x`** property of the CSSScale interface gets and sets the abscissa or x-axis of the translating vector.
|
|
1937
1937
|
*
|
|
1938
1938
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/x)
|
|
1939
1939
|
*/
|
|
1940
1940
|
x: CSSNumberish;
|
|
1941
1941
|
/**
|
|
1942
|
-
* The **`y`** property of the translating vector.
|
|
1942
|
+
* The **`y`** property of the CSSScale interface gets and sets the ordinate or y-axis of the translating vector.
|
|
1943
1943
|
*
|
|
1944
1944
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/y)
|
|
1945
1945
|
*/
|
|
1946
1946
|
y: CSSNumberish;
|
|
1947
1947
|
/**
|
|
1948
|
-
* The **`z`** property of the vector.
|
|
1948
|
+
* The **`z`** property of the CSSScale interface representing the z-component of the translating vector.
|
|
1949
1949
|
*
|
|
1950
1950
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/z)
|
|
1951
1951
|
*/
|
|
@@ -1964,13 +1964,13 @@ declare var CSSScale: {
|
|
|
1964
1964
|
*/
|
|
1965
1965
|
interface CSSSkew extends CSSTransformComponent {
|
|
1966
1966
|
/**
|
|
1967
|
-
* The **`ax`** property of the along the x-axis (or abscissa).
|
|
1967
|
+
* The **`ax`** property of the CSSSkew interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
|
|
1968
1968
|
*
|
|
1969
1969
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax)
|
|
1970
1970
|
*/
|
|
1971
1971
|
ax: CSSNumericValue;
|
|
1972
1972
|
/**
|
|
1973
|
-
* The **`ay`** property of the along the y-axis (or ordinate).
|
|
1973
|
+
* The **`ay`** property of the CSSSkew interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
|
|
1974
1974
|
*
|
|
1975
1975
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ay)
|
|
1976
1976
|
*/
|
|
@@ -1989,7 +1989,7 @@ declare var CSSSkew: {
|
|
|
1989
1989
|
*/
|
|
1990
1990
|
interface CSSSkewX extends CSSTransformComponent {
|
|
1991
1991
|
/**
|
|
1992
|
-
* The **`ax`** property of the along the x-axis (or abscissa).
|
|
1992
|
+
* The **`ax`** property of the CSSSkewX interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
|
|
1993
1993
|
*
|
|
1994
1994
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX/ax)
|
|
1995
1995
|
*/
|
|
@@ -2008,7 +2008,7 @@ declare var CSSSkewX: {
|
|
|
2008
2008
|
*/
|
|
2009
2009
|
interface CSSSkewY extends CSSTransformComponent {
|
|
2010
2010
|
/**
|
|
2011
|
-
* The **`ay`** property of the along the y-axis (or ordinate).
|
|
2011
|
+
* The **`ay`** property of the CSSSkewY interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
|
|
2012
2012
|
*
|
|
2013
2013
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY/ay)
|
|
2014
2014
|
*/
|
|
@@ -2047,7 +2047,7 @@ interface CSSTransformComponent {
|
|
|
2047
2047
|
*/
|
|
2048
2048
|
is2D: boolean;
|
|
2049
2049
|
/**
|
|
2050
|
-
* The **`toMatrix()`** method of the object.
|
|
2050
|
+
* The **`toMatrix()`** method of the CSSTransformComponent interface returns a DOMMatrix object.
|
|
2051
2051
|
*
|
|
2052
2052
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent/toMatrix)
|
|
2053
2053
|
*/
|
|
@@ -2067,19 +2067,19 @@ declare var CSSTransformComponent: {
|
|
|
2067
2067
|
*/
|
|
2068
2068
|
interface CSSTransformValue extends CSSStyleValue {
|
|
2069
2069
|
/**
|
|
2070
|
-
* The read-only **`is2D`** property of the
|
|
2070
|
+
* The read-only **`is2D`** property of the CSSTransformValue interface returns whether the transform is 2D or 3D.
|
|
2071
2071
|
*
|
|
2072
2072
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/is2D)
|
|
2073
2073
|
*/
|
|
2074
2074
|
readonly is2D: boolean;
|
|
2075
2075
|
/**
|
|
2076
|
-
* The read-only **`length`** property of the the list.
|
|
2076
|
+
* The read-only **`length`** property of the CSSTransformValue interface returns the number of transform components in the list.
|
|
2077
2077
|
*
|
|
2078
2078
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/length)
|
|
2079
2079
|
*/
|
|
2080
2080
|
readonly length: number;
|
|
2081
2081
|
/**
|
|
2082
|
-
* The **`toMatrix()`** method of the
|
|
2082
|
+
* The **`toMatrix()`** method of the CSSTransformValue interface returns a DOMMatrix object.
|
|
2083
2083
|
*
|
|
2084
2084
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/toMatrix)
|
|
2085
2085
|
*/
|
|
@@ -2100,19 +2100,19 @@ declare var CSSTransformValue: {
|
|
|
2100
2100
|
*/
|
|
2101
2101
|
interface CSSTranslate extends CSSTransformComponent {
|
|
2102
2102
|
/**
|
|
2103
|
-
* The **`x`** property of the translating vector.
|
|
2103
|
+
* The **`x`** property of the CSSTranslate interface gets and sets the abscissa or x-axis of the translating vector.
|
|
2104
2104
|
*
|
|
2105
2105
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/x)
|
|
2106
2106
|
*/
|
|
2107
2107
|
x: CSSNumericValue;
|
|
2108
2108
|
/**
|
|
2109
|
-
* The **`y`** property of the translating vector.
|
|
2109
|
+
* The **`y`** property of the CSSTranslate interface gets and sets the ordinate or y-axis of the translating vector.
|
|
2110
2110
|
*
|
|
2111
2111
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/y)
|
|
2112
2112
|
*/
|
|
2113
2113
|
y: CSSNumericValue;
|
|
2114
2114
|
/**
|
|
2115
|
-
* The **`z`** property of the vector.
|
|
2115
|
+
* The **`z`** property of the CSSTranslate interface representing the z-component of the translating vector.
|
|
2116
2116
|
*
|
|
2117
2117
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/z)
|
|
2118
2118
|
*/
|
|
@@ -2137,7 +2137,7 @@ interface CSSUnitValue extends CSSNumericValue {
|
|
|
2137
2137
|
*/
|
|
2138
2138
|
readonly unit: string;
|
|
2139
2139
|
/**
|
|
2140
|
-
* The **`CSSUnitValue.value`** property of the
|
|
2140
|
+
* The **`CSSUnitValue.value`** property of the CSSUnitValue interface returns a double indicating the number of units.
|
|
2141
2141
|
*
|
|
2142
2142
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/value)
|
|
2143
2143
|
*/
|
|
@@ -2156,7 +2156,7 @@ declare var CSSUnitValue: {
|
|
|
2156
2156
|
*/
|
|
2157
2157
|
interface CSSUnparsedValue extends CSSStyleValue {
|
|
2158
2158
|
/**
|
|
2159
|
-
* The **`length`** read-only property of the
|
|
2159
|
+
* The **`length`** read-only property of the CSSUnparsedValue interface returns the number of items in the object.
|
|
2160
2160
|
*
|
|
2161
2161
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue/length)
|
|
2162
2162
|
*/
|
|
@@ -2177,13 +2177,13 @@ declare var CSSUnparsedValue: {
|
|
|
2177
2177
|
*/
|
|
2178
2178
|
interface CSSVariableReferenceValue {
|
|
2179
2179
|
/**
|
|
2180
|
-
* The **`fallback`** read-only property of the
|
|
2180
|
+
* The **`fallback`** read-only property of the CSSVariableReferenceValue interface returns the custom property fallback value of the CSSVariableReferenceValue.
|
|
2181
2181
|
*
|
|
2182
2182
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/fallback)
|
|
2183
2183
|
*/
|
|
2184
2184
|
readonly fallback: CSSUnparsedValue | null;
|
|
2185
2185
|
/**
|
|
2186
|
-
* The **`variable`** property of the
|
|
2186
|
+
* The **`variable`** property of the CSSVariableReferenceValue interface returns the custom property name of the CSSVariableReferenceValue.
|
|
2187
2187
|
*
|
|
2188
2188
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/variable)
|
|
2189
2189
|
*/
|
|
@@ -2221,7 +2221,7 @@ interface Cache {
|
|
|
2221
2221
|
*/
|
|
2222
2222
|
delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<boolean>;
|
|
2223
2223
|
/**
|
|
2224
|
-
* The **`keys()`** method of the Cache interface returns a representing the keys of the Cache.
|
|
2224
|
+
* The **`keys()`** method of the Cache interface returns a Promise that resolves to an array of Request objects representing the keys of the Cache.
|
|
2225
2225
|
*
|
|
2226
2226
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/keys)
|
|
2227
2227
|
*/
|
|
@@ -2239,7 +2239,7 @@ interface Cache {
|
|
|
2239
2239
|
*/
|
|
2240
2240
|
matchAll(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;
|
|
2241
2241
|
/**
|
|
2242
|
-
* The **`put()`** method of the
|
|
2242
|
+
* The **`put()`** method of the Cache interface allows key/value pairs to be added to the current Cache object.
|
|
2243
2243
|
*
|
|
2244
2244
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/put)
|
|
2245
2245
|
*/
|
|
@@ -2265,7 +2265,7 @@ interface CacheStorage {
|
|
|
2265
2265
|
*/
|
|
2266
2266
|
delete(cacheName: string): Promise<boolean>;
|
|
2267
2267
|
/**
|
|
2268
|
-
* The **`has()`** method of the CacheStorage interface returns a Promise that resolves to `true` if a
|
|
2268
|
+
* The **`has()`** method of the CacheStorage interface returns a Promise that resolves to `true` if a Cache object matches the `cacheName`.
|
|
2269
2269
|
*
|
|
2270
2270
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/has)
|
|
2271
2271
|
*/
|
|
@@ -2283,7 +2283,7 @@ interface CacheStorage {
|
|
|
2283
2283
|
*/
|
|
2284
2284
|
match(request: RequestInfo | URL, options?: MultiCacheQueryOptions): Promise<Response | undefined>;
|
|
2285
2285
|
/**
|
|
2286
|
-
* The **`open()`** method of the the Cache object matching the `cacheName`.
|
|
2286
|
+
* The **`open()`** method of the CacheStorage interface returns a Promise that resolves to the Cache object matching the `cacheName`.
|
|
2287
2287
|
*
|
|
2288
2288
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/open)
|
|
2289
2289
|
*/
|
|
@@ -2557,7 +2557,7 @@ interface Client {
|
|
|
2557
2557
|
*/
|
|
2558
2558
|
readonly url: string;
|
|
2559
2559
|
/**
|
|
2560
|
-
* The **`postMessage()`** method of the (a Window, Worker, or SharedWorker).
|
|
2560
|
+
* The **`postMessage()`** method of the Client interface allows a service worker to send a message to a client (a Window, Worker, or SharedWorker).
|
|
2561
2561
|
*
|
|
2562
2562
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Client/postMessage)
|
|
2563
2563
|
*/
|
|
@@ -2583,13 +2583,13 @@ interface Clients {
|
|
|
2583
2583
|
*/
|
|
2584
2584
|
claim(): Promise<void>;
|
|
2585
2585
|
/**
|
|
2586
|
-
* The **`get()`** method of the `id` and returns it in a Promise.
|
|
2586
|
+
* The **`get()`** method of the Clients interface gets a service worker client matching a given `id` and returns it in a Promise.
|
|
2587
2587
|
*
|
|
2588
2588
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clients/get)
|
|
2589
2589
|
*/
|
|
2590
2590
|
get(id: string): Promise<Client | undefined>;
|
|
2591
2591
|
/**
|
|
2592
|
-
* The **`matchAll()`** method of the Clients interface returns a Promise for a list of service worker
|
|
2592
|
+
* The **`matchAll()`** method of the Clients interface returns a Promise for a list of service worker Client objects.
|
|
2593
2593
|
*
|
|
2594
2594
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clients/matchAll)
|
|
2595
2595
|
*/
|
|
@@ -2755,7 +2755,7 @@ declare var CountQueuingStrategy: {
|
|
|
2755
2755
|
*/
|
|
2756
2756
|
interface Crypto {
|
|
2757
2757
|
/**
|
|
2758
|
-
* The **`Crypto.subtle`** read-only property returns a cryptographic operations.
|
|
2758
|
+
* The **`Crypto.subtle`** read-only property returns a SubtleCrypto which can then be used to perform low-level cryptographic operations.
|
|
2759
2759
|
* Available only in secure contexts.
|
|
2760
2760
|
*
|
|
2761
2761
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/subtle)
|
|
@@ -2859,13 +2859,13 @@ interface DOMException extends Error {
|
|
|
2859
2859
|
*/
|
|
2860
2860
|
readonly code: number;
|
|
2861
2861
|
/**
|
|
2862
|
-
* The **`message`** read-only property of the a message or description associated with the given error name.
|
|
2862
|
+
* The **`message`** read-only property of the DOMException interface returns a string representing a message or description associated with the given error name.
|
|
2863
2863
|
*
|
|
2864
2864
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message)
|
|
2865
2865
|
*/
|
|
2866
2866
|
readonly message: string;
|
|
2867
2867
|
/**
|
|
2868
|
-
* The **`name`** read-only property of the one of the strings associated with an error name.
|
|
2868
|
+
* The **`name`** read-only property of the DOMException interface returns a string that contains one of the strings associated with an error name.
|
|
2869
2869
|
*
|
|
2870
2870
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name)
|
|
2871
2871
|
*/
|
|
@@ -3158,7 +3158,7 @@ interface DOMMatrixReadOnly {
|
|
|
3158
3158
|
*/
|
|
3159
3159
|
rotateFromVector(x?: number, y?: number): DOMMatrix;
|
|
3160
3160
|
/**
|
|
3161
|
-
* The **`scale()`** method of the original matrix with a scale transform applied.
|
|
3161
|
+
* The **`scale()`** method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a scale transform applied.
|
|
3162
3162
|
*
|
|
3163
3163
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale)
|
|
3164
3164
|
*/
|
|
@@ -3202,7 +3202,7 @@ interface DOMMatrixReadOnly {
|
|
|
3202
3202
|
*/
|
|
3203
3203
|
toJSON(): any;
|
|
3204
3204
|
/**
|
|
3205
|
-
* The **`transformPoint`** method of the
|
|
3205
|
+
* The **`transformPoint`** method of the DOMMatrixReadOnly interface creates a new DOMPoint object, transforming a specified point by the matrix.
|
|
3206
3206
|
*
|
|
3207
3207
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint)
|
|
3208
3208
|
*/
|
|
@@ -3303,7 +3303,7 @@ interface DOMPointReadOnly {
|
|
|
3303
3303
|
*/
|
|
3304
3304
|
matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
|
|
3305
3305
|
/**
|
|
3306
|
-
* The DOMPointReadOnly method `toJSON()` returns an object giving the
|
|
3306
|
+
* The DOMPointReadOnly method `toJSON()` returns an object giving the JSON form of the point object.
|
|
3307
3307
|
*
|
|
3308
3308
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON)
|
|
3309
3309
|
*/
|
|
@@ -3358,7 +3358,7 @@ interface DOMQuad {
|
|
|
3358
3358
|
*/
|
|
3359
3359
|
getBounds(): DOMRect;
|
|
3360
3360
|
/**
|
|
3361
|
-
* The DOMQuad method `toJSON()` returns a
|
|
3361
|
+
* The DOMQuad method `toJSON()` returns a JSON representation of the `DOMQuad` object.
|
|
3362
3362
|
*
|
|
3363
3363
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/toJSON)
|
|
3364
3364
|
*/
|
|
@@ -3408,7 +3408,7 @@ declare var DOMRect: {
|
|
|
3408
3408
|
prototype: DOMRect;
|
|
3409
3409
|
new(x?: number, y?: number, width?: number, height?: number): DOMRect;
|
|
3410
3410
|
/**
|
|
3411
|
-
* The **`fromRect()`** static method of the object with a given location and dimensions.
|
|
3411
|
+
* The **`fromRect()`** static method of the DOMRect object creates a new `DOMRect` object with a given location and dimensions.
|
|
3412
3412
|
*
|
|
3413
3413
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static)
|
|
3414
3414
|
*/
|
|
@@ -3481,7 +3481,7 @@ declare var DOMRectReadOnly: {
|
|
|
3481
3481
|
prototype: DOMRectReadOnly;
|
|
3482
3482
|
new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;
|
|
3483
3483
|
/**
|
|
3484
|
-
* The **`fromRect()`** static method of the object with a given location and dimensions.
|
|
3484
|
+
* The **`fromRect()`** static method of the DOMRectReadOnly object creates a new `DOMRectReadOnly` object with a given location and dimensions.
|
|
3485
3485
|
*
|
|
3486
3486
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/fromRect_static)
|
|
3487
3487
|
*/
|
|
@@ -3548,7 +3548,7 @@ interface DedicatedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap,
|
|
|
3548
3548
|
*/
|
|
3549
3549
|
interface DedicatedWorkerGlobalScope extends WorkerGlobalScope, AnimationFrameProvider, MessageEventTarget<DedicatedWorkerGlobalScope> {
|
|
3550
3550
|
/**
|
|
3551
|
-
* The **`name`** read-only property of the the
|
|
3551
|
+
* The **`name`** read-only property of the DedicatedWorkerGlobalScope interface returns the name that the Worker was (optionally) given when it was created.
|
|
3552
3552
|
*
|
|
3553
3553
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/name)
|
|
3554
3554
|
*/
|
|
@@ -3850,7 +3850,7 @@ interface Event {
|
|
|
3850
3850
|
*/
|
|
3851
3851
|
readonly cancelable: boolean;
|
|
3852
3852
|
/**
|
|
3853
|
-
* The read-only **`composed`** property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.
|
|
3853
|
+
* 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.
|
|
3854
3854
|
*
|
|
3855
3855
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)
|
|
3856
3856
|
*/
|
|
@@ -3868,13 +3868,13 @@ interface Event {
|
|
|
3868
3868
|
*/
|
|
3869
3869
|
readonly defaultPrevented: boolean;
|
|
3870
3870
|
/**
|
|
3871
|
-
* The **`eventPhase`** read-only property of the being evaluated.
|
|
3871
|
+
* The **`eventPhase`** read-only property of the Event interface indicates which phase of the event flow is currently being evaluated.
|
|
3872
3872
|
*
|
|
3873
3873
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)
|
|
3874
3874
|
*/
|
|
3875
3875
|
readonly eventPhase: number;
|
|
3876
3876
|
/**
|
|
3877
|
-
* 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
|
|
3877
|
+
* 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().
|
|
3878
3878
|
*
|
|
3879
3879
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
|
|
3880
3880
|
*/
|
|
@@ -3894,7 +3894,7 @@ interface Event {
|
|
|
3894
3894
|
*/
|
|
3895
3895
|
readonly srcElement: EventTarget | null;
|
|
3896
3896
|
/**
|
|
3897
|
-
* The read-only **`target`** property of the dispatched.
|
|
3897
|
+
* The read-only **`target`** property of the Event interface is a reference to the object onto which the event was dispatched.
|
|
3898
3898
|
*
|
|
3899
3899
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)
|
|
3900
3900
|
*/
|
|
@@ -3931,7 +3931,7 @@ interface Event {
|
|
|
3931
3931
|
*/
|
|
3932
3932
|
preventDefault(): void;
|
|
3933
3933
|
/**
|
|
3934
|
-
* The **`stopImmediatePropagation()`** method of the
|
|
3934
|
+
* The **`stopImmediatePropagation()`** method of the Event interface prevents other listeners of the same event from being called.
|
|
3935
3935
|
*
|
|
3936
3936
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)
|
|
3937
3937
|
*/
|
|
@@ -3984,25 +3984,25 @@ interface EventSource extends EventTarget {
|
|
|
3984
3984
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/open_event) */
|
|
3985
3985
|
onopen: ((this: EventSource, ev: Event) => any) | null;
|
|
3986
3986
|
/**
|
|
3987
|
-
* The **`readyState`** read-only property of the connection.
|
|
3987
|
+
* The **`readyState`** read-only property of the EventSource interface returns a number representing the state of the connection.
|
|
3988
3988
|
*
|
|
3989
3989
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/readyState)
|
|
3990
3990
|
*/
|
|
3991
3991
|
readonly readyState: number;
|
|
3992
3992
|
/**
|
|
3993
|
-
* The **`url`** read-only property of the URL of the source.
|
|
3993
|
+
* The **`url`** read-only property of the EventSource interface returns a string representing the URL of the source.
|
|
3994
3994
|
*
|
|
3995
3995
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/url)
|
|
3996
3996
|
*/
|
|
3997
3997
|
readonly url: string;
|
|
3998
3998
|
/**
|
|
3999
|
-
* The **`withCredentials`** read-only property of the the `EventSource` object was instantiated with CORS credentials set.
|
|
3999
|
+
* The **`withCredentials`** read-only property of the EventSource interface returns a boolean value indicating whether the `EventSource` object was instantiated with CORS credentials set.
|
|
4000
4000
|
*
|
|
4001
4001
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/withCredentials)
|
|
4002
4002
|
*/
|
|
4003
4003
|
readonly withCredentials: boolean;
|
|
4004
4004
|
/**
|
|
4005
|
-
* The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the
|
|
4005
|
+
* The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the EventSource.readyState attribute to `2` (closed).
|
|
4006
4006
|
*
|
|
4007
4007
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/close)
|
|
4008
4008
|
*/
|
|
@@ -4108,31 +4108,31 @@ declare var ExtendableEvent: {
|
|
|
4108
4108
|
*/
|
|
4109
4109
|
interface ExtendableMessageEvent extends ExtendableEvent {
|
|
4110
4110
|
/**
|
|
4111
|
-
* The **`data`** read-only property of the data
|
|
4111
|
+
* The **`data`** read-only property of the ExtendableMessageEvent interface returns the event's data.
|
|
4112
4112
|
*
|
|
4113
4113
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/data)
|
|
4114
4114
|
*/
|
|
4115
4115
|
readonly data: any;
|
|
4116
4116
|
/**
|
|
4117
|
-
* The **`lastEventID`** read-only property of the
|
|
4117
|
+
* The **`lastEventID`** read-only property of the ExtendableMessageEvent interface represents, in server-sent events, the last event ID of the event source.
|
|
4118
4118
|
*
|
|
4119
4119
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/lastEventId)
|
|
4120
4120
|
*/
|
|
4121
4121
|
readonly lastEventId: string;
|
|
4122
4122
|
/**
|
|
4123
|
-
* The **`origin`** read-only property of the
|
|
4123
|
+
* The **`origin`** read-only property of the ExtendableMessageEvent interface returns the origin of the Client that sent the message.
|
|
4124
4124
|
*
|
|
4125
4125
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/origin)
|
|
4126
4126
|
*/
|
|
4127
4127
|
readonly origin: string;
|
|
4128
4128
|
/**
|
|
4129
|
-
* The **`ports`** read-only property of the channel (the channel the message is being sent through.)
|
|
4129
|
+
* 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.)
|
|
4130
4130
|
*
|
|
4131
4131
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/ports)
|
|
4132
4132
|
*/
|
|
4133
4133
|
readonly ports: ReadonlyArray<MessagePort>;
|
|
4134
4134
|
/**
|
|
4135
|
-
* The **`source`** read-only property of the
|
|
4135
|
+
* The **`source`** read-only property of the ExtendableMessageEvent interface returns a reference to the Client object from which the message was sent.
|
|
4136
4136
|
*
|
|
4137
4137
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/source)
|
|
4138
4138
|
*/
|
|
@@ -4151,7 +4151,7 @@ declare var ExtendableMessageEvent: {
|
|
|
4151
4151
|
*/
|
|
4152
4152
|
interface FetchEvent extends ExtendableEvent {
|
|
4153
4153
|
/**
|
|
4154
|
-
* The **`clientId`** read-only property of the current service worker is controlling.
|
|
4154
|
+
* The **`clientId`** read-only property of the FetchEvent interface returns the id of the Client that the current service worker is controlling.
|
|
4155
4155
|
*
|
|
4156
4156
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/clientId)
|
|
4157
4157
|
*/
|
|
@@ -4169,19 +4169,19 @@ interface FetchEvent extends ExtendableEvent {
|
|
|
4169
4169
|
*/
|
|
4170
4170
|
readonly preloadResponse: Promise<any>;
|
|
4171
4171
|
/**
|
|
4172
|
-
* The **`request`** read-only property of the the event handler.
|
|
4172
|
+
* The **`request`** read-only property of the FetchEvent interface returns the Request that triggered the event handler.
|
|
4173
4173
|
*
|
|
4174
4174
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/request)
|
|
4175
4175
|
*/
|
|
4176
4176
|
readonly request: Request;
|
|
4177
4177
|
/**
|
|
4178
|
-
* The **`resultingClientId`** read-only property of the navigation.
|
|
4178
|
+
* 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.
|
|
4179
4179
|
*
|
|
4180
4180
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/resultingClientId)
|
|
4181
4181
|
*/
|
|
4182
4182
|
readonly resultingClientId: string;
|
|
4183
4183
|
/**
|
|
4184
|
-
* The **`respondWith()`** method of allows you to provide a promise for a Response yourself.
|
|
4184
|
+
* The **`respondWith()`** method of FetchEvent prevents the browser's default fetch handling, and allows you to provide a promise for a Response yourself.
|
|
4185
4185
|
*
|
|
4186
4186
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/respondWith)
|
|
4187
4187
|
*/
|
|
@@ -4315,7 +4315,7 @@ interface FileReader extends EventTarget {
|
|
|
4315
4315
|
*/
|
|
4316
4316
|
readAsBinaryString(blob: Blob): void;
|
|
4317
4317
|
/**
|
|
4318
|
-
* The **`readAsDataURL()`** method of the FileReader interface is used to read the contents of the specified
|
|
4318
|
+
* The **`readAsDataURL()`** method of the FileReader interface is used to read the contents of the specified Blob or File.
|
|
4319
4319
|
*
|
|
4320
4320
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsDataURL)
|
|
4321
4321
|
*/
|
|
@@ -4390,25 +4390,25 @@ declare var FileReaderSync: {
|
|
|
4390
4390
|
interface FileSystemDirectoryHandle extends FileSystemHandle {
|
|
4391
4391
|
readonly kind: "directory";
|
|
4392
4392
|
/**
|
|
4393
|
-
* The **`getDirectoryHandle()`** method of the within the directory handle on which the method is called.
|
|
4393
|
+
* 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.
|
|
4394
4394
|
*
|
|
4395
4395
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getDirectoryHandle)
|
|
4396
4396
|
*/
|
|
4397
4397
|
getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
|
|
4398
4398
|
/**
|
|
4399
|
-
* The **`getFileHandle()`** method of the directory the method is called.
|
|
4399
|
+
* The **`getFileHandle()`** method of the FileSystemDirectoryHandle interface returns a FileSystemFileHandle for a file with the specified name, within the directory the method is called.
|
|
4400
4400
|
*
|
|
4401
4401
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getFileHandle)
|
|
4402
4402
|
*/
|
|
4403
4403
|
getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
|
|
4404
4404
|
/**
|
|
4405
|
-
* The **`removeEntry()`** method of the directory handle contains a file or directory called the name specified.
|
|
4405
|
+
* 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.
|
|
4406
4406
|
*
|
|
4407
4407
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/removeEntry)
|
|
4408
4408
|
*/
|
|
4409
4409
|
removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
|
|
4410
4410
|
/**
|
|
4411
|
-
* 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.
|
|
4411
|
+
* 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.
|
|
4412
4412
|
*
|
|
4413
4413
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/resolve)
|
|
4414
4414
|
*/
|
|
@@ -4429,7 +4429,7 @@ declare var FileSystemDirectoryHandle: {
|
|
|
4429
4429
|
interface FileSystemFileHandle extends FileSystemHandle {
|
|
4430
4430
|
readonly kind: "file";
|
|
4431
4431
|
/**
|
|
4432
|
-
* The **`createSyncAccessHandle()`** method of the that can be used to synchronously read from and write to a file.
|
|
4432
|
+
* The **`createSyncAccessHandle()`** method of the FileSystemFileHandle interface returns a Promise which resolves to a FileSystemSyncAccessHandle object that can be used to synchronously read from and write to a file.
|
|
4433
4433
|
*
|
|
4434
4434
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/createSyncAccessHandle)
|
|
4435
4435
|
*/
|
|
@@ -4441,7 +4441,7 @@ interface FileSystemFileHandle extends FileSystemHandle {
|
|
|
4441
4441
|
*/
|
|
4442
4442
|
createWritable(options?: FileSystemCreateWritableOptions): Promise<FileSystemWritableFileStream>;
|
|
4443
4443
|
/**
|
|
4444
|
-
* The **`getFile()`** method of the
|
|
4444
|
+
* 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.
|
|
4445
4445
|
*
|
|
4446
4446
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/getFile)
|
|
4447
4447
|
*/
|
|
@@ -4461,19 +4461,19 @@ declare var FileSystemFileHandle: {
|
|
|
4461
4461
|
*/
|
|
4462
4462
|
interface FileSystemHandle {
|
|
4463
4463
|
/**
|
|
4464
|
-
* The **`kind`** read-only property of the
|
|
4464
|
+
* The **`kind`** read-only property of the FileSystemHandle interface returns the type of entry.
|
|
4465
4465
|
*
|
|
4466
4466
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/kind)
|
|
4467
4467
|
*/
|
|
4468
4468
|
readonly kind: FileSystemHandleKind;
|
|
4469
4469
|
/**
|
|
4470
|
-
* The **`name`** read-only property of the handle.
|
|
4470
|
+
* The **`name`** read-only property of the FileSystemHandle interface returns the name of the entry represented by handle.
|
|
4471
4471
|
*
|
|
4472
4472
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/name)
|
|
4473
4473
|
*/
|
|
4474
4474
|
readonly name: string;
|
|
4475
4475
|
/**
|
|
4476
|
-
* The **`isSameEntry()`** method of the
|
|
4476
|
+
* The **`isSameEntry()`** method of the FileSystemHandle interface compares two FileSystemHandle to see if the associated entries (either a file or directory) match.
|
|
4477
4477
|
*
|
|
4478
4478
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/isSameEntry)
|
|
4479
4479
|
*/
|
|
@@ -4493,37 +4493,37 @@ declare var FileSystemHandle: {
|
|
|
4493
4493
|
*/
|
|
4494
4494
|
interface FileSystemSyncAccessHandle {
|
|
4495
4495
|
/**
|
|
4496
|
-
* The **`close()`** method of the
|
|
4496
|
+
* The **`close()`** method of the FileSystemSyncAccessHandle interface closes an open synchronous file handle, disabling any further operations on it and releasing the exclusive lock previously put on the file associated with the file handle.
|
|
4497
4497
|
*
|
|
4498
4498
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/close)
|
|
4499
4499
|
*/
|
|
4500
4500
|
close(): void;
|
|
4501
4501
|
/**
|
|
4502
|
-
* The **`flush()`** method of the
|
|
4502
|
+
* The **`flush()`** method of the FileSystemSyncAccessHandle interface persists any changes made to the file associated with the handle via the FileSystemSyncAccessHandle.write method to disk.
|
|
4503
4503
|
*
|
|
4504
4504
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/flush)
|
|
4505
4505
|
*/
|
|
4506
4506
|
flush(): void;
|
|
4507
4507
|
/**
|
|
4508
|
-
* The **`getSize()`** method of the
|
|
4508
|
+
* The **`getSize()`** method of the FileSystemSyncAccessHandle interface returns the size of the file associated with the handle in bytes.
|
|
4509
4509
|
*
|
|
4510
4510
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/getSize)
|
|
4511
4511
|
*/
|
|
4512
4512
|
getSize(): number;
|
|
4513
4513
|
/**
|
|
4514
|
-
* The **`read()`** method of the
|
|
4514
|
+
* The **`read()`** method of the FileSystemSyncAccessHandle interface reads the content of the file associated with the handle into a specified buffer, optionally at a given offset.
|
|
4515
4515
|
*
|
|
4516
4516
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/read)
|
|
4517
4517
|
*/
|
|
4518
4518
|
read(buffer: AllowSharedBufferSource, options?: FileSystemReadWriteOptions): number;
|
|
4519
4519
|
/**
|
|
4520
|
-
* The **`truncate()`** method of the
|
|
4520
|
+
* The **`truncate()`** method of the FileSystemSyncAccessHandle interface resizes the file associated with the handle to a specified number of bytes.
|
|
4521
4521
|
*
|
|
4522
4522
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/truncate)
|
|
4523
4523
|
*/
|
|
4524
4524
|
truncate(newSize: number): void;
|
|
4525
4525
|
/**
|
|
4526
|
-
* The **`write()`** method of the
|
|
4526
|
+
* The **`write()`** method of the FileSystemSyncAccessHandle interface writes the content of a specified buffer to the file associated with the handle, optionally at a given offset.
|
|
4527
4527
|
*
|
|
4528
4528
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/write)
|
|
4529
4529
|
*/
|
|
@@ -4719,7 +4719,7 @@ declare var FontFaceSet: {
|
|
|
4719
4719
|
*/
|
|
4720
4720
|
interface FontFaceSetLoadEvent extends Event {
|
|
4721
4721
|
/**
|
|
4722
|
-
* The **`fontfaces`** read-only property of the
|
|
4722
|
+
* The **`fontfaces`** read-only property of the FontFaceSetLoadEvent interface returns an array of FontFace instances, each of which represents a single usable font.
|
|
4723
4723
|
*
|
|
4724
4724
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent/fontfaces)
|
|
4725
4725
|
*/
|
|
@@ -4798,7 +4798,7 @@ declare var FormData: {
|
|
|
4798
4798
|
*/
|
|
4799
4799
|
interface GPUError {
|
|
4800
4800
|
/**
|
|
4801
|
-
* The **`message`** read-only property of the
|
|
4801
|
+
* The **`message`** read-only property of the GPUError interface provides a human-readable message that explains why the error occurred.
|
|
4802
4802
|
*
|
|
4803
4803
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError/message)
|
|
4804
4804
|
*/
|
|
@@ -4869,19 +4869,19 @@ declare var Headers: {
|
|
|
4869
4869
|
*/
|
|
4870
4870
|
interface IDBCursor {
|
|
4871
4871
|
/**
|
|
4872
|
-
* The **`direction`** read-only property of the direction of traversal of the cursor (set using
|
|
4872
|
+
* 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).
|
|
4873
4873
|
*
|
|
4874
4874
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/direction)
|
|
4875
4875
|
*/
|
|
4876
4876
|
readonly direction: IDBCursorDirection;
|
|
4877
4877
|
/**
|
|
4878
|
-
* The **`key`** read-only property of the position.
|
|
4878
|
+
* The **`key`** read-only property of the IDBCursor interface returns the key for the record at the cursor's position.
|
|
4879
4879
|
*
|
|
4880
4880
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/key)
|
|
4881
4881
|
*/
|
|
4882
4882
|
readonly key: IDBValidKey;
|
|
4883
4883
|
/**
|
|
4884
|
-
* The **`primaryKey`** read-only property of the
|
|
4884
|
+
* The **`primaryKey`** read-only property of the IDBCursor interface returns the cursor's current effective key.
|
|
4885
4885
|
*
|
|
4886
4886
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/primaryKey)
|
|
4887
4887
|
*/
|
|
@@ -4893,7 +4893,7 @@ interface IDBCursor {
|
|
|
4893
4893
|
*/
|
|
4894
4894
|
readonly request: IDBRequest;
|
|
4895
4895
|
/**
|
|
4896
|
-
* The **`source`** read-only property of the
|
|
4896
|
+
* The **`source`** read-only property of the IDBCursor interface returns the IDBObjectStore or IDBIndex that the cursor is iterating over.
|
|
4897
4897
|
*
|
|
4898
4898
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/source)
|
|
4899
4899
|
*/
|
|
@@ -4911,7 +4911,7 @@ interface IDBCursor {
|
|
|
4911
4911
|
*/
|
|
4912
4912
|
continue(key?: IDBValidKey): void;
|
|
4913
4913
|
/**
|
|
4914
|
-
* The **`continuePrimaryKey()`** method of the matches the key parameter as well as whose primary key matches the primary key parameter.
|
|
4914
|
+
* 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.
|
|
4915
4915
|
*
|
|
4916
4916
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/continuePrimaryKey)
|
|
4917
4917
|
*/
|
|
@@ -4942,7 +4942,7 @@ declare var IDBCursor: {
|
|
|
4942
4942
|
*/
|
|
4943
4943
|
interface IDBCursorWithValue extends IDBCursor {
|
|
4944
4944
|
/**
|
|
4945
|
-
* The **`value`** read-only property of the whatever that is.
|
|
4945
|
+
* The **`value`** read-only property of the IDBCursorWithValue interface returns the value of the current cursor, whatever that is.
|
|
4946
4946
|
*
|
|
4947
4947
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue/value)
|
|
4948
4948
|
*/
|
|
@@ -4974,7 +4974,7 @@ interface IDBDatabase extends EventTarget {
|
|
|
4974
4974
|
*/
|
|
4975
4975
|
readonly name: string;
|
|
4976
4976
|
/**
|
|
4977
|
-
* The **`objectStoreNames`** read-only property of the list of the names of the object stores currently in the connected database.
|
|
4977
|
+
* 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.
|
|
4978
4978
|
*
|
|
4979
4979
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
|
|
4980
4980
|
*/
|
|
@@ -4998,13 +4998,13 @@ interface IDBDatabase extends EventTarget {
|
|
|
4998
4998
|
*/
|
|
4999
4999
|
close(): void;
|
|
5000
5000
|
/**
|
|
5001
|
-
* The **`createObjectStore()`** method of the
|
|
5001
|
+
* The **`createObjectStore()`** method of the IDBDatabase interface creates and returns a new IDBObjectStore.
|
|
5002
5002
|
*
|
|
5003
5003
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/createObjectStore)
|
|
5004
5004
|
*/
|
|
5005
5005
|
createObjectStore(name: string, options?: IDBObjectStoreParameters): IDBObjectStore;
|
|
5006
5006
|
/**
|
|
5007
|
-
* The **`deleteObjectStore()`** method of the the connected database, along with any indexes that reference it.
|
|
5007
|
+
* 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.
|
|
5008
5008
|
*
|
|
5009
5009
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/deleteObjectStore)
|
|
5010
5010
|
*/
|
|
@@ -5045,7 +5045,7 @@ interface IDBFactory {
|
|
|
5045
5045
|
*/
|
|
5046
5046
|
databases(): Promise<IDBDatabaseInfo[]>;
|
|
5047
5047
|
/**
|
|
5048
|
-
* The **`deleteDatabase()`** method of the
|
|
5048
|
+
* The **`deleteDatabase()`** method of the IDBFactory interface requests the deletion of a database.
|
|
5049
5049
|
*
|
|
5050
5050
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/deleteDatabase)
|
|
5051
5051
|
*/
|
|
@@ -5076,7 +5076,7 @@ interface IDBIndex {
|
|
|
5076
5076
|
*/
|
|
5077
5077
|
readonly keyPath: string | string[];
|
|
5078
5078
|
/**
|
|
5079
|
-
* The **`multiEntry`** read-only property of the behaves when the result of evaluating the index's key path yields an array.
|
|
5079
|
+
* 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.
|
|
5080
5080
|
*
|
|
5081
5081
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/multiEntry)
|
|
5082
5082
|
*/
|
|
@@ -5106,7 +5106,7 @@ interface IDBIndex {
|
|
|
5106
5106
|
*/
|
|
5107
5107
|
count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
|
5108
5108
|
/**
|
|
5109
|
-
* 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
|
|
5109
|
+
* 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.
|
|
5110
5110
|
*
|
|
5111
5111
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/get)
|
|
5112
5112
|
*/
|
|
@@ -5124,7 +5124,7 @@ interface IDBIndex {
|
|
|
5124
5124
|
*/
|
|
5125
5125
|
getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
5126
5126
|
/**
|
|
5127
|
-
* 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
|
|
5127
|
+
* 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.
|
|
5128
5128
|
*
|
|
5129
5129
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getKey)
|
|
5130
5130
|
*/
|
|
@@ -5136,7 +5136,7 @@ interface IDBIndex {
|
|
|
5136
5136
|
*/
|
|
5137
5137
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
|
5138
5138
|
/**
|
|
5139
|
-
* The **`openKeyCursor()`** method of the a separate thread, creates a cursor over the specified key range, as arranged by this index.
|
|
5139
|
+
* 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.
|
|
5140
5140
|
*
|
|
5141
5141
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/openKeyCursor)
|
|
5142
5142
|
*/
|
|
@@ -5155,25 +5155,25 @@ declare var IDBIndex: {
|
|
|
5155
5155
|
*/
|
|
5156
5156
|
interface IDBKeyRange {
|
|
5157
5157
|
/**
|
|
5158
|
-
* The **`lower`** read-only property of the
|
|
5158
|
+
* The **`lower`** read-only property of the IDBKeyRange interface returns the lower bound of the key range.
|
|
5159
5159
|
*
|
|
5160
5160
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lower)
|
|
5161
5161
|
*/
|
|
5162
5162
|
readonly lower: any;
|
|
5163
5163
|
/**
|
|
5164
|
-
* The **`lowerOpen`** read-only property of the lower-bound value is included in the key range.
|
|
5164
|
+
* The **`lowerOpen`** read-only property of the IDBKeyRange interface returns a boolean indicating whether the lower-bound value is included in the key range.
|
|
5165
5165
|
*
|
|
5166
5166
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerOpen)
|
|
5167
5167
|
*/
|
|
5168
5168
|
readonly lowerOpen: boolean;
|
|
5169
5169
|
/**
|
|
5170
|
-
* The **`upper`** read-only property of the
|
|
5170
|
+
* The **`upper`** read-only property of the IDBKeyRange interface returns the upper bound of the key range.
|
|
5171
5171
|
*
|
|
5172
5172
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upper)
|
|
5173
5173
|
*/
|
|
5174
5174
|
readonly upper: any;
|
|
5175
5175
|
/**
|
|
5176
|
-
* The **`upperOpen`** read-only property of the upper-bound value is included in the key range.
|
|
5176
|
+
* The **`upperOpen`** read-only property of the IDBKeyRange interface returns a boolean indicating whether the upper-bound value is included in the key range.
|
|
5177
5177
|
*
|
|
5178
5178
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperOpen)
|
|
5179
5179
|
*/
|
|
@@ -5196,7 +5196,7 @@ declare var IDBKeyRange: {
|
|
|
5196
5196
|
*/
|
|
5197
5197
|
bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;
|
|
5198
5198
|
/**
|
|
5199
|
-
* The **`lowerBound()`** static method of the
|
|
5199
|
+
* The **`lowerBound()`** static method of the IDBKeyRange interface creates a new key range with only a lower bound.
|
|
5200
5200
|
*
|
|
5201
5201
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerBound_static)
|
|
5202
5202
|
*/
|
|
@@ -5208,7 +5208,7 @@ declare var IDBKeyRange: {
|
|
|
5208
5208
|
*/
|
|
5209
5209
|
only(value: any): IDBKeyRange;
|
|
5210
5210
|
/**
|
|
5211
|
-
* The **`upperBound()`** static method of the
|
|
5211
|
+
* The **`upperBound()`** static method of the IDBKeyRange interface creates a new upper-bound key range.
|
|
5212
5212
|
*
|
|
5213
5213
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperBound_static)
|
|
5214
5214
|
*/
|
|
@@ -5222,19 +5222,19 @@ declare var IDBKeyRange: {
|
|
|
5222
5222
|
*/
|
|
5223
5223
|
interface IDBObjectStore {
|
|
5224
5224
|
/**
|
|
5225
|
-
* The **`autoIncrement`** read-only property of the for this object store.
|
|
5225
|
+
* The **`autoIncrement`** read-only property of the IDBObjectStore interface returns the value of the auto increment flag for this object store.
|
|
5226
5226
|
*
|
|
5227
5227
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/autoIncrement)
|
|
5228
5228
|
*/
|
|
5229
5229
|
readonly autoIncrement: boolean;
|
|
5230
5230
|
/**
|
|
5231
|
-
* The **`indexNames`** read-only property of the in this object store.
|
|
5231
|
+
* The **`indexNames`** read-only property of the IDBObjectStore interface returns a list of the names of indexes on objects in this object store.
|
|
5232
5232
|
*
|
|
5233
5233
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/indexNames)
|
|
5234
5234
|
*/
|
|
5235
5235
|
readonly indexNames: DOMStringList;
|
|
5236
5236
|
/**
|
|
5237
|
-
* The **`keyPath`** read-only property of the
|
|
5237
|
+
* The **`keyPath`** read-only property of the IDBObjectStore interface returns the key path of this object store.
|
|
5238
5238
|
*
|
|
5239
5239
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
|
|
5240
5240
|
*/
|
|
@@ -5246,7 +5246,7 @@ interface IDBObjectStore {
|
|
|
5246
5246
|
*/
|
|
5247
5247
|
name: string;
|
|
5248
5248
|
/**
|
|
5249
|
-
* The **`transaction`** read-only property of the object store belongs.
|
|
5249
|
+
* The **`transaction`** read-only property of the IDBObjectStore interface returns the transaction object to which this object store belongs.
|
|
5250
5250
|
*
|
|
5251
5251
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/transaction)
|
|
5252
5252
|
*/
|
|
@@ -5264,25 +5264,25 @@ interface IDBObjectStore {
|
|
|
5264
5264
|
*/
|
|
5265
5265
|
clear(): IDBRequest<undefined>;
|
|
5266
5266
|
/**
|
|
5267
|
-
* 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
|
|
5267
|
+
* 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.
|
|
5268
5268
|
*
|
|
5269
5269
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/count)
|
|
5270
5270
|
*/
|
|
5271
5271
|
count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
|
5272
5272
|
/**
|
|
5273
|
-
* The **`createIndex()`** method of the
|
|
5273
|
+
* The **`createIndex()`** method of the IDBObjectStore interface creates and returns a new IDBIndex object in the connected database.
|
|
5274
5274
|
*
|
|
5275
5275
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
|
5276
5276
|
*/
|
|
5277
5277
|
createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;
|
|
5278
5278
|
/**
|
|
5279
|
-
* The **`delete()`** method of the and, in a separate thread, deletes the specified record or records.
|
|
5279
|
+
* The **`delete()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, deletes the specified record or records.
|
|
5280
5280
|
*
|
|
5281
5281
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/delete)
|
|
5282
5282
|
*/
|
|
5283
5283
|
delete(query: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;
|
|
5284
5284
|
/**
|
|
5285
|
-
* The **`deleteIndex()`** method of the the connected database, used during a version upgrade.
|
|
5285
|
+
* The **`deleteIndex()`** method of the IDBObjectStore interface destroys the index with the specified name in the connected database, used during a version upgrade.
|
|
5286
5286
|
*
|
|
5287
5287
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/deleteIndex)
|
|
5288
5288
|
*/
|
|
@@ -5294,7 +5294,7 @@ interface IDBObjectStore {
|
|
|
5294
5294
|
*/
|
|
5295
5295
|
get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;
|
|
5296
5296
|
/**
|
|
5297
|
-
* 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.
|
|
5297
|
+
* 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.
|
|
5298
5298
|
*
|
|
5299
5299
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)
|
|
5300
5300
|
*/
|
|
@@ -5306,7 +5306,7 @@ interface IDBObjectStore {
|
|
|
5306
5306
|
*/
|
|
5307
5307
|
getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
5308
5308
|
/**
|
|
5309
|
-
* The **`getKey()`** method of the and, in a separate thread, returns the key selected by the specified query.
|
|
5309
|
+
* The **`getKey()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the key selected by the specified query.
|
|
5310
5310
|
*
|
|
5311
5311
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getKey)
|
|
5312
5312
|
*/
|
|
@@ -5318,13 +5318,13 @@ interface IDBObjectStore {
|
|
|
5318
5318
|
*/
|
|
5319
5319
|
index(name: string): IDBIndex;
|
|
5320
5320
|
/**
|
|
5321
|
-
* The **`openCursor()`** method of the and, in a separate thread, returns a new IDBCursorWithValue object.
|
|
5321
|
+
* The **`openCursor()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns a new IDBCursorWithValue object.
|
|
5322
5322
|
*
|
|
5323
5323
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openCursor)
|
|
5324
5324
|
*/
|
|
5325
5325
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
|
5326
5326
|
/**
|
|
5327
|
-
* The **`openKeyCursor()`** method of the whose result will be set to an IDBCursor that can be used to iterate through matching results.
|
|
5327
|
+
* 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.
|
|
5328
5328
|
*
|
|
5329
5329
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openKeyCursor)
|
|
5330
5330
|
*/
|
|
@@ -5380,7 +5380,7 @@ interface IDBRequestEventMap {
|
|
|
5380
5380
|
*/
|
|
5381
5381
|
interface IDBRequest<T = any> extends EventTarget {
|
|
5382
5382
|
/**
|
|
5383
|
-
* The **`error`** read-only property of the request.
|
|
5383
|
+
* The **`error`** read-only property of the IDBRequest interface returns the error in the event of an unsuccessful request.
|
|
5384
5384
|
*
|
|
5385
5385
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/error)
|
|
5386
5386
|
*/
|
|
@@ -5390,19 +5390,19 @@ interface IDBRequest<T = any> extends EventTarget {
|
|
|
5390
5390
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/success_event) */
|
|
5391
5391
|
onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;
|
|
5392
5392
|
/**
|
|
5393
|
-
* The **`readyState`** read-only property of the
|
|
5393
|
+
* The **`readyState`** read-only property of the IDBRequest interface returns the state of the request.
|
|
5394
5394
|
*
|
|
5395
5395
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/readyState)
|
|
5396
5396
|
*/
|
|
5397
5397
|
readonly readyState: IDBRequestReadyState;
|
|
5398
5398
|
/**
|
|
5399
|
-
* The **`result`** read-only property of the
|
|
5399
|
+
* The **`result`** read-only property of the IDBRequest interface returns the result of the request.
|
|
5400
5400
|
*
|
|
5401
5401
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/result)
|
|
5402
5402
|
*/
|
|
5403
5403
|
readonly result: T;
|
|
5404
5404
|
/**
|
|
5405
|
-
* The **`source`** read-only property of the Index or an object store.
|
|
5405
|
+
* The **`source`** read-only property of the IDBRequest interface returns the source of the request, such as an Index or an object store.
|
|
5406
5406
|
*
|
|
5407
5407
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/source)
|
|
5408
5408
|
*/
|
|
@@ -5455,13 +5455,13 @@ interface IDBTransaction extends EventTarget {
|
|
|
5455
5455
|
*/
|
|
5456
5456
|
readonly error: DOMException | null;
|
|
5457
5457
|
/**
|
|
5458
|
-
* 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`.
|
|
5458
|
+
* 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`.
|
|
5459
5459
|
*
|
|
5460
5460
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/mode)
|
|
5461
5461
|
*/
|
|
5462
5462
|
readonly mode: IDBTransactionMode;
|
|
5463
5463
|
/**
|
|
5464
|
-
* The **`objectStoreNames`** read-only property of the of IDBObjectStore objects.
|
|
5464
|
+
* The **`objectStoreNames`** read-only property of the IDBTransaction interface returns a DOMStringList of names of IDBObjectStore objects.
|
|
5465
5465
|
*
|
|
5466
5466
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames)
|
|
5467
5467
|
*/
|
|
@@ -5485,7 +5485,7 @@ interface IDBTransaction extends EventTarget {
|
|
|
5485
5485
|
*/
|
|
5486
5486
|
commit(): void;
|
|
5487
5487
|
/**
|
|
5488
|
-
* The **`objectStore()`** method of the added to the scope of this transaction.
|
|
5488
|
+
* The **`objectStore()`** method of the IDBTransaction interface returns an object store that has already been added to the scope of this transaction.
|
|
5489
5489
|
*
|
|
5490
5490
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStore)
|
|
5491
5491
|
*/
|
|
@@ -5508,13 +5508,13 @@ declare var IDBTransaction: {
|
|
|
5508
5508
|
*/
|
|
5509
5509
|
interface IDBVersionChangeEvent extends Event {
|
|
5510
5510
|
/**
|
|
5511
|
-
* The **`newVersion`** read-only property of the database.
|
|
5511
|
+
* The **`newVersion`** read-only property of the IDBVersionChangeEvent interface returns the new version number of the database.
|
|
5512
5512
|
*
|
|
5513
5513
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/newVersion)
|
|
5514
5514
|
*/
|
|
5515
5515
|
readonly newVersion: number | null;
|
|
5516
5516
|
/**
|
|
5517
|
-
* The **`oldVersion`** read-only property of the database.
|
|
5517
|
+
* The **`oldVersion`** read-only property of the IDBVersionChangeEvent interface returns the old version number of the database.
|
|
5518
5518
|
*
|
|
5519
5519
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/oldVersion)
|
|
5520
5520
|
*/
|
|
@@ -5589,7 +5589,7 @@ interface ImageData {
|
|
|
5589
5589
|
*/
|
|
5590
5590
|
readonly colorSpace: PredefinedColorSpace;
|
|
5591
5591
|
/**
|
|
5592
|
-
* The readonly **`ImageData.data`** property returns a pixel data.
|
|
5592
|
+
* The readonly **`ImageData.data`** property returns a Uint8ClampedArray or Float16Array that contains the ImageData object's pixel data.
|
|
5593
5593
|
*
|
|
5594
5594
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
|
|
5595
5595
|
*/
|
|
@@ -5779,7 +5779,7 @@ interface Lock {
|
|
|
5779
5779
|
*/
|
|
5780
5780
|
readonly mode: LockMode;
|
|
5781
5781
|
/**
|
|
5782
|
-
* The **`name`** read-only property of the Lock interface returns the _name_ passed to
|
|
5782
|
+
* The **`name`** read-only property of the Lock interface returns the _name_ passed to LockManager.request selected when the lock was requested.
|
|
5783
5783
|
*
|
|
5784
5784
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Lock/name)
|
|
5785
5785
|
*/
|
|
@@ -5882,13 +5882,13 @@ declare var MediaStreamTrackProcessor: {
|
|
|
5882
5882
|
*/
|
|
5883
5883
|
interface MessageChannel {
|
|
5884
5884
|
/**
|
|
5885
|
-
* The **`port1`** read-only property of the the port attached to the context that originated the channel.
|
|
5885
|
+
* 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.
|
|
5886
5886
|
*
|
|
5887
5887
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port1)
|
|
5888
5888
|
*/
|
|
5889
5889
|
readonly port1: MessagePort;
|
|
5890
5890
|
/**
|
|
5891
|
-
* 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.
|
|
5891
|
+
* 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.
|
|
5892
5892
|
*
|
|
5893
5893
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port2)
|
|
5894
5894
|
*/
|
|
@@ -5907,31 +5907,31 @@ declare var MessageChannel: {
|
|
|
5907
5907
|
*/
|
|
5908
5908
|
interface MessageEvent<T = any> extends Event {
|
|
5909
5909
|
/**
|
|
5910
|
-
* The **`data`** read-only property of the
|
|
5910
|
+
* The **`data`** read-only property of the MessageEvent interface represents the data sent by the message emitter.
|
|
5911
5911
|
*
|
|
5912
5912
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/data)
|
|
5913
5913
|
*/
|
|
5914
5914
|
readonly data: T;
|
|
5915
5915
|
/**
|
|
5916
|
-
* The **`lastEventId`** read-only property of the unique ID for the event.
|
|
5916
|
+
* The **`lastEventId`** read-only property of the MessageEvent interface is a string representing a unique ID for the event.
|
|
5917
5917
|
*
|
|
5918
5918
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/lastEventId)
|
|
5919
5919
|
*/
|
|
5920
5920
|
readonly lastEventId: string;
|
|
5921
5921
|
/**
|
|
5922
|
-
* The **`origin`** read-only property of the origin of the message emitter.
|
|
5922
|
+
* The **`origin`** read-only property of the MessageEvent interface is a string representing the origin of the message emitter.
|
|
5923
5923
|
*
|
|
5924
5924
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/origin)
|
|
5925
5925
|
*/
|
|
5926
5926
|
readonly origin: string;
|
|
5927
5927
|
/**
|
|
5928
|
-
* The **`ports`** read-only property of the containing all MessagePort objects sent with the message, in order.
|
|
5928
|
+
* 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.
|
|
5929
5929
|
*
|
|
5930
5930
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/ports)
|
|
5931
5931
|
*/
|
|
5932
5932
|
readonly ports: ReadonlyArray<MessagePort>;
|
|
5933
5933
|
/**
|
|
5934
|
-
* The **`source`** read-only property of the
|
|
5934
|
+
* 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.
|
|
5935
5935
|
*
|
|
5936
5936
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
|
|
5937
5937
|
*/
|
|
@@ -5979,7 +5979,7 @@ interface MessagePort extends EventTarget, MessageEventTarget<MessagePort> {
|
|
|
5979
5979
|
*/
|
|
5980
5980
|
close(): void;
|
|
5981
5981
|
/**
|
|
5982
|
-
* The **`postMessage()`** method of the transfers ownership of objects to other browsing contexts.
|
|
5982
|
+
* The **`postMessage()`** method of the MessagePort interface sends a message from the port, and optionally, transfers ownership of objects to other browsing contexts.
|
|
5983
5983
|
*
|
|
5984
5984
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage)
|
|
5985
5985
|
*/
|
|
@@ -6126,13 +6126,13 @@ interface NotificationEventMap {
|
|
|
6126
6126
|
*/
|
|
6127
6127
|
interface Notification extends EventTarget {
|
|
6128
6128
|
/**
|
|
6129
|
-
* The **`body`** read-only property of the specified in the `body` option of the
|
|
6129
|
+
* 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.
|
|
6130
6130
|
*
|
|
6131
6131
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/body)
|
|
6132
6132
|
*/
|
|
6133
6133
|
readonly body: string;
|
|
6134
6134
|
/**
|
|
6135
|
-
* The **`data`** read-only property of the
|
|
6135
|
+
* 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.
|
|
6136
6136
|
*
|
|
6137
6137
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/data)
|
|
6138
6138
|
*/
|
|
@@ -6144,13 +6144,13 @@ interface Notification extends EventTarget {
|
|
|
6144
6144
|
*/
|
|
6145
6145
|
readonly dir: NotificationDirection;
|
|
6146
6146
|
/**
|
|
6147
|
-
* The **`icon`** read-only property of the part of the notification, as specified in the `icon` option of the
|
|
6147
|
+
* 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.
|
|
6148
6148
|
*
|
|
6149
6149
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/icon)
|
|
6150
6150
|
*/
|
|
6151
6151
|
readonly icon: string;
|
|
6152
6152
|
/**
|
|
6153
|
-
* The **`lang`** read-only property of the
|
|
6153
|
+
* 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.
|
|
6154
6154
|
*
|
|
6155
6155
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/lang)
|
|
6156
6156
|
*/
|
|
@@ -6170,19 +6170,19 @@ interface Notification extends EventTarget {
|
|
|
6170
6170
|
*/
|
|
6171
6171
|
readonly requireInteraction: boolean;
|
|
6172
6172
|
/**
|
|
6173
|
-
* The **`silent`** read-only property of the silent, i.e., no sounds or vibrations should be issued regardless of the device settings.
|
|
6173
|
+
* 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.
|
|
6174
6174
|
*
|
|
6175
6175
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/silent)
|
|
6176
6176
|
*/
|
|
6177
6177
|
readonly silent: boolean | null;
|
|
6178
6178
|
/**
|
|
6179
|
-
* The **`tag`** read-only property of the
|
|
6179
|
+
* 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.
|
|
6180
6180
|
*
|
|
6181
6181
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/tag)
|
|
6182
6182
|
*/
|
|
6183
6183
|
readonly tag: string;
|
|
6184
6184
|
/**
|
|
6185
|
-
* The **`title`** read-only property of the specified in the `title` parameter of the
|
|
6185
|
+
* 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.
|
|
6186
6186
|
*
|
|
6187
6187
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/title)
|
|
6188
6188
|
*/
|
|
@@ -6356,13 +6356,13 @@ interface OES_vertex_array_object {
|
|
|
6356
6356
|
*/
|
|
6357
6357
|
bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
|
|
6358
6358
|
/**
|
|
6359
|
-
* 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.
|
|
6359
|
+
* 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.
|
|
6360
6360
|
*
|
|
6361
6361
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/createVertexArrayOES)
|
|
6362
6362
|
*/
|
|
6363
6363
|
createVertexArrayOES(): WebGLVertexArrayObjectOES;
|
|
6364
6364
|
/**
|
|
6365
|
-
* The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given
|
|
6365
|
+
* The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given WebGLVertexArrayObject object.
|
|
6366
6366
|
*
|
|
6367
6367
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES)
|
|
6368
6368
|
*/
|
|
@@ -6847,7 +6847,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
6847
6847
|
*/
|
|
6848
6848
|
readonly transferSize: number;
|
|
6849
6849
|
/**
|
|
6850
|
-
* The **`workerStart`** read-only property of the PerformanceResourceTiming interface returns a
|
|
6850
|
+
* 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.
|
|
6851
6851
|
*
|
|
6852
6852
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/workerStart)
|
|
6853
6853
|
*/
|
|
@@ -6921,7 +6921,7 @@ interface PermissionStatus extends EventTarget {
|
|
|
6921
6921
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/change_event) */
|
|
6922
6922
|
onchange: ((this: PermissionStatus, ev: Event) => any) | null;
|
|
6923
6923
|
/**
|
|
6924
|
-
* The **`state`** read-only property of the
|
|
6924
|
+
* The **`state`** read-only property of the PermissionStatus interface returns the state of a requested permission.
|
|
6925
6925
|
*
|
|
6926
6926
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/state)
|
|
6927
6927
|
*/
|
|
@@ -6938,7 +6938,7 @@ declare var PermissionStatus: {
|
|
|
6938
6938
|
};
|
|
6939
6939
|
|
|
6940
6940
|
/**
|
|
6941
|
-
* The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions
|
|
6941
|
+
* The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions
|
|
6942
6942
|
*
|
|
6943
6943
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions)
|
|
6944
6944
|
*/
|
|
@@ -6963,7 +6963,7 @@ declare var Permissions: {
|
|
|
6963
6963
|
*/
|
|
6964
6964
|
interface ProgressEvent<T extends EventTarget = EventTarget> extends Event {
|
|
6965
6965
|
/**
|
|
6966
|
-
* The **`ProgressEvent.lengthComputable`** read-only property is a boolean flag indicating if the resource concerned by the
|
|
6966
|
+
* 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.
|
|
6967
6967
|
*
|
|
6968
6968
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/lengthComputable)
|
|
6969
6969
|
*/
|
|
@@ -6995,7 +6995,7 @@ declare var ProgressEvent: {
|
|
|
6995
6995
|
*/
|
|
6996
6996
|
interface PromiseRejectionEvent extends Event {
|
|
6997
6997
|
/**
|
|
6998
|
-
* The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript rejected.
|
|
6998
|
+
* The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript Promise which was rejected.
|
|
6999
6999
|
*
|
|
7000
7000
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise)
|
|
7001
7001
|
*/
|
|
@@ -7047,7 +7047,7 @@ interface PushManager {
|
|
|
7047
7047
|
*/
|
|
7048
7048
|
getSubscription(): Promise<PushSubscription | null>;
|
|
7049
7049
|
/**
|
|
7050
|
-
* The **`permissionState()`** method of the string indicating the permission state of the push manager.
|
|
7050
|
+
* The **`permissionState()`** method of the PushManager interface returns a Promise that resolves to a string indicating the permission state of the push manager.
|
|
7051
7051
|
*
|
|
7052
7052
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/permissionState)
|
|
7053
7053
|
*/
|
|
@@ -7123,13 +7123,13 @@ declare var PushMessageData: {
|
|
|
7123
7123
|
*/
|
|
7124
7124
|
interface PushSubscription {
|
|
7125
7125
|
/**
|
|
7126
|
-
* The **`endpoint`** read-only property of the the endpoint associated with the push subscription.
|
|
7126
|
+
* The **`endpoint`** read-only property of the PushSubscription interface returns a string containing the endpoint associated with the push subscription.
|
|
7127
7127
|
*
|
|
7128
7128
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/endpoint)
|
|
7129
7129
|
*/
|
|
7130
7130
|
readonly endpoint: string;
|
|
7131
7131
|
/**
|
|
7132
|
-
* The **`expirationTime`** read-only property of the of the subscription expiration time associated with the push subscription, if there is one, or `null` otherwise.
|
|
7132
|
+
* 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.
|
|
7133
7133
|
*
|
|
7134
7134
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/expirationTime)
|
|
7135
7135
|
*/
|
|
@@ -7218,7 +7218,7 @@ interface RTCDataChannelEventMap {
|
|
|
7218
7218
|
*/
|
|
7219
7219
|
interface RTCDataChannel extends EventTarget {
|
|
7220
7220
|
/**
|
|
7221
|
-
* The property **`binaryType`** on the the type of object which should be used to represent binary data received on the RTCDataChannel.
|
|
7221
|
+
* The property **`binaryType`** on the RTCDataChannel interface is a string which specifies the type of object which should be used to represent binary data received on the RTCDataChannel.
|
|
7222
7222
|
*
|
|
7223
7223
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/binaryType)
|
|
7224
7224
|
*/
|
|
@@ -7260,7 +7260,7 @@ interface RTCDataChannel extends EventTarget {
|
|
|
7260
7260
|
*/
|
|
7261
7261
|
readonly maxRetransmits: number | null;
|
|
7262
7262
|
/**
|
|
7263
|
-
* The read-only `RTCDataChannel` property **`negotiated`** indicates whether the (`true`) or by the WebRTC layer (`false`).
|
|
7263
|
+
* The read-only `RTCDataChannel` property **`negotiated`** indicates whether the RTCDataChannel's connection was negotiated by the Web app (`true`) or by the WebRTC layer (`false`).
|
|
7264
7264
|
*
|
|
7265
7265
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/negotiated)
|
|
7266
7266
|
*/
|
|
@@ -7296,13 +7296,13 @@ interface RTCDataChannel extends EventTarget {
|
|
|
7296
7296
|
*/
|
|
7297
7297
|
readonly readyState: RTCDataChannelState;
|
|
7298
7298
|
/**
|
|
7299
|
-
* The **`RTCDataChannel.close()`** method closes the
|
|
7299
|
+
* The **`RTCDataChannel.close()`** method closes the RTCDataChannel.
|
|
7300
7300
|
*
|
|
7301
7301
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/close)
|
|
7302
7302
|
*/
|
|
7303
7303
|
close(): void;
|
|
7304
7304
|
/**
|
|
7305
|
-
* The **`send()`** method of the remote peer.
|
|
7305
|
+
* The **`send()`** method of the RTCDataChannel interface sends data across the data channel to the remote peer.
|
|
7306
7306
|
*
|
|
7307
7307
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/send)
|
|
7308
7308
|
*/
|
|
@@ -7525,7 +7525,7 @@ interface ReadableStream<R = any> {
|
|
|
7525
7525
|
*/
|
|
7526
7526
|
pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
|
|
7527
7527
|
/**
|
|
7528
|
-
* The **`tee()`** method of the two-element array containing the two resulting branches as new ReadableStream instances.
|
|
7528
|
+
* 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.
|
|
7529
7529
|
*
|
|
7530
7530
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/tee)
|
|
7531
7531
|
*/
|
|
@@ -7602,7 +7602,7 @@ declare var ReadableStreamBYOBRequest: {
|
|
|
7602
7602
|
*/
|
|
7603
7603
|
interface ReadableStreamDefaultController<R = any> {
|
|
7604
7604
|
/**
|
|
7605
|
-
* The **`desiredSize`** read-only property of the required to fill the stream's internal queue.
|
|
7605
|
+
* The **`desiredSize`** read-only property of the ReadableStreamDefaultController interface returns the desired size required to fill the stream's internal queue.
|
|
7606
7606
|
*
|
|
7607
7607
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize)
|
|
7608
7608
|
*/
|
|
@@ -7614,13 +7614,13 @@ interface ReadableStreamDefaultController<R = any> {
|
|
|
7614
7614
|
*/
|
|
7615
7615
|
close(): void;
|
|
7616
7616
|
/**
|
|
7617
|
-
* The **`enqueue()`** method of the
|
|
7617
|
+
* The **`enqueue()`** method of the ReadableStreamDefaultController interface enqueues a given chunk in the associated stream.
|
|
7618
7618
|
*
|
|
7619
7619
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
|
|
7620
7620
|
*/
|
|
7621
7621
|
enqueue(chunk?: R): void;
|
|
7622
7622
|
/**
|
|
7623
|
-
* The **`error()`** method of the with the associated stream to error.
|
|
7623
|
+
* The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
7624
7624
|
*
|
|
7625
7625
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error)
|
|
7626
7626
|
*/
|
|
@@ -7671,19 +7671,19 @@ interface ReadableStreamGenericReader {
|
|
|
7671
7671
|
*/
|
|
7672
7672
|
interface ReportingObserver {
|
|
7673
7673
|
/**
|
|
7674
|
-
* The **`disconnect()`** method of the previously started observing from collecting reports.
|
|
7674
|
+
* The **`disconnect()`** method of the ReportingObserver interface stops a reporting observer that had previously started observing from collecting reports.
|
|
7675
7675
|
*
|
|
7676
7676
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/disconnect)
|
|
7677
7677
|
*/
|
|
7678
7678
|
disconnect(): void;
|
|
7679
7679
|
/**
|
|
7680
|
-
* The **`observe()`** method of the collecting reports in its report queue.
|
|
7680
|
+
* The **`observe()`** method of the ReportingObserver interface instructs a reporting observer to start collecting reports in its report queue.
|
|
7681
7681
|
*
|
|
7682
7682
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/observe)
|
|
7683
7683
|
*/
|
|
7684
7684
|
observe(): void;
|
|
7685
7685
|
/**
|
|
7686
|
-
* The **`takeRecords()`** method of the in the observer's report queue, and empties the queue.
|
|
7686
|
+
* The **`takeRecords()`** method of the ReportingObserver interface returns the current list of reports contained in the observer's report queue, and empties the queue.
|
|
7687
7687
|
*
|
|
7688
7688
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/takeRecords)
|
|
7689
7689
|
*/
|
|
@@ -7720,7 +7720,7 @@ interface Request extends Body {
|
|
|
7720
7720
|
*/
|
|
7721
7721
|
readonly destination: RequestDestination;
|
|
7722
7722
|
/**
|
|
7723
|
-
* The **`headers`** read-only property of the with the request.
|
|
7723
|
+
* The **`headers`** read-only property of the Request interface contains the Headers object associated with the request.
|
|
7724
7724
|
*
|
|
7725
7725
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/headers)
|
|
7726
7726
|
*/
|
|
@@ -7738,7 +7738,7 @@ interface Request extends Body {
|
|
|
7738
7738
|
*/
|
|
7739
7739
|
readonly keepalive: boolean;
|
|
7740
7740
|
/**
|
|
7741
|
-
* The **`method`** read-only property of the
|
|
7741
|
+
* The **`method`** read-only property of the Request interface contains the request's method (`GET`, `POST`, etc.)
|
|
7742
7742
|
*
|
|
7743
7743
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/method)
|
|
7744
7744
|
*/
|
|
@@ -7756,13 +7756,13 @@ interface Request extends Body {
|
|
|
7756
7756
|
*/
|
|
7757
7757
|
readonly redirect: RequestRedirect;
|
|
7758
7758
|
/**
|
|
7759
|
-
* The **`referrer`** read-only property of the Request.
|
|
7759
|
+
* The **`referrer`** read-only property of the Request interface is set by the user agent to be the referrer of the Request.
|
|
7760
7760
|
*
|
|
7761
7761
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrer)
|
|
7762
7762
|
*/
|
|
7763
7763
|
readonly referrer: string;
|
|
7764
7764
|
/**
|
|
7765
|
-
* The **`referrerPolicy`** read-only property of the referrer information, sent in the Referer header, should be included with the request.
|
|
7765
|
+
* 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.
|
|
7766
7766
|
*
|
|
7767
7767
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrerPolicy)
|
|
7768
7768
|
*/
|
|
@@ -7799,7 +7799,7 @@ declare var Request: {
|
|
|
7799
7799
|
*/
|
|
7800
7800
|
interface Response extends Body {
|
|
7801
7801
|
/**
|
|
7802
|
-
* The **`headers`** read-only property of the with the response.
|
|
7802
|
+
* The **`headers`** read-only property of the Response interface contains the Headers object associated with the response.
|
|
7803
7803
|
*
|
|
7804
7804
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/headers)
|
|
7805
7805
|
*/
|
|
@@ -7976,7 +7976,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker {
|
|
|
7976
7976
|
*/
|
|
7977
7977
|
readonly scriptURL: string;
|
|
7978
7978
|
/**
|
|
7979
|
-
* The **`state`** read-only property of the of the service worker.
|
|
7979
|
+
* The **`state`** read-only property of the ServiceWorker interface returns a string representing the current state of the service worker.
|
|
7980
7980
|
*
|
|
7981
7981
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/state)
|
|
7982
7982
|
*/
|
|
@@ -8031,13 +8031,13 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
|
8031
8031
|
*/
|
|
8032
8032
|
readonly ready: Promise<ServiceWorkerRegistration>;
|
|
8033
8033
|
/**
|
|
8034
|
-
* The **`getRegistration()`** method of the client URL.
|
|
8034
|
+
* The **`getRegistration()`** method of the ServiceWorkerContainer interface gets a ServiceWorkerRegistration object whose scope URL matches the provided client URL.
|
|
8035
8035
|
*
|
|
8036
8036
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistration)
|
|
8037
8037
|
*/
|
|
8038
8038
|
getRegistration(clientURL?: string | URL): Promise<ServiceWorkerRegistration | undefined>;
|
|
8039
8039
|
/**
|
|
8040
|
-
* The **`getRegistrations()`** method of the `ServiceWorkerContainer`, in an array.
|
|
8040
|
+
* The **`getRegistrations()`** method of the ServiceWorkerContainer interface gets all ServiceWorkerRegistrations associated with a `ServiceWorkerContainer`, in an array.
|
|
8041
8041
|
*
|
|
8042
8042
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistrations)
|
|
8043
8043
|
*/
|
|
@@ -8086,7 +8086,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
|
|
8086
8086
|
*/
|
|
8087
8087
|
interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
8088
8088
|
/**
|
|
8089
|
-
* The **`clients`** read-only property of the object associated with the service worker.
|
|
8089
|
+
* The **`clients`** read-only property of the ServiceWorkerGlobalScope interface returns the `Clients` object associated with the service worker.
|
|
8090
8090
|
*
|
|
8091
8091
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/clients)
|
|
8092
8092
|
*/
|
|
@@ -8158,7 +8158,7 @@ interface ServiceWorkerRegistrationEventMap {
|
|
|
8158
8158
|
*/
|
|
8159
8159
|
interface ServiceWorkerRegistration extends EventTarget {
|
|
8160
8160
|
/**
|
|
8161
|
-
* The **`active`** read-only property of the
|
|
8161
|
+
* The **`active`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `activating` or `activated`.
|
|
8162
8162
|
*
|
|
8163
8163
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)
|
|
8164
8164
|
*/
|
|
@@ -8170,7 +8170,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
8170
8170
|
*/
|
|
8171
8171
|
readonly cookies: CookieStoreManager;
|
|
8172
8172
|
/**
|
|
8173
|
-
* The **`installing`** read-only property of the
|
|
8173
|
+
* The **`installing`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `installing`.
|
|
8174
8174
|
*
|
|
8175
8175
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/installing)
|
|
8176
8176
|
*/
|
|
@@ -8184,7 +8184,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
8184
8184
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updatefound_event) */
|
|
8185
8185
|
onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;
|
|
8186
8186
|
/**
|
|
8187
|
-
* The **`pushManager`** read-only property of the support for subscribing, getting an active subscription, and accessing push permission status.
|
|
8187
|
+
* 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.
|
|
8188
8188
|
*
|
|
8189
8189
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/pushManager)
|
|
8190
8190
|
*/
|
|
@@ -8202,7 +8202,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
8202
8202
|
*/
|
|
8203
8203
|
readonly updateViaCache: ServiceWorkerUpdateViaCache;
|
|
8204
8204
|
/**
|
|
8205
|
-
* The **`waiting`** read-only property of the
|
|
8205
|
+
* The **`waiting`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `installed`.
|
|
8206
8206
|
*
|
|
8207
8207
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/waiting)
|
|
8208
8208
|
*/
|
|
@@ -8214,19 +8214,19 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
8214
8214
|
*/
|
|
8215
8215
|
getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;
|
|
8216
8216
|
/**
|
|
8217
|
-
* The **`showNotification()`** method of the service worker.
|
|
8217
|
+
* The **`showNotification()`** method of the ServiceWorkerRegistration interface creates a notification on an active service worker.
|
|
8218
8218
|
*
|
|
8219
8219
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/showNotification)
|
|
8220
8220
|
*/
|
|
8221
8221
|
showNotification(title: string, options?: NotificationOptions): Promise<void>;
|
|
8222
8222
|
/**
|
|
8223
|
-
* The **`unregister()`** method of the registration and returns a Promise.
|
|
8223
|
+
* The **`unregister()`** method of the ServiceWorkerRegistration interface unregisters the service worker registration and returns a Promise.
|
|
8224
8224
|
*
|
|
8225
8225
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister)
|
|
8226
8226
|
*/
|
|
8227
8227
|
unregister(): Promise<boolean>;
|
|
8228
8228
|
/**
|
|
8229
|
-
* The **`update()`** method of the worker.
|
|
8229
|
+
* The **`update()`** method of the ServiceWorkerRegistration interface attempts to update the service worker.
|
|
8230
8230
|
*
|
|
8231
8231
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update)
|
|
8232
8232
|
*/
|
|
@@ -8253,7 +8253,7 @@ interface SharedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
|
|
8253
8253
|
*/
|
|
8254
8254
|
interface SharedWorkerGlobalScope extends WorkerGlobalScope {
|
|
8255
8255
|
/**
|
|
8256
|
-
* The **`name`** read-only property of the
|
|
8256
|
+
* The **`name`** read-only property of the SharedWorkerGlobalScope interface returns the name that the SharedWorker was (optionally) given when it was created.
|
|
8257
8257
|
*
|
|
8258
8258
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorkerGlobalScope/name)
|
|
8259
8259
|
*/
|
|
@@ -8316,25 +8316,25 @@ declare var StorageManager: {
|
|
|
8316
8316
|
*/
|
|
8317
8317
|
interface StylePropertyMapReadOnly {
|
|
8318
8318
|
/**
|
|
8319
|
-
* The **`size`** read-only property of the containing the size of the `StylePropertyMapReadOnly` object.
|
|
8319
|
+
* The **`size`** read-only property of the StylePropertyMapReadOnly interface returns an unsigned long integer containing the size of the `StylePropertyMapReadOnly` object.
|
|
8320
8320
|
*
|
|
8321
8321
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/size)
|
|
8322
8322
|
*/
|
|
8323
8323
|
readonly size: number;
|
|
8324
8324
|
/**
|
|
8325
|
-
* The **`get()`** method of the object for the first value of the specified property.
|
|
8325
|
+
* The **`get()`** method of the StylePropertyMapReadOnly interface returns a CSSStyleValue object for the first value of the specified property.
|
|
8326
8326
|
*
|
|
8327
8327
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/get)
|
|
8328
8328
|
*/
|
|
8329
8329
|
get(property: string): undefined | CSSStyleValue;
|
|
8330
8330
|
/**
|
|
8331
|
-
* The **`getAll()`** method of the
|
|
8331
|
+
* The **`getAll()`** method of the StylePropertyMapReadOnly interface returns an array of CSSStyleValue objects containing the values for the provided property.
|
|
8332
8332
|
*
|
|
8333
8333
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/getAll)
|
|
8334
8334
|
*/
|
|
8335
8335
|
getAll(property: string): CSSStyleValue[];
|
|
8336
8336
|
/**
|
|
8337
|
-
* The **`has()`** method of the property is in the `StylePropertyMapReadOnly` object.
|
|
8337
|
+
* The **`has()`** method of the StylePropertyMapReadOnly interface indicates whether the specified property is in the `StylePropertyMapReadOnly` object.
|
|
8338
8338
|
*
|
|
8339
8339
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/has)
|
|
8340
8340
|
*/
|
|
@@ -8361,7 +8361,7 @@ interface SubtleCrypto {
|
|
|
8361
8361
|
*/
|
|
8362
8362
|
decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;
|
|
8363
8363
|
/**
|
|
8364
|
-
* The **`deriveBits()`** method of the key.
|
|
8364
|
+
* The **`deriveBits()`** method of the SubtleCrypto interface can be used to derive an array of bits from a base key.
|
|
8365
8365
|
*
|
|
8366
8366
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits)
|
|
8367
8367
|
*/
|
|
@@ -8758,7 +8758,7 @@ interface URL {
|
|
|
8758
8758
|
*/
|
|
8759
8759
|
search: string;
|
|
8760
8760
|
/**
|
|
8761
|
-
* The **`searchParams`** read-only property of the access to the
|
|
8761
|
+
* 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.
|
|
8762
8762
|
*
|
|
8763
8763
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/searchParams)
|
|
8764
8764
|
*/
|
|
@@ -8770,7 +8770,7 @@ interface URL {
|
|
|
8770
8770
|
*/
|
|
8771
8771
|
username: string;
|
|
8772
8772
|
/**
|
|
8773
|
-
* 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
|
|
8773
|
+
* 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().
|
|
8774
8774
|
*
|
|
8775
8775
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)
|
|
8776
8776
|
*/
|
|
@@ -8799,7 +8799,7 @@ declare var URL: {
|
|
|
8799
8799
|
*/
|
|
8800
8800
|
parse(url: string | URL, base?: string | URL): URL | null;
|
|
8801
8801
|
/**
|
|
8802
|
-
* The **`revokeObjectURL()`** static method of the URL interface releases an existing object URL which was previously created by calling
|
|
8802
|
+
* The **`revokeObjectURL()`** static method of the URL interface releases an existing object URL which was previously created by calling URL.createObjectURL_static.
|
|
8803
8803
|
*
|
|
8804
8804
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static)
|
|
8805
8805
|
*/
|
|
@@ -11786,7 +11786,7 @@ interface WebSocket extends EventTarget {
|
|
|
11786
11786
|
*/
|
|
11787
11787
|
readonly url: string;
|
|
11788
11788
|
/**
|
|
11789
|
-
* The **`WebSocket.close()`** method closes the
|
|
11789
|
+
* The **`WebSocket.close()`** method closes the WebSocket connection or connection attempt, if any.
|
|
11790
11790
|
*
|
|
11791
11791
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close)
|
|
11792
11792
|
*/
|
|
@@ -11989,25 +11989,25 @@ declare var WebTransportError: {
|
|
|
11989
11989
|
*/
|
|
11990
11990
|
interface WindowClient extends Client {
|
|
11991
11991
|
/**
|
|
11992
|
-
* The **`focused`** read-only property of the the current client has focus.
|
|
11992
|
+
* The **`focused`** read-only property of the WindowClient interface is a boolean value that indicates whether the current client has focus.
|
|
11993
11993
|
*
|
|
11994
11994
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/focused)
|
|
11995
11995
|
*/
|
|
11996
11996
|
readonly focused: boolean;
|
|
11997
11997
|
/**
|
|
11998
|
-
* The **`visibilityState`** read-only property of the
|
|
11998
|
+
* The **`visibilityState`** read-only property of the WindowClient interface indicates the visibility of the current client.
|
|
11999
11999
|
*
|
|
12000
12000
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/visibilityState)
|
|
12001
12001
|
*/
|
|
12002
12002
|
readonly visibilityState: DocumentVisibilityState;
|
|
12003
12003
|
/**
|
|
12004
|
-
* The **`focus()`** method of the WindowClient interface gives user input focus to the current client and returns a
|
|
12004
|
+
* 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.
|
|
12005
12005
|
*
|
|
12006
12006
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/focus)
|
|
12007
12007
|
*/
|
|
12008
12008
|
focus(): Promise<WindowClient>;
|
|
12009
12009
|
/**
|
|
12010
|
-
* The **`navigate()`** method of the WindowClient interface loads a specified URL into a controlled client page then returns a
|
|
12010
|
+
* 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.
|
|
12011
12011
|
*
|
|
12012
12012
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/navigate)
|
|
12013
12013
|
*/
|
|
@@ -12308,7 +12308,7 @@ interface WritableStreamDefaultController {
|
|
|
12308
12308
|
*/
|
|
12309
12309
|
readonly signal: AbortSignal;
|
|
12310
12310
|
/**
|
|
12311
|
-
* The **`error()`** method of the with the associated stream to error.
|
|
12311
|
+
* The **`error()`** method of the WritableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
12312
12312
|
*
|
|
12313
12313
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error)
|
|
12314
12314
|
*/
|
|
@@ -12327,43 +12327,43 @@ declare var WritableStreamDefaultController: {
|
|
|
12327
12327
|
*/
|
|
12328
12328
|
interface WritableStreamDefaultWriter<W = any> {
|
|
12329
12329
|
/**
|
|
12330
|
-
* The **`closed`** read-only property of the the stream errors or the writer's lock is released.
|
|
12330
|
+
* 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.
|
|
12331
12331
|
*
|
|
12332
12332
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed)
|
|
12333
12333
|
*/
|
|
12334
12334
|
readonly closed: Promise<void>;
|
|
12335
12335
|
/**
|
|
12336
|
-
* The **`desiredSize`** read-only property of the to fill the stream's internal queue.
|
|
12336
|
+
* The **`desiredSize`** read-only property of the WritableStreamDefaultWriter interface returns the desired size required to fill the stream's internal queue.
|
|
12337
12337
|
*
|
|
12338
12338
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/desiredSize)
|
|
12339
12339
|
*/
|
|
12340
12340
|
readonly desiredSize: number | null;
|
|
12341
12341
|
/**
|
|
12342
|
-
* 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.
|
|
12342
|
+
* 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.
|
|
12343
12343
|
*
|
|
12344
12344
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/ready)
|
|
12345
12345
|
*/
|
|
12346
12346
|
readonly ready: Promise<void>;
|
|
12347
12347
|
/**
|
|
12348
|
-
* 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.
|
|
12348
|
+
* 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.
|
|
12349
12349
|
*
|
|
12350
12350
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort)
|
|
12351
12351
|
*/
|
|
12352
12352
|
abort(reason?: any): Promise<void>;
|
|
12353
12353
|
/**
|
|
12354
|
-
* The **`close()`** method of the stream.
|
|
12354
|
+
* The **`close()`** method of the WritableStreamDefaultWriter interface closes the associated writable stream.
|
|
12355
12355
|
*
|
|
12356
12356
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close)
|
|
12357
12357
|
*/
|
|
12358
12358
|
close(): Promise<void>;
|
|
12359
12359
|
/**
|
|
12360
|
-
* The **`releaseLock()`** method of the corresponding stream.
|
|
12360
|
+
* The **`releaseLock()`** method of the WritableStreamDefaultWriter interface releases the writer's lock on the corresponding stream.
|
|
12361
12361
|
*
|
|
12362
12362
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/releaseLock)
|
|
12363
12363
|
*/
|
|
12364
12364
|
releaseLock(): void;
|
|
12365
12365
|
/**
|
|
12366
|
-
* The **`write()`** method of the operation.
|
|
12366
|
+
* 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.
|
|
12367
12367
|
*
|
|
12368
12368
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
|
|
12369
12369
|
*/
|
|
@@ -12996,7 +12996,7 @@ interface WebCodecsErrorCallback {
|
|
|
12996
12996
|
}
|
|
12997
12997
|
|
|
12998
12998
|
/**
|
|
12999
|
-
* The **`name`** read-only property of the the
|
|
12999
|
+
* The **`name`** read-only property of the DedicatedWorkerGlobalScope interface returns the name that the Worker was (optionally) given when it was created.
|
|
13000
13000
|
*
|
|
13001
13001
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/name)
|
|
13002
13002
|
*/
|