@types/webworker 0.0.18 → 0.0.20
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 +243 -213
- package/iterable.d.ts +1 -1
- package/package.json +1 -1
- package/ts5.5/index.d.ts +243 -213
- package/ts5.5/iterable.d.ts +1 -1
- package/ts5.6/index.d.ts +243 -213
- package/ts5.6/iterable.d.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -355,6 +355,10 @@ interface FontFaceSetLoadEventInit extends EventInit {
|
|
|
355
355
|
fontfaces?: FontFace[];
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
+
interface GPUPipelineErrorInit {
|
|
359
|
+
reason: GPUPipelineErrorReason;
|
|
360
|
+
}
|
|
361
|
+
|
|
358
362
|
interface GetNotificationOptions {
|
|
359
363
|
tag?: string;
|
|
360
364
|
}
|
|
@@ -1484,7 +1488,7 @@ interface Blob {
|
|
|
1484
1488
|
*/
|
|
1485
1489
|
stream(): ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
1486
1490
|
/**
|
|
1487
|
-
* The **`text()`** method of the string containing the contents of the blob, interpreted as UTF-8.
|
|
1491
|
+
* 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
1492
|
*
|
|
1489
1493
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text)
|
|
1490
1494
|
*/
|
|
@@ -1600,7 +1604,7 @@ declare var CSSImageValue: {
|
|
|
1600
1604
|
*/
|
|
1601
1605
|
interface CSSKeywordValue extends CSSStyleValue {
|
|
1602
1606
|
/**
|
|
1603
|
-
* The **`value`** property of the `CSSKeywordValue`.
|
|
1607
|
+
* The **`value`** property of the CSSKeywordValue interface returns or sets the value of the `CSSKeywordValue`.
|
|
1604
1608
|
*
|
|
1605
1609
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue/value)
|
|
1606
1610
|
*/
|
|
@@ -1630,7 +1634,7 @@ declare var CSSMathClamp: {
|
|
|
1630
1634
|
*/
|
|
1631
1635
|
interface CSSMathInvert extends CSSMathValue {
|
|
1632
1636
|
/**
|
|
1633
|
-
* The CSSMathInvert.value read-only property of the
|
|
1637
|
+
* The CSSMathInvert.value read-only property of the CSSMathInvert interface returns a CSSNumericValue object.
|
|
1634
1638
|
*
|
|
1635
1639
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert/value)
|
|
1636
1640
|
*/
|
|
@@ -1649,7 +1653,7 @@ declare var CSSMathInvert: {
|
|
|
1649
1653
|
*/
|
|
1650
1654
|
interface CSSMathMax extends CSSMathValue {
|
|
1651
1655
|
/**
|
|
1652
|
-
* The CSSMathMax.values read-only property of the which contains one or more CSSNumericValue objects.
|
|
1656
|
+
* The CSSMathMax.values read-only property of the CSSMathMax interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
1653
1657
|
*
|
|
1654
1658
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax/values)
|
|
1655
1659
|
*/
|
|
@@ -1668,7 +1672,7 @@ declare var CSSMathMax: {
|
|
|
1668
1672
|
*/
|
|
1669
1673
|
interface CSSMathMin extends CSSMathValue {
|
|
1670
1674
|
/**
|
|
1671
|
-
* The CSSMathMin.values read-only property of the which contains one or more CSSNumericValue objects.
|
|
1675
|
+
* The CSSMathMin.values read-only property of the CSSMathMin interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
1672
1676
|
*
|
|
1673
1677
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin/values)
|
|
1674
1678
|
*/
|
|
@@ -1687,7 +1691,7 @@ declare var CSSMathMin: {
|
|
|
1687
1691
|
*/
|
|
1688
1692
|
interface CSSMathNegate extends CSSMathValue {
|
|
1689
1693
|
/**
|
|
1690
|
-
* The CSSMathNegate.value read-only property of the
|
|
1694
|
+
* The CSSMathNegate.value read-only property of the CSSMathNegate interface returns a CSSNumericValue object.
|
|
1691
1695
|
*
|
|
1692
1696
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate/value)
|
|
1693
1697
|
*/
|
|
@@ -1706,7 +1710,7 @@ declare var CSSMathNegate: {
|
|
|
1706
1710
|
*/
|
|
1707
1711
|
interface CSSMathProduct extends CSSMathValue {
|
|
1708
1712
|
/**
|
|
1709
|
-
* The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a
|
|
1713
|
+
* The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
|
1710
1714
|
*
|
|
1711
1715
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct/values)
|
|
1712
1716
|
*/
|
|
@@ -1763,7 +1767,7 @@ declare var CSSMathValue: {
|
|
|
1763
1767
|
*/
|
|
1764
1768
|
interface CSSMatrixComponent extends CSSTransformComponent {
|
|
1765
1769
|
/**
|
|
1766
|
-
* The **`matrix`** property of the
|
|
1770
|
+
* The **`matrix`** property of the CSSMatrixComponent interface gets and sets a 2d or 3d matrix.
|
|
1767
1771
|
*
|
|
1768
1772
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent/matrix)
|
|
1769
1773
|
*/
|
|
@@ -1782,7 +1786,7 @@ declare var CSSMatrixComponent: {
|
|
|
1782
1786
|
*/
|
|
1783
1787
|
interface CSSNumericArray {
|
|
1784
1788
|
/**
|
|
1785
|
-
* The read-only **`length`** property of the
|
|
1789
|
+
* The read-only **`length`** property of the CSSNumericArray interface returns the number of CSSNumericValue objects in the list.
|
|
1786
1790
|
*
|
|
1787
1791
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray/length)
|
|
1788
1792
|
*/
|
|
@@ -1803,61 +1807,61 @@ declare var CSSNumericArray: {
|
|
|
1803
1807
|
*/
|
|
1804
1808
|
interface CSSNumericValue extends CSSStyleValue {
|
|
1805
1809
|
/**
|
|
1806
|
-
* The **`add()`** method of the `CSSNumericValue`.
|
|
1810
|
+
* The **`add()`** method of the CSSNumericValue interface adds a supplied number to the `CSSNumericValue`.
|
|
1807
1811
|
*
|
|
1808
1812
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add)
|
|
1809
1813
|
*/
|
|
1810
1814
|
add(...values: CSSNumberish[]): CSSNumericValue;
|
|
1811
1815
|
/**
|
|
1812
|
-
* The **`div()`** method of the supplied value.
|
|
1816
|
+
* The **`div()`** method of the CSSNumericValue interface divides the `CSSNumericValue` by the supplied value.
|
|
1813
1817
|
*
|
|
1814
1818
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/div)
|
|
1815
1819
|
*/
|
|
1816
1820
|
div(...values: CSSNumberish[]): CSSNumericValue;
|
|
1817
1821
|
/**
|
|
1818
|
-
* The **`equals()`** method of the value are strictly equal.
|
|
1822
|
+
* The **`equals()`** method of the CSSNumericValue interface returns a boolean indicating whether the passed value are strictly equal.
|
|
1819
1823
|
*
|
|
1820
1824
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/equals)
|
|
1821
1825
|
*/
|
|
1822
1826
|
equals(...value: CSSNumberish[]): boolean;
|
|
1823
1827
|
/**
|
|
1824
|
-
* The **`max()`** method of the passed.
|
|
1828
|
+
* The **`max()`** method of the CSSNumericValue interface returns the highest value from among the values passed.
|
|
1825
1829
|
*
|
|
1826
1830
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/max)
|
|
1827
1831
|
*/
|
|
1828
1832
|
max(...values: CSSNumberish[]): CSSNumericValue;
|
|
1829
1833
|
/**
|
|
1830
|
-
* The **`min()`** method of the values passed.
|
|
1834
|
+
* The **`min()`** method of the CSSNumericValue interface returns the lowest value from among those values passed.
|
|
1831
1835
|
*
|
|
1832
1836
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/min)
|
|
1833
1837
|
*/
|
|
1834
1838
|
min(...values: CSSNumberish[]): CSSNumericValue;
|
|
1835
1839
|
/**
|
|
1836
|
-
* The **`mul()`** method of the the supplied value.
|
|
1840
|
+
* The **`mul()`** method of the CSSNumericValue interface multiplies the `CSSNumericValue` by the supplied value.
|
|
1837
1841
|
*
|
|
1838
1842
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/mul)
|
|
1839
1843
|
*/
|
|
1840
1844
|
mul(...values: CSSNumberish[]): CSSNumericValue;
|
|
1841
1845
|
/**
|
|
1842
|
-
* The **`sub()`** method of the `CSSNumericValue`.
|
|
1846
|
+
* The **`sub()`** method of the CSSNumericValue interface subtracts a supplied number from the `CSSNumericValue`.
|
|
1843
1847
|
*
|
|
1844
1848
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/sub)
|
|
1845
1849
|
*/
|
|
1846
1850
|
sub(...values: CSSNumberish[]): CSSNumericValue;
|
|
1847
1851
|
/**
|
|
1848
|
-
* The **`to()`** method of the another.
|
|
1852
|
+
* The **`to()`** method of the CSSNumericValue interface converts a numeric value from one unit to another.
|
|
1849
1853
|
*
|
|
1850
1854
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/to)
|
|
1851
1855
|
*/
|
|
1852
1856
|
to(unit: string): CSSUnitValue;
|
|
1853
1857
|
/**
|
|
1854
|
-
* The **`toSum()`** method of the
|
|
1858
|
+
* The **`toSum()`** method of the CSSNumericValue interface converts the object's value to a CSSMathSum object to values of the specified unit.
|
|
1855
1859
|
*
|
|
1856
1860
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/toSum)
|
|
1857
1861
|
*/
|
|
1858
1862
|
toSum(...units: string[]): CSSMathSum;
|
|
1859
1863
|
/**
|
|
1860
|
-
* The **`type()`** method of the `CSSNumericValue`, one of `angle`, `flex`, `frequency`, `length`, `resolution`, `percent`, `percentHint`, or `time`.
|
|
1864
|
+
* The **`type()`** method of the CSSNumericValue interface returns the type of `CSSNumericValue`, one of `angle`, `flex`, `frequency`, `length`, `resolution`, `percent`, `percentHint`, or `time`.
|
|
1861
1865
|
*
|
|
1862
1866
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/type)
|
|
1863
1867
|
*/
|
|
@@ -1876,7 +1880,7 @@ declare var CSSNumericValue: {
|
|
|
1876
1880
|
*/
|
|
1877
1881
|
interface CSSPerspective extends CSSTransformComponent {
|
|
1878
1882
|
/**
|
|
1879
|
-
* The **`length`** property of the
|
|
1883
|
+
* The **`length`** property of the CSSPerspective interface sets the distance from z=0.
|
|
1880
1884
|
*
|
|
1881
1885
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective/length)
|
|
1882
1886
|
*/
|
|
@@ -1895,25 +1899,25 @@ declare var CSSPerspective: {
|
|
|
1895
1899
|
*/
|
|
1896
1900
|
interface CSSRotate extends CSSTransformComponent {
|
|
1897
1901
|
/**
|
|
1898
|
-
* The **`angle`** property of the
|
|
1902
|
+
* The **`angle`** property of the CSSRotate interface gets and sets the angle of rotation.
|
|
1899
1903
|
*
|
|
1900
1904
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/angle)
|
|
1901
1905
|
*/
|
|
1902
1906
|
angle: CSSNumericValue;
|
|
1903
1907
|
/**
|
|
1904
|
-
* The **`x`** property of the translating vector.
|
|
1908
|
+
* The **`x`** property of the CSSRotate interface gets and sets the abscissa or x-axis of the translating vector.
|
|
1905
1909
|
*
|
|
1906
1910
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/x)
|
|
1907
1911
|
*/
|
|
1908
1912
|
x: CSSNumberish;
|
|
1909
1913
|
/**
|
|
1910
|
-
* The **`y`** property of the translating vector.
|
|
1914
|
+
* The **`y`** property of the CSSRotate interface gets and sets the ordinate or y-axis of the translating vector.
|
|
1911
1915
|
*
|
|
1912
1916
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/y)
|
|
1913
1917
|
*/
|
|
1914
1918
|
y: CSSNumberish;
|
|
1915
1919
|
/**
|
|
1916
|
-
* The **`z`** property of the vector.
|
|
1920
|
+
* The **`z`** property of the CSSRotate interface representing the z-component of the translating vector.
|
|
1917
1921
|
*
|
|
1918
1922
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/z)
|
|
1919
1923
|
*/
|
|
@@ -1933,19 +1937,19 @@ declare var CSSRotate: {
|
|
|
1933
1937
|
*/
|
|
1934
1938
|
interface CSSScale extends CSSTransformComponent {
|
|
1935
1939
|
/**
|
|
1936
|
-
* The **`x`** property of the translating vector.
|
|
1940
|
+
* The **`x`** property of the CSSScale interface gets and sets the abscissa or x-axis of the translating vector.
|
|
1937
1941
|
*
|
|
1938
1942
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/x)
|
|
1939
1943
|
*/
|
|
1940
1944
|
x: CSSNumberish;
|
|
1941
1945
|
/**
|
|
1942
|
-
* The **`y`** property of the translating vector.
|
|
1946
|
+
* The **`y`** property of the CSSScale interface gets and sets the ordinate or y-axis of the translating vector.
|
|
1943
1947
|
*
|
|
1944
1948
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/y)
|
|
1945
1949
|
*/
|
|
1946
1950
|
y: CSSNumberish;
|
|
1947
1951
|
/**
|
|
1948
|
-
* The **`z`** property of the vector.
|
|
1952
|
+
* The **`z`** property of the CSSScale interface representing the z-component of the translating vector.
|
|
1949
1953
|
*
|
|
1950
1954
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/z)
|
|
1951
1955
|
*/
|
|
@@ -1964,13 +1968,13 @@ declare var CSSScale: {
|
|
|
1964
1968
|
*/
|
|
1965
1969
|
interface CSSSkew extends CSSTransformComponent {
|
|
1966
1970
|
/**
|
|
1967
|
-
* The **`ax`** property of the along the x-axis (or abscissa).
|
|
1971
|
+
* The **`ax`** property of the CSSSkew interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
|
|
1968
1972
|
*
|
|
1969
1973
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax)
|
|
1970
1974
|
*/
|
|
1971
1975
|
ax: CSSNumericValue;
|
|
1972
1976
|
/**
|
|
1973
|
-
* The **`ay`** property of the along the y-axis (or ordinate).
|
|
1977
|
+
* The **`ay`** property of the CSSSkew interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
|
|
1974
1978
|
*
|
|
1975
1979
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ay)
|
|
1976
1980
|
*/
|
|
@@ -1989,7 +1993,7 @@ declare var CSSSkew: {
|
|
|
1989
1993
|
*/
|
|
1990
1994
|
interface CSSSkewX extends CSSTransformComponent {
|
|
1991
1995
|
/**
|
|
1992
|
-
* The **`ax`** property of the along the x-axis (or abscissa).
|
|
1996
|
+
* The **`ax`** property of the CSSSkewX interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
|
|
1993
1997
|
*
|
|
1994
1998
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX/ax)
|
|
1995
1999
|
*/
|
|
@@ -2008,7 +2012,7 @@ declare var CSSSkewX: {
|
|
|
2008
2012
|
*/
|
|
2009
2013
|
interface CSSSkewY extends CSSTransformComponent {
|
|
2010
2014
|
/**
|
|
2011
|
-
* The **`ay`** property of the along the y-axis (or ordinate).
|
|
2015
|
+
* The **`ay`** property of the CSSSkewY interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
|
|
2012
2016
|
*
|
|
2013
2017
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY/ay)
|
|
2014
2018
|
*/
|
|
@@ -2047,7 +2051,7 @@ interface CSSTransformComponent {
|
|
|
2047
2051
|
*/
|
|
2048
2052
|
is2D: boolean;
|
|
2049
2053
|
/**
|
|
2050
|
-
* The **`toMatrix()`** method of the object.
|
|
2054
|
+
* The **`toMatrix()`** method of the CSSTransformComponent interface returns a DOMMatrix object.
|
|
2051
2055
|
*
|
|
2052
2056
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent/toMatrix)
|
|
2053
2057
|
*/
|
|
@@ -2067,19 +2071,19 @@ declare var CSSTransformComponent: {
|
|
|
2067
2071
|
*/
|
|
2068
2072
|
interface CSSTransformValue extends CSSStyleValue {
|
|
2069
2073
|
/**
|
|
2070
|
-
* The read-only **`is2D`** property of the
|
|
2074
|
+
* The read-only **`is2D`** property of the CSSTransformValue interface returns whether the transform is 2D or 3D.
|
|
2071
2075
|
*
|
|
2072
2076
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/is2D)
|
|
2073
2077
|
*/
|
|
2074
2078
|
readonly is2D: boolean;
|
|
2075
2079
|
/**
|
|
2076
|
-
* The read-only **`length`** property of the the list.
|
|
2080
|
+
* The read-only **`length`** property of the CSSTransformValue interface returns the number of transform components in the list.
|
|
2077
2081
|
*
|
|
2078
2082
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/length)
|
|
2079
2083
|
*/
|
|
2080
2084
|
readonly length: number;
|
|
2081
2085
|
/**
|
|
2082
|
-
* The **`toMatrix()`** method of the
|
|
2086
|
+
* The **`toMatrix()`** method of the CSSTransformValue interface returns a DOMMatrix object.
|
|
2083
2087
|
*
|
|
2084
2088
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/toMatrix)
|
|
2085
2089
|
*/
|
|
@@ -2100,19 +2104,19 @@ declare var CSSTransformValue: {
|
|
|
2100
2104
|
*/
|
|
2101
2105
|
interface CSSTranslate extends CSSTransformComponent {
|
|
2102
2106
|
/**
|
|
2103
|
-
* The **`x`** property of the translating vector.
|
|
2107
|
+
* The **`x`** property of the CSSTranslate interface gets and sets the abscissa or x-axis of the translating vector.
|
|
2104
2108
|
*
|
|
2105
2109
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/x)
|
|
2106
2110
|
*/
|
|
2107
2111
|
x: CSSNumericValue;
|
|
2108
2112
|
/**
|
|
2109
|
-
* The **`y`** property of the translating vector.
|
|
2113
|
+
* The **`y`** property of the CSSTranslate interface gets and sets the ordinate or y-axis of the translating vector.
|
|
2110
2114
|
*
|
|
2111
2115
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/y)
|
|
2112
2116
|
*/
|
|
2113
2117
|
y: CSSNumericValue;
|
|
2114
2118
|
/**
|
|
2115
|
-
* The **`z`** property of the vector.
|
|
2119
|
+
* The **`z`** property of the CSSTranslate interface representing the z-component of the translating vector.
|
|
2116
2120
|
*
|
|
2117
2121
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/z)
|
|
2118
2122
|
*/
|
|
@@ -2137,7 +2141,7 @@ interface CSSUnitValue extends CSSNumericValue {
|
|
|
2137
2141
|
*/
|
|
2138
2142
|
readonly unit: string;
|
|
2139
2143
|
/**
|
|
2140
|
-
* The **`CSSUnitValue.value`** property of the
|
|
2144
|
+
* The **`CSSUnitValue.value`** property of the CSSUnitValue interface returns a double indicating the number of units.
|
|
2141
2145
|
*
|
|
2142
2146
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/value)
|
|
2143
2147
|
*/
|
|
@@ -2156,7 +2160,7 @@ declare var CSSUnitValue: {
|
|
|
2156
2160
|
*/
|
|
2157
2161
|
interface CSSUnparsedValue extends CSSStyleValue {
|
|
2158
2162
|
/**
|
|
2159
|
-
* The **`length`** read-only property of the
|
|
2163
|
+
* The **`length`** read-only property of the CSSUnparsedValue interface returns the number of items in the object.
|
|
2160
2164
|
*
|
|
2161
2165
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue/length)
|
|
2162
2166
|
*/
|
|
@@ -2177,13 +2181,13 @@ declare var CSSUnparsedValue: {
|
|
|
2177
2181
|
*/
|
|
2178
2182
|
interface CSSVariableReferenceValue {
|
|
2179
2183
|
/**
|
|
2180
|
-
* The **`fallback`** read-only property of the
|
|
2184
|
+
* The **`fallback`** read-only property of the CSSVariableReferenceValue interface returns the custom property fallback value of the CSSVariableReferenceValue.
|
|
2181
2185
|
*
|
|
2182
2186
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/fallback)
|
|
2183
2187
|
*/
|
|
2184
2188
|
readonly fallback: CSSUnparsedValue | null;
|
|
2185
2189
|
/**
|
|
2186
|
-
* The **`variable`** property of the
|
|
2190
|
+
* The **`variable`** property of the CSSVariableReferenceValue interface returns the custom property name of the CSSVariableReferenceValue.
|
|
2187
2191
|
*
|
|
2188
2192
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/variable)
|
|
2189
2193
|
*/
|
|
@@ -2221,7 +2225,7 @@ interface Cache {
|
|
|
2221
2225
|
*/
|
|
2222
2226
|
delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<boolean>;
|
|
2223
2227
|
/**
|
|
2224
|
-
* The **`keys()`** method of the Cache interface returns a representing the keys of the Cache.
|
|
2228
|
+
* 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
2229
|
*
|
|
2226
2230
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/keys)
|
|
2227
2231
|
*/
|
|
@@ -2239,7 +2243,7 @@ interface Cache {
|
|
|
2239
2243
|
*/
|
|
2240
2244
|
matchAll(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;
|
|
2241
2245
|
/**
|
|
2242
|
-
* The **`put()`** method of the
|
|
2246
|
+
* The **`put()`** method of the Cache interface allows key/value pairs to be added to the current Cache object.
|
|
2243
2247
|
*
|
|
2244
2248
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/put)
|
|
2245
2249
|
*/
|
|
@@ -2265,7 +2269,7 @@ interface CacheStorage {
|
|
|
2265
2269
|
*/
|
|
2266
2270
|
delete(cacheName: string): Promise<boolean>;
|
|
2267
2271
|
/**
|
|
2268
|
-
* The **`has()`** method of the CacheStorage interface returns a Promise that resolves to `true` if a
|
|
2272
|
+
* The **`has()`** method of the CacheStorage interface returns a Promise that resolves to `true` if a Cache object matches the `cacheName`.
|
|
2269
2273
|
*
|
|
2270
2274
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/has)
|
|
2271
2275
|
*/
|
|
@@ -2283,7 +2287,7 @@ interface CacheStorage {
|
|
|
2283
2287
|
*/
|
|
2284
2288
|
match(request: RequestInfo | URL, options?: MultiCacheQueryOptions): Promise<Response | undefined>;
|
|
2285
2289
|
/**
|
|
2286
|
-
* The **`open()`** method of the the Cache object matching the `cacheName`.
|
|
2290
|
+
* The **`open()`** method of the CacheStorage interface returns a Promise that resolves to the Cache object matching the `cacheName`.
|
|
2287
2291
|
*
|
|
2288
2292
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/open)
|
|
2289
2293
|
*/
|
|
@@ -2557,7 +2561,7 @@ interface Client {
|
|
|
2557
2561
|
*/
|
|
2558
2562
|
readonly url: string;
|
|
2559
2563
|
/**
|
|
2560
|
-
* The **`postMessage()`** method of the (a Window, Worker, or SharedWorker).
|
|
2564
|
+
* The **`postMessage()`** method of the Client interface allows a service worker to send a message to a client (a Window, Worker, or SharedWorker).
|
|
2561
2565
|
*
|
|
2562
2566
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Client/postMessage)
|
|
2563
2567
|
*/
|
|
@@ -2583,13 +2587,13 @@ interface Clients {
|
|
|
2583
2587
|
*/
|
|
2584
2588
|
claim(): Promise<void>;
|
|
2585
2589
|
/**
|
|
2586
|
-
* The **`get()`** method of the `id` and returns it in a Promise.
|
|
2590
|
+
* The **`get()`** method of the Clients interface gets a service worker client matching a given `id` and returns it in a Promise.
|
|
2587
2591
|
*
|
|
2588
2592
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clients/get)
|
|
2589
2593
|
*/
|
|
2590
2594
|
get(id: string): Promise<Client | undefined>;
|
|
2591
2595
|
/**
|
|
2592
|
-
* The **`matchAll()`** method of the Clients interface returns a Promise for a list of service worker
|
|
2596
|
+
* The **`matchAll()`** method of the Clients interface returns a Promise for a list of service worker Client objects.
|
|
2593
2597
|
*
|
|
2594
2598
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clients/matchAll)
|
|
2595
2599
|
*/
|
|
@@ -2755,7 +2759,7 @@ declare var CountQueuingStrategy: {
|
|
|
2755
2759
|
*/
|
|
2756
2760
|
interface Crypto {
|
|
2757
2761
|
/**
|
|
2758
|
-
* The **`Crypto.subtle`** read-only property returns a cryptographic operations.
|
|
2762
|
+
* The **`Crypto.subtle`** read-only property returns a SubtleCrypto which can then be used to perform low-level cryptographic operations.
|
|
2759
2763
|
* Available only in secure contexts.
|
|
2760
2764
|
*
|
|
2761
2765
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/subtle)
|
|
@@ -2859,13 +2863,13 @@ interface DOMException extends Error {
|
|
|
2859
2863
|
*/
|
|
2860
2864
|
readonly code: number;
|
|
2861
2865
|
/**
|
|
2862
|
-
* The **`message`** read-only property of the a message or description associated with the given error name.
|
|
2866
|
+
* The **`message`** read-only property of the DOMException interface returns a string representing a message or description associated with the given error name.
|
|
2863
2867
|
*
|
|
2864
2868
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message)
|
|
2865
2869
|
*/
|
|
2866
2870
|
readonly message: string;
|
|
2867
2871
|
/**
|
|
2868
|
-
* The **`name`** read-only property of the one of the strings associated with an error name.
|
|
2872
|
+
* The **`name`** read-only property of the DOMException interface returns a string that contains one of the strings associated with an error name.
|
|
2869
2873
|
*
|
|
2870
2874
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name)
|
|
2871
2875
|
*/
|
|
@@ -3158,7 +3162,7 @@ interface DOMMatrixReadOnly {
|
|
|
3158
3162
|
*/
|
|
3159
3163
|
rotateFromVector(x?: number, y?: number): DOMMatrix;
|
|
3160
3164
|
/**
|
|
3161
|
-
* The **`scale()`** method of the original matrix with a scale transform applied.
|
|
3165
|
+
* The **`scale()`** method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a scale transform applied.
|
|
3162
3166
|
*
|
|
3163
3167
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale)
|
|
3164
3168
|
*/
|
|
@@ -3202,7 +3206,7 @@ interface DOMMatrixReadOnly {
|
|
|
3202
3206
|
*/
|
|
3203
3207
|
toJSON(): any;
|
|
3204
3208
|
/**
|
|
3205
|
-
* The **`transformPoint`** method of the
|
|
3209
|
+
* The **`transformPoint`** method of the DOMMatrixReadOnly interface creates a new DOMPoint object, transforming a specified point by the matrix.
|
|
3206
3210
|
*
|
|
3207
3211
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint)
|
|
3208
3212
|
*/
|
|
@@ -3303,7 +3307,7 @@ interface DOMPointReadOnly {
|
|
|
3303
3307
|
*/
|
|
3304
3308
|
matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
|
|
3305
3309
|
/**
|
|
3306
|
-
* The DOMPointReadOnly method `toJSON()` returns an object giving the
|
|
3310
|
+
* The DOMPointReadOnly method `toJSON()` returns an object giving the JSON form of the point object.
|
|
3307
3311
|
*
|
|
3308
3312
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON)
|
|
3309
3313
|
*/
|
|
@@ -3358,7 +3362,7 @@ interface DOMQuad {
|
|
|
3358
3362
|
*/
|
|
3359
3363
|
getBounds(): DOMRect;
|
|
3360
3364
|
/**
|
|
3361
|
-
* The DOMQuad method `toJSON()` returns a
|
|
3365
|
+
* The DOMQuad method `toJSON()` returns a JSON representation of the `DOMQuad` object.
|
|
3362
3366
|
*
|
|
3363
3367
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/toJSON)
|
|
3364
3368
|
*/
|
|
@@ -3408,7 +3412,7 @@ declare var DOMRect: {
|
|
|
3408
3412
|
prototype: DOMRect;
|
|
3409
3413
|
new(x?: number, y?: number, width?: number, height?: number): DOMRect;
|
|
3410
3414
|
/**
|
|
3411
|
-
* The **`fromRect()`** static method of the object with a given location and dimensions.
|
|
3415
|
+
* The **`fromRect()`** static method of the DOMRect object creates a new `DOMRect` object with a given location and dimensions.
|
|
3412
3416
|
*
|
|
3413
3417
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static)
|
|
3414
3418
|
*/
|
|
@@ -3481,7 +3485,7 @@ declare var DOMRectReadOnly: {
|
|
|
3481
3485
|
prototype: DOMRectReadOnly;
|
|
3482
3486
|
new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;
|
|
3483
3487
|
/**
|
|
3484
|
-
* The **`fromRect()`** static method of the object with a given location and dimensions.
|
|
3488
|
+
* The **`fromRect()`** static method of the DOMRectReadOnly object creates a new `DOMRectReadOnly` object with a given location and dimensions.
|
|
3485
3489
|
*
|
|
3486
3490
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/fromRect_static)
|
|
3487
3491
|
*/
|
|
@@ -3548,7 +3552,7 @@ interface DedicatedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap,
|
|
|
3548
3552
|
*/
|
|
3549
3553
|
interface DedicatedWorkerGlobalScope extends WorkerGlobalScope, AnimationFrameProvider, MessageEventTarget<DedicatedWorkerGlobalScope> {
|
|
3550
3554
|
/**
|
|
3551
|
-
* The **`name`** read-only property of the the
|
|
3555
|
+
* The **`name`** read-only property of the DedicatedWorkerGlobalScope interface returns the name that the Worker was (optionally) given when it was created.
|
|
3552
3556
|
*
|
|
3553
3557
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/name)
|
|
3554
3558
|
*/
|
|
@@ -3850,7 +3854,7 @@ interface Event {
|
|
|
3850
3854
|
*/
|
|
3851
3855
|
readonly cancelable: boolean;
|
|
3852
3856
|
/**
|
|
3853
|
-
* The read-only **`composed`** property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.
|
|
3857
|
+
* 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
3858
|
*
|
|
3855
3859
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)
|
|
3856
3860
|
*/
|
|
@@ -3868,13 +3872,13 @@ interface Event {
|
|
|
3868
3872
|
*/
|
|
3869
3873
|
readonly defaultPrevented: boolean;
|
|
3870
3874
|
/**
|
|
3871
|
-
* The **`eventPhase`** read-only property of the being evaluated.
|
|
3875
|
+
* The **`eventPhase`** read-only property of the Event interface indicates which phase of the event flow is currently being evaluated.
|
|
3872
3876
|
*
|
|
3873
3877
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)
|
|
3874
3878
|
*/
|
|
3875
3879
|
readonly eventPhase: number;
|
|
3876
3880
|
/**
|
|
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
|
|
3881
|
+
* 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
3882
|
*
|
|
3879
3883
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
|
|
3880
3884
|
*/
|
|
@@ -3894,7 +3898,7 @@ interface Event {
|
|
|
3894
3898
|
*/
|
|
3895
3899
|
readonly srcElement: EventTarget | null;
|
|
3896
3900
|
/**
|
|
3897
|
-
* The read-only **`target`** property of the dispatched.
|
|
3901
|
+
* The read-only **`target`** property of the Event interface is a reference to the object onto which the event was dispatched.
|
|
3898
3902
|
*
|
|
3899
3903
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)
|
|
3900
3904
|
*/
|
|
@@ -3931,7 +3935,7 @@ interface Event {
|
|
|
3931
3935
|
*/
|
|
3932
3936
|
preventDefault(): void;
|
|
3933
3937
|
/**
|
|
3934
|
-
* The **`stopImmediatePropagation()`** method of the
|
|
3938
|
+
* The **`stopImmediatePropagation()`** method of the Event interface prevents other listeners of the same event from being called.
|
|
3935
3939
|
*
|
|
3936
3940
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)
|
|
3937
3941
|
*/
|
|
@@ -3984,25 +3988,25 @@ interface EventSource extends EventTarget {
|
|
|
3984
3988
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/open_event) */
|
|
3985
3989
|
onopen: ((this: EventSource, ev: Event) => any) | null;
|
|
3986
3990
|
/**
|
|
3987
|
-
* The **`readyState`** read-only property of the connection.
|
|
3991
|
+
* The **`readyState`** read-only property of the EventSource interface returns a number representing the state of the connection.
|
|
3988
3992
|
*
|
|
3989
3993
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/readyState)
|
|
3990
3994
|
*/
|
|
3991
3995
|
readonly readyState: number;
|
|
3992
3996
|
/**
|
|
3993
|
-
* The **`url`** read-only property of the URL of the source.
|
|
3997
|
+
* The **`url`** read-only property of the EventSource interface returns a string representing the URL of the source.
|
|
3994
3998
|
*
|
|
3995
3999
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/url)
|
|
3996
4000
|
*/
|
|
3997
4001
|
readonly url: string;
|
|
3998
4002
|
/**
|
|
3999
|
-
* The **`withCredentials`** read-only property of the the `EventSource` object was instantiated with CORS credentials set.
|
|
4003
|
+
* 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
4004
|
*
|
|
4001
4005
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/withCredentials)
|
|
4002
4006
|
*/
|
|
4003
4007
|
readonly withCredentials: boolean;
|
|
4004
4008
|
/**
|
|
4005
|
-
* The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the
|
|
4009
|
+
* The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the EventSource.readyState attribute to `2` (closed).
|
|
4006
4010
|
*
|
|
4007
4011
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/close)
|
|
4008
4012
|
*/
|
|
@@ -4108,31 +4112,31 @@ declare var ExtendableEvent: {
|
|
|
4108
4112
|
*/
|
|
4109
4113
|
interface ExtendableMessageEvent extends ExtendableEvent {
|
|
4110
4114
|
/**
|
|
4111
|
-
* The **`data`** read-only property of the data
|
|
4115
|
+
* The **`data`** read-only property of the ExtendableMessageEvent interface returns the event's data.
|
|
4112
4116
|
*
|
|
4113
4117
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/data)
|
|
4114
4118
|
*/
|
|
4115
4119
|
readonly data: any;
|
|
4116
4120
|
/**
|
|
4117
|
-
* The **`lastEventID`** read-only property of the
|
|
4121
|
+
* The **`lastEventID`** read-only property of the ExtendableMessageEvent interface represents, in server-sent events, the last event ID of the event source.
|
|
4118
4122
|
*
|
|
4119
4123
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/lastEventId)
|
|
4120
4124
|
*/
|
|
4121
4125
|
readonly lastEventId: string;
|
|
4122
4126
|
/**
|
|
4123
|
-
* The **`origin`** read-only property of the
|
|
4127
|
+
* The **`origin`** read-only property of the ExtendableMessageEvent interface returns the origin of the Client that sent the message.
|
|
4124
4128
|
*
|
|
4125
4129
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/origin)
|
|
4126
4130
|
*/
|
|
4127
4131
|
readonly origin: string;
|
|
4128
4132
|
/**
|
|
4129
|
-
* The **`ports`** read-only property of the channel (the channel the message is being sent through.)
|
|
4133
|
+
* 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
4134
|
*
|
|
4131
4135
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/ports)
|
|
4132
4136
|
*/
|
|
4133
4137
|
readonly ports: ReadonlyArray<MessagePort>;
|
|
4134
4138
|
/**
|
|
4135
|
-
* The **`source`** read-only property of the
|
|
4139
|
+
* The **`source`** read-only property of the ExtendableMessageEvent interface returns a reference to the Client object from which the message was sent.
|
|
4136
4140
|
*
|
|
4137
4141
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/source)
|
|
4138
4142
|
*/
|
|
@@ -4151,7 +4155,7 @@ declare var ExtendableMessageEvent: {
|
|
|
4151
4155
|
*/
|
|
4152
4156
|
interface FetchEvent extends ExtendableEvent {
|
|
4153
4157
|
/**
|
|
4154
|
-
* The **`clientId`** read-only property of the current service worker is controlling.
|
|
4158
|
+
* The **`clientId`** read-only property of the FetchEvent interface returns the id of the Client that the current service worker is controlling.
|
|
4155
4159
|
*
|
|
4156
4160
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/clientId)
|
|
4157
4161
|
*/
|
|
@@ -4169,19 +4173,19 @@ interface FetchEvent extends ExtendableEvent {
|
|
|
4169
4173
|
*/
|
|
4170
4174
|
readonly preloadResponse: Promise<any>;
|
|
4171
4175
|
/**
|
|
4172
|
-
* The **`request`** read-only property of the the event handler.
|
|
4176
|
+
* The **`request`** read-only property of the FetchEvent interface returns the Request that triggered the event handler.
|
|
4173
4177
|
*
|
|
4174
4178
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/request)
|
|
4175
4179
|
*/
|
|
4176
4180
|
readonly request: Request;
|
|
4177
4181
|
/**
|
|
4178
|
-
* The **`resultingClientId`** read-only property of the navigation.
|
|
4182
|
+
* 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
4183
|
*
|
|
4180
4184
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/resultingClientId)
|
|
4181
4185
|
*/
|
|
4182
4186
|
readonly resultingClientId: string;
|
|
4183
4187
|
/**
|
|
4184
|
-
* The **`respondWith()`** method of allows you to provide a promise for a Response yourself.
|
|
4188
|
+
* The **`respondWith()`** method of FetchEvent prevents the browser's default fetch handling, and allows you to provide a promise for a Response yourself.
|
|
4185
4189
|
*
|
|
4186
4190
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/respondWith)
|
|
4187
4191
|
*/
|
|
@@ -4315,7 +4319,7 @@ interface FileReader extends EventTarget {
|
|
|
4315
4319
|
*/
|
|
4316
4320
|
readAsBinaryString(blob: Blob): void;
|
|
4317
4321
|
/**
|
|
4318
|
-
* The **`readAsDataURL()`** method of the FileReader interface is used to read the contents of the specified
|
|
4322
|
+
* The **`readAsDataURL()`** method of the FileReader interface is used to read the contents of the specified Blob or File.
|
|
4319
4323
|
*
|
|
4320
4324
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsDataURL)
|
|
4321
4325
|
*/
|
|
@@ -4390,25 +4394,25 @@ declare var FileReaderSync: {
|
|
|
4390
4394
|
interface FileSystemDirectoryHandle extends FileSystemHandle {
|
|
4391
4395
|
readonly kind: "directory";
|
|
4392
4396
|
/**
|
|
4393
|
-
* The **`getDirectoryHandle()`** method of the within the directory handle on which the method is called.
|
|
4397
|
+
* 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
4398
|
*
|
|
4395
4399
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getDirectoryHandle)
|
|
4396
4400
|
*/
|
|
4397
4401
|
getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
|
|
4398
4402
|
/**
|
|
4399
|
-
* The **`getFileHandle()`** method of the directory the method is called.
|
|
4403
|
+
* 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
4404
|
*
|
|
4401
4405
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getFileHandle)
|
|
4402
4406
|
*/
|
|
4403
4407
|
getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
|
|
4404
4408
|
/**
|
|
4405
|
-
* The **`removeEntry()`** method of the directory handle contains a file or directory called the name specified.
|
|
4409
|
+
* 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
4410
|
*
|
|
4407
4411
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/removeEntry)
|
|
4408
4412
|
*/
|
|
4409
4413
|
removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
|
|
4410
4414
|
/**
|
|
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.
|
|
4415
|
+
* 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
4416
|
*
|
|
4413
4417
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/resolve)
|
|
4414
4418
|
*/
|
|
@@ -4429,7 +4433,7 @@ declare var FileSystemDirectoryHandle: {
|
|
|
4429
4433
|
interface FileSystemFileHandle extends FileSystemHandle {
|
|
4430
4434
|
readonly kind: "file";
|
|
4431
4435
|
/**
|
|
4432
|
-
* The **`createSyncAccessHandle()`** method of the that can be used to synchronously read from and write to a file.
|
|
4436
|
+
* 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
4437
|
*
|
|
4434
4438
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/createSyncAccessHandle)
|
|
4435
4439
|
*/
|
|
@@ -4441,7 +4445,7 @@ interface FileSystemFileHandle extends FileSystemHandle {
|
|
|
4441
4445
|
*/
|
|
4442
4446
|
createWritable(options?: FileSystemCreateWritableOptions): Promise<FileSystemWritableFileStream>;
|
|
4443
4447
|
/**
|
|
4444
|
-
* The **`getFile()`** method of the
|
|
4448
|
+
* 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
4449
|
*
|
|
4446
4450
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/getFile)
|
|
4447
4451
|
*/
|
|
@@ -4461,19 +4465,19 @@ declare var FileSystemFileHandle: {
|
|
|
4461
4465
|
*/
|
|
4462
4466
|
interface FileSystemHandle {
|
|
4463
4467
|
/**
|
|
4464
|
-
* The **`kind`** read-only property of the
|
|
4468
|
+
* The **`kind`** read-only property of the FileSystemHandle interface returns the type of entry.
|
|
4465
4469
|
*
|
|
4466
4470
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/kind)
|
|
4467
4471
|
*/
|
|
4468
4472
|
readonly kind: FileSystemHandleKind;
|
|
4469
4473
|
/**
|
|
4470
|
-
* The **`name`** read-only property of the handle.
|
|
4474
|
+
* The **`name`** read-only property of the FileSystemHandle interface returns the name of the entry represented by handle.
|
|
4471
4475
|
*
|
|
4472
4476
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/name)
|
|
4473
4477
|
*/
|
|
4474
4478
|
readonly name: string;
|
|
4475
4479
|
/**
|
|
4476
|
-
* The **`isSameEntry()`** method of the
|
|
4480
|
+
* The **`isSameEntry()`** method of the FileSystemHandle interface compares two FileSystemHandle to see if the associated entries (either a file or directory) match.
|
|
4477
4481
|
*
|
|
4478
4482
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/isSameEntry)
|
|
4479
4483
|
*/
|
|
@@ -4493,37 +4497,37 @@ declare var FileSystemHandle: {
|
|
|
4493
4497
|
*/
|
|
4494
4498
|
interface FileSystemSyncAccessHandle {
|
|
4495
4499
|
/**
|
|
4496
|
-
* The **`close()`** method of the
|
|
4500
|
+
* 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
4501
|
*
|
|
4498
4502
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/close)
|
|
4499
4503
|
*/
|
|
4500
4504
|
close(): void;
|
|
4501
4505
|
/**
|
|
4502
|
-
* The **`flush()`** method of the
|
|
4506
|
+
* 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
4507
|
*
|
|
4504
4508
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/flush)
|
|
4505
4509
|
*/
|
|
4506
4510
|
flush(): void;
|
|
4507
4511
|
/**
|
|
4508
|
-
* The **`getSize()`** method of the
|
|
4512
|
+
* The **`getSize()`** method of the FileSystemSyncAccessHandle interface returns the size of the file associated with the handle in bytes.
|
|
4509
4513
|
*
|
|
4510
4514
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/getSize)
|
|
4511
4515
|
*/
|
|
4512
4516
|
getSize(): number;
|
|
4513
4517
|
/**
|
|
4514
|
-
* The **`read()`** method of the
|
|
4518
|
+
* 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
4519
|
*
|
|
4516
4520
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/read)
|
|
4517
4521
|
*/
|
|
4518
4522
|
read(buffer: AllowSharedBufferSource, options?: FileSystemReadWriteOptions): number;
|
|
4519
4523
|
/**
|
|
4520
|
-
* The **`truncate()`** method of the
|
|
4524
|
+
* The **`truncate()`** method of the FileSystemSyncAccessHandle interface resizes the file associated with the handle to a specified number of bytes.
|
|
4521
4525
|
*
|
|
4522
4526
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/truncate)
|
|
4523
4527
|
*/
|
|
4524
4528
|
truncate(newSize: number): void;
|
|
4525
4529
|
/**
|
|
4526
|
-
* The **`write()`** method of the
|
|
4530
|
+
* 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
4531
|
*
|
|
4528
4532
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/write)
|
|
4529
4533
|
*/
|
|
@@ -4719,7 +4723,7 @@ declare var FontFaceSet: {
|
|
|
4719
4723
|
*/
|
|
4720
4724
|
interface FontFaceSetLoadEvent extends Event {
|
|
4721
4725
|
/**
|
|
4722
|
-
* The **`fontfaces`** read-only property of the
|
|
4726
|
+
* The **`fontfaces`** read-only property of the FontFaceSetLoadEvent interface returns an array of FontFace instances, each of which represents a single usable font.
|
|
4723
4727
|
*
|
|
4724
4728
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent/fontfaces)
|
|
4725
4729
|
*/
|
|
@@ -4798,13 +4802,38 @@ declare var FormData: {
|
|
|
4798
4802
|
*/
|
|
4799
4803
|
interface GPUError {
|
|
4800
4804
|
/**
|
|
4801
|
-
* The **`message`** read-only property of the
|
|
4805
|
+
* The **`message`** read-only property of the GPUError interface provides a human-readable message that explains why the error occurred.
|
|
4802
4806
|
*
|
|
4803
4807
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError/message)
|
|
4804
4808
|
*/
|
|
4805
4809
|
readonly message: string;
|
|
4806
4810
|
}
|
|
4807
4811
|
|
|
4812
|
+
declare var GPUError: {
|
|
4813
|
+
prototype: GPUError;
|
|
4814
|
+
new(): GPUError;
|
|
4815
|
+
};
|
|
4816
|
+
|
|
4817
|
+
/**
|
|
4818
|
+
* The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
|
|
4819
|
+
* Available only in secure contexts.
|
|
4820
|
+
*
|
|
4821
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
|
|
4822
|
+
*/
|
|
4823
|
+
interface GPUPipelineError extends DOMException {
|
|
4824
|
+
/**
|
|
4825
|
+
* The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
|
|
4826
|
+
*
|
|
4827
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
|
|
4828
|
+
*/
|
|
4829
|
+
readonly reason: GPUPipelineErrorReason;
|
|
4830
|
+
}
|
|
4831
|
+
|
|
4832
|
+
declare var GPUPipelineError: {
|
|
4833
|
+
prototype: GPUPipelineError;
|
|
4834
|
+
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
|
|
4835
|
+
};
|
|
4836
|
+
|
|
4808
4837
|
interface GenericTransformStream {
|
|
4809
4838
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */
|
|
4810
4839
|
readonly readable: ReadableStream;
|
|
@@ -4869,19 +4898,19 @@ declare var Headers: {
|
|
|
4869
4898
|
*/
|
|
4870
4899
|
interface IDBCursor {
|
|
4871
4900
|
/**
|
|
4872
|
-
* The **`direction`** read-only property of the direction of traversal of the cursor (set using
|
|
4901
|
+
* 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
4902
|
*
|
|
4874
4903
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/direction)
|
|
4875
4904
|
*/
|
|
4876
4905
|
readonly direction: IDBCursorDirection;
|
|
4877
4906
|
/**
|
|
4878
|
-
* The **`key`** read-only property of the position.
|
|
4907
|
+
* The **`key`** read-only property of the IDBCursor interface returns the key for the record at the cursor's position.
|
|
4879
4908
|
*
|
|
4880
4909
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/key)
|
|
4881
4910
|
*/
|
|
4882
4911
|
readonly key: IDBValidKey;
|
|
4883
4912
|
/**
|
|
4884
|
-
* The **`primaryKey`** read-only property of the
|
|
4913
|
+
* The **`primaryKey`** read-only property of the IDBCursor interface returns the cursor's current effective key.
|
|
4885
4914
|
*
|
|
4886
4915
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/primaryKey)
|
|
4887
4916
|
*/
|
|
@@ -4893,7 +4922,7 @@ interface IDBCursor {
|
|
|
4893
4922
|
*/
|
|
4894
4923
|
readonly request: IDBRequest;
|
|
4895
4924
|
/**
|
|
4896
|
-
* The **`source`** read-only property of the
|
|
4925
|
+
* The **`source`** read-only property of the IDBCursor interface returns the IDBObjectStore or IDBIndex that the cursor is iterating over.
|
|
4897
4926
|
*
|
|
4898
4927
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/source)
|
|
4899
4928
|
*/
|
|
@@ -4911,7 +4940,7 @@ interface IDBCursor {
|
|
|
4911
4940
|
*/
|
|
4912
4941
|
continue(key?: IDBValidKey): void;
|
|
4913
4942
|
/**
|
|
4914
|
-
* The **`continuePrimaryKey()`** method of the matches the key parameter as well as whose primary key matches the primary key parameter.
|
|
4943
|
+
* 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
4944
|
*
|
|
4916
4945
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/continuePrimaryKey)
|
|
4917
4946
|
*/
|
|
@@ -4942,7 +4971,7 @@ declare var IDBCursor: {
|
|
|
4942
4971
|
*/
|
|
4943
4972
|
interface IDBCursorWithValue extends IDBCursor {
|
|
4944
4973
|
/**
|
|
4945
|
-
* The **`value`** read-only property of the whatever that is.
|
|
4974
|
+
* The **`value`** read-only property of the IDBCursorWithValue interface returns the value of the current cursor, whatever that is.
|
|
4946
4975
|
*
|
|
4947
4976
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue/value)
|
|
4948
4977
|
*/
|
|
@@ -4974,7 +5003,7 @@ interface IDBDatabase extends EventTarget {
|
|
|
4974
5003
|
*/
|
|
4975
5004
|
readonly name: string;
|
|
4976
5005
|
/**
|
|
4977
|
-
* The **`objectStoreNames`** read-only property of the list of the names of the object stores currently in the connected database.
|
|
5006
|
+
* 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
5007
|
*
|
|
4979
5008
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
|
|
4980
5009
|
*/
|
|
@@ -4998,13 +5027,13 @@ interface IDBDatabase extends EventTarget {
|
|
|
4998
5027
|
*/
|
|
4999
5028
|
close(): void;
|
|
5000
5029
|
/**
|
|
5001
|
-
* The **`createObjectStore()`** method of the
|
|
5030
|
+
* The **`createObjectStore()`** method of the IDBDatabase interface creates and returns a new IDBObjectStore.
|
|
5002
5031
|
*
|
|
5003
5032
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/createObjectStore)
|
|
5004
5033
|
*/
|
|
5005
5034
|
createObjectStore(name: string, options?: IDBObjectStoreParameters): IDBObjectStore;
|
|
5006
5035
|
/**
|
|
5007
|
-
* The **`deleteObjectStore()`** method of the the connected database, along with any indexes that reference it.
|
|
5036
|
+
* 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
5037
|
*
|
|
5009
5038
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/deleteObjectStore)
|
|
5010
5039
|
*/
|
|
@@ -5045,7 +5074,7 @@ interface IDBFactory {
|
|
|
5045
5074
|
*/
|
|
5046
5075
|
databases(): Promise<IDBDatabaseInfo[]>;
|
|
5047
5076
|
/**
|
|
5048
|
-
* The **`deleteDatabase()`** method of the
|
|
5077
|
+
* The **`deleteDatabase()`** method of the IDBFactory interface requests the deletion of a database.
|
|
5049
5078
|
*
|
|
5050
5079
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/deleteDatabase)
|
|
5051
5080
|
*/
|
|
@@ -5076,7 +5105,7 @@ interface IDBIndex {
|
|
|
5076
5105
|
*/
|
|
5077
5106
|
readonly keyPath: string | string[];
|
|
5078
5107
|
/**
|
|
5079
|
-
* The **`multiEntry`** read-only property of the behaves when the result of evaluating the index's key path yields an array.
|
|
5108
|
+
* 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
5109
|
*
|
|
5081
5110
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/multiEntry)
|
|
5082
5111
|
*/
|
|
@@ -5106,7 +5135,7 @@ interface IDBIndex {
|
|
|
5106
5135
|
*/
|
|
5107
5136
|
count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
|
5108
5137
|
/**
|
|
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
|
|
5138
|
+
* 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
5139
|
*
|
|
5111
5140
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/get)
|
|
5112
5141
|
*/
|
|
@@ -5124,7 +5153,7 @@ interface IDBIndex {
|
|
|
5124
5153
|
*/
|
|
5125
5154
|
getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
5126
5155
|
/**
|
|
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
|
|
5156
|
+
* 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
5157
|
*
|
|
5129
5158
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getKey)
|
|
5130
5159
|
*/
|
|
@@ -5136,7 +5165,7 @@ interface IDBIndex {
|
|
|
5136
5165
|
*/
|
|
5137
5166
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
|
5138
5167
|
/**
|
|
5139
|
-
* The **`openKeyCursor()`** method of the a separate thread, creates a cursor over the specified key range, as arranged by this index.
|
|
5168
|
+
* 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
5169
|
*
|
|
5141
5170
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/openKeyCursor)
|
|
5142
5171
|
*/
|
|
@@ -5155,25 +5184,25 @@ declare var IDBIndex: {
|
|
|
5155
5184
|
*/
|
|
5156
5185
|
interface IDBKeyRange {
|
|
5157
5186
|
/**
|
|
5158
|
-
* The **`lower`** read-only property of the
|
|
5187
|
+
* The **`lower`** read-only property of the IDBKeyRange interface returns the lower bound of the key range.
|
|
5159
5188
|
*
|
|
5160
5189
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lower)
|
|
5161
5190
|
*/
|
|
5162
5191
|
readonly lower: any;
|
|
5163
5192
|
/**
|
|
5164
|
-
* The **`lowerOpen`** read-only property of the lower-bound value is included in the key range.
|
|
5193
|
+
* 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
5194
|
*
|
|
5166
5195
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerOpen)
|
|
5167
5196
|
*/
|
|
5168
5197
|
readonly lowerOpen: boolean;
|
|
5169
5198
|
/**
|
|
5170
|
-
* The **`upper`** read-only property of the
|
|
5199
|
+
* The **`upper`** read-only property of the IDBKeyRange interface returns the upper bound of the key range.
|
|
5171
5200
|
*
|
|
5172
5201
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upper)
|
|
5173
5202
|
*/
|
|
5174
5203
|
readonly upper: any;
|
|
5175
5204
|
/**
|
|
5176
|
-
* The **`upperOpen`** read-only property of the upper-bound value is included in the key range.
|
|
5205
|
+
* 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
5206
|
*
|
|
5178
5207
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperOpen)
|
|
5179
5208
|
*/
|
|
@@ -5196,7 +5225,7 @@ declare var IDBKeyRange: {
|
|
|
5196
5225
|
*/
|
|
5197
5226
|
bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;
|
|
5198
5227
|
/**
|
|
5199
|
-
* The **`lowerBound()`** static method of the
|
|
5228
|
+
* The **`lowerBound()`** static method of the IDBKeyRange interface creates a new key range with only a lower bound.
|
|
5200
5229
|
*
|
|
5201
5230
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerBound_static)
|
|
5202
5231
|
*/
|
|
@@ -5208,7 +5237,7 @@ declare var IDBKeyRange: {
|
|
|
5208
5237
|
*/
|
|
5209
5238
|
only(value: any): IDBKeyRange;
|
|
5210
5239
|
/**
|
|
5211
|
-
* The **`upperBound()`** static method of the
|
|
5240
|
+
* The **`upperBound()`** static method of the IDBKeyRange interface creates a new upper-bound key range.
|
|
5212
5241
|
*
|
|
5213
5242
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperBound_static)
|
|
5214
5243
|
*/
|
|
@@ -5222,19 +5251,19 @@ declare var IDBKeyRange: {
|
|
|
5222
5251
|
*/
|
|
5223
5252
|
interface IDBObjectStore {
|
|
5224
5253
|
/**
|
|
5225
|
-
* The **`autoIncrement`** read-only property of the for this object store.
|
|
5254
|
+
* The **`autoIncrement`** read-only property of the IDBObjectStore interface returns the value of the auto increment flag for this object store.
|
|
5226
5255
|
*
|
|
5227
5256
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/autoIncrement)
|
|
5228
5257
|
*/
|
|
5229
5258
|
readonly autoIncrement: boolean;
|
|
5230
5259
|
/**
|
|
5231
|
-
* The **`indexNames`** read-only property of the in this object store.
|
|
5260
|
+
* The **`indexNames`** read-only property of the IDBObjectStore interface returns a list of the names of indexes on objects in this object store.
|
|
5232
5261
|
*
|
|
5233
5262
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/indexNames)
|
|
5234
5263
|
*/
|
|
5235
5264
|
readonly indexNames: DOMStringList;
|
|
5236
5265
|
/**
|
|
5237
|
-
* The **`keyPath`** read-only property of the
|
|
5266
|
+
* The **`keyPath`** read-only property of the IDBObjectStore interface returns the key path of this object store.
|
|
5238
5267
|
*
|
|
5239
5268
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
|
|
5240
5269
|
*/
|
|
@@ -5246,7 +5275,7 @@ interface IDBObjectStore {
|
|
|
5246
5275
|
*/
|
|
5247
5276
|
name: string;
|
|
5248
5277
|
/**
|
|
5249
|
-
* The **`transaction`** read-only property of the object store belongs.
|
|
5278
|
+
* The **`transaction`** read-only property of the IDBObjectStore interface returns the transaction object to which this object store belongs.
|
|
5250
5279
|
*
|
|
5251
5280
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/transaction)
|
|
5252
5281
|
*/
|
|
@@ -5264,25 +5293,25 @@ interface IDBObjectStore {
|
|
|
5264
5293
|
*/
|
|
5265
5294
|
clear(): IDBRequest<undefined>;
|
|
5266
5295
|
/**
|
|
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
|
|
5296
|
+
* 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
5297
|
*
|
|
5269
5298
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/count)
|
|
5270
5299
|
*/
|
|
5271
5300
|
count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
|
5272
5301
|
/**
|
|
5273
|
-
* The **`createIndex()`** method of the
|
|
5302
|
+
* The **`createIndex()`** method of the IDBObjectStore interface creates and returns a new IDBIndex object in the connected database.
|
|
5274
5303
|
*
|
|
5275
5304
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
|
5276
5305
|
*/
|
|
5277
5306
|
createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;
|
|
5278
5307
|
/**
|
|
5279
|
-
* The **`delete()`** method of the and, in a separate thread, deletes the specified record or records.
|
|
5308
|
+
* The **`delete()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, deletes the specified record or records.
|
|
5280
5309
|
*
|
|
5281
5310
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/delete)
|
|
5282
5311
|
*/
|
|
5283
5312
|
delete(query: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;
|
|
5284
5313
|
/**
|
|
5285
|
-
* The **`deleteIndex()`** method of the the connected database, used during a version upgrade.
|
|
5314
|
+
* The **`deleteIndex()`** method of the IDBObjectStore interface destroys the index with the specified name in the connected database, used during a version upgrade.
|
|
5286
5315
|
*
|
|
5287
5316
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/deleteIndex)
|
|
5288
5317
|
*/
|
|
@@ -5294,7 +5323,7 @@ interface IDBObjectStore {
|
|
|
5294
5323
|
*/
|
|
5295
5324
|
get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;
|
|
5296
5325
|
/**
|
|
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.
|
|
5326
|
+
* 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
5327
|
*
|
|
5299
5328
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)
|
|
5300
5329
|
*/
|
|
@@ -5306,7 +5335,7 @@ interface IDBObjectStore {
|
|
|
5306
5335
|
*/
|
|
5307
5336
|
getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
5308
5337
|
/**
|
|
5309
|
-
* The **`getKey()`** method of the and, in a separate thread, returns the key selected by the specified query.
|
|
5338
|
+
* 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
5339
|
*
|
|
5311
5340
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getKey)
|
|
5312
5341
|
*/
|
|
@@ -5318,13 +5347,13 @@ interface IDBObjectStore {
|
|
|
5318
5347
|
*/
|
|
5319
5348
|
index(name: string): IDBIndex;
|
|
5320
5349
|
/**
|
|
5321
|
-
* The **`openCursor()`** method of the and, in a separate thread, returns a new IDBCursorWithValue object.
|
|
5350
|
+
* The **`openCursor()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns a new IDBCursorWithValue object.
|
|
5322
5351
|
*
|
|
5323
5352
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openCursor)
|
|
5324
5353
|
*/
|
|
5325
5354
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
|
5326
5355
|
/**
|
|
5327
|
-
* The **`openKeyCursor()`** method of the whose result will be set to an IDBCursor that can be used to iterate through matching results.
|
|
5356
|
+
* 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
5357
|
*
|
|
5329
5358
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openKeyCursor)
|
|
5330
5359
|
*/
|
|
@@ -5380,7 +5409,7 @@ interface IDBRequestEventMap {
|
|
|
5380
5409
|
*/
|
|
5381
5410
|
interface IDBRequest<T = any> extends EventTarget {
|
|
5382
5411
|
/**
|
|
5383
|
-
* The **`error`** read-only property of the request.
|
|
5412
|
+
* The **`error`** read-only property of the IDBRequest interface returns the error in the event of an unsuccessful request.
|
|
5384
5413
|
*
|
|
5385
5414
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/error)
|
|
5386
5415
|
*/
|
|
@@ -5390,19 +5419,19 @@ interface IDBRequest<T = any> extends EventTarget {
|
|
|
5390
5419
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/success_event) */
|
|
5391
5420
|
onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;
|
|
5392
5421
|
/**
|
|
5393
|
-
* The **`readyState`** read-only property of the
|
|
5422
|
+
* The **`readyState`** read-only property of the IDBRequest interface returns the state of the request.
|
|
5394
5423
|
*
|
|
5395
5424
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/readyState)
|
|
5396
5425
|
*/
|
|
5397
5426
|
readonly readyState: IDBRequestReadyState;
|
|
5398
5427
|
/**
|
|
5399
|
-
* The **`result`** read-only property of the
|
|
5428
|
+
* The **`result`** read-only property of the IDBRequest interface returns the result of the request.
|
|
5400
5429
|
*
|
|
5401
5430
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/result)
|
|
5402
5431
|
*/
|
|
5403
5432
|
readonly result: T;
|
|
5404
5433
|
/**
|
|
5405
|
-
* The **`source`** read-only property of the Index or an object store.
|
|
5434
|
+
* The **`source`** read-only property of the IDBRequest interface returns the source of the request, such as an Index or an object store.
|
|
5406
5435
|
*
|
|
5407
5436
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/source)
|
|
5408
5437
|
*/
|
|
@@ -5455,13 +5484,13 @@ interface IDBTransaction extends EventTarget {
|
|
|
5455
5484
|
*/
|
|
5456
5485
|
readonly error: DOMException | null;
|
|
5457
5486
|
/**
|
|
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`.
|
|
5487
|
+
* 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
5488
|
*
|
|
5460
5489
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/mode)
|
|
5461
5490
|
*/
|
|
5462
5491
|
readonly mode: IDBTransactionMode;
|
|
5463
5492
|
/**
|
|
5464
|
-
* The **`objectStoreNames`** read-only property of the of IDBObjectStore objects.
|
|
5493
|
+
* The **`objectStoreNames`** read-only property of the IDBTransaction interface returns a DOMStringList of names of IDBObjectStore objects.
|
|
5465
5494
|
*
|
|
5466
5495
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames)
|
|
5467
5496
|
*/
|
|
@@ -5485,7 +5514,7 @@ interface IDBTransaction extends EventTarget {
|
|
|
5485
5514
|
*/
|
|
5486
5515
|
commit(): void;
|
|
5487
5516
|
/**
|
|
5488
|
-
* The **`objectStore()`** method of the added to the scope of this transaction.
|
|
5517
|
+
* The **`objectStore()`** method of the IDBTransaction interface returns an object store that has already been added to the scope of this transaction.
|
|
5489
5518
|
*
|
|
5490
5519
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStore)
|
|
5491
5520
|
*/
|
|
@@ -5508,13 +5537,13 @@ declare var IDBTransaction: {
|
|
|
5508
5537
|
*/
|
|
5509
5538
|
interface IDBVersionChangeEvent extends Event {
|
|
5510
5539
|
/**
|
|
5511
|
-
* The **`newVersion`** read-only property of the database.
|
|
5540
|
+
* The **`newVersion`** read-only property of the IDBVersionChangeEvent interface returns the new version number of the database.
|
|
5512
5541
|
*
|
|
5513
5542
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/newVersion)
|
|
5514
5543
|
*/
|
|
5515
5544
|
readonly newVersion: number | null;
|
|
5516
5545
|
/**
|
|
5517
|
-
* The **`oldVersion`** read-only property of the database.
|
|
5546
|
+
* The **`oldVersion`** read-only property of the IDBVersionChangeEvent interface returns the old version number of the database.
|
|
5518
5547
|
*
|
|
5519
5548
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/oldVersion)
|
|
5520
5549
|
*/
|
|
@@ -5589,7 +5618,7 @@ interface ImageData {
|
|
|
5589
5618
|
*/
|
|
5590
5619
|
readonly colorSpace: PredefinedColorSpace;
|
|
5591
5620
|
/**
|
|
5592
|
-
* The readonly **`ImageData.data`** property returns a pixel data.
|
|
5621
|
+
* The readonly **`ImageData.data`** property returns a Uint8ClampedArray or Float16Array that contains the ImageData object's pixel data.
|
|
5593
5622
|
*
|
|
5594
5623
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
|
|
5595
5624
|
*/
|
|
@@ -5779,7 +5808,7 @@ interface Lock {
|
|
|
5779
5808
|
*/
|
|
5780
5809
|
readonly mode: LockMode;
|
|
5781
5810
|
/**
|
|
5782
|
-
* The **`name`** read-only property of the Lock interface returns the _name_ passed to
|
|
5811
|
+
* The **`name`** read-only property of the Lock interface returns the _name_ passed to LockManager.request selected when the lock was requested.
|
|
5783
5812
|
*
|
|
5784
5813
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Lock/name)
|
|
5785
5814
|
*/
|
|
@@ -5882,13 +5911,13 @@ declare var MediaStreamTrackProcessor: {
|
|
|
5882
5911
|
*/
|
|
5883
5912
|
interface MessageChannel {
|
|
5884
5913
|
/**
|
|
5885
|
-
* The **`port1`** read-only property of the the port attached to the context that originated the channel.
|
|
5914
|
+
* 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
5915
|
*
|
|
5887
5916
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port1)
|
|
5888
5917
|
*/
|
|
5889
5918
|
readonly port1: MessagePort;
|
|
5890
5919
|
/**
|
|
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.
|
|
5920
|
+
* 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
5921
|
*
|
|
5893
5922
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port2)
|
|
5894
5923
|
*/
|
|
@@ -5907,31 +5936,31 @@ declare var MessageChannel: {
|
|
|
5907
5936
|
*/
|
|
5908
5937
|
interface MessageEvent<T = any> extends Event {
|
|
5909
5938
|
/**
|
|
5910
|
-
* The **`data`** read-only property of the
|
|
5939
|
+
* The **`data`** read-only property of the MessageEvent interface represents the data sent by the message emitter.
|
|
5911
5940
|
*
|
|
5912
5941
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/data)
|
|
5913
5942
|
*/
|
|
5914
5943
|
readonly data: T;
|
|
5915
5944
|
/**
|
|
5916
|
-
* The **`lastEventId`** read-only property of the unique ID for the event.
|
|
5945
|
+
* The **`lastEventId`** read-only property of the MessageEvent interface is a string representing a unique ID for the event.
|
|
5917
5946
|
*
|
|
5918
5947
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/lastEventId)
|
|
5919
5948
|
*/
|
|
5920
5949
|
readonly lastEventId: string;
|
|
5921
5950
|
/**
|
|
5922
|
-
* The **`origin`** read-only property of the origin of the message emitter.
|
|
5951
|
+
* The **`origin`** read-only property of the MessageEvent interface is a string representing the origin of the message emitter.
|
|
5923
5952
|
*
|
|
5924
5953
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/origin)
|
|
5925
5954
|
*/
|
|
5926
5955
|
readonly origin: string;
|
|
5927
5956
|
/**
|
|
5928
|
-
* The **`ports`** read-only property of the containing all MessagePort objects sent with the message, in order.
|
|
5957
|
+
* 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
5958
|
*
|
|
5930
5959
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/ports)
|
|
5931
5960
|
*/
|
|
5932
5961
|
readonly ports: ReadonlyArray<MessagePort>;
|
|
5933
5962
|
/**
|
|
5934
|
-
* The **`source`** read-only property of the
|
|
5963
|
+
* 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
5964
|
*
|
|
5936
5965
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
|
|
5937
5966
|
*/
|
|
@@ -5979,7 +6008,7 @@ interface MessagePort extends EventTarget, MessageEventTarget<MessagePort> {
|
|
|
5979
6008
|
*/
|
|
5980
6009
|
close(): void;
|
|
5981
6010
|
/**
|
|
5982
|
-
* The **`postMessage()`** method of the transfers ownership of objects to other browsing contexts.
|
|
6011
|
+
* The **`postMessage()`** method of the MessagePort interface sends a message from the port, and optionally, transfers ownership of objects to other browsing contexts.
|
|
5983
6012
|
*
|
|
5984
6013
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage)
|
|
5985
6014
|
*/
|
|
@@ -6126,13 +6155,13 @@ interface NotificationEventMap {
|
|
|
6126
6155
|
*/
|
|
6127
6156
|
interface Notification extends EventTarget {
|
|
6128
6157
|
/**
|
|
6129
|
-
* The **`body`** read-only property of the specified in the `body` option of the
|
|
6158
|
+
* 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
6159
|
*
|
|
6131
6160
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/body)
|
|
6132
6161
|
*/
|
|
6133
6162
|
readonly body: string;
|
|
6134
6163
|
/**
|
|
6135
|
-
* The **`data`** read-only property of the
|
|
6164
|
+
* 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
6165
|
*
|
|
6137
6166
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/data)
|
|
6138
6167
|
*/
|
|
@@ -6144,13 +6173,13 @@ interface Notification extends EventTarget {
|
|
|
6144
6173
|
*/
|
|
6145
6174
|
readonly dir: NotificationDirection;
|
|
6146
6175
|
/**
|
|
6147
|
-
* The **`icon`** read-only property of the part of the notification, as specified in the `icon` option of the
|
|
6176
|
+
* 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
6177
|
*
|
|
6149
6178
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/icon)
|
|
6150
6179
|
*/
|
|
6151
6180
|
readonly icon: string;
|
|
6152
6181
|
/**
|
|
6153
|
-
* The **`lang`** read-only property of the
|
|
6182
|
+
* 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
6183
|
*
|
|
6155
6184
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/lang)
|
|
6156
6185
|
*/
|
|
@@ -6170,19 +6199,19 @@ interface Notification extends EventTarget {
|
|
|
6170
6199
|
*/
|
|
6171
6200
|
readonly requireInteraction: boolean;
|
|
6172
6201
|
/**
|
|
6173
|
-
* The **`silent`** read-only property of the silent, i.e., no sounds or vibrations should be issued regardless of the device settings.
|
|
6202
|
+
* 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
6203
|
*
|
|
6175
6204
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/silent)
|
|
6176
6205
|
*/
|
|
6177
6206
|
readonly silent: boolean | null;
|
|
6178
6207
|
/**
|
|
6179
|
-
* The **`tag`** read-only property of the
|
|
6208
|
+
* 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
6209
|
*
|
|
6181
6210
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/tag)
|
|
6182
6211
|
*/
|
|
6183
6212
|
readonly tag: string;
|
|
6184
6213
|
/**
|
|
6185
|
-
* The **`title`** read-only property of the specified in the `title` parameter of the
|
|
6214
|
+
* 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
6215
|
*
|
|
6187
6216
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/title)
|
|
6188
6217
|
*/
|
|
@@ -6356,13 +6385,13 @@ interface OES_vertex_array_object {
|
|
|
6356
6385
|
*/
|
|
6357
6386
|
bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
|
|
6358
6387
|
/**
|
|
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.
|
|
6388
|
+
* 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
6389
|
*
|
|
6361
6390
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/createVertexArrayOES)
|
|
6362
6391
|
*/
|
|
6363
6392
|
createVertexArrayOES(): WebGLVertexArrayObjectOES;
|
|
6364
6393
|
/**
|
|
6365
|
-
* The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given
|
|
6394
|
+
* The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given WebGLVertexArrayObject object.
|
|
6366
6395
|
*
|
|
6367
6396
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES)
|
|
6368
6397
|
*/
|
|
@@ -6847,7 +6876,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
6847
6876
|
*/
|
|
6848
6877
|
readonly transferSize: number;
|
|
6849
6878
|
/**
|
|
6850
|
-
* The **`workerStart`** read-only property of the PerformanceResourceTiming interface returns a
|
|
6879
|
+
* 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
6880
|
*
|
|
6852
6881
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/workerStart)
|
|
6853
6882
|
*/
|
|
@@ -6921,7 +6950,7 @@ interface PermissionStatus extends EventTarget {
|
|
|
6921
6950
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/change_event) */
|
|
6922
6951
|
onchange: ((this: PermissionStatus, ev: Event) => any) | null;
|
|
6923
6952
|
/**
|
|
6924
|
-
* The **`state`** read-only property of the
|
|
6953
|
+
* The **`state`** read-only property of the PermissionStatus interface returns the state of a requested permission.
|
|
6925
6954
|
*
|
|
6926
6955
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/state)
|
|
6927
6956
|
*/
|
|
@@ -6938,7 +6967,7 @@ declare var PermissionStatus: {
|
|
|
6938
6967
|
};
|
|
6939
6968
|
|
|
6940
6969
|
/**
|
|
6941
|
-
* The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions
|
|
6970
|
+
* The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions
|
|
6942
6971
|
*
|
|
6943
6972
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions)
|
|
6944
6973
|
*/
|
|
@@ -6963,7 +6992,7 @@ declare var Permissions: {
|
|
|
6963
6992
|
*/
|
|
6964
6993
|
interface ProgressEvent<T extends EventTarget = EventTarget> extends Event {
|
|
6965
6994
|
/**
|
|
6966
|
-
* The **`ProgressEvent.lengthComputable`** read-only property is a boolean flag indicating if the resource concerned by the
|
|
6995
|
+
* 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
6996
|
*
|
|
6968
6997
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/lengthComputable)
|
|
6969
6998
|
*/
|
|
@@ -6995,7 +7024,7 @@ declare var ProgressEvent: {
|
|
|
6995
7024
|
*/
|
|
6996
7025
|
interface PromiseRejectionEvent extends Event {
|
|
6997
7026
|
/**
|
|
6998
|
-
* The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript rejected.
|
|
7027
|
+
* The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript Promise which was rejected.
|
|
6999
7028
|
*
|
|
7000
7029
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise)
|
|
7001
7030
|
*/
|
|
@@ -7047,7 +7076,7 @@ interface PushManager {
|
|
|
7047
7076
|
*/
|
|
7048
7077
|
getSubscription(): Promise<PushSubscription | null>;
|
|
7049
7078
|
/**
|
|
7050
|
-
* The **`permissionState()`** method of the string indicating the permission state of the push manager.
|
|
7079
|
+
* The **`permissionState()`** method of the PushManager interface returns a Promise that resolves to a string indicating the permission state of the push manager.
|
|
7051
7080
|
*
|
|
7052
7081
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/permissionState)
|
|
7053
7082
|
*/
|
|
@@ -7123,13 +7152,13 @@ declare var PushMessageData: {
|
|
|
7123
7152
|
*/
|
|
7124
7153
|
interface PushSubscription {
|
|
7125
7154
|
/**
|
|
7126
|
-
* The **`endpoint`** read-only property of the the endpoint associated with the push subscription.
|
|
7155
|
+
* The **`endpoint`** read-only property of the PushSubscription interface returns a string containing the endpoint associated with the push subscription.
|
|
7127
7156
|
*
|
|
7128
7157
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/endpoint)
|
|
7129
7158
|
*/
|
|
7130
7159
|
readonly endpoint: string;
|
|
7131
7160
|
/**
|
|
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.
|
|
7161
|
+
* 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
7162
|
*
|
|
7134
7163
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/expirationTime)
|
|
7135
7164
|
*/
|
|
@@ -7218,7 +7247,7 @@ interface RTCDataChannelEventMap {
|
|
|
7218
7247
|
*/
|
|
7219
7248
|
interface RTCDataChannel extends EventTarget {
|
|
7220
7249
|
/**
|
|
7221
|
-
* The property **`binaryType`** on the the type of object which should be used to represent binary data received on the RTCDataChannel.
|
|
7250
|
+
* 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
7251
|
*
|
|
7223
7252
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/binaryType)
|
|
7224
7253
|
*/
|
|
@@ -7260,7 +7289,7 @@ interface RTCDataChannel extends EventTarget {
|
|
|
7260
7289
|
*/
|
|
7261
7290
|
readonly maxRetransmits: number | null;
|
|
7262
7291
|
/**
|
|
7263
|
-
* The read-only `RTCDataChannel` property **`negotiated`** indicates whether the (`true`) or by the WebRTC layer (`false`).
|
|
7292
|
+
* 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
7293
|
*
|
|
7265
7294
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/negotiated)
|
|
7266
7295
|
*/
|
|
@@ -7296,13 +7325,13 @@ interface RTCDataChannel extends EventTarget {
|
|
|
7296
7325
|
*/
|
|
7297
7326
|
readonly readyState: RTCDataChannelState;
|
|
7298
7327
|
/**
|
|
7299
|
-
* The **`RTCDataChannel.close()`** method closes the
|
|
7328
|
+
* The **`RTCDataChannel.close()`** method closes the RTCDataChannel.
|
|
7300
7329
|
*
|
|
7301
7330
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/close)
|
|
7302
7331
|
*/
|
|
7303
7332
|
close(): void;
|
|
7304
7333
|
/**
|
|
7305
|
-
* The **`send()`** method of the remote peer.
|
|
7334
|
+
* The **`send()`** method of the RTCDataChannel interface sends data across the data channel to the remote peer.
|
|
7306
7335
|
*
|
|
7307
7336
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/send)
|
|
7308
7337
|
*/
|
|
@@ -7525,7 +7554,7 @@ interface ReadableStream<R = any> {
|
|
|
7525
7554
|
*/
|
|
7526
7555
|
pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
|
|
7527
7556
|
/**
|
|
7528
|
-
* The **`tee()`** method of the two-element array containing the two resulting branches as new ReadableStream instances.
|
|
7557
|
+
* 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
7558
|
*
|
|
7530
7559
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/tee)
|
|
7531
7560
|
*/
|
|
@@ -7602,7 +7631,7 @@ declare var ReadableStreamBYOBRequest: {
|
|
|
7602
7631
|
*/
|
|
7603
7632
|
interface ReadableStreamDefaultController<R = any> {
|
|
7604
7633
|
/**
|
|
7605
|
-
* The **`desiredSize`** read-only property of the required to fill the stream's internal queue.
|
|
7634
|
+
* The **`desiredSize`** read-only property of the ReadableStreamDefaultController interface returns the desired size required to fill the stream's internal queue.
|
|
7606
7635
|
*
|
|
7607
7636
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize)
|
|
7608
7637
|
*/
|
|
@@ -7614,13 +7643,13 @@ interface ReadableStreamDefaultController<R = any> {
|
|
|
7614
7643
|
*/
|
|
7615
7644
|
close(): void;
|
|
7616
7645
|
/**
|
|
7617
|
-
* The **`enqueue()`** method of the
|
|
7646
|
+
* The **`enqueue()`** method of the ReadableStreamDefaultController interface enqueues a given chunk in the associated stream.
|
|
7618
7647
|
*
|
|
7619
7648
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
|
|
7620
7649
|
*/
|
|
7621
7650
|
enqueue(chunk?: R): void;
|
|
7622
7651
|
/**
|
|
7623
|
-
* The **`error()`** method of the with the associated stream to error.
|
|
7652
|
+
* The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
7624
7653
|
*
|
|
7625
7654
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error)
|
|
7626
7655
|
*/
|
|
@@ -7671,19 +7700,19 @@ interface ReadableStreamGenericReader {
|
|
|
7671
7700
|
*/
|
|
7672
7701
|
interface ReportingObserver {
|
|
7673
7702
|
/**
|
|
7674
|
-
* The **`disconnect()`** method of the previously started observing from collecting reports.
|
|
7703
|
+
* The **`disconnect()`** method of the ReportingObserver interface stops a reporting observer that had previously started observing from collecting reports.
|
|
7675
7704
|
*
|
|
7676
7705
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/disconnect)
|
|
7677
7706
|
*/
|
|
7678
7707
|
disconnect(): void;
|
|
7679
7708
|
/**
|
|
7680
|
-
* The **`observe()`** method of the collecting reports in its report queue.
|
|
7709
|
+
* The **`observe()`** method of the ReportingObserver interface instructs a reporting observer to start collecting reports in its report queue.
|
|
7681
7710
|
*
|
|
7682
7711
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/observe)
|
|
7683
7712
|
*/
|
|
7684
7713
|
observe(): void;
|
|
7685
7714
|
/**
|
|
7686
|
-
* The **`takeRecords()`** method of the in the observer's report queue, and empties the queue.
|
|
7715
|
+
* 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
7716
|
*
|
|
7688
7717
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/takeRecords)
|
|
7689
7718
|
*/
|
|
@@ -7720,7 +7749,7 @@ interface Request extends Body {
|
|
|
7720
7749
|
*/
|
|
7721
7750
|
readonly destination: RequestDestination;
|
|
7722
7751
|
/**
|
|
7723
|
-
* The **`headers`** read-only property of the with the request.
|
|
7752
|
+
* The **`headers`** read-only property of the Request interface contains the Headers object associated with the request.
|
|
7724
7753
|
*
|
|
7725
7754
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/headers)
|
|
7726
7755
|
*/
|
|
@@ -7738,7 +7767,7 @@ interface Request extends Body {
|
|
|
7738
7767
|
*/
|
|
7739
7768
|
readonly keepalive: boolean;
|
|
7740
7769
|
/**
|
|
7741
|
-
* The **`method`** read-only property of the
|
|
7770
|
+
* The **`method`** read-only property of the Request interface contains the request's method (`GET`, `POST`, etc.)
|
|
7742
7771
|
*
|
|
7743
7772
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/method)
|
|
7744
7773
|
*/
|
|
@@ -7756,13 +7785,13 @@ interface Request extends Body {
|
|
|
7756
7785
|
*/
|
|
7757
7786
|
readonly redirect: RequestRedirect;
|
|
7758
7787
|
/**
|
|
7759
|
-
* The **`referrer`** read-only property of the Request.
|
|
7788
|
+
* The **`referrer`** read-only property of the Request interface is set by the user agent to be the referrer of the Request.
|
|
7760
7789
|
*
|
|
7761
7790
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrer)
|
|
7762
7791
|
*/
|
|
7763
7792
|
readonly referrer: string;
|
|
7764
7793
|
/**
|
|
7765
|
-
* The **`referrerPolicy`** read-only property of the referrer information, sent in the Referer header, should be included with the request.
|
|
7794
|
+
* 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
7795
|
*
|
|
7767
7796
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrerPolicy)
|
|
7768
7797
|
*/
|
|
@@ -7799,7 +7828,7 @@ declare var Request: {
|
|
|
7799
7828
|
*/
|
|
7800
7829
|
interface Response extends Body {
|
|
7801
7830
|
/**
|
|
7802
|
-
* The **`headers`** read-only property of the with the response.
|
|
7831
|
+
* The **`headers`** read-only property of the Response interface contains the Headers object associated with the response.
|
|
7803
7832
|
*
|
|
7804
7833
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/headers)
|
|
7805
7834
|
*/
|
|
@@ -7976,7 +8005,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker {
|
|
|
7976
8005
|
*/
|
|
7977
8006
|
readonly scriptURL: string;
|
|
7978
8007
|
/**
|
|
7979
|
-
* The **`state`** read-only property of the of the service worker.
|
|
8008
|
+
* The **`state`** read-only property of the ServiceWorker interface returns a string representing the current state of the service worker.
|
|
7980
8009
|
*
|
|
7981
8010
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/state)
|
|
7982
8011
|
*/
|
|
@@ -8031,13 +8060,13 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
|
8031
8060
|
*/
|
|
8032
8061
|
readonly ready: Promise<ServiceWorkerRegistration>;
|
|
8033
8062
|
/**
|
|
8034
|
-
* The **`getRegistration()`** method of the client URL.
|
|
8063
|
+
* The **`getRegistration()`** method of the ServiceWorkerContainer interface gets a ServiceWorkerRegistration object whose scope URL matches the provided client URL.
|
|
8035
8064
|
*
|
|
8036
8065
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistration)
|
|
8037
8066
|
*/
|
|
8038
8067
|
getRegistration(clientURL?: string | URL): Promise<ServiceWorkerRegistration | undefined>;
|
|
8039
8068
|
/**
|
|
8040
|
-
* The **`getRegistrations()`** method of the `ServiceWorkerContainer`, in an array.
|
|
8069
|
+
* The **`getRegistrations()`** method of the ServiceWorkerContainer interface gets all ServiceWorkerRegistrations associated with a `ServiceWorkerContainer`, in an array.
|
|
8041
8070
|
*
|
|
8042
8071
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistrations)
|
|
8043
8072
|
*/
|
|
@@ -8086,7 +8115,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
|
|
8086
8115
|
*/
|
|
8087
8116
|
interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
8088
8117
|
/**
|
|
8089
|
-
* The **`clients`** read-only property of the object associated with the service worker.
|
|
8118
|
+
* The **`clients`** read-only property of the ServiceWorkerGlobalScope interface returns the `Clients` object associated with the service worker.
|
|
8090
8119
|
*
|
|
8091
8120
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/clients)
|
|
8092
8121
|
*/
|
|
@@ -8158,7 +8187,7 @@ interface ServiceWorkerRegistrationEventMap {
|
|
|
8158
8187
|
*/
|
|
8159
8188
|
interface ServiceWorkerRegistration extends EventTarget {
|
|
8160
8189
|
/**
|
|
8161
|
-
* The **`active`** read-only property of the
|
|
8190
|
+
* The **`active`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `activating` or `activated`.
|
|
8162
8191
|
*
|
|
8163
8192
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)
|
|
8164
8193
|
*/
|
|
@@ -8170,7 +8199,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
8170
8199
|
*/
|
|
8171
8200
|
readonly cookies: CookieStoreManager;
|
|
8172
8201
|
/**
|
|
8173
|
-
* The **`installing`** read-only property of the
|
|
8202
|
+
* The **`installing`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `installing`.
|
|
8174
8203
|
*
|
|
8175
8204
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/installing)
|
|
8176
8205
|
*/
|
|
@@ -8184,7 +8213,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
8184
8213
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updatefound_event) */
|
|
8185
8214
|
onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;
|
|
8186
8215
|
/**
|
|
8187
|
-
* The **`pushManager`** read-only property of the support for subscribing, getting an active subscription, and accessing push permission status.
|
|
8216
|
+
* 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
8217
|
*
|
|
8189
8218
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/pushManager)
|
|
8190
8219
|
*/
|
|
@@ -8202,7 +8231,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
8202
8231
|
*/
|
|
8203
8232
|
readonly updateViaCache: ServiceWorkerUpdateViaCache;
|
|
8204
8233
|
/**
|
|
8205
|
-
* The **`waiting`** read-only property of the
|
|
8234
|
+
* The **`waiting`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `installed`.
|
|
8206
8235
|
*
|
|
8207
8236
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/waiting)
|
|
8208
8237
|
*/
|
|
@@ -8214,19 +8243,19 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
8214
8243
|
*/
|
|
8215
8244
|
getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;
|
|
8216
8245
|
/**
|
|
8217
|
-
* The **`showNotification()`** method of the service worker.
|
|
8246
|
+
* The **`showNotification()`** method of the ServiceWorkerRegistration interface creates a notification on an active service worker.
|
|
8218
8247
|
*
|
|
8219
8248
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/showNotification)
|
|
8220
8249
|
*/
|
|
8221
8250
|
showNotification(title: string, options?: NotificationOptions): Promise<void>;
|
|
8222
8251
|
/**
|
|
8223
|
-
* The **`unregister()`** method of the registration and returns a Promise.
|
|
8252
|
+
* The **`unregister()`** method of the ServiceWorkerRegistration interface unregisters the service worker registration and returns a Promise.
|
|
8224
8253
|
*
|
|
8225
8254
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister)
|
|
8226
8255
|
*/
|
|
8227
8256
|
unregister(): Promise<boolean>;
|
|
8228
8257
|
/**
|
|
8229
|
-
* The **`update()`** method of the worker.
|
|
8258
|
+
* The **`update()`** method of the ServiceWorkerRegistration interface attempts to update the service worker.
|
|
8230
8259
|
*
|
|
8231
8260
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update)
|
|
8232
8261
|
*/
|
|
@@ -8253,7 +8282,7 @@ interface SharedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
|
|
8253
8282
|
*/
|
|
8254
8283
|
interface SharedWorkerGlobalScope extends WorkerGlobalScope {
|
|
8255
8284
|
/**
|
|
8256
|
-
* The **`name`** read-only property of the
|
|
8285
|
+
* The **`name`** read-only property of the SharedWorkerGlobalScope interface returns the name that the SharedWorker was (optionally) given when it was created.
|
|
8257
8286
|
*
|
|
8258
8287
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorkerGlobalScope/name)
|
|
8259
8288
|
*/
|
|
@@ -8316,25 +8345,25 @@ declare var StorageManager: {
|
|
|
8316
8345
|
*/
|
|
8317
8346
|
interface StylePropertyMapReadOnly {
|
|
8318
8347
|
/**
|
|
8319
|
-
* The **`size`** read-only property of the containing the size of the `StylePropertyMapReadOnly` object.
|
|
8348
|
+
* The **`size`** read-only property of the StylePropertyMapReadOnly interface returns an unsigned long integer containing the size of the `StylePropertyMapReadOnly` object.
|
|
8320
8349
|
*
|
|
8321
8350
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/size)
|
|
8322
8351
|
*/
|
|
8323
8352
|
readonly size: number;
|
|
8324
8353
|
/**
|
|
8325
|
-
* The **`get()`** method of the object for the first value of the specified property.
|
|
8354
|
+
* The **`get()`** method of the StylePropertyMapReadOnly interface returns a CSSStyleValue object for the first value of the specified property.
|
|
8326
8355
|
*
|
|
8327
8356
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/get)
|
|
8328
8357
|
*/
|
|
8329
8358
|
get(property: string): undefined | CSSStyleValue;
|
|
8330
8359
|
/**
|
|
8331
|
-
* The **`getAll()`** method of the
|
|
8360
|
+
* The **`getAll()`** method of the StylePropertyMapReadOnly interface returns an array of CSSStyleValue objects containing the values for the provided property.
|
|
8332
8361
|
*
|
|
8333
8362
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/getAll)
|
|
8334
8363
|
*/
|
|
8335
8364
|
getAll(property: string): CSSStyleValue[];
|
|
8336
8365
|
/**
|
|
8337
|
-
* The **`has()`** method of the property is in the `StylePropertyMapReadOnly` object.
|
|
8366
|
+
* The **`has()`** method of the StylePropertyMapReadOnly interface indicates whether the specified property is in the `StylePropertyMapReadOnly` object.
|
|
8338
8367
|
*
|
|
8339
8368
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/has)
|
|
8340
8369
|
*/
|
|
@@ -8361,7 +8390,7 @@ interface SubtleCrypto {
|
|
|
8361
8390
|
*/
|
|
8362
8391
|
decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;
|
|
8363
8392
|
/**
|
|
8364
|
-
* The **`deriveBits()`** method of the key.
|
|
8393
|
+
* The **`deriveBits()`** method of the SubtleCrypto interface can be used to derive an array of bits from a base key.
|
|
8365
8394
|
*
|
|
8366
8395
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits)
|
|
8367
8396
|
*/
|
|
@@ -8758,7 +8787,7 @@ interface URL {
|
|
|
8758
8787
|
*/
|
|
8759
8788
|
search: string;
|
|
8760
8789
|
/**
|
|
8761
|
-
* The **`searchParams`** read-only property of the access to the
|
|
8790
|
+
* 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
8791
|
*
|
|
8763
8792
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/searchParams)
|
|
8764
8793
|
*/
|
|
@@ -8770,7 +8799,7 @@ interface URL {
|
|
|
8770
8799
|
*/
|
|
8771
8800
|
username: string;
|
|
8772
8801
|
/**
|
|
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
|
|
8802
|
+
* 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
8803
|
*
|
|
8775
8804
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)
|
|
8776
8805
|
*/
|
|
@@ -8799,7 +8828,7 @@ declare var URL: {
|
|
|
8799
8828
|
*/
|
|
8800
8829
|
parse(url: string | URL, base?: string | URL): URL | null;
|
|
8801
8830
|
/**
|
|
8802
|
-
* The **`revokeObjectURL()`** static method of the URL interface releases an existing object URL which was previously created by calling
|
|
8831
|
+
* The **`revokeObjectURL()`** static method of the URL interface releases an existing object URL which was previously created by calling URL.createObjectURL_static.
|
|
8803
8832
|
*
|
|
8804
8833
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static)
|
|
8805
8834
|
*/
|
|
@@ -11786,7 +11815,7 @@ interface WebSocket extends EventTarget {
|
|
|
11786
11815
|
*/
|
|
11787
11816
|
readonly url: string;
|
|
11788
11817
|
/**
|
|
11789
|
-
* The **`WebSocket.close()`** method closes the
|
|
11818
|
+
* The **`WebSocket.close()`** method closes the WebSocket connection or connection attempt, if any.
|
|
11790
11819
|
*
|
|
11791
11820
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close)
|
|
11792
11821
|
*/
|
|
@@ -11989,25 +12018,25 @@ declare var WebTransportError: {
|
|
|
11989
12018
|
*/
|
|
11990
12019
|
interface WindowClient extends Client {
|
|
11991
12020
|
/**
|
|
11992
|
-
* The **`focused`** read-only property of the the current client has focus.
|
|
12021
|
+
* The **`focused`** read-only property of the WindowClient interface is a boolean value that indicates whether the current client has focus.
|
|
11993
12022
|
*
|
|
11994
12023
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/focused)
|
|
11995
12024
|
*/
|
|
11996
12025
|
readonly focused: boolean;
|
|
11997
12026
|
/**
|
|
11998
|
-
* The **`visibilityState`** read-only property of the
|
|
12027
|
+
* The **`visibilityState`** read-only property of the WindowClient interface indicates the visibility of the current client.
|
|
11999
12028
|
*
|
|
12000
12029
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/visibilityState)
|
|
12001
12030
|
*/
|
|
12002
12031
|
readonly visibilityState: DocumentVisibilityState;
|
|
12003
12032
|
/**
|
|
12004
|
-
* The **`focus()`** method of the WindowClient interface gives user input focus to the current client and returns a
|
|
12033
|
+
* 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
12034
|
*
|
|
12006
12035
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/focus)
|
|
12007
12036
|
*/
|
|
12008
12037
|
focus(): Promise<WindowClient>;
|
|
12009
12038
|
/**
|
|
12010
|
-
* The **`navigate()`** method of the WindowClient interface loads a specified URL into a controlled client page then returns a
|
|
12039
|
+
* 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
12040
|
*
|
|
12012
12041
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/navigate)
|
|
12013
12042
|
*/
|
|
@@ -12308,7 +12337,7 @@ interface WritableStreamDefaultController {
|
|
|
12308
12337
|
*/
|
|
12309
12338
|
readonly signal: AbortSignal;
|
|
12310
12339
|
/**
|
|
12311
|
-
* The **`error()`** method of the with the associated stream to error.
|
|
12340
|
+
* The **`error()`** method of the WritableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
|
12312
12341
|
*
|
|
12313
12342
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error)
|
|
12314
12343
|
*/
|
|
@@ -12327,43 +12356,43 @@ declare var WritableStreamDefaultController: {
|
|
|
12327
12356
|
*/
|
|
12328
12357
|
interface WritableStreamDefaultWriter<W = any> {
|
|
12329
12358
|
/**
|
|
12330
|
-
* The **`closed`** read-only property of the the stream errors or the writer's lock is released.
|
|
12359
|
+
* 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
12360
|
*
|
|
12332
12361
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed)
|
|
12333
12362
|
*/
|
|
12334
12363
|
readonly closed: Promise<void>;
|
|
12335
12364
|
/**
|
|
12336
|
-
* The **`desiredSize`** read-only property of the to fill the stream's internal queue.
|
|
12365
|
+
* The **`desiredSize`** read-only property of the WritableStreamDefaultWriter interface returns the desired size required to fill the stream's internal queue.
|
|
12337
12366
|
*
|
|
12338
12367
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/desiredSize)
|
|
12339
12368
|
*/
|
|
12340
12369
|
readonly desiredSize: number | null;
|
|
12341
12370
|
/**
|
|
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.
|
|
12371
|
+
* 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
12372
|
*
|
|
12344
12373
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/ready)
|
|
12345
12374
|
*/
|
|
12346
12375
|
readonly ready: Promise<void>;
|
|
12347
12376
|
/**
|
|
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.
|
|
12377
|
+
* 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
12378
|
*
|
|
12350
12379
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort)
|
|
12351
12380
|
*/
|
|
12352
12381
|
abort(reason?: any): Promise<void>;
|
|
12353
12382
|
/**
|
|
12354
|
-
* The **`close()`** method of the stream.
|
|
12383
|
+
* The **`close()`** method of the WritableStreamDefaultWriter interface closes the associated writable stream.
|
|
12355
12384
|
*
|
|
12356
12385
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close)
|
|
12357
12386
|
*/
|
|
12358
12387
|
close(): Promise<void>;
|
|
12359
12388
|
/**
|
|
12360
|
-
* The **`releaseLock()`** method of the corresponding stream.
|
|
12389
|
+
* The **`releaseLock()`** method of the WritableStreamDefaultWriter interface releases the writer's lock on the corresponding stream.
|
|
12361
12390
|
*
|
|
12362
12391
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/releaseLock)
|
|
12363
12392
|
*/
|
|
12364
12393
|
releaseLock(): void;
|
|
12365
12394
|
/**
|
|
12366
|
-
* The **`write()`** method of the operation.
|
|
12395
|
+
* 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
12396
|
*
|
|
12368
12397
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
|
|
12369
12398
|
*/
|
|
@@ -12996,7 +13025,7 @@ interface WebCodecsErrorCallback {
|
|
|
12996
13025
|
}
|
|
12997
13026
|
|
|
12998
13027
|
/**
|
|
12999
|
-
* The **`name`** read-only property of the the
|
|
13028
|
+
* The **`name`** read-only property of the DedicatedWorkerGlobalScope interface returns the name that the Worker was (optionally) given when it was created.
|
|
13000
13029
|
*
|
|
13001
13030
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/name)
|
|
13002
13031
|
*/
|
|
@@ -13205,6 +13234,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
|
13205
13234
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
13206
13235
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
13207
13236
|
type FrameType = "auxiliary" | "nested" | "none" | "top-level";
|
|
13237
|
+
type GPUPipelineErrorReason = "internal" | "validation";
|
|
13208
13238
|
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
|
|
13209
13239
|
type HardwareAcceleration = "no-preference" | "prefer-hardware" | "prefer-software";
|
|
13210
13240
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|