typescript 6.0.0-dev.20251001 → 6.0.0-dev.20251003
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/lib/_tsc.js +1 -1
- package/lib/lib.dom.asynciterable.d.ts +2 -23
- package/lib/lib.dom.d.ts +2217 -873
- package/lib/lib.dom.iterable.d.ts +2 -553
- package/lib/lib.webworker.asynciterable.d.ts +2 -23
- package/lib/lib.webworker.d.ts +948 -328
- package/lib/lib.webworker.iterable.d.ts +2 -322
- package/lib/typescript.js +1 -1
- package/package.json +2 -2
package/lib/lib.webworker.d.ts
CHANGED
@@ -14,6 +14,9 @@ and limitations under the License.
|
|
14
14
|
***************************************************************************** */
|
15
15
|
|
16
16
|
|
17
|
+
/// <reference lib="es2015" />
|
18
|
+
/// <reference lib="es2018.asynciterable" />
|
19
|
+
|
17
20
|
/////////////////////////////
|
18
21
|
/// Worker APIs
|
19
22
|
/////////////////////////////
|
@@ -368,6 +371,10 @@ interface FontFaceSetLoadEventInit extends EventInit {
|
|
368
371
|
fontfaces?: FontFace[];
|
369
372
|
}
|
370
373
|
|
374
|
+
interface GPUPipelineErrorInit {
|
375
|
+
reason: GPUPipelineErrorReason;
|
376
|
+
}
|
377
|
+
|
371
378
|
interface GetNotificationOptions {
|
372
379
|
tag?: string;
|
373
380
|
}
|
@@ -629,7 +636,7 @@ interface PromiseRejectionEventInit extends EventInit {
|
|
629
636
|
}
|
630
637
|
|
631
638
|
interface PushEventInit extends ExtendableEventInit {
|
632
|
-
data?: PushMessageDataInit;
|
639
|
+
data?: PushMessageDataInit | null;
|
633
640
|
}
|
634
641
|
|
635
642
|
interface PushSubscriptionChangeEventInit extends ExtendableEventInit {
|
@@ -730,6 +737,15 @@ interface RegistrationOptions {
|
|
730
737
|
updateViaCache?: ServiceWorkerUpdateViaCache;
|
731
738
|
}
|
732
739
|
|
740
|
+
interface Report {
|
741
|
+
body?: ReportBody | null;
|
742
|
+
type?: string;
|
743
|
+
url?: string;
|
744
|
+
}
|
745
|
+
|
746
|
+
interface ReportBody {
|
747
|
+
}
|
748
|
+
|
733
749
|
interface ReportingObserverOptions {
|
734
750
|
buffered?: boolean;
|
735
751
|
types?: string[];
|
@@ -798,6 +814,12 @@ interface RsaPssParams extends Algorithm {
|
|
798
814
|
saltLength: number;
|
799
815
|
}
|
800
816
|
|
817
|
+
interface SchedulerPostTaskOptions {
|
818
|
+
delay?: number;
|
819
|
+
priority?: TaskPriority;
|
820
|
+
signal?: AbortSignal;
|
821
|
+
}
|
822
|
+
|
801
823
|
interface SecurityPolicyViolationEventInit extends EventInit {
|
802
824
|
blockedURI?: string;
|
803
825
|
columnNumber?: number;
|
@@ -846,6 +868,18 @@ interface StructuredSerializeOptions {
|
|
846
868
|
transfer?: Transferable[];
|
847
869
|
}
|
848
870
|
|
871
|
+
interface TaskControllerInit {
|
872
|
+
priority?: TaskPriority;
|
873
|
+
}
|
874
|
+
|
875
|
+
interface TaskPriorityChangeEventInit extends EventInit {
|
876
|
+
previousPriority: TaskPriority;
|
877
|
+
}
|
878
|
+
|
879
|
+
interface TaskSignalAnyInit {
|
880
|
+
priority?: TaskPriority | TaskSignal;
|
881
|
+
}
|
882
|
+
|
849
883
|
interface TextDecodeOptions {
|
850
884
|
stream?: boolean;
|
851
885
|
}
|
@@ -868,6 +902,39 @@ interface Transformer<I = any, O = any> {
|
|
868
902
|
writableType?: undefined;
|
869
903
|
}
|
870
904
|
|
905
|
+
interface URLPatternComponentResult {
|
906
|
+
groups: Record<string, string | undefined>;
|
907
|
+
input: string;
|
908
|
+
}
|
909
|
+
|
910
|
+
interface URLPatternInit {
|
911
|
+
baseURL?: string;
|
912
|
+
hash?: string;
|
913
|
+
hostname?: string;
|
914
|
+
password?: string;
|
915
|
+
pathname?: string;
|
916
|
+
port?: string;
|
917
|
+
protocol?: string;
|
918
|
+
search?: string;
|
919
|
+
username?: string;
|
920
|
+
}
|
921
|
+
|
922
|
+
interface URLPatternOptions {
|
923
|
+
ignoreCase?: boolean;
|
924
|
+
}
|
925
|
+
|
926
|
+
interface URLPatternResult {
|
927
|
+
hash: URLPatternComponentResult;
|
928
|
+
hostname: URLPatternComponentResult;
|
929
|
+
inputs: URLPatternInput[];
|
930
|
+
password: URLPatternComponentResult;
|
931
|
+
pathname: URLPatternComponentResult;
|
932
|
+
port: URLPatternComponentResult;
|
933
|
+
protocol: URLPatternComponentResult;
|
934
|
+
search: URLPatternComponentResult;
|
935
|
+
username: URLPatternComponentResult;
|
936
|
+
}
|
937
|
+
|
871
938
|
interface UnderlyingByteSource {
|
872
939
|
autoAllocateChunkSize?: number;
|
873
940
|
cancel?: UnderlyingSourceCancelCallback;
|
@@ -1455,7 +1522,7 @@ interface Blob {
|
|
1455
1522
|
*/
|
1456
1523
|
stream(): ReadableStream<Uint8Array<ArrayBuffer>>;
|
1457
1524
|
/**
|
1458
|
-
* The **`text()`** method of the string containing the contents of the blob, interpreted as UTF-8.
|
1525
|
+
* 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.
|
1459
1526
|
*
|
1460
1527
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text)
|
1461
1528
|
*/
|
@@ -1571,7 +1638,7 @@ declare var CSSImageValue: {
|
|
1571
1638
|
*/
|
1572
1639
|
interface CSSKeywordValue extends CSSStyleValue {
|
1573
1640
|
/**
|
1574
|
-
* The **`value`** property of the `CSSKeywordValue`.
|
1641
|
+
* The **`value`** property of the CSSKeywordValue interface returns or sets the value of the `CSSKeywordValue`.
|
1575
1642
|
*
|
1576
1643
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue/value)
|
1577
1644
|
*/
|
@@ -1601,7 +1668,7 @@ declare var CSSMathClamp: {
|
|
1601
1668
|
*/
|
1602
1669
|
interface CSSMathInvert extends CSSMathValue {
|
1603
1670
|
/**
|
1604
|
-
* The CSSMathInvert.value read-only property of the
|
1671
|
+
* The CSSMathInvert.value read-only property of the CSSMathInvert interface returns a CSSNumericValue object.
|
1605
1672
|
*
|
1606
1673
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert/value)
|
1607
1674
|
*/
|
@@ -1620,7 +1687,7 @@ declare var CSSMathInvert: {
|
|
1620
1687
|
*/
|
1621
1688
|
interface CSSMathMax extends CSSMathValue {
|
1622
1689
|
/**
|
1623
|
-
* The CSSMathMax.values read-only property of the which contains one or more CSSNumericValue objects.
|
1690
|
+
* The CSSMathMax.values read-only property of the CSSMathMax interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
1624
1691
|
*
|
1625
1692
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax/values)
|
1626
1693
|
*/
|
@@ -1639,7 +1706,7 @@ declare var CSSMathMax: {
|
|
1639
1706
|
*/
|
1640
1707
|
interface CSSMathMin extends CSSMathValue {
|
1641
1708
|
/**
|
1642
|
-
* The CSSMathMin.values read-only property of the which contains one or more CSSNumericValue objects.
|
1709
|
+
* The CSSMathMin.values read-only property of the CSSMathMin interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
1643
1710
|
*
|
1644
1711
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin/values)
|
1645
1712
|
*/
|
@@ -1658,7 +1725,7 @@ declare var CSSMathMin: {
|
|
1658
1725
|
*/
|
1659
1726
|
interface CSSMathNegate extends CSSMathValue {
|
1660
1727
|
/**
|
1661
|
-
* The CSSMathNegate.value read-only property of the
|
1728
|
+
* The CSSMathNegate.value read-only property of the CSSMathNegate interface returns a CSSNumericValue object.
|
1662
1729
|
*
|
1663
1730
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate/value)
|
1664
1731
|
*/
|
@@ -1677,7 +1744,7 @@ declare var CSSMathNegate: {
|
|
1677
1744
|
*/
|
1678
1745
|
interface CSSMathProduct extends CSSMathValue {
|
1679
1746
|
/**
|
1680
|
-
* The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a
|
1747
|
+
* The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.
|
1681
1748
|
*
|
1682
1749
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct/values)
|
1683
1750
|
*/
|
@@ -1734,7 +1801,7 @@ declare var CSSMathValue: {
|
|
1734
1801
|
*/
|
1735
1802
|
interface CSSMatrixComponent extends CSSTransformComponent {
|
1736
1803
|
/**
|
1737
|
-
* The **`matrix`** property of the
|
1804
|
+
* The **`matrix`** property of the CSSMatrixComponent interface gets and sets a 2d or 3d matrix.
|
1738
1805
|
*
|
1739
1806
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent/matrix)
|
1740
1807
|
*/
|
@@ -1753,7 +1820,7 @@ declare var CSSMatrixComponent: {
|
|
1753
1820
|
*/
|
1754
1821
|
interface CSSNumericArray {
|
1755
1822
|
/**
|
1756
|
-
* The read-only **`length`** property of the
|
1823
|
+
* The read-only **`length`** property of the CSSNumericArray interface returns the number of CSSNumericValue objects in the list.
|
1757
1824
|
*
|
1758
1825
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray/length)
|
1759
1826
|
*/
|
@@ -1774,61 +1841,61 @@ declare var CSSNumericArray: {
|
|
1774
1841
|
*/
|
1775
1842
|
interface CSSNumericValue extends CSSStyleValue {
|
1776
1843
|
/**
|
1777
|
-
* The **`add()`** method of the `CSSNumericValue`.
|
1844
|
+
* The **`add()`** method of the CSSNumericValue interface adds a supplied number to the `CSSNumericValue`.
|
1778
1845
|
*
|
1779
1846
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add)
|
1780
1847
|
*/
|
1781
1848
|
add(...values: CSSNumberish[]): CSSNumericValue;
|
1782
1849
|
/**
|
1783
|
-
* The **`div()`** method of the supplied value.
|
1850
|
+
* The **`div()`** method of the CSSNumericValue interface divides the `CSSNumericValue` by the supplied value.
|
1784
1851
|
*
|
1785
1852
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/div)
|
1786
1853
|
*/
|
1787
1854
|
div(...values: CSSNumberish[]): CSSNumericValue;
|
1788
1855
|
/**
|
1789
|
-
* The **`equals()`** method of the value are strictly equal.
|
1856
|
+
* The **`equals()`** method of the CSSNumericValue interface returns a boolean indicating whether the passed value are strictly equal.
|
1790
1857
|
*
|
1791
1858
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/equals)
|
1792
1859
|
*/
|
1793
1860
|
equals(...value: CSSNumberish[]): boolean;
|
1794
1861
|
/**
|
1795
|
-
* The **`max()`** method of the passed.
|
1862
|
+
* The **`max()`** method of the CSSNumericValue interface returns the highest value from among the values passed.
|
1796
1863
|
*
|
1797
1864
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/max)
|
1798
1865
|
*/
|
1799
1866
|
max(...values: CSSNumberish[]): CSSNumericValue;
|
1800
1867
|
/**
|
1801
|
-
* The **`min()`** method of the values passed.
|
1868
|
+
* The **`min()`** method of the CSSNumericValue interface returns the lowest value from among those values passed.
|
1802
1869
|
*
|
1803
1870
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/min)
|
1804
1871
|
*/
|
1805
1872
|
min(...values: CSSNumberish[]): CSSNumericValue;
|
1806
1873
|
/**
|
1807
|
-
* The **`mul()`** method of the the supplied value.
|
1874
|
+
* The **`mul()`** method of the CSSNumericValue interface multiplies the `CSSNumericValue` by the supplied value.
|
1808
1875
|
*
|
1809
1876
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/mul)
|
1810
1877
|
*/
|
1811
1878
|
mul(...values: CSSNumberish[]): CSSNumericValue;
|
1812
1879
|
/**
|
1813
|
-
* The **`sub()`** method of the `CSSNumericValue`.
|
1880
|
+
* The **`sub()`** method of the CSSNumericValue interface subtracts a supplied number from the `CSSNumericValue`.
|
1814
1881
|
*
|
1815
1882
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/sub)
|
1816
1883
|
*/
|
1817
1884
|
sub(...values: CSSNumberish[]): CSSNumericValue;
|
1818
1885
|
/**
|
1819
|
-
* The **`to()`** method of the another.
|
1886
|
+
* The **`to()`** method of the CSSNumericValue interface converts a numeric value from one unit to another.
|
1820
1887
|
*
|
1821
1888
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/to)
|
1822
1889
|
*/
|
1823
1890
|
to(unit: string): CSSUnitValue;
|
1824
1891
|
/**
|
1825
|
-
* The **`toSum()`** method of the
|
1892
|
+
* The **`toSum()`** method of the CSSNumericValue interface converts the object's value to a CSSMathSum object to values of the specified unit.
|
1826
1893
|
*
|
1827
1894
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/toSum)
|
1828
1895
|
*/
|
1829
1896
|
toSum(...units: string[]): CSSMathSum;
|
1830
1897
|
/**
|
1831
|
-
* The **`type()`** method of the `CSSNumericValue`, one of `angle`, `flex`, `frequency`, `length`, `resolution`, `percent`, `percentHint`, or `time`.
|
1898
|
+
* The **`type()`** method of the CSSNumericValue interface returns the type of `CSSNumericValue`, one of `angle`, `flex`, `frequency`, `length`, `resolution`, `percent`, `percentHint`, or `time`.
|
1832
1899
|
*
|
1833
1900
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/type)
|
1834
1901
|
*/
|
@@ -1847,7 +1914,7 @@ declare var CSSNumericValue: {
|
|
1847
1914
|
*/
|
1848
1915
|
interface CSSPerspective extends CSSTransformComponent {
|
1849
1916
|
/**
|
1850
|
-
* The **`length`** property of the
|
1917
|
+
* The **`length`** property of the CSSPerspective interface sets the distance from z=0.
|
1851
1918
|
*
|
1852
1919
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective/length)
|
1853
1920
|
*/
|
@@ -1866,25 +1933,25 @@ declare var CSSPerspective: {
|
|
1866
1933
|
*/
|
1867
1934
|
interface CSSRotate extends CSSTransformComponent {
|
1868
1935
|
/**
|
1869
|
-
* The **`angle`** property of the
|
1936
|
+
* The **`angle`** property of the CSSRotate interface gets and sets the angle of rotation.
|
1870
1937
|
*
|
1871
1938
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/angle)
|
1872
1939
|
*/
|
1873
1940
|
angle: CSSNumericValue;
|
1874
1941
|
/**
|
1875
|
-
* The **`x`** property of the translating vector.
|
1942
|
+
* The **`x`** property of the CSSRotate interface gets and sets the abscissa or x-axis of the translating vector.
|
1876
1943
|
*
|
1877
1944
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/x)
|
1878
1945
|
*/
|
1879
1946
|
x: CSSNumberish;
|
1880
1947
|
/**
|
1881
|
-
* The **`y`** property of the translating vector.
|
1948
|
+
* The **`y`** property of the CSSRotate interface gets and sets the ordinate or y-axis of the translating vector.
|
1882
1949
|
*
|
1883
1950
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/y)
|
1884
1951
|
*/
|
1885
1952
|
y: CSSNumberish;
|
1886
1953
|
/**
|
1887
|
-
* The **`z`** property of the vector.
|
1954
|
+
* The **`z`** property of the CSSRotate interface representing the z-component of the translating vector.
|
1888
1955
|
*
|
1889
1956
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/z)
|
1890
1957
|
*/
|
@@ -1904,19 +1971,19 @@ declare var CSSRotate: {
|
|
1904
1971
|
*/
|
1905
1972
|
interface CSSScale extends CSSTransformComponent {
|
1906
1973
|
/**
|
1907
|
-
* The **`x`** property of the translating vector.
|
1974
|
+
* The **`x`** property of the CSSScale interface gets and sets the abscissa or x-axis of the translating vector.
|
1908
1975
|
*
|
1909
1976
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/x)
|
1910
1977
|
*/
|
1911
1978
|
x: CSSNumberish;
|
1912
1979
|
/**
|
1913
|
-
* The **`y`** property of the translating vector.
|
1980
|
+
* The **`y`** property of the CSSScale interface gets and sets the ordinate or y-axis of the translating vector.
|
1914
1981
|
*
|
1915
1982
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/y)
|
1916
1983
|
*/
|
1917
1984
|
y: CSSNumberish;
|
1918
1985
|
/**
|
1919
|
-
* The **`z`** property of the vector.
|
1986
|
+
* The **`z`** property of the CSSScale interface representing the z-component of the translating vector.
|
1920
1987
|
*
|
1921
1988
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/z)
|
1922
1989
|
*/
|
@@ -1935,13 +2002,13 @@ declare var CSSScale: {
|
|
1935
2002
|
*/
|
1936
2003
|
interface CSSSkew extends CSSTransformComponent {
|
1937
2004
|
/**
|
1938
|
-
* The **`ax`** property of the along the x-axis (or abscissa).
|
2005
|
+
* The **`ax`** property of the CSSSkew interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
|
1939
2006
|
*
|
1940
2007
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax)
|
1941
2008
|
*/
|
1942
2009
|
ax: CSSNumericValue;
|
1943
2010
|
/**
|
1944
|
-
* The **`ay`** property of the along the y-axis (or ordinate).
|
2011
|
+
* The **`ay`** property of the CSSSkew interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
|
1945
2012
|
*
|
1946
2013
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ay)
|
1947
2014
|
*/
|
@@ -1960,7 +2027,7 @@ declare var CSSSkew: {
|
|
1960
2027
|
*/
|
1961
2028
|
interface CSSSkewX extends CSSTransformComponent {
|
1962
2029
|
/**
|
1963
|
-
* The **`ax`** property of the along the x-axis (or abscissa).
|
2030
|
+
* The **`ax`** property of the CSSSkewX interface gets and sets the angle used to distort the element along the x-axis (or abscissa).
|
1964
2031
|
*
|
1965
2032
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX/ax)
|
1966
2033
|
*/
|
@@ -1979,7 +2046,7 @@ declare var CSSSkewX: {
|
|
1979
2046
|
*/
|
1980
2047
|
interface CSSSkewY extends CSSTransformComponent {
|
1981
2048
|
/**
|
1982
|
-
* The **`ay`** property of the along the y-axis (or ordinate).
|
2049
|
+
* The **`ay`** property of the CSSSkewY interface gets and sets the angle used to distort the element along the y-axis (or ordinate).
|
1983
2050
|
*
|
1984
2051
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY/ay)
|
1985
2052
|
*/
|
@@ -2018,7 +2085,7 @@ interface CSSTransformComponent {
|
|
2018
2085
|
*/
|
2019
2086
|
is2D: boolean;
|
2020
2087
|
/**
|
2021
|
-
* The **`toMatrix()`** method of the object.
|
2088
|
+
* The **`toMatrix()`** method of the CSSTransformComponent interface returns a DOMMatrix object.
|
2022
2089
|
*
|
2023
2090
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent/toMatrix)
|
2024
2091
|
*/
|
@@ -2038,19 +2105,19 @@ declare var CSSTransformComponent: {
|
|
2038
2105
|
*/
|
2039
2106
|
interface CSSTransformValue extends CSSStyleValue {
|
2040
2107
|
/**
|
2041
|
-
* The read-only **`is2D`** property of the
|
2108
|
+
* The read-only **`is2D`** property of the CSSTransformValue interface returns whether the transform is 2D or 3D.
|
2042
2109
|
*
|
2043
2110
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/is2D)
|
2044
2111
|
*/
|
2045
2112
|
readonly is2D: boolean;
|
2046
2113
|
/**
|
2047
|
-
* The read-only **`length`** property of the the list.
|
2114
|
+
* The read-only **`length`** property of the CSSTransformValue interface returns the number of transform components in the list.
|
2048
2115
|
*
|
2049
2116
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/length)
|
2050
2117
|
*/
|
2051
2118
|
readonly length: number;
|
2052
2119
|
/**
|
2053
|
-
* The **`toMatrix()`** method of the
|
2120
|
+
* The **`toMatrix()`** method of the CSSTransformValue interface returns a DOMMatrix object.
|
2054
2121
|
*
|
2055
2122
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/toMatrix)
|
2056
2123
|
*/
|
@@ -2071,19 +2138,19 @@ declare var CSSTransformValue: {
|
|
2071
2138
|
*/
|
2072
2139
|
interface CSSTranslate extends CSSTransformComponent {
|
2073
2140
|
/**
|
2074
|
-
* The **`x`** property of the translating vector.
|
2141
|
+
* The **`x`** property of the CSSTranslate interface gets and sets the abscissa or x-axis of the translating vector.
|
2075
2142
|
*
|
2076
2143
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/x)
|
2077
2144
|
*/
|
2078
2145
|
x: CSSNumericValue;
|
2079
2146
|
/**
|
2080
|
-
* The **`y`** property of the translating vector.
|
2147
|
+
* The **`y`** property of the CSSTranslate interface gets and sets the ordinate or y-axis of the translating vector.
|
2081
2148
|
*
|
2082
2149
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/y)
|
2083
2150
|
*/
|
2084
2151
|
y: CSSNumericValue;
|
2085
2152
|
/**
|
2086
|
-
* The **`z`** property of the vector.
|
2153
|
+
* The **`z`** property of the CSSTranslate interface representing the z-component of the translating vector.
|
2087
2154
|
*
|
2088
2155
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/z)
|
2089
2156
|
*/
|
@@ -2108,7 +2175,7 @@ interface CSSUnitValue extends CSSNumericValue {
|
|
2108
2175
|
*/
|
2109
2176
|
readonly unit: string;
|
2110
2177
|
/**
|
2111
|
-
* The **`CSSUnitValue.value`** property of the
|
2178
|
+
* The **`CSSUnitValue.value`** property of the CSSUnitValue interface returns a double indicating the number of units.
|
2112
2179
|
*
|
2113
2180
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/value)
|
2114
2181
|
*/
|
@@ -2127,7 +2194,7 @@ declare var CSSUnitValue: {
|
|
2127
2194
|
*/
|
2128
2195
|
interface CSSUnparsedValue extends CSSStyleValue {
|
2129
2196
|
/**
|
2130
|
-
* The **`length`** read-only property of the
|
2197
|
+
* The **`length`** read-only property of the CSSUnparsedValue interface returns the number of items in the object.
|
2131
2198
|
*
|
2132
2199
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue/length)
|
2133
2200
|
*/
|
@@ -2148,13 +2215,13 @@ declare var CSSUnparsedValue: {
|
|
2148
2215
|
*/
|
2149
2216
|
interface CSSVariableReferenceValue {
|
2150
2217
|
/**
|
2151
|
-
* The **`fallback`** read-only property of the
|
2218
|
+
* The **`fallback`** read-only property of the CSSVariableReferenceValue interface returns the custom property fallback value of the CSSVariableReferenceValue.
|
2152
2219
|
*
|
2153
2220
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/fallback)
|
2154
2221
|
*/
|
2155
2222
|
readonly fallback: CSSUnparsedValue | null;
|
2156
2223
|
/**
|
2157
|
-
* The **`variable`** property of the
|
2224
|
+
* The **`variable`** property of the CSSVariableReferenceValue interface returns the custom property name of the CSSVariableReferenceValue.
|
2158
2225
|
*
|
2159
2226
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/variable)
|
2160
2227
|
*/
|
@@ -2192,7 +2259,7 @@ interface Cache {
|
|
2192
2259
|
*/
|
2193
2260
|
delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<boolean>;
|
2194
2261
|
/**
|
2195
|
-
* The **`keys()`** method of the Cache interface returns a representing the keys of the Cache.
|
2262
|
+
* The **`keys()`** method of the Cache interface returns a Promise that resolves to an array of Request objects representing the keys of the Cache.
|
2196
2263
|
*
|
2197
2264
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/keys)
|
2198
2265
|
*/
|
@@ -2210,7 +2277,7 @@ interface Cache {
|
|
2210
2277
|
*/
|
2211
2278
|
matchAll(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;
|
2212
2279
|
/**
|
2213
|
-
* The **`put()`** method of the
|
2280
|
+
* The **`put()`** method of the Cache interface allows key/value pairs to be added to the current Cache object.
|
2214
2281
|
*
|
2215
2282
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/put)
|
2216
2283
|
*/
|
@@ -2236,7 +2303,7 @@ interface CacheStorage {
|
|
2236
2303
|
*/
|
2237
2304
|
delete(cacheName: string): Promise<boolean>;
|
2238
2305
|
/**
|
2239
|
-
* The **`has()`** method of the CacheStorage interface returns a Promise that resolves to `true` if a
|
2306
|
+
* The **`has()`** method of the CacheStorage interface returns a Promise that resolves to `true` if a Cache object matches the `cacheName`.
|
2240
2307
|
*
|
2241
2308
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/has)
|
2242
2309
|
*/
|
@@ -2254,7 +2321,7 @@ interface CacheStorage {
|
|
2254
2321
|
*/
|
2255
2322
|
match(request: RequestInfo | URL, options?: MultiCacheQueryOptions): Promise<Response | undefined>;
|
2256
2323
|
/**
|
2257
|
-
* The **`open()`** method of the the Cache object matching the `cacheName`.
|
2324
|
+
* The **`open()`** method of the CacheStorage interface returns a Promise that resolves to the Cache object matching the `cacheName`.
|
2258
2325
|
*
|
2259
2326
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/open)
|
2260
2327
|
*/
|
@@ -2528,7 +2595,7 @@ interface Client {
|
|
2528
2595
|
*/
|
2529
2596
|
readonly url: string;
|
2530
2597
|
/**
|
2531
|
-
* The **`postMessage()`** method of the (a Window, Worker, or SharedWorker).
|
2598
|
+
* The **`postMessage()`** method of the Client interface allows a service worker to send a message to a client (a Window, Worker, or SharedWorker).
|
2532
2599
|
*
|
2533
2600
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Client/postMessage)
|
2534
2601
|
*/
|
@@ -2554,13 +2621,13 @@ interface Clients {
|
|
2554
2621
|
*/
|
2555
2622
|
claim(): Promise<void>;
|
2556
2623
|
/**
|
2557
|
-
* The **`get()`** method of the `id` and returns it in a Promise.
|
2624
|
+
* The **`get()`** method of the Clients interface gets a service worker client matching a given `id` and returns it in a Promise.
|
2558
2625
|
*
|
2559
2626
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clients/get)
|
2560
2627
|
*/
|
2561
2628
|
get(id: string): Promise<Client | undefined>;
|
2562
2629
|
/**
|
2563
|
-
* The **`matchAll()`** method of the Clients interface returns a Promise for a list of service worker
|
2630
|
+
* The **`matchAll()`** method of the Clients interface returns a Promise for a list of service worker Client objects.
|
2564
2631
|
*
|
2565
2632
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clients/matchAll)
|
2566
2633
|
*/
|
@@ -2726,7 +2793,7 @@ declare var CountQueuingStrategy: {
|
|
2726
2793
|
*/
|
2727
2794
|
interface Crypto {
|
2728
2795
|
/**
|
2729
|
-
* The **`Crypto.subtle`** read-only property returns a cryptographic operations.
|
2796
|
+
* The **`Crypto.subtle`** read-only property returns a SubtleCrypto which can then be used to perform low-level cryptographic operations.
|
2730
2797
|
* Available only in secure contexts.
|
2731
2798
|
*
|
2732
2799
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/subtle)
|
@@ -2791,7 +2858,7 @@ declare var CryptoKey: {
|
|
2791
2858
|
};
|
2792
2859
|
|
2793
2860
|
/**
|
2794
|
-
* The **`CustomEvent`** interface
|
2861
|
+
* The **`CustomEvent`** interface can be used to attach custom data to an event generated by an application.
|
2795
2862
|
*
|
2796
2863
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)
|
2797
2864
|
*/
|
@@ -2830,13 +2897,13 @@ interface DOMException extends Error {
|
|
2830
2897
|
*/
|
2831
2898
|
readonly code: number;
|
2832
2899
|
/**
|
2833
|
-
* The **`message`** read-only property of the a message or description associated with the given error name.
|
2900
|
+
* The **`message`** read-only property of the DOMException interface returns a string representing a message or description associated with the given error name.
|
2834
2901
|
*
|
2835
2902
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message)
|
2836
2903
|
*/
|
2837
2904
|
readonly message: string;
|
2838
2905
|
/**
|
2839
|
-
* The **`name`** read-only property of the one of the strings associated with an error name.
|
2906
|
+
* The **`name`** read-only property of the DOMException interface returns a string that contains one of the strings associated with an error name.
|
2840
2907
|
*
|
2841
2908
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name)
|
2842
2909
|
*/
|
@@ -3129,7 +3196,7 @@ interface DOMMatrixReadOnly {
|
|
3129
3196
|
*/
|
3130
3197
|
rotateFromVector(x?: number, y?: number): DOMMatrix;
|
3131
3198
|
/**
|
3132
|
-
* The **`scale()`** method of the original matrix with a scale transform applied.
|
3199
|
+
* The **`scale()`** method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a scale transform applied.
|
3133
3200
|
*
|
3134
3201
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale)
|
3135
3202
|
*/
|
@@ -3173,7 +3240,7 @@ interface DOMMatrixReadOnly {
|
|
3173
3240
|
*/
|
3174
3241
|
toJSON(): any;
|
3175
3242
|
/**
|
3176
|
-
* The **`transformPoint`** method of the
|
3243
|
+
* The **`transformPoint`** method of the DOMMatrixReadOnly interface creates a new DOMPoint object, transforming a specified point by the matrix.
|
3177
3244
|
*
|
3178
3245
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint)
|
3179
3246
|
*/
|
@@ -3274,7 +3341,7 @@ interface DOMPointReadOnly {
|
|
3274
3341
|
*/
|
3275
3342
|
matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
|
3276
3343
|
/**
|
3277
|
-
* The DOMPointReadOnly method `toJSON()` returns an object giving the
|
3344
|
+
* The DOMPointReadOnly method `toJSON()` returns an object giving the JSON form of the point object.
|
3278
3345
|
*
|
3279
3346
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON)
|
3280
3347
|
*/
|
@@ -3329,7 +3396,7 @@ interface DOMQuad {
|
|
3329
3396
|
*/
|
3330
3397
|
getBounds(): DOMRect;
|
3331
3398
|
/**
|
3332
|
-
* The DOMQuad method `toJSON()` returns a
|
3399
|
+
* The DOMQuad method `toJSON()` returns a JSON representation of the `DOMQuad` object.
|
3333
3400
|
*
|
3334
3401
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/toJSON)
|
3335
3402
|
*/
|
@@ -3379,7 +3446,7 @@ declare var DOMRect: {
|
|
3379
3446
|
prototype: DOMRect;
|
3380
3447
|
new(x?: number, y?: number, width?: number, height?: number): DOMRect;
|
3381
3448
|
/**
|
3382
|
-
* The **`fromRect()`** static method of the object with a given location and dimensions.
|
3449
|
+
* The **`fromRect()`** static method of the DOMRect object creates a new `DOMRect` object with a given location and dimensions.
|
3383
3450
|
*
|
3384
3451
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static)
|
3385
3452
|
*/
|
@@ -3452,7 +3519,7 @@ declare var DOMRectReadOnly: {
|
|
3452
3519
|
prototype: DOMRectReadOnly;
|
3453
3520
|
new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;
|
3454
3521
|
/**
|
3455
|
-
* The **`fromRect()`** static method of the object with a given location and dimensions.
|
3522
|
+
* The **`fromRect()`** static method of the DOMRectReadOnly object creates a new `DOMRectReadOnly` object with a given location and dimensions.
|
3456
3523
|
*
|
3457
3524
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/fromRect_static)
|
3458
3525
|
*/
|
@@ -3519,7 +3586,7 @@ interface DedicatedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap,
|
|
3519
3586
|
*/
|
3520
3587
|
interface DedicatedWorkerGlobalScope extends WorkerGlobalScope, AnimationFrameProvider, MessageEventTarget<DedicatedWorkerGlobalScope> {
|
3521
3588
|
/**
|
3522
|
-
* The **`name`** read-only property of the the
|
3589
|
+
* The **`name`** read-only property of the DedicatedWorkerGlobalScope interface returns the name that the Worker was (optionally) given when it was created.
|
3523
3590
|
*
|
3524
3591
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/name)
|
3525
3592
|
*/
|
@@ -3821,7 +3888,7 @@ interface Event {
|
|
3821
3888
|
*/
|
3822
3889
|
readonly cancelable: boolean;
|
3823
3890
|
/**
|
3824
|
-
* The read-only **`composed`** property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.
|
3891
|
+
* 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.
|
3825
3892
|
*
|
3826
3893
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)
|
3827
3894
|
*/
|
@@ -3839,13 +3906,13 @@ interface Event {
|
|
3839
3906
|
*/
|
3840
3907
|
readonly defaultPrevented: boolean;
|
3841
3908
|
/**
|
3842
|
-
* The **`eventPhase`** read-only property of the being evaluated.
|
3909
|
+
* The **`eventPhase`** read-only property of the Event interface indicates which phase of the event flow is currently being evaluated.
|
3843
3910
|
*
|
3844
3911
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)
|
3845
3912
|
*/
|
3846
3913
|
readonly eventPhase: number;
|
3847
3914
|
/**
|
3848
|
-
* 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
|
3915
|
+
* 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().
|
3849
3916
|
*
|
3850
3917
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
|
3851
3918
|
*/
|
@@ -3865,7 +3932,7 @@ interface Event {
|
|
3865
3932
|
*/
|
3866
3933
|
readonly srcElement: EventTarget | null;
|
3867
3934
|
/**
|
3868
|
-
* The read-only **`target`** property of the dispatched.
|
3935
|
+
* The read-only **`target`** property of the Event interface is a reference to the object onto which the event was dispatched.
|
3869
3936
|
*
|
3870
3937
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)
|
3871
3938
|
*/
|
@@ -3896,13 +3963,13 @@ interface Event {
|
|
3896
3963
|
*/
|
3897
3964
|
initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;
|
3898
3965
|
/**
|
3899
|
-
* The **`preventDefault()`** method of the Event interface tells the user agent that
|
3966
|
+
* The **`preventDefault()`** method of the Event interface tells the user agent that the event is being explicitly handled, so its default action, such as page scrolling, link navigation, or pasting text, should not be taken.
|
3900
3967
|
*
|
3901
3968
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)
|
3902
3969
|
*/
|
3903
3970
|
preventDefault(): void;
|
3904
3971
|
/**
|
3905
|
-
* The **`stopImmediatePropagation()`** method of the
|
3972
|
+
* The **`stopImmediatePropagation()`** method of the Event interface prevents other listeners of the same event from being called.
|
3906
3973
|
*
|
3907
3974
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)
|
3908
3975
|
*/
|
@@ -3955,25 +4022,25 @@ interface EventSource extends EventTarget {
|
|
3955
4022
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/open_event) */
|
3956
4023
|
onopen: ((this: EventSource, ev: Event) => any) | null;
|
3957
4024
|
/**
|
3958
|
-
* The **`readyState`** read-only property of the connection.
|
4025
|
+
* The **`readyState`** read-only property of the EventSource interface returns a number representing the state of the connection.
|
3959
4026
|
*
|
3960
4027
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/readyState)
|
3961
4028
|
*/
|
3962
4029
|
readonly readyState: number;
|
3963
4030
|
/**
|
3964
|
-
* The **`url`** read-only property of the URL of the source.
|
4031
|
+
* The **`url`** read-only property of the EventSource interface returns a string representing the URL of the source.
|
3965
4032
|
*
|
3966
4033
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/url)
|
3967
4034
|
*/
|
3968
4035
|
readonly url: string;
|
3969
4036
|
/**
|
3970
|
-
* The **`withCredentials`** read-only property of the the `EventSource` object was instantiated with CORS credentials set.
|
4037
|
+
* The **`withCredentials`** read-only property of the EventSource interface returns a boolean value indicating whether the `EventSource` object was instantiated with CORS credentials set.
|
3971
4038
|
*
|
3972
4039
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/withCredentials)
|
3973
4040
|
*/
|
3974
4041
|
readonly withCredentials: boolean;
|
3975
4042
|
/**
|
3976
|
-
* The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the
|
4043
|
+
* The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the EventSource.readyState attribute to `2` (closed).
|
3977
4044
|
*
|
3978
4045
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/close)
|
3979
4046
|
*/
|
@@ -4079,31 +4146,31 @@ declare var ExtendableEvent: {
|
|
4079
4146
|
*/
|
4080
4147
|
interface ExtendableMessageEvent extends ExtendableEvent {
|
4081
4148
|
/**
|
4082
|
-
* The **`data`** read-only property of the data
|
4149
|
+
* The **`data`** read-only property of the ExtendableMessageEvent interface returns the event's data.
|
4083
4150
|
*
|
4084
4151
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/data)
|
4085
4152
|
*/
|
4086
4153
|
readonly data: any;
|
4087
4154
|
/**
|
4088
|
-
* The **`lastEventID`** read-only property of the
|
4155
|
+
* The **`lastEventID`** read-only property of the ExtendableMessageEvent interface represents, in server-sent events, the last event ID of the event source.
|
4089
4156
|
*
|
4090
4157
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/lastEventId)
|
4091
4158
|
*/
|
4092
4159
|
readonly lastEventId: string;
|
4093
4160
|
/**
|
4094
|
-
* The **`origin`** read-only property of the
|
4161
|
+
* The **`origin`** read-only property of the ExtendableMessageEvent interface returns the origin of the Client that sent the message.
|
4095
4162
|
*
|
4096
4163
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/origin)
|
4097
4164
|
*/
|
4098
4165
|
readonly origin: string;
|
4099
4166
|
/**
|
4100
|
-
* The **`ports`** read-only property of the channel (the channel the message is being sent through.)
|
4167
|
+
* 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.)
|
4101
4168
|
*
|
4102
4169
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/ports)
|
4103
4170
|
*/
|
4104
4171
|
readonly ports: ReadonlyArray<MessagePort>;
|
4105
4172
|
/**
|
4106
|
-
* The **`source`** read-only property of the
|
4173
|
+
* The **`source`** read-only property of the ExtendableMessageEvent interface returns a reference to the Client object from which the message was sent.
|
4107
4174
|
*
|
4108
4175
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/source)
|
4109
4176
|
*/
|
@@ -4122,7 +4189,7 @@ declare var ExtendableMessageEvent: {
|
|
4122
4189
|
*/
|
4123
4190
|
interface FetchEvent extends ExtendableEvent {
|
4124
4191
|
/**
|
4125
|
-
* The **`clientId`** read-only property of the current service worker is controlling.
|
4192
|
+
* The **`clientId`** read-only property of the FetchEvent interface returns the id of the Client that the current service worker is controlling.
|
4126
4193
|
*
|
4127
4194
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/clientId)
|
4128
4195
|
*/
|
@@ -4140,19 +4207,19 @@ interface FetchEvent extends ExtendableEvent {
|
|
4140
4207
|
*/
|
4141
4208
|
readonly preloadResponse: Promise<any>;
|
4142
4209
|
/**
|
4143
|
-
* The **`request`** read-only property of the the event handler.
|
4210
|
+
* The **`request`** read-only property of the FetchEvent interface returns the Request that triggered the event handler.
|
4144
4211
|
*
|
4145
4212
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/request)
|
4146
4213
|
*/
|
4147
4214
|
readonly request: Request;
|
4148
4215
|
/**
|
4149
|
-
* The **`resultingClientId`** read-only property of the navigation.
|
4216
|
+
* 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.
|
4150
4217
|
*
|
4151
4218
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/resultingClientId)
|
4152
4219
|
*/
|
4153
4220
|
readonly resultingClientId: string;
|
4154
4221
|
/**
|
4155
|
-
* The **`respondWith()`** method of allows you to provide a promise for a Response yourself.
|
4222
|
+
* The **`respondWith()`** method of FetchEvent prevents the browser's default fetch handling, and allows you to provide a promise for a Response yourself.
|
4156
4223
|
*
|
4157
4224
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/respondWith)
|
4158
4225
|
*/
|
@@ -4286,7 +4353,7 @@ interface FileReader extends EventTarget {
|
|
4286
4353
|
*/
|
4287
4354
|
readAsBinaryString(blob: Blob): void;
|
4288
4355
|
/**
|
4289
|
-
* The **`readAsDataURL()`** method of the FileReader interface is used to read the contents of the specified
|
4356
|
+
* The **`readAsDataURL()`** method of the FileReader interface is used to read the contents of the specified Blob or File.
|
4290
4357
|
*
|
4291
4358
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsDataURL)
|
4292
4359
|
*/
|
@@ -4361,25 +4428,25 @@ declare var FileReaderSync: {
|
|
4361
4428
|
interface FileSystemDirectoryHandle extends FileSystemHandle {
|
4362
4429
|
readonly kind: "directory";
|
4363
4430
|
/**
|
4364
|
-
* The **`getDirectoryHandle()`** method of the within the directory handle on which the method is called.
|
4431
|
+
* 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.
|
4365
4432
|
*
|
4366
4433
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getDirectoryHandle)
|
4367
4434
|
*/
|
4368
4435
|
getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
|
4369
4436
|
/**
|
4370
|
-
* The **`getFileHandle()`** method of the directory the method is called.
|
4437
|
+
* The **`getFileHandle()`** method of the FileSystemDirectoryHandle interface returns a FileSystemFileHandle for a file with the specified name, within the directory the method is called.
|
4371
4438
|
*
|
4372
4439
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getFileHandle)
|
4373
4440
|
*/
|
4374
4441
|
getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
|
4375
4442
|
/**
|
4376
|
-
* The **`removeEntry()`** method of the directory handle contains a file or directory called the name specified.
|
4443
|
+
* 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.
|
4377
4444
|
*
|
4378
4445
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/removeEntry)
|
4379
4446
|
*/
|
4380
4447
|
removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
|
4381
4448
|
/**
|
4382
|
-
* 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.
|
4449
|
+
* 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.
|
4383
4450
|
*
|
4384
4451
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/resolve)
|
4385
4452
|
*/
|
@@ -4400,7 +4467,7 @@ declare var FileSystemDirectoryHandle: {
|
|
4400
4467
|
interface FileSystemFileHandle extends FileSystemHandle {
|
4401
4468
|
readonly kind: "file";
|
4402
4469
|
/**
|
4403
|
-
* The **`createSyncAccessHandle()`** method of the that can be used to synchronously read from and write to a file.
|
4470
|
+
* 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.
|
4404
4471
|
*
|
4405
4472
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/createSyncAccessHandle)
|
4406
4473
|
*/
|
@@ -4412,7 +4479,7 @@ interface FileSystemFileHandle extends FileSystemHandle {
|
|
4412
4479
|
*/
|
4413
4480
|
createWritable(options?: FileSystemCreateWritableOptions): Promise<FileSystemWritableFileStream>;
|
4414
4481
|
/**
|
4415
|
-
* The **`getFile()`** method of the
|
4482
|
+
* 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.
|
4416
4483
|
*
|
4417
4484
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/getFile)
|
4418
4485
|
*/
|
@@ -4432,19 +4499,19 @@ declare var FileSystemFileHandle: {
|
|
4432
4499
|
*/
|
4433
4500
|
interface FileSystemHandle {
|
4434
4501
|
/**
|
4435
|
-
* The **`kind`** read-only property of the
|
4502
|
+
* The **`kind`** read-only property of the FileSystemHandle interface returns the type of entry.
|
4436
4503
|
*
|
4437
4504
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/kind)
|
4438
4505
|
*/
|
4439
4506
|
readonly kind: FileSystemHandleKind;
|
4440
4507
|
/**
|
4441
|
-
* The **`name`** read-only property of the handle.
|
4508
|
+
* The **`name`** read-only property of the FileSystemHandle interface returns the name of the entry represented by handle.
|
4442
4509
|
*
|
4443
4510
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/name)
|
4444
4511
|
*/
|
4445
4512
|
readonly name: string;
|
4446
4513
|
/**
|
4447
|
-
* The **`isSameEntry()`** method of the
|
4514
|
+
* The **`isSameEntry()`** method of the FileSystemHandle interface compares two FileSystemHandle to see if the associated entries (either a file or directory) match.
|
4448
4515
|
*
|
4449
4516
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/isSameEntry)
|
4450
4517
|
*/
|
@@ -4464,37 +4531,37 @@ declare var FileSystemHandle: {
|
|
4464
4531
|
*/
|
4465
4532
|
interface FileSystemSyncAccessHandle {
|
4466
4533
|
/**
|
4467
|
-
* The **`close()`** method of the
|
4534
|
+
* 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.
|
4468
4535
|
*
|
4469
4536
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/close)
|
4470
4537
|
*/
|
4471
4538
|
close(): void;
|
4472
4539
|
/**
|
4473
|
-
* The **`flush()`** method of the
|
4540
|
+
* 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.
|
4474
4541
|
*
|
4475
4542
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/flush)
|
4476
4543
|
*/
|
4477
4544
|
flush(): void;
|
4478
4545
|
/**
|
4479
|
-
* The **`getSize()`** method of the
|
4546
|
+
* The **`getSize()`** method of the FileSystemSyncAccessHandle interface returns the size of the file associated with the handle in bytes.
|
4480
4547
|
*
|
4481
4548
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/getSize)
|
4482
4549
|
*/
|
4483
4550
|
getSize(): number;
|
4484
4551
|
/**
|
4485
|
-
* The **`read()`** method of the
|
4552
|
+
* 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.
|
4486
4553
|
*
|
4487
4554
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/read)
|
4488
4555
|
*/
|
4489
4556
|
read(buffer: AllowSharedBufferSource, options?: FileSystemReadWriteOptions): number;
|
4490
4557
|
/**
|
4491
|
-
* The **`truncate()`** method of the
|
4558
|
+
* The **`truncate()`** method of the FileSystemSyncAccessHandle interface resizes the file associated with the handle to a specified number of bytes.
|
4492
4559
|
*
|
4493
4560
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/truncate)
|
4494
4561
|
*/
|
4495
4562
|
truncate(newSize: number): void;
|
4496
4563
|
/**
|
4497
|
-
* The **`write()`** method of the
|
4564
|
+
* 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.
|
4498
4565
|
*
|
4499
4566
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/write)
|
4500
4567
|
*/
|
@@ -4610,6 +4677,12 @@ interface FontFace {
|
|
4610
4677
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange)
|
4611
4678
|
*/
|
4612
4679
|
unicodeRange: string;
|
4680
|
+
/**
|
4681
|
+
* The **`variationSettings`** property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations.
|
4682
|
+
*
|
4683
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variationSettings)
|
4684
|
+
*/
|
4685
|
+
variationSettings: string;
|
4613
4686
|
/**
|
4614
4687
|
* The **`weight`** property of the FontFace interface retrieves or sets the weight of the font.
|
4615
4688
|
*
|
@@ -4690,7 +4763,7 @@ declare var FontFaceSet: {
|
|
4690
4763
|
*/
|
4691
4764
|
interface FontFaceSetLoadEvent extends Event {
|
4692
4765
|
/**
|
4693
|
-
* The **`fontfaces`** read-only property of the
|
4766
|
+
* The **`fontfaces`** read-only property of the FontFaceSetLoadEvent interface returns an array of FontFace instances, each of which represents a single usable font.
|
4694
4767
|
*
|
4695
4768
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent/fontfaces)
|
4696
4769
|
*/
|
@@ -4769,13 +4842,38 @@ declare var FormData: {
|
|
4769
4842
|
*/
|
4770
4843
|
interface GPUError {
|
4771
4844
|
/**
|
4772
|
-
* The **`message`** read-only property of the
|
4845
|
+
* The **`message`** read-only property of the GPUError interface provides a human-readable message that explains why the error occurred.
|
4773
4846
|
*
|
4774
4847
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError/message)
|
4775
4848
|
*/
|
4776
4849
|
readonly message: string;
|
4777
4850
|
}
|
4778
4851
|
|
4852
|
+
declare var GPUError: {
|
4853
|
+
prototype: GPUError;
|
4854
|
+
new(): GPUError;
|
4855
|
+
};
|
4856
|
+
|
4857
|
+
/**
|
4858
|
+
* The **`GPUPipelineError`** interface of the WebGPU API describes a pipeline failure.
|
4859
|
+
* Available only in secure contexts.
|
4860
|
+
*
|
4861
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
|
4862
|
+
*/
|
4863
|
+
interface GPUPipelineError extends DOMException {
|
4864
|
+
/**
|
4865
|
+
* The **`reason`** read-only property of the GPUPipelineError interface defines the reason the pipeline creation failed in a machine-readable way.
|
4866
|
+
*
|
4867
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason)
|
4868
|
+
*/
|
4869
|
+
readonly reason: GPUPipelineErrorReason;
|
4870
|
+
}
|
4871
|
+
|
4872
|
+
declare var GPUPipelineError: {
|
4873
|
+
prototype: GPUPipelineError;
|
4874
|
+
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
|
4875
|
+
};
|
4876
|
+
|
4779
4877
|
interface GenericTransformStream {
|
4780
4878
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */
|
4781
4879
|
readonly readable: ReadableStream;
|
@@ -4840,19 +4938,19 @@ declare var Headers: {
|
|
4840
4938
|
*/
|
4841
4939
|
interface IDBCursor {
|
4842
4940
|
/**
|
4843
|
-
* The **`direction`** read-only property of the direction of traversal of the cursor (set using
|
4941
|
+
* 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).
|
4844
4942
|
*
|
4845
4943
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/direction)
|
4846
4944
|
*/
|
4847
4945
|
readonly direction: IDBCursorDirection;
|
4848
4946
|
/**
|
4849
|
-
* The **`key`** read-only property of the position.
|
4947
|
+
* The **`key`** read-only property of the IDBCursor interface returns the key for the record at the cursor's position.
|
4850
4948
|
*
|
4851
4949
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/key)
|
4852
4950
|
*/
|
4853
4951
|
readonly key: IDBValidKey;
|
4854
4952
|
/**
|
4855
|
-
* The **`primaryKey`** read-only property of the
|
4953
|
+
* The **`primaryKey`** read-only property of the IDBCursor interface returns the cursor's current effective key.
|
4856
4954
|
*
|
4857
4955
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/primaryKey)
|
4858
4956
|
*/
|
@@ -4864,7 +4962,7 @@ interface IDBCursor {
|
|
4864
4962
|
*/
|
4865
4963
|
readonly request: IDBRequest;
|
4866
4964
|
/**
|
4867
|
-
* The **`source`** read-only property of the
|
4965
|
+
* The **`source`** read-only property of the IDBCursor interface returns the IDBObjectStore or IDBIndex that the cursor is iterating over.
|
4868
4966
|
*
|
4869
4967
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/source)
|
4870
4968
|
*/
|
@@ -4882,7 +4980,7 @@ interface IDBCursor {
|
|
4882
4980
|
*/
|
4883
4981
|
continue(key?: IDBValidKey): void;
|
4884
4982
|
/**
|
4885
|
-
* The **`continuePrimaryKey()`** method of the matches the key parameter as well as whose primary key matches the primary key parameter.
|
4983
|
+
* 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.
|
4886
4984
|
*
|
4887
4985
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/continuePrimaryKey)
|
4888
4986
|
*/
|
@@ -4913,7 +5011,7 @@ declare var IDBCursor: {
|
|
4913
5011
|
*/
|
4914
5012
|
interface IDBCursorWithValue extends IDBCursor {
|
4915
5013
|
/**
|
4916
|
-
* The **`value`** read-only property of the whatever that is.
|
5014
|
+
* The **`value`** read-only property of the IDBCursorWithValue interface returns the value of the current cursor, whatever that is.
|
4917
5015
|
*
|
4918
5016
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue/value)
|
4919
5017
|
*/
|
@@ -4945,11 +5043,12 @@ interface IDBDatabase extends EventTarget {
|
|
4945
5043
|
*/
|
4946
5044
|
readonly name: string;
|
4947
5045
|
/**
|
4948
|
-
* The **`objectStoreNames`** read-only property of the list of the names of the object stores currently in the connected database.
|
5046
|
+
* 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.
|
4949
5047
|
*
|
4950
5048
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
|
4951
5049
|
*/
|
4952
5050
|
readonly objectStoreNames: DOMStringList;
|
5051
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
|
4953
5052
|
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
|
4954
5053
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
|
4955
5054
|
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
|
@@ -4969,13 +5068,13 @@ interface IDBDatabase extends EventTarget {
|
|
4969
5068
|
*/
|
4970
5069
|
close(): void;
|
4971
5070
|
/**
|
4972
|
-
* The **`createObjectStore()`** method of the
|
5071
|
+
* The **`createObjectStore()`** method of the IDBDatabase interface creates and returns a new IDBObjectStore.
|
4973
5072
|
*
|
4974
5073
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/createObjectStore)
|
4975
5074
|
*/
|
4976
5075
|
createObjectStore(name: string, options?: IDBObjectStoreParameters): IDBObjectStore;
|
4977
5076
|
/**
|
4978
|
-
* The **`deleteObjectStore()`** method of the the connected database, along with any indexes that reference it.
|
5077
|
+
* 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.
|
4979
5078
|
*
|
4980
5079
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/deleteObjectStore)
|
4981
5080
|
*/
|
@@ -5016,7 +5115,7 @@ interface IDBFactory {
|
|
5016
5115
|
*/
|
5017
5116
|
databases(): Promise<IDBDatabaseInfo[]>;
|
5018
5117
|
/**
|
5019
|
-
* The **`deleteDatabase()`** method of the
|
5118
|
+
* The **`deleteDatabase()`** method of the IDBFactory interface requests the deletion of a database.
|
5020
5119
|
*
|
5021
5120
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/deleteDatabase)
|
5022
5121
|
*/
|
@@ -5047,7 +5146,7 @@ interface IDBIndex {
|
|
5047
5146
|
*/
|
5048
5147
|
readonly keyPath: string | string[];
|
5049
5148
|
/**
|
5050
|
-
* The **`multiEntry`** read-only property of the behaves when the result of evaluating the index's key path yields an array.
|
5149
|
+
* 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.
|
5051
5150
|
*
|
5052
5151
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/multiEntry)
|
5053
5152
|
*/
|
@@ -5077,7 +5176,7 @@ interface IDBIndex {
|
|
5077
5176
|
*/
|
5078
5177
|
count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
5079
5178
|
/**
|
5080
|
-
* 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
|
5179
|
+
* 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.
|
5081
5180
|
*
|
5082
5181
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/get)
|
5083
5182
|
*/
|
@@ -5087,15 +5186,15 @@ interface IDBIndex {
|
|
5087
5186
|
*
|
5088
5187
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAll)
|
5089
5188
|
*/
|
5090
|
-
getAll(
|
5189
|
+
getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
|
5091
5190
|
/**
|
5092
5191
|
* The **`getAllKeys()`** method of the IDBIndex interface asynchronously retrieves the primary keys of all objects inside the index, setting them as the `result` of the request object.
|
5093
5192
|
*
|
5094
5193
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAllKeys)
|
5095
5194
|
*/
|
5096
|
-
getAllKeys(
|
5195
|
+
getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
5097
5196
|
/**
|
5098
|
-
* 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
|
5197
|
+
* 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.
|
5099
5198
|
*
|
5100
5199
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getKey)
|
5101
5200
|
*/
|
@@ -5107,7 +5206,7 @@ interface IDBIndex {
|
|
5107
5206
|
*/
|
5108
5207
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
5109
5208
|
/**
|
5110
|
-
* The **`openKeyCursor()`** method of the a separate thread, creates a cursor over the specified key range, as arranged by this index.
|
5209
|
+
* 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.
|
5111
5210
|
*
|
5112
5211
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/openKeyCursor)
|
5113
5212
|
*/
|
@@ -5126,25 +5225,25 @@ declare var IDBIndex: {
|
|
5126
5225
|
*/
|
5127
5226
|
interface IDBKeyRange {
|
5128
5227
|
/**
|
5129
|
-
* The **`lower`** read-only property of the
|
5228
|
+
* The **`lower`** read-only property of the IDBKeyRange interface returns the lower bound of the key range.
|
5130
5229
|
*
|
5131
5230
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lower)
|
5132
5231
|
*/
|
5133
5232
|
readonly lower: any;
|
5134
5233
|
/**
|
5135
|
-
* The **`lowerOpen`** read-only property of the lower-bound value is included in the key range.
|
5234
|
+
* The **`lowerOpen`** read-only property of the IDBKeyRange interface returns a boolean indicating whether the lower-bound value is included in the key range.
|
5136
5235
|
*
|
5137
5236
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerOpen)
|
5138
5237
|
*/
|
5139
5238
|
readonly lowerOpen: boolean;
|
5140
5239
|
/**
|
5141
|
-
* The **`upper`** read-only property of the
|
5240
|
+
* The **`upper`** read-only property of the IDBKeyRange interface returns the upper bound of the key range.
|
5142
5241
|
*
|
5143
5242
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upper)
|
5144
5243
|
*/
|
5145
5244
|
readonly upper: any;
|
5146
5245
|
/**
|
5147
|
-
* The **`upperOpen`** read-only property of the upper-bound value is included in the key range.
|
5246
|
+
* The **`upperOpen`** read-only property of the IDBKeyRange interface returns a boolean indicating whether the upper-bound value is included in the key range.
|
5148
5247
|
*
|
5149
5248
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperOpen)
|
5150
5249
|
*/
|
@@ -5167,7 +5266,7 @@ declare var IDBKeyRange: {
|
|
5167
5266
|
*/
|
5168
5267
|
bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;
|
5169
5268
|
/**
|
5170
|
-
* The **`lowerBound()`** static method of the
|
5269
|
+
* The **`lowerBound()`** static method of the IDBKeyRange interface creates a new key range with only a lower bound.
|
5171
5270
|
*
|
5172
5271
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerBound_static)
|
5173
5272
|
*/
|
@@ -5179,7 +5278,7 @@ declare var IDBKeyRange: {
|
|
5179
5278
|
*/
|
5180
5279
|
only(value: any): IDBKeyRange;
|
5181
5280
|
/**
|
5182
|
-
* The **`upperBound()`** static method of the
|
5281
|
+
* The **`upperBound()`** static method of the IDBKeyRange interface creates a new upper-bound key range.
|
5183
5282
|
*
|
5184
5283
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperBound_static)
|
5185
5284
|
*/
|
@@ -5193,19 +5292,19 @@ declare var IDBKeyRange: {
|
|
5193
5292
|
*/
|
5194
5293
|
interface IDBObjectStore {
|
5195
5294
|
/**
|
5196
|
-
* The **`autoIncrement`** read-only property of the for this object store.
|
5295
|
+
* The **`autoIncrement`** read-only property of the IDBObjectStore interface returns the value of the auto increment flag for this object store.
|
5197
5296
|
*
|
5198
5297
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/autoIncrement)
|
5199
5298
|
*/
|
5200
5299
|
readonly autoIncrement: boolean;
|
5201
5300
|
/**
|
5202
|
-
* The **`indexNames`** read-only property of the in this object store.
|
5301
|
+
* The **`indexNames`** read-only property of the IDBObjectStore interface returns a list of the names of indexes on objects in this object store.
|
5203
5302
|
*
|
5204
5303
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/indexNames)
|
5205
5304
|
*/
|
5206
5305
|
readonly indexNames: DOMStringList;
|
5207
5306
|
/**
|
5208
|
-
* The **`keyPath`** read-only property of the
|
5307
|
+
* The **`keyPath`** read-only property of the IDBObjectStore interface returns the key path of this object store.
|
5209
5308
|
*
|
5210
5309
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
|
5211
5310
|
*/
|
@@ -5217,7 +5316,7 @@ interface IDBObjectStore {
|
|
5217
5316
|
*/
|
5218
5317
|
name: string;
|
5219
5318
|
/**
|
5220
|
-
* The **`transaction`** read-only property of the object store belongs.
|
5319
|
+
* The **`transaction`** read-only property of the IDBObjectStore interface returns the transaction object to which this object store belongs.
|
5221
5320
|
*
|
5222
5321
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/transaction)
|
5223
5322
|
*/
|
@@ -5235,25 +5334,25 @@ interface IDBObjectStore {
|
|
5235
5334
|
*/
|
5236
5335
|
clear(): IDBRequest<undefined>;
|
5237
5336
|
/**
|
5238
|
-
* 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
|
5337
|
+
* 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.
|
5239
5338
|
*
|
5240
5339
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/count)
|
5241
5340
|
*/
|
5242
5341
|
count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
5243
5342
|
/**
|
5244
|
-
* The **`createIndex()`** method of the
|
5343
|
+
* The **`createIndex()`** method of the IDBObjectStore interface creates and returns a new IDBIndex object in the connected database.
|
5245
5344
|
*
|
5246
5345
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
5247
5346
|
*/
|
5248
5347
|
createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;
|
5249
5348
|
/**
|
5250
|
-
* The **`delete()`** method of the and, in a separate thread, deletes the specified record or records.
|
5349
|
+
* The **`delete()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, deletes the specified record or records.
|
5251
5350
|
*
|
5252
5351
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/delete)
|
5253
5352
|
*/
|
5254
5353
|
delete(query: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;
|
5255
5354
|
/**
|
5256
|
-
* The **`deleteIndex()`** method of the the connected database, used during a version upgrade.
|
5355
|
+
* The **`deleteIndex()`** method of the IDBObjectStore interface destroys the index with the specified name in the connected database, used during a version upgrade.
|
5257
5356
|
*
|
5258
5357
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/deleteIndex)
|
5259
5358
|
*/
|
@@ -5265,19 +5364,19 @@ interface IDBObjectStore {
|
|
5265
5364
|
*/
|
5266
5365
|
get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;
|
5267
5366
|
/**
|
5268
|
-
* 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.
|
5367
|
+
* 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.
|
5269
5368
|
*
|
5270
5369
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)
|
5271
5370
|
*/
|
5272
|
-
getAll(
|
5371
|
+
getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
|
5273
5372
|
/**
|
5274
5373
|
* The `getAllKeys()` method of the IDBObjectStore interface returns an IDBRequest object retrieves record keys for all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.
|
5275
5374
|
*
|
5276
5375
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAllKeys)
|
5277
5376
|
*/
|
5278
|
-
getAllKeys(
|
5377
|
+
getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
5279
5378
|
/**
|
5280
|
-
* The **`getKey()`** method of the and, in a separate thread, returns the key selected by the specified query.
|
5379
|
+
* The **`getKey()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the key selected by the specified query.
|
5281
5380
|
*
|
5282
5381
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getKey)
|
5283
5382
|
*/
|
@@ -5289,13 +5388,13 @@ interface IDBObjectStore {
|
|
5289
5388
|
*/
|
5290
5389
|
index(name: string): IDBIndex;
|
5291
5390
|
/**
|
5292
|
-
* The **`openCursor()`** method of the and, in a separate thread, returns a new IDBCursorWithValue object.
|
5391
|
+
* The **`openCursor()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns a new IDBCursorWithValue object.
|
5293
5392
|
*
|
5294
5393
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openCursor)
|
5295
5394
|
*/
|
5296
5395
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
5297
5396
|
/**
|
5298
|
-
* The **`openKeyCursor()`** method of the whose result will be set to an IDBCursor that can be used to iterate through matching results.
|
5397
|
+
* 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.
|
5299
5398
|
*
|
5300
5399
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openKeyCursor)
|
5301
5400
|
*/
|
@@ -5351,7 +5450,7 @@ interface IDBRequestEventMap {
|
|
5351
5450
|
*/
|
5352
5451
|
interface IDBRequest<T = any> extends EventTarget {
|
5353
5452
|
/**
|
5354
|
-
* The **`error`** read-only property of the request.
|
5453
|
+
* The **`error`** read-only property of the IDBRequest interface returns the error in the event of an unsuccessful request.
|
5355
5454
|
*
|
5356
5455
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/error)
|
5357
5456
|
*/
|
@@ -5361,19 +5460,19 @@ interface IDBRequest<T = any> extends EventTarget {
|
|
5361
5460
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/success_event) */
|
5362
5461
|
onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;
|
5363
5462
|
/**
|
5364
|
-
* The **`readyState`** read-only property of the
|
5463
|
+
* The **`readyState`** read-only property of the IDBRequest interface returns the state of the request.
|
5365
5464
|
*
|
5366
5465
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/readyState)
|
5367
5466
|
*/
|
5368
5467
|
readonly readyState: IDBRequestReadyState;
|
5369
5468
|
/**
|
5370
|
-
* The **`result`** read-only property of the
|
5469
|
+
* The **`result`** read-only property of the IDBRequest interface returns the result of the request.
|
5371
5470
|
*
|
5372
5471
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/result)
|
5373
5472
|
*/
|
5374
5473
|
readonly result: T;
|
5375
5474
|
/**
|
5376
|
-
* The **`source`** read-only property of the Index or an object store.
|
5475
|
+
* The **`source`** read-only property of the IDBRequest interface returns the source of the request, such as an Index or an object store.
|
5377
5476
|
*
|
5378
5477
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/source)
|
5379
5478
|
*/
|
@@ -5426,13 +5525,13 @@ interface IDBTransaction extends EventTarget {
|
|
5426
5525
|
*/
|
5427
5526
|
readonly error: DOMException | null;
|
5428
5527
|
/**
|
5429
|
-
* 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`.
|
5528
|
+
* 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`.
|
5430
5529
|
*
|
5431
5530
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/mode)
|
5432
5531
|
*/
|
5433
5532
|
readonly mode: IDBTransactionMode;
|
5434
5533
|
/**
|
5435
|
-
* The **`objectStoreNames`** read-only property of the of IDBObjectStore objects.
|
5534
|
+
* The **`objectStoreNames`** read-only property of the IDBTransaction interface returns a DOMStringList of names of IDBObjectStore objects.
|
5436
5535
|
*
|
5437
5536
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames)
|
5438
5537
|
*/
|
@@ -5456,7 +5555,7 @@ interface IDBTransaction extends EventTarget {
|
|
5456
5555
|
*/
|
5457
5556
|
commit(): void;
|
5458
5557
|
/**
|
5459
|
-
* The **`objectStore()`** method of the added to the scope of this transaction.
|
5558
|
+
* The **`objectStore()`** method of the IDBTransaction interface returns an object store that has already been added to the scope of this transaction.
|
5460
5559
|
*
|
5461
5560
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStore)
|
5462
5561
|
*/
|
@@ -5479,13 +5578,13 @@ declare var IDBTransaction: {
|
|
5479
5578
|
*/
|
5480
5579
|
interface IDBVersionChangeEvent extends Event {
|
5481
5580
|
/**
|
5482
|
-
* The **`newVersion`** read-only property of the database.
|
5581
|
+
* The **`newVersion`** read-only property of the IDBVersionChangeEvent interface returns the new version number of the database.
|
5483
5582
|
*
|
5484
5583
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/newVersion)
|
5485
5584
|
*/
|
5486
5585
|
readonly newVersion: number | null;
|
5487
5586
|
/**
|
5488
|
-
* The **`oldVersion`** read-only property of the database.
|
5587
|
+
* The **`oldVersion`** read-only property of the IDBVersionChangeEvent interface returns the old version number of the database.
|
5489
5588
|
*
|
5490
5589
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/oldVersion)
|
5491
5590
|
*/
|
@@ -5560,7 +5659,7 @@ interface ImageData {
|
|
5560
5659
|
*/
|
5561
5660
|
readonly colorSpace: PredefinedColorSpace;
|
5562
5661
|
/**
|
5563
|
-
* The readonly **`ImageData.data`** property returns a pixel data.
|
5662
|
+
* The readonly **`ImageData.data`** property returns a Uint8ClampedArray or Float16Array that contains the ImageData object's pixel data.
|
5564
5663
|
*
|
5565
5664
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
|
5566
5665
|
*/
|
@@ -5750,7 +5849,7 @@ interface Lock {
|
|
5750
5849
|
*/
|
5751
5850
|
readonly mode: LockMode;
|
5752
5851
|
/**
|
5753
|
-
* The **`name`** read-only property of the Lock interface returns the _name_ passed to
|
5852
|
+
* The **`name`** read-only property of the Lock interface returns the _name_ passed to LockManager.request selected when the lock was requested.
|
5754
5853
|
*
|
5755
5854
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Lock/name)
|
5756
5855
|
*/
|
@@ -5780,8 +5879,8 @@ interface LockManager {
|
|
5780
5879
|
*
|
5781
5880
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/LockManager/request)
|
5782
5881
|
*/
|
5783
|
-
request<T>(name: string, callback: LockGrantedCallback<T>): Promise<T
|
5784
|
-
request<T>(name: string, options: LockOptions, callback: LockGrantedCallback<T>): Promise<T
|
5882
|
+
request<T>(name: string, callback: LockGrantedCallback<T>): Promise<Awaited<T>>;
|
5883
|
+
request<T>(name: string, options: LockOptions, callback: LockGrantedCallback<T>): Promise<Awaited<T>>;
|
5785
5884
|
}
|
5786
5885
|
|
5787
5886
|
declare var LockManager: {
|
@@ -5853,13 +5952,13 @@ declare var MediaStreamTrackProcessor: {
|
|
5853
5952
|
*/
|
5854
5953
|
interface MessageChannel {
|
5855
5954
|
/**
|
5856
|
-
* The **`port1`** read-only property of the the port attached to the context that originated the channel.
|
5955
|
+
* 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.
|
5857
5956
|
*
|
5858
5957
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port1)
|
5859
5958
|
*/
|
5860
5959
|
readonly port1: MessagePort;
|
5861
5960
|
/**
|
5862
|
-
* 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.
|
5961
|
+
* 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.
|
5863
5962
|
*
|
5864
5963
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port2)
|
5865
5964
|
*/
|
@@ -5878,31 +5977,31 @@ declare var MessageChannel: {
|
|
5878
5977
|
*/
|
5879
5978
|
interface MessageEvent<T = any> extends Event {
|
5880
5979
|
/**
|
5881
|
-
* The **`data`** read-only property of the
|
5980
|
+
* The **`data`** read-only property of the MessageEvent interface represents the data sent by the message emitter.
|
5882
5981
|
*
|
5883
5982
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/data)
|
5884
5983
|
*/
|
5885
5984
|
readonly data: T;
|
5886
5985
|
/**
|
5887
|
-
* The **`lastEventId`** read-only property of the unique ID for the event.
|
5986
|
+
* The **`lastEventId`** read-only property of the MessageEvent interface is a string representing a unique ID for the event.
|
5888
5987
|
*
|
5889
5988
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/lastEventId)
|
5890
5989
|
*/
|
5891
5990
|
readonly lastEventId: string;
|
5892
5991
|
/**
|
5893
|
-
* The **`origin`** read-only property of the origin of the message emitter.
|
5992
|
+
* The **`origin`** read-only property of the MessageEvent interface is a string representing the origin of the message emitter.
|
5894
5993
|
*
|
5895
5994
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/origin)
|
5896
5995
|
*/
|
5897
5996
|
readonly origin: string;
|
5898
5997
|
/**
|
5899
|
-
* The **`ports`** read-only property of the containing all MessagePort objects sent with the message, in order.
|
5998
|
+
* 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.
|
5900
5999
|
*
|
5901
6000
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/ports)
|
5902
6001
|
*/
|
5903
6002
|
readonly ports: ReadonlyArray<MessagePort>;
|
5904
6003
|
/**
|
5905
|
-
* The **`source`** read-only property of the
|
6004
|
+
* 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.
|
5906
6005
|
*
|
5907
6006
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
|
5908
6007
|
*/
|
@@ -5950,7 +6049,7 @@ interface MessagePort extends EventTarget, MessageEventTarget<MessagePort> {
|
|
5950
6049
|
*/
|
5951
6050
|
close(): void;
|
5952
6051
|
/**
|
5953
|
-
* The **`postMessage()`** method of the transfers ownership of objects to other browsing contexts.
|
6052
|
+
* The **`postMessage()`** method of the MessagePort interface sends a message from the port, and optionally, transfers ownership of objects to other browsing contexts.
|
5954
6053
|
*
|
5955
6054
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage)
|
5956
6055
|
*/
|
@@ -6025,35 +6124,15 @@ interface NavigatorConcurrentHardware {
|
|
6025
6124
|
}
|
6026
6125
|
|
6027
6126
|
interface NavigatorID {
|
6028
|
-
/**
|
6029
|
-
* @deprecated
|
6030
|
-
*
|
6031
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName)
|
6032
|
-
*/
|
6127
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */
|
6033
6128
|
readonly appCodeName: string;
|
6034
|
-
/**
|
6035
|
-
* @deprecated
|
6036
|
-
*
|
6037
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName)
|
6038
|
-
*/
|
6129
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */
|
6039
6130
|
readonly appName: string;
|
6040
|
-
/**
|
6041
|
-
* @deprecated
|
6042
|
-
*
|
6043
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion)
|
6044
|
-
*/
|
6131
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */
|
6045
6132
|
readonly appVersion: string;
|
6046
|
-
/**
|
6047
|
-
* @deprecated
|
6048
|
-
*
|
6049
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform)
|
6050
|
-
*/
|
6133
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */
|
6051
6134
|
readonly platform: string;
|
6052
|
-
/**
|
6053
|
-
* @deprecated
|
6054
|
-
*
|
6055
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product)
|
6056
|
-
*/
|
6135
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */
|
6057
6136
|
readonly product: string;
|
6058
6137
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */
|
6059
6138
|
readonly userAgent: string;
|
@@ -6097,19 +6176,13 @@ interface NotificationEventMap {
|
|
6097
6176
|
*/
|
6098
6177
|
interface Notification extends EventTarget {
|
6099
6178
|
/**
|
6100
|
-
* The **`
|
6101
|
-
*
|
6102
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/badge)
|
6103
|
-
*/
|
6104
|
-
readonly badge: string;
|
6105
|
-
/**
|
6106
|
-
* The **`body`** read-only property of the specified in the `body` option of the A string.
|
6179
|
+
* 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.
|
6107
6180
|
*
|
6108
6181
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/body)
|
6109
6182
|
*/
|
6110
6183
|
readonly body: string;
|
6111
6184
|
/**
|
6112
|
-
* The **`data`** read-only property of the
|
6185
|
+
* 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.
|
6113
6186
|
*
|
6114
6187
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/data)
|
6115
6188
|
*/
|
@@ -6121,13 +6194,13 @@ interface Notification extends EventTarget {
|
|
6121
6194
|
*/
|
6122
6195
|
readonly dir: NotificationDirection;
|
6123
6196
|
/**
|
6124
|
-
* The **`icon`** read-only property of the part of the notification, as specified in the `icon` option of the
|
6197
|
+
* 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.
|
6125
6198
|
*
|
6126
6199
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/icon)
|
6127
6200
|
*/
|
6128
6201
|
readonly icon: string;
|
6129
6202
|
/**
|
6130
|
-
* The **`lang`** read-only property of the
|
6203
|
+
* 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.
|
6131
6204
|
*
|
6132
6205
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/lang)
|
6133
6206
|
*/
|
@@ -6147,19 +6220,19 @@ interface Notification extends EventTarget {
|
|
6147
6220
|
*/
|
6148
6221
|
readonly requireInteraction: boolean;
|
6149
6222
|
/**
|
6150
|
-
* The **`silent`** read-only property of the silent, i.e., no sounds or vibrations should be issued regardless of the device settings.
|
6223
|
+
* 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.
|
6151
6224
|
*
|
6152
6225
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/silent)
|
6153
6226
|
*/
|
6154
6227
|
readonly silent: boolean | null;
|
6155
6228
|
/**
|
6156
|
-
* The **`tag`** read-only property of the
|
6229
|
+
* 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.
|
6157
6230
|
*
|
6158
6231
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/tag)
|
6159
6232
|
*/
|
6160
6233
|
readonly tag: string;
|
6161
6234
|
/**
|
6162
|
-
* The **`title`** read-only property of the specified in the `title` parameter of the
|
6235
|
+
* 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.
|
6163
6236
|
*
|
6164
6237
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/title)
|
6165
6238
|
*/
|
@@ -6333,13 +6406,13 @@ interface OES_vertex_array_object {
|
|
6333
6406
|
*/
|
6334
6407
|
bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
|
6335
6408
|
/**
|
6336
|
-
* 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.
|
6409
|
+
* 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.
|
6337
6410
|
*
|
6338
6411
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/createVertexArrayOES)
|
6339
6412
|
*/
|
6340
6413
|
createVertexArrayOES(): WebGLVertexArrayObjectOES;
|
6341
6414
|
/**
|
6342
|
-
* The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given
|
6415
|
+
* The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given WebGLVertexArrayObject object.
|
6343
6416
|
*
|
6344
6417
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES)
|
6345
6418
|
*/
|
@@ -6824,7 +6897,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
6824
6897
|
*/
|
6825
6898
|
readonly transferSize: number;
|
6826
6899
|
/**
|
6827
|
-
* The **`workerStart`** read-only property of the PerformanceResourceTiming interface returns a
|
6900
|
+
* 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.
|
6828
6901
|
*
|
6829
6902
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/workerStart)
|
6830
6903
|
*/
|
@@ -6898,7 +6971,7 @@ interface PermissionStatus extends EventTarget {
|
|
6898
6971
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/change_event) */
|
6899
6972
|
onchange: ((this: PermissionStatus, ev: Event) => any) | null;
|
6900
6973
|
/**
|
6901
|
-
* The **`state`** read-only property of the
|
6974
|
+
* The **`state`** read-only property of the PermissionStatus interface returns the state of a requested permission.
|
6902
6975
|
*
|
6903
6976
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/state)
|
6904
6977
|
*/
|
@@ -6915,7 +6988,7 @@ declare var PermissionStatus: {
|
|
6915
6988
|
};
|
6916
6989
|
|
6917
6990
|
/**
|
6918
|
-
* The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions
|
6991
|
+
* The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions
|
6919
6992
|
*
|
6920
6993
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions)
|
6921
6994
|
*/
|
@@ -6940,7 +7013,7 @@ declare var Permissions: {
|
|
6940
7013
|
*/
|
6941
7014
|
interface ProgressEvent<T extends EventTarget = EventTarget> extends Event {
|
6942
7015
|
/**
|
6943
|
-
* The **`ProgressEvent.lengthComputable`** read-only property is a boolean flag indicating if the resource concerned by the
|
7016
|
+
* 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.
|
6944
7017
|
*
|
6945
7018
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/lengthComputable)
|
6946
7019
|
*/
|
@@ -6972,7 +7045,7 @@ declare var ProgressEvent: {
|
|
6972
7045
|
*/
|
6973
7046
|
interface PromiseRejectionEvent extends Event {
|
6974
7047
|
/**
|
6975
|
-
* The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript rejected.
|
7048
|
+
* The PromiseRejectionEvent interface's **`promise`** read-only property indicates the JavaScript Promise which was rejected.
|
6976
7049
|
*
|
6977
7050
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise)
|
6978
7051
|
*/
|
@@ -7024,7 +7097,7 @@ interface PushManager {
|
|
7024
7097
|
*/
|
7025
7098
|
getSubscription(): Promise<PushSubscription | null>;
|
7026
7099
|
/**
|
7027
|
-
* The **`permissionState()`** method of the string indicating the permission state of the push manager.
|
7100
|
+
* The **`permissionState()`** method of the PushManager interface returns a Promise that resolves to a string indicating the permission state of the push manager.
|
7028
7101
|
*
|
7029
7102
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/permissionState)
|
7030
7103
|
*/
|
@@ -7100,13 +7173,13 @@ declare var PushMessageData: {
|
|
7100
7173
|
*/
|
7101
7174
|
interface PushSubscription {
|
7102
7175
|
/**
|
7103
|
-
* The **`endpoint`** read-only property of the the endpoint associated with the push subscription.
|
7176
|
+
* The **`endpoint`** read-only property of the PushSubscription interface returns a string containing the endpoint associated with the push subscription.
|
7104
7177
|
*
|
7105
7178
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/endpoint)
|
7106
7179
|
*/
|
7107
7180
|
readonly endpoint: string;
|
7108
7181
|
/**
|
7109
|
-
* The **`expirationTime`** read-only property of the of the subscription expiration time associated with the push subscription, if there is one, or `null` otherwise.
|
7182
|
+
* 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.
|
7110
7183
|
*
|
7111
7184
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/expirationTime)
|
7112
7185
|
*/
|
@@ -7195,7 +7268,7 @@ interface RTCDataChannelEventMap {
|
|
7195
7268
|
*/
|
7196
7269
|
interface RTCDataChannel extends EventTarget {
|
7197
7270
|
/**
|
7198
|
-
* The property **`binaryType`** on the the type of object which should be used to represent binary data received on the RTCDataChannel.
|
7271
|
+
* 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.
|
7199
7272
|
*
|
7200
7273
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/binaryType)
|
7201
7274
|
*/
|
@@ -7237,7 +7310,7 @@ interface RTCDataChannel extends EventTarget {
|
|
7237
7310
|
*/
|
7238
7311
|
readonly maxRetransmits: number | null;
|
7239
7312
|
/**
|
7240
|
-
* The read-only `RTCDataChannel` property **`negotiated`** indicates whether the (`true`) or by the WebRTC layer (`false`).
|
7313
|
+
* 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`).
|
7241
7314
|
*
|
7242
7315
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/negotiated)
|
7243
7316
|
*/
|
@@ -7273,13 +7346,13 @@ interface RTCDataChannel extends EventTarget {
|
|
7273
7346
|
*/
|
7274
7347
|
readonly readyState: RTCDataChannelState;
|
7275
7348
|
/**
|
7276
|
-
* The **`RTCDataChannel.close()`** method closes the
|
7349
|
+
* The **`RTCDataChannel.close()`** method closes the RTCDataChannel.
|
7277
7350
|
*
|
7278
7351
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/close)
|
7279
7352
|
*/
|
7280
7353
|
close(): void;
|
7281
7354
|
/**
|
7282
|
-
* The **`send()`** method of the remote peer.
|
7355
|
+
* The **`send()`** method of the RTCDataChannel interface sends data across the data channel to the remote peer.
|
7283
7356
|
*
|
7284
7357
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/send)
|
7285
7358
|
*/
|
@@ -7387,7 +7460,7 @@ interface RTCRtpScriptTransformer extends EventTarget {
|
|
7387
7460
|
*
|
7388
7461
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransformer/generateKeyFrame)
|
7389
7462
|
*/
|
7390
|
-
generateKeyFrame(rid?: string): Promise<
|
7463
|
+
generateKeyFrame(rid?: string): Promise<void>;
|
7391
7464
|
/**
|
7392
7465
|
* The **`sendKeyFrameRequest()`** method of the RTCRtpScriptTransformer interface may be called by a WebRTC Encoded Transform that is processing incoming encoded video frames, in order to request a key frame from the sender.
|
7393
7466
|
*
|
@@ -7445,7 +7518,7 @@ interface ReadableByteStreamController {
|
|
7445
7518
|
*/
|
7446
7519
|
close(): void;
|
7447
7520
|
/**
|
7448
|
-
* The **`enqueue()`** method of the ReadableByteStreamController interface enqueues a given chunk on the associated readable byte stream (the chunk is
|
7521
|
+
* The **`enqueue()`** method of the ReadableByteStreamController interface enqueues a given chunk on the associated readable byte stream (the chunk is transferred into the stream's internal queues).
|
7449
7522
|
*
|
7450
7523
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue)
|
7451
7524
|
*/
|
@@ -7502,7 +7575,7 @@ interface ReadableStream<R = any> {
|
|
7502
7575
|
*/
|
7503
7576
|
pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
|
7504
7577
|
/**
|
7505
|
-
* The **`tee()`** method of the two-element array containing the two resulting branches as new ReadableStream instances.
|
7578
|
+
* 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.
|
7506
7579
|
*
|
7507
7580
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/tee)
|
7508
7581
|
*/
|
@@ -7579,7 +7652,7 @@ declare var ReadableStreamBYOBRequest: {
|
|
7579
7652
|
*/
|
7580
7653
|
interface ReadableStreamDefaultController<R = any> {
|
7581
7654
|
/**
|
7582
|
-
* The **`desiredSize`** read-only property of the required to fill the stream's internal queue.
|
7655
|
+
* The **`desiredSize`** read-only property of the ReadableStreamDefaultController interface returns the desired size required to fill the stream's internal queue.
|
7583
7656
|
*
|
7584
7657
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize)
|
7585
7658
|
*/
|
@@ -7591,13 +7664,13 @@ interface ReadableStreamDefaultController<R = any> {
|
|
7591
7664
|
*/
|
7592
7665
|
close(): void;
|
7593
7666
|
/**
|
7594
|
-
* The **`enqueue()`** method of the
|
7667
|
+
* The **`enqueue()`** method of the ReadableStreamDefaultController interface enqueues a given chunk in the associated stream.
|
7595
7668
|
*
|
7596
7669
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
|
7597
7670
|
*/
|
7598
7671
|
enqueue(chunk?: R): void;
|
7599
7672
|
/**
|
7600
|
-
* The **`error()`** method of the with the associated stream to error.
|
7673
|
+
* The **`error()`** method of the ReadableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
7601
7674
|
*
|
7602
7675
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error)
|
7603
7676
|
*/
|
@@ -7641,57 +7714,6 @@ interface ReadableStreamGenericReader {
|
|
7641
7714
|
cancel(reason?: any): Promise<void>;
|
7642
7715
|
}
|
7643
7716
|
|
7644
|
-
/**
|
7645
|
-
* The `Report` interface of the Reporting API represents a single report.
|
7646
|
-
*
|
7647
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report)
|
7648
|
-
*/
|
7649
|
-
interface Report {
|
7650
|
-
/**
|
7651
|
-
* The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information.
|
7652
|
-
*
|
7653
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body)
|
7654
|
-
*/
|
7655
|
-
readonly body: ReportBody | null;
|
7656
|
-
/**
|
7657
|
-
* The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`.
|
7658
|
-
*
|
7659
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type)
|
7660
|
-
*/
|
7661
|
-
readonly type: string;
|
7662
|
-
/**
|
7663
|
-
* The **`url`** read-only property of the Report interface returns the URL of the document that generated the report.
|
7664
|
-
*
|
7665
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url)
|
7666
|
-
*/
|
7667
|
-
readonly url: string;
|
7668
|
-
toJSON(): any;
|
7669
|
-
}
|
7670
|
-
|
7671
|
-
declare var Report: {
|
7672
|
-
prototype: Report;
|
7673
|
-
new(): Report;
|
7674
|
-
};
|
7675
|
-
|
7676
|
-
/**
|
7677
|
-
* The **`ReportBody`** interface of the Reporting API represents the body of a report.
|
7678
|
-
*
|
7679
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody)
|
7680
|
-
*/
|
7681
|
-
interface ReportBody {
|
7682
|
-
/**
|
7683
|
-
* The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object.
|
7684
|
-
*
|
7685
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON)
|
7686
|
-
*/
|
7687
|
-
toJSON(): any;
|
7688
|
-
}
|
7689
|
-
|
7690
|
-
declare var ReportBody: {
|
7691
|
-
prototype: ReportBody;
|
7692
|
-
new(): ReportBody;
|
7693
|
-
};
|
7694
|
-
|
7695
7717
|
/**
|
7696
7718
|
* The `ReportingObserver` interface of the Reporting API allows you to collect and access reports.
|
7697
7719
|
*
|
@@ -7699,19 +7721,19 @@ declare var ReportBody: {
|
|
7699
7721
|
*/
|
7700
7722
|
interface ReportingObserver {
|
7701
7723
|
/**
|
7702
|
-
* The **`disconnect()`** method of the previously started observing from collecting reports.
|
7724
|
+
* The **`disconnect()`** method of the ReportingObserver interface stops a reporting observer that had previously started observing from collecting reports.
|
7703
7725
|
*
|
7704
7726
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/disconnect)
|
7705
7727
|
*/
|
7706
7728
|
disconnect(): void;
|
7707
7729
|
/**
|
7708
|
-
* The **`observe()`** method of the collecting reports in its report queue.
|
7730
|
+
* The **`observe()`** method of the ReportingObserver interface instructs a reporting observer to start collecting reports in its report queue.
|
7709
7731
|
*
|
7710
7732
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/observe)
|
7711
7733
|
*/
|
7712
7734
|
observe(): void;
|
7713
7735
|
/**
|
7714
|
-
* The **`takeRecords()`** method of the in the observer's report queue, and empties the queue.
|
7736
|
+
* The **`takeRecords()`** method of the ReportingObserver interface returns the current list of reports contained in the observer's report queue, and empties the queue.
|
7715
7737
|
*
|
7716
7738
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/takeRecords)
|
7717
7739
|
*/
|
@@ -7748,7 +7770,7 @@ interface Request extends Body {
|
|
7748
7770
|
*/
|
7749
7771
|
readonly destination: RequestDestination;
|
7750
7772
|
/**
|
7751
|
-
* The **`headers`** read-only property of the with the request.
|
7773
|
+
* The **`headers`** read-only property of the Request interface contains the Headers object associated with the request.
|
7752
7774
|
*
|
7753
7775
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/headers)
|
7754
7776
|
*/
|
@@ -7766,7 +7788,7 @@ interface Request extends Body {
|
|
7766
7788
|
*/
|
7767
7789
|
readonly keepalive: boolean;
|
7768
7790
|
/**
|
7769
|
-
* The **`method`** read-only property of the
|
7791
|
+
* The **`method`** read-only property of the Request interface contains the request's method (`GET`, `POST`, etc.)
|
7770
7792
|
*
|
7771
7793
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/method)
|
7772
7794
|
*/
|
@@ -7784,13 +7806,13 @@ interface Request extends Body {
|
|
7784
7806
|
*/
|
7785
7807
|
readonly redirect: RequestRedirect;
|
7786
7808
|
/**
|
7787
|
-
* The **`referrer`** read-only property of the Request.
|
7809
|
+
* The **`referrer`** read-only property of the Request interface is set by the user agent to be the referrer of the Request.
|
7788
7810
|
*
|
7789
7811
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrer)
|
7790
7812
|
*/
|
7791
7813
|
readonly referrer: string;
|
7792
7814
|
/**
|
7793
|
-
* The **`referrerPolicy`** read-only property of the referrer information, sent in the Referer header, should be included with the request.
|
7815
|
+
* 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.
|
7794
7816
|
*
|
7795
7817
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrerPolicy)
|
7796
7818
|
*/
|
@@ -7827,7 +7849,7 @@ declare var Request: {
|
|
7827
7849
|
*/
|
7828
7850
|
interface Response extends Body {
|
7829
7851
|
/**
|
7830
|
-
* The **`headers`** read-only property of the with the response.
|
7852
|
+
* The **`headers`** read-only property of the Response interface contains the Headers object associated with the response.
|
7831
7853
|
*
|
7832
7854
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/headers)
|
7833
7855
|
*/
|
@@ -7899,6 +7921,31 @@ declare var Response: {
|
|
7899
7921
|
redirect(url: string | URL, status?: number): Response;
|
7900
7922
|
};
|
7901
7923
|
|
7924
|
+
/**
|
7925
|
+
* The **`Scheduler`** interface of the Prioritized Task Scheduling API provides methods for scheduling prioritized tasks.
|
7926
|
+
*
|
7927
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Scheduler)
|
7928
|
+
*/
|
7929
|
+
interface Scheduler {
|
7930
|
+
/**
|
7931
|
+
* The **`postTask()`** method of the Scheduler interface is used for adding tasks to be scheduled according to their priority.
|
7932
|
+
*
|
7933
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Scheduler/postTask)
|
7934
|
+
*/
|
7935
|
+
postTask(callback: SchedulerPostTaskCallback, options?: SchedulerPostTaskOptions): Promise<any>;
|
7936
|
+
/**
|
7937
|
+
* The **`yield()`** method of the Scheduler interface is used for yielding to the main thread during a task and continuing execution later, with the continuation scheduled as a prioritized task (see the Prioritized Task Scheduling API for more information).
|
7938
|
+
*
|
7939
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Scheduler/yield)
|
7940
|
+
*/
|
7941
|
+
yield(): Promise<void>;
|
7942
|
+
}
|
7943
|
+
|
7944
|
+
declare var Scheduler: {
|
7945
|
+
prototype: Scheduler;
|
7946
|
+
new(): Scheduler;
|
7947
|
+
};
|
7948
|
+
|
7902
7949
|
/**
|
7903
7950
|
* The **`SecurityPolicyViolationEvent`** interface inherits from Event, and represents the event object of a `securitypolicyviolation` event sent on an Element/securitypolicyviolation_event, Document/securitypolicyviolation_event, or WorkerGlobalScope/securitypolicyviolation_event when its Content Security Policy (CSP) is violated.
|
7904
7951
|
*
|
@@ -8004,7 +8051,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker {
|
|
8004
8051
|
*/
|
8005
8052
|
readonly scriptURL: string;
|
8006
8053
|
/**
|
8007
|
-
* The **`state`** read-only property of the of the service worker.
|
8054
|
+
* The **`state`** read-only property of the ServiceWorker interface returns a string representing the current state of the service worker.
|
8008
8055
|
*
|
8009
8056
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/state)
|
8010
8057
|
*/
|
@@ -8041,7 +8088,7 @@ interface ServiceWorkerContainerEventMap {
|
|
8041
8088
|
*/
|
8042
8089
|
interface ServiceWorkerContainer extends EventTarget {
|
8043
8090
|
/**
|
8044
|
-
* The **`controller`** read-only property of the ServiceWorkerContainer interface
|
8091
|
+
* The **`controller`** read-only property of the ServiceWorkerContainer interface represents the active ServiceWorker controlling the current page (associated with this `ServiceWorkerContainer`), or `null` if the page has no active or activating service worker.
|
8045
8092
|
*
|
8046
8093
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/controller)
|
8047
8094
|
*/
|
@@ -8059,13 +8106,13 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
8059
8106
|
*/
|
8060
8107
|
readonly ready: Promise<ServiceWorkerRegistration>;
|
8061
8108
|
/**
|
8062
|
-
* The **`getRegistration()`** method of the client URL.
|
8109
|
+
* The **`getRegistration()`** method of the ServiceWorkerContainer interface gets a ServiceWorkerRegistration object whose scope URL matches the provided client URL.
|
8063
8110
|
*
|
8064
8111
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistration)
|
8065
8112
|
*/
|
8066
8113
|
getRegistration(clientURL?: string | URL): Promise<ServiceWorkerRegistration | undefined>;
|
8067
8114
|
/**
|
8068
|
-
* The **`getRegistrations()`** method of the `ServiceWorkerContainer`, in an array.
|
8115
|
+
* The **`getRegistrations()`** method of the ServiceWorkerContainer interface gets all ServiceWorkerRegistrations associated with a `ServiceWorkerContainer`, in an array.
|
8069
8116
|
*
|
8070
8117
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistrations)
|
8071
8118
|
*/
|
@@ -8114,7 +8161,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
|
8114
8161
|
*/
|
8115
8162
|
interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
8116
8163
|
/**
|
8117
|
-
* The **`clients`** read-only property of the object associated with the service worker.
|
8164
|
+
* The **`clients`** read-only property of the ServiceWorkerGlobalScope interface returns the `Clients` object associated with the service worker.
|
8118
8165
|
*
|
8119
8166
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/clients)
|
8120
8167
|
*/
|
@@ -8186,7 +8233,7 @@ interface ServiceWorkerRegistrationEventMap {
|
|
8186
8233
|
*/
|
8187
8234
|
interface ServiceWorkerRegistration extends EventTarget {
|
8188
8235
|
/**
|
8189
|
-
* The **`active`** read-only property of the
|
8236
|
+
* The **`active`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `activating` or `activated`.
|
8190
8237
|
*
|
8191
8238
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)
|
8192
8239
|
*/
|
@@ -8198,7 +8245,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
8198
8245
|
*/
|
8199
8246
|
readonly cookies: CookieStoreManager;
|
8200
8247
|
/**
|
8201
|
-
* The **`installing`** read-only property of the
|
8248
|
+
* The **`installing`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `installing`.
|
8202
8249
|
*
|
8203
8250
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/installing)
|
8204
8251
|
*/
|
@@ -8212,7 +8259,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
8212
8259
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updatefound_event) */
|
8213
8260
|
onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;
|
8214
8261
|
/**
|
8215
|
-
* The **`pushManager`** read-only property of the support for subscribing, getting an active subscription, and accessing push permission status.
|
8262
|
+
* 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.
|
8216
8263
|
*
|
8217
8264
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/pushManager)
|
8218
8265
|
*/
|
@@ -8230,7 +8277,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
8230
8277
|
*/
|
8231
8278
|
readonly updateViaCache: ServiceWorkerUpdateViaCache;
|
8232
8279
|
/**
|
8233
|
-
* The **`waiting`** read-only property of the
|
8280
|
+
* The **`waiting`** read-only property of the ServiceWorkerRegistration interface returns a service worker whose ServiceWorker.state is `installed`.
|
8234
8281
|
*
|
8235
8282
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/waiting)
|
8236
8283
|
*/
|
@@ -8242,19 +8289,19 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
8242
8289
|
*/
|
8243
8290
|
getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;
|
8244
8291
|
/**
|
8245
|
-
* The **`showNotification()`** method of the service worker.
|
8292
|
+
* The **`showNotification()`** method of the ServiceWorkerRegistration interface creates a notification on an active service worker.
|
8246
8293
|
*
|
8247
8294
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/showNotification)
|
8248
8295
|
*/
|
8249
8296
|
showNotification(title: string, options?: NotificationOptions): Promise<void>;
|
8250
8297
|
/**
|
8251
|
-
* The **`unregister()`** method of the registration and returns a Promise.
|
8298
|
+
* The **`unregister()`** method of the ServiceWorkerRegistration interface unregisters the service worker registration and returns a Promise.
|
8252
8299
|
*
|
8253
8300
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister)
|
8254
8301
|
*/
|
8255
8302
|
unregister(): Promise<boolean>;
|
8256
8303
|
/**
|
8257
|
-
* The **`update()`** method of the worker.
|
8304
|
+
* The **`update()`** method of the ServiceWorkerRegistration interface attempts to update the service worker.
|
8258
8305
|
*
|
8259
8306
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update)
|
8260
8307
|
*/
|
@@ -8281,7 +8328,7 @@ interface SharedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
|
8281
8328
|
*/
|
8282
8329
|
interface SharedWorkerGlobalScope extends WorkerGlobalScope {
|
8283
8330
|
/**
|
8284
|
-
* The **`name`** read-only property of the
|
8331
|
+
* The **`name`** read-only property of the SharedWorkerGlobalScope interface returns the name that the SharedWorker was (optionally) given when it was created.
|
8285
8332
|
*
|
8286
8333
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorkerGlobalScope/name)
|
8287
8334
|
*/
|
@@ -8344,25 +8391,25 @@ declare var StorageManager: {
|
|
8344
8391
|
*/
|
8345
8392
|
interface StylePropertyMapReadOnly {
|
8346
8393
|
/**
|
8347
|
-
* The **`size`** read-only property of the containing the size of the `StylePropertyMapReadOnly` object.
|
8394
|
+
* The **`size`** read-only property of the StylePropertyMapReadOnly interface returns an unsigned long integer containing the size of the `StylePropertyMapReadOnly` object.
|
8348
8395
|
*
|
8349
8396
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/size)
|
8350
8397
|
*/
|
8351
8398
|
readonly size: number;
|
8352
8399
|
/**
|
8353
|
-
* The **`get()`** method of the object for the first value of the specified property.
|
8400
|
+
* The **`get()`** method of the StylePropertyMapReadOnly interface returns a CSSStyleValue object for the first value of the specified property.
|
8354
8401
|
*
|
8355
8402
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/get)
|
8356
8403
|
*/
|
8357
8404
|
get(property: string): undefined | CSSStyleValue;
|
8358
8405
|
/**
|
8359
|
-
* The **`getAll()`** method of the
|
8406
|
+
* The **`getAll()`** method of the StylePropertyMapReadOnly interface returns an array of CSSStyleValue objects containing the values for the provided property.
|
8360
8407
|
*
|
8361
8408
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/getAll)
|
8362
8409
|
*/
|
8363
8410
|
getAll(property: string): CSSStyleValue[];
|
8364
8411
|
/**
|
8365
|
-
* The **`has()`** method of the property is in the `StylePropertyMapReadOnly` object.
|
8412
|
+
* The **`has()`** method of the StylePropertyMapReadOnly interface indicates whether the specified property is in the `StylePropertyMapReadOnly` object.
|
8366
8413
|
*
|
8367
8414
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/has)
|
8368
8415
|
*/
|
@@ -8389,7 +8436,7 @@ interface SubtleCrypto {
|
|
8389
8436
|
*/
|
8390
8437
|
decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;
|
8391
8438
|
/**
|
8392
|
-
* The **`deriveBits()`** method of the key.
|
8439
|
+
* The **`deriveBits()`** method of the SubtleCrypto interface can be used to derive an array of bits from a base key.
|
8393
8440
|
*
|
8394
8441
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits)
|
8395
8442
|
*/
|
@@ -8468,7 +8515,80 @@ declare var SubtleCrypto: {
|
|
8468
8515
|
};
|
8469
8516
|
|
8470
8517
|
/**
|
8471
|
-
* The **`
|
8518
|
+
* The **`TaskController`** interface of the Prioritized Task Scheduling API represents a controller object that can be used to both abort and change the priority of one or more prioritized tasks.
|
8519
|
+
*
|
8520
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TaskController)
|
8521
|
+
*/
|
8522
|
+
interface TaskController extends AbortController {
|
8523
|
+
/**
|
8524
|
+
* The **`setPriority()`** method of the TaskController interface can be called to set a new priority for this controller's `signal`.
|
8525
|
+
*
|
8526
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TaskController/setPriority)
|
8527
|
+
*/
|
8528
|
+
setPriority(priority: TaskPriority): void;
|
8529
|
+
}
|
8530
|
+
|
8531
|
+
declare var TaskController: {
|
8532
|
+
prototype: TaskController;
|
8533
|
+
new(init?: TaskControllerInit): TaskController;
|
8534
|
+
};
|
8535
|
+
|
8536
|
+
/**
|
8537
|
+
* The **`TaskPriorityChangeEvent`** is the interface for the `prioritychange` event.
|
8538
|
+
*
|
8539
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TaskPriorityChangeEvent)
|
8540
|
+
*/
|
8541
|
+
interface TaskPriorityChangeEvent extends Event {
|
8542
|
+
/**
|
8543
|
+
* The **`previousPriority`** read-only property of the TaskPriorityChangeEvent interface returns the priority of the corresponding TaskSignal before it was changed and this `prioritychange` event was emitted.
|
8544
|
+
*
|
8545
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TaskPriorityChangeEvent/previousPriority)
|
8546
|
+
*/
|
8547
|
+
readonly previousPriority: TaskPriority;
|
8548
|
+
}
|
8549
|
+
|
8550
|
+
declare var TaskPriorityChangeEvent: {
|
8551
|
+
prototype: TaskPriorityChangeEvent;
|
8552
|
+
new(type: string, priorityChangeEventInitDict: TaskPriorityChangeEventInit): TaskPriorityChangeEvent;
|
8553
|
+
};
|
8554
|
+
|
8555
|
+
interface TaskSignalEventMap extends AbortSignalEventMap {
|
8556
|
+
"prioritychange": TaskPriorityChangeEvent;
|
8557
|
+
}
|
8558
|
+
|
8559
|
+
/**
|
8560
|
+
* The **`TaskSignal`** interface of the Prioritized Task Scheduling API represents a signal object that allows you to communicate with a prioritized task, and abort it or change the priority (if required) via a TaskController object.
|
8561
|
+
*
|
8562
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TaskSignal)
|
8563
|
+
*/
|
8564
|
+
interface TaskSignal extends AbortSignal {
|
8565
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TaskSignal/prioritychange_event) */
|
8566
|
+
onprioritychange: ((this: TaskSignal, ev: TaskPriorityChangeEvent) => any) | null;
|
8567
|
+
/**
|
8568
|
+
* The read-only **`priority`** property of the TaskSignal interface indicates the signal priority.
|
8569
|
+
*
|
8570
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TaskSignal/priority)
|
8571
|
+
*/
|
8572
|
+
readonly priority: TaskPriority;
|
8573
|
+
addEventListener<K extends keyof TaskSignalEventMap>(type: K, listener: (this: TaskSignal, ev: TaskSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
8574
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
8575
|
+
removeEventListener<K extends keyof TaskSignalEventMap>(type: K, listener: (this: TaskSignal, ev: TaskSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
8576
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
8577
|
+
}
|
8578
|
+
|
8579
|
+
declare var TaskSignal: {
|
8580
|
+
prototype: TaskSignal;
|
8581
|
+
new(): TaskSignal;
|
8582
|
+
/**
|
8583
|
+
* The **`TaskSignal.any()`** static method takes an iterable of AbortSignal objects and returns a TaskSignal.
|
8584
|
+
*
|
8585
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TaskSignal/any_static)
|
8586
|
+
*/
|
8587
|
+
any(signals: AbortSignal[], init?: TaskSignalAnyInit): TaskSignal;
|
8588
|
+
};
|
8589
|
+
|
8590
|
+
/**
|
8591
|
+
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, or `GBK`.
|
8472
8592
|
*
|
8473
8593
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)
|
8474
8594
|
*/
|
@@ -8523,19 +8643,19 @@ declare var TextDecoderStream: {
|
|
8523
8643
|
};
|
8524
8644
|
|
8525
8645
|
/**
|
8526
|
-
* The **`TextEncoder`** interface
|
8646
|
+
* The **`TextEncoder`** interface enables you to character encoding a JavaScript string using UTF-8.
|
8527
8647
|
*
|
8528
8648
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)
|
8529
8649
|
*/
|
8530
8650
|
interface TextEncoder extends TextEncoderCommon {
|
8531
8651
|
/**
|
8532
|
-
* The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the
|
8652
|
+
* The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the string character encoding using UTF-8.
|
8533
8653
|
*
|
8534
8654
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)
|
8535
8655
|
*/
|
8536
8656
|
encode(input?: string): Uint8Array<ArrayBuffer>;
|
8537
8657
|
/**
|
8538
|
-
* The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns
|
8658
|
+
* The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns an object indicating the progress of the encoding.
|
8539
8659
|
*
|
8540
8660
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)
|
8541
8661
|
*/
|
@@ -8786,7 +8906,7 @@ interface URL {
|
|
8786
8906
|
*/
|
8787
8907
|
search: string;
|
8788
8908
|
/**
|
8789
|
-
* The **`searchParams`** read-only property of the access to the
|
8909
|
+
* 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.
|
8790
8910
|
*
|
8791
8911
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/searchParams)
|
8792
8912
|
*/
|
@@ -8798,7 +8918,7 @@ interface URL {
|
|
8798
8918
|
*/
|
8799
8919
|
username: string;
|
8800
8920
|
/**
|
8801
|
-
* 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
|
8921
|
+
* 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().
|
8802
8922
|
*
|
8803
8923
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)
|
8804
8924
|
*/
|
@@ -8815,7 +8935,7 @@ declare var URL: {
|
|
8815
8935
|
*/
|
8816
8936
|
canParse(url: string | URL, base?: string | URL): boolean;
|
8817
8937
|
/**
|
8818
|
-
* The **`createObjectURL()`** static method of the URL interface creates a string containing a URL
|
8938
|
+
* The **`createObjectURL()`** static method of the URL interface creates a string containing a blob URL pointing to the object given in the parameter.
|
8819
8939
|
*
|
8820
8940
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static)
|
8821
8941
|
*/
|
@@ -8827,13 +8947,93 @@ declare var URL: {
|
|
8827
8947
|
*/
|
8828
8948
|
parse(url: string | URL, base?: string | URL): URL | null;
|
8829
8949
|
/**
|
8830
|
-
* The **`revokeObjectURL()`** static method of the URL interface releases an existing object URL which was previously created by calling
|
8950
|
+
* The **`revokeObjectURL()`** static method of the URL interface releases an existing object URL which was previously created by calling URL.createObjectURL_static.
|
8831
8951
|
*
|
8832
8952
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static)
|
8833
8953
|
*/
|
8834
8954
|
revokeObjectURL(url: string): void;
|
8835
8955
|
};
|
8836
8956
|
|
8957
|
+
/**
|
8958
|
+
* The **`URLPattern`** interface of the URL Pattern API matches URLs or parts of URLs against a pattern.
|
8959
|
+
*
|
8960
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern)
|
8961
|
+
*/
|
8962
|
+
interface URLPattern {
|
8963
|
+
/**
|
8964
|
+
* The **`hasRegExpGroups`** read-only property of the URLPattern interface is a boolean indicating whether or not any of the `URLPattern` components contain regular expression capturing groups.
|
8965
|
+
*
|
8966
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hasRegExpGroups)
|
8967
|
+
*/
|
8968
|
+
readonly hasRegExpGroups: boolean;
|
8969
|
+
/**
|
8970
|
+
* The **`hash`** read-only property of the URLPattern interface is a string containing the pattern used to match the fragment part of a URL.
|
8971
|
+
*
|
8972
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hash)
|
8973
|
+
*/
|
8974
|
+
readonly hash: string;
|
8975
|
+
/**
|
8976
|
+
* The **`hostname`** read-only property of the URLPattern interface is a string containing the pattern used to match the hostname part of a URL.
|
8977
|
+
*
|
8978
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hostname)
|
8979
|
+
*/
|
8980
|
+
readonly hostname: string;
|
8981
|
+
/**
|
8982
|
+
* The **`password`** read-only property of the URLPattern interface is a string containing the pattern used to match the password part of a URL.
|
8983
|
+
*
|
8984
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/password)
|
8985
|
+
*/
|
8986
|
+
readonly password: string;
|
8987
|
+
/**
|
8988
|
+
* The **`pathname`** read-only property of the URLPattern interface is a string containing the pattern used to match the pathname part of a URL.
|
8989
|
+
*
|
8990
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/pathname)
|
8991
|
+
*/
|
8992
|
+
readonly pathname: string;
|
8993
|
+
/**
|
8994
|
+
* The **`port`** read-only property of the URLPattern interface is a string containing the pattern used to match the port part of a URL.
|
8995
|
+
*
|
8996
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/port)
|
8997
|
+
*/
|
8998
|
+
readonly port: string;
|
8999
|
+
/**
|
9000
|
+
* The **`protocol`** read-only property of the URLPattern interface is a string containing the pattern used to match the protocol part of a URL.
|
9001
|
+
*
|
9002
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/protocol)
|
9003
|
+
*/
|
9004
|
+
readonly protocol: string;
|
9005
|
+
/**
|
9006
|
+
* The **`search`** read-only property of the URLPattern interface is a string containing the pattern used to match the search part of a URL.
|
9007
|
+
*
|
9008
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/search)
|
9009
|
+
*/
|
9010
|
+
readonly search: string;
|
9011
|
+
/**
|
9012
|
+
* The **`username`** read-only property of the URLPattern interface is a string containing the pattern used to match the username part of a URL.
|
9013
|
+
*
|
9014
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/username)
|
9015
|
+
*/
|
9016
|
+
readonly username: string;
|
9017
|
+
/**
|
9018
|
+
* The **`exec()`** method of the URLPattern interface takes a URL or object of URL parts, and returns either an object containing the results of matching the URL to the pattern, or `null` if the URL does not match the pattern.
|
9019
|
+
*
|
9020
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/exec)
|
9021
|
+
*/
|
9022
|
+
exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
|
9023
|
+
/**
|
9024
|
+
* The **`test()`** method of the URLPattern interface takes a URL string or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
|
9025
|
+
*
|
9026
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
|
9027
|
+
*/
|
9028
|
+
test(input?: URLPatternInput, baseURL?: string | URL): boolean;
|
9029
|
+
}
|
9030
|
+
|
9031
|
+
declare var URLPattern: {
|
9032
|
+
prototype: URLPattern;
|
9033
|
+
new(input: URLPatternInput, baseURL: string | URL, options?: URLPatternOptions): URLPattern;
|
9034
|
+
new(input?: URLPatternInput, options?: URLPatternOptions): URLPattern;
|
9035
|
+
};
|
9036
|
+
|
8837
9037
|
/**
|
8838
9038
|
* The **`URLSearchParams`** interface defines utility methods to work with the query string of a URL.
|
8839
9039
|
*
|
@@ -11726,7 +11926,7 @@ interface WebSocket extends EventTarget {
|
|
11726
11926
|
*
|
11727
11927
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)
|
11728
11928
|
*/
|
11729
|
-
readonly readyState:
|
11929
|
+
readonly readyState: 0 | 1 | 2 | 3;
|
11730
11930
|
/**
|
11731
11931
|
* The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
|
11732
11932
|
*
|
@@ -11734,7 +11934,7 @@ interface WebSocket extends EventTarget {
|
|
11734
11934
|
*/
|
11735
11935
|
readonly url: string;
|
11736
11936
|
/**
|
11737
|
-
* The **`WebSocket.close()`** method closes the
|
11937
|
+
* The **`WebSocket.close()`** method closes the WebSocket connection or connection attempt, if any.
|
11738
11938
|
*
|
11739
11939
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close)
|
11740
11940
|
*/
|
@@ -11937,25 +12137,25 @@ declare var WebTransportError: {
|
|
11937
12137
|
*/
|
11938
12138
|
interface WindowClient extends Client {
|
11939
12139
|
/**
|
11940
|
-
* The **`focused`** read-only property of the the current client has focus.
|
12140
|
+
* The **`focused`** read-only property of the WindowClient interface is a boolean value that indicates whether the current client has focus.
|
11941
12141
|
*
|
11942
12142
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/focused)
|
11943
12143
|
*/
|
11944
12144
|
readonly focused: boolean;
|
11945
12145
|
/**
|
11946
|
-
* The **`visibilityState`** read-only property of the
|
12146
|
+
* The **`visibilityState`** read-only property of the WindowClient interface indicates the visibility of the current client.
|
11947
12147
|
*
|
11948
12148
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/visibilityState)
|
11949
12149
|
*/
|
11950
12150
|
readonly visibilityState: DocumentVisibilityState;
|
11951
12151
|
/**
|
11952
|
-
* The **`focus()`** method of the WindowClient interface gives user input focus to the current client and returns a
|
12152
|
+
* 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.
|
11953
12153
|
*
|
11954
12154
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/focus)
|
11955
12155
|
*/
|
11956
12156
|
focus(): Promise<WindowClient>;
|
11957
12157
|
/**
|
11958
|
-
* The **`navigate()`** method of the WindowClient interface loads a specified URL into a controlled client page then returns a
|
12158
|
+
* 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.
|
11959
12159
|
*
|
11960
12160
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/navigate)
|
11961
12161
|
*/
|
@@ -11986,6 +12186,8 @@ interface WindowOrWorkerGlobalScope {
|
|
11986
12186
|
readonly origin: string;
|
11987
12187
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */
|
11988
12188
|
readonly performance: Performance;
|
12189
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scheduler) */
|
12190
|
+
readonly scheduler: Scheduler;
|
11989
12191
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
|
11990
12192
|
atob(data: string): string;
|
11991
12193
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
@@ -12256,7 +12458,7 @@ interface WritableStreamDefaultController {
|
|
12256
12458
|
*/
|
12257
12459
|
readonly signal: AbortSignal;
|
12258
12460
|
/**
|
12259
|
-
* The **`error()`** method of the with the associated stream to error.
|
12461
|
+
* The **`error()`** method of the WritableStreamDefaultController interface causes any future interactions with the associated stream to error.
|
12260
12462
|
*
|
12261
12463
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error)
|
12262
12464
|
*/
|
@@ -12275,43 +12477,43 @@ declare var WritableStreamDefaultController: {
|
|
12275
12477
|
*/
|
12276
12478
|
interface WritableStreamDefaultWriter<W = any> {
|
12277
12479
|
/**
|
12278
|
-
* The **`closed`** read-only property of the the stream errors or the writer's lock is released.
|
12480
|
+
* 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.
|
12279
12481
|
*
|
12280
12482
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed)
|
12281
12483
|
*/
|
12282
12484
|
readonly closed: Promise<void>;
|
12283
12485
|
/**
|
12284
|
-
* The **`desiredSize`** read-only property of the to fill the stream's internal queue.
|
12486
|
+
* The **`desiredSize`** read-only property of the WritableStreamDefaultWriter interface returns the desired size required to fill the stream's internal queue.
|
12285
12487
|
*
|
12286
12488
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/desiredSize)
|
12287
12489
|
*/
|
12288
12490
|
readonly desiredSize: number | null;
|
12289
12491
|
/**
|
12290
|
-
* 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.
|
12492
|
+
* 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.
|
12291
12493
|
*
|
12292
12494
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/ready)
|
12293
12495
|
*/
|
12294
12496
|
readonly ready: Promise<void>;
|
12295
12497
|
/**
|
12296
|
-
* 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.
|
12498
|
+
* 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.
|
12297
12499
|
*
|
12298
12500
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort)
|
12299
12501
|
*/
|
12300
12502
|
abort(reason?: any): Promise<void>;
|
12301
12503
|
/**
|
12302
|
-
* The **`close()`** method of the stream.
|
12504
|
+
* The **`close()`** method of the WritableStreamDefaultWriter interface closes the associated writable stream.
|
12303
12505
|
*
|
12304
12506
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close)
|
12305
12507
|
*/
|
12306
12508
|
close(): Promise<void>;
|
12307
12509
|
/**
|
12308
|
-
* The **`releaseLock()`** method of the corresponding stream.
|
12510
|
+
* The **`releaseLock()`** method of the WritableStreamDefaultWriter interface releases the writer's lock on the corresponding stream.
|
12309
12511
|
*
|
12310
12512
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/releaseLock)
|
12311
12513
|
*/
|
12312
12514
|
releaseLock(): void;
|
12313
12515
|
/**
|
12314
|
-
* The **`write()`** method of the operation.
|
12516
|
+
* 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.
|
12315
12517
|
*
|
12316
12518
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
|
12317
12519
|
*/
|
@@ -12520,7 +12722,11 @@ declare namespace WebAssembly {
|
|
12520
12722
|
(message?: string): CompileError;
|
12521
12723
|
};
|
12522
12724
|
|
12523
|
-
/**
|
12725
|
+
/**
|
12726
|
+
* A **`WebAssembly.Global`** object represents a global variable instance, accessible from both JavaScript and importable/exportable across one or more `WebAssembly.Module` instances.
|
12727
|
+
*
|
12728
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global)
|
12729
|
+
*/
|
12524
12730
|
interface Global<T extends ValueType = ValueType> {
|
12525
12731
|
value: ValueTypeMap[T];
|
12526
12732
|
valueOf(): ValueTypeMap[T];
|
@@ -12531,9 +12737,17 @@ declare namespace WebAssembly {
|
|
12531
12737
|
new<T extends ValueType = ValueType>(descriptor: GlobalDescriptor<T>, v?: ValueTypeMap[T]): Global<T>;
|
12532
12738
|
};
|
12533
12739
|
|
12534
|
-
/**
|
12740
|
+
/**
|
12741
|
+
* A **`WebAssembly.Instance`** object is a stateful, executable instance of a `WebAssembly.Module`.
|
12742
|
+
*
|
12743
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance)
|
12744
|
+
*/
|
12535
12745
|
interface Instance {
|
12536
|
-
/**
|
12746
|
+
/**
|
12747
|
+
* The **`exports`** read-only property of the `WebAssembly.Instance` object prototype returns an object containing as its members all the functions exported from the WebAssembly module instance, to allow them to be accessed and used by JavaScript.
|
12748
|
+
*
|
12749
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance/exports)
|
12750
|
+
*/
|
12537
12751
|
readonly exports: Exports;
|
12538
12752
|
}
|
12539
12753
|
|
@@ -12551,11 +12765,23 @@ declare namespace WebAssembly {
|
|
12551
12765
|
(message?: string): LinkError;
|
12552
12766
|
};
|
12553
12767
|
|
12554
|
-
/**
|
12768
|
+
/**
|
12769
|
+
* The **`WebAssembly.Memory`** object is a resizable ArrayBuffer or SharedArrayBuffer that holds raw bytes of memory accessed by a `WebAssembly.Instance`.
|
12770
|
+
*
|
12771
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory)
|
12772
|
+
*/
|
12555
12773
|
interface Memory {
|
12556
|
-
/**
|
12774
|
+
/**
|
12775
|
+
* The read-only **`buffer`** prototype property of the `WebAssembly.Memory` object returns the buffer contained in the memory.
|
12776
|
+
*
|
12777
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/buffer)
|
12778
|
+
*/
|
12557
12779
|
readonly buffer: ArrayBuffer;
|
12558
|
-
/**
|
12780
|
+
/**
|
12781
|
+
* The **`grow()`** prototype method of the `WebAssembly.Memory` object increases the size of the memory instance by a specified number of WebAssembly pages.
|
12782
|
+
*
|
12783
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/grow)
|
12784
|
+
*/
|
12559
12785
|
grow(delta: number): number;
|
12560
12786
|
}
|
12561
12787
|
|
@@ -12564,18 +12790,34 @@ declare namespace WebAssembly {
|
|
12564
12790
|
new(descriptor: MemoryDescriptor): Memory;
|
12565
12791
|
};
|
12566
12792
|
|
12567
|
-
/**
|
12793
|
+
/**
|
12794
|
+
* A **`WebAssembly.Module`** object contains stateless WebAssembly code that has already been compiled by the browser — this can be efficiently shared with Workers, and instantiated multiple times.
|
12795
|
+
*
|
12796
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module)
|
12797
|
+
*/
|
12568
12798
|
interface Module {
|
12569
12799
|
}
|
12570
12800
|
|
12571
12801
|
var Module: {
|
12572
12802
|
prototype: Module;
|
12573
12803
|
new(bytes: BufferSource): Module;
|
12574
|
-
/**
|
12804
|
+
/**
|
12805
|
+
* The **`WebAssembly.Module.customSections()`** static method returns a copy of the contents of all custom sections in the given module with the given string name.
|
12806
|
+
*
|
12807
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/customSections_static)
|
12808
|
+
*/
|
12575
12809
|
customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];
|
12576
|
-
/**
|
12810
|
+
/**
|
12811
|
+
* The **`WebAssembly.Module.exports()`** static method returns an array containing descriptions of all the declared exports of the given `Module`.
|
12812
|
+
*
|
12813
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/exports_static)
|
12814
|
+
*/
|
12577
12815
|
exports(moduleObject: Module): ModuleExportDescriptor[];
|
12578
|
-
/**
|
12816
|
+
/**
|
12817
|
+
* The **`WebAssembly.Module.imports()`** static method returns an array containing descriptions of all the declared imports of the given `Module`.
|
12818
|
+
*
|
12819
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/imports_static)
|
12820
|
+
*/
|
12579
12821
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
12580
12822
|
};
|
12581
12823
|
|
@@ -12588,15 +12830,35 @@ declare namespace WebAssembly {
|
|
12588
12830
|
(message?: string): RuntimeError;
|
12589
12831
|
};
|
12590
12832
|
|
12591
|
-
/**
|
12833
|
+
/**
|
12834
|
+
* The **`WebAssembly.Table`** object is a JavaScript wrapper object — an array-like structure representing a WebAssembly table, which stores homogeneous references.
|
12835
|
+
*
|
12836
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table)
|
12837
|
+
*/
|
12592
12838
|
interface Table {
|
12593
|
-
/**
|
12839
|
+
/**
|
12840
|
+
* The read-only **`length`** prototype property of the `WebAssembly.Table` object returns the length of the table, i.e., the number of elements in the table.
|
12841
|
+
*
|
12842
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/length)
|
12843
|
+
*/
|
12594
12844
|
readonly length: number;
|
12595
|
-
/**
|
12845
|
+
/**
|
12846
|
+
* The **`get()`** prototype method of the `WebAssembly.Table()` object retrieves the element stored at a given index.
|
12847
|
+
*
|
12848
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/get)
|
12849
|
+
*/
|
12596
12850
|
get(index: number): any;
|
12597
|
-
/**
|
12851
|
+
/**
|
12852
|
+
* The **`grow()`** prototype method of the `WebAssembly.Table` object increases the size of the `Table` instance by a specified number of elements, filled with the provided value.
|
12853
|
+
*
|
12854
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/grow)
|
12855
|
+
*/
|
12598
12856
|
grow(delta: number, value?: any): number;
|
12599
|
-
/**
|
12857
|
+
/**
|
12858
|
+
* The **`set()`** prototype method of the `WebAssembly.Table` object mutates a reference stored at a given index to a different value.
|
12859
|
+
*
|
12860
|
+
* [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/set)
|
12861
|
+
*/
|
12600
12862
|
set(index: number, value?: any): void;
|
12601
12863
|
}
|
12602
12864
|
|
@@ -12831,6 +13093,10 @@ interface ReportingObserverCallback {
|
|
12831
13093
|
(reports: Report[], observer: ReportingObserver): void;
|
12832
13094
|
}
|
12833
13095
|
|
13096
|
+
interface SchedulerPostTaskCallback {
|
13097
|
+
(): any;
|
13098
|
+
}
|
13099
|
+
|
12834
13100
|
interface TransformerFlushCallback<O> {
|
12835
13101
|
(controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;
|
12836
13102
|
}
|
@@ -12884,7 +13150,7 @@ interface WebCodecsErrorCallback {
|
|
12884
13150
|
}
|
12885
13151
|
|
12886
13152
|
/**
|
12887
|
-
* The **`name`** read-only property of the the
|
13153
|
+
* The **`name`** read-only property of the DedicatedWorkerGlobalScope interface returns the name that the Worker was (optionally) given when it was created.
|
12888
13154
|
*
|
12889
13155
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/name)
|
12890
13156
|
*/
|
@@ -12972,6 +13238,8 @@ declare var isSecureContext: boolean;
|
|
12972
13238
|
declare var origin: string;
|
12973
13239
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */
|
12974
13240
|
declare var performance: Performance;
|
13241
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scheduler) */
|
13242
|
+
declare var scheduler: Scheduler;
|
12975
13243
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
|
12976
13244
|
declare function atob(data: string): string;
|
12977
13245
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
@@ -13058,6 +13326,7 @@ type RequestInfo = Request | string;
|
|
13058
13326
|
type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas | VideoFrame;
|
13059
13327
|
type TimerHandler = string | Function;
|
13060
13328
|
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | AudioData | VideoFrame | RTCDataChannel | ArrayBuffer;
|
13329
|
+
type URLPatternInput = string | URLPatternInit;
|
13061
13330
|
type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
|
13062
13331
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
13063
13332
|
type AlphaOption = "discard" | "keep";
|
@@ -13092,6 +13361,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
13092
13361
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
13093
13362
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
13094
13363
|
type FrameType = "auxiliary" | "nested" | "none" | "top-level";
|
13364
|
+
type GPUPipelineErrorReason = "internal" | "validation";
|
13095
13365
|
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";
|
13096
13366
|
type HardwareAcceleration = "no-preference" | "prefer-hardware" | "prefer-software";
|
13097
13367
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|
@@ -13134,6 +13404,7 @@ type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaquer
|
|
13134
13404
|
type SecurityPolicyViolationEventDisposition = "enforce" | "report";
|
13135
13405
|
type ServiceWorkerState = "activated" | "activating" | "installed" | "installing" | "parsed" | "redundant";
|
13136
13406
|
type ServiceWorkerUpdateViaCache = "all" | "imports" | "none";
|
13407
|
+
type TaskPriority = "background" | "user-blocking" | "user-visible";
|
13137
13408
|
type TransferFunction = "hlg" | "pq" | "srgb";
|
13138
13409
|
type VideoColorPrimaries = "bt470bg" | "bt709" | "smpte170m";
|
13139
13410
|
type VideoEncoderBitrateMode = "constant" | "quantizer" | "variable";
|
@@ -13146,3 +13417,352 @@ type WebTransportErrorSource = "session" | "stream";
|
|
13146
13417
|
type WorkerType = "classic" | "module";
|
13147
13418
|
type WriteCommandType = "seek" | "truncate" | "write";
|
13148
13419
|
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
|
13420
|
+
|
13421
|
+
|
13422
|
+
/////////////////////////////
|
13423
|
+
/// Worker Iterable APIs
|
13424
|
+
/////////////////////////////
|
13425
|
+
|
13426
|
+
interface CSSNumericArray {
|
13427
|
+
[Symbol.iterator](): ArrayIterator<CSSNumericValue>;
|
13428
|
+
entries(): ArrayIterator<[number, CSSNumericValue]>;
|
13429
|
+
keys(): ArrayIterator<number>;
|
13430
|
+
values(): ArrayIterator<CSSNumericValue>;
|
13431
|
+
}
|
13432
|
+
|
13433
|
+
interface CSSTransformValue {
|
13434
|
+
[Symbol.iterator](): ArrayIterator<CSSTransformComponent>;
|
13435
|
+
entries(): ArrayIterator<[number, CSSTransformComponent]>;
|
13436
|
+
keys(): ArrayIterator<number>;
|
13437
|
+
values(): ArrayIterator<CSSTransformComponent>;
|
13438
|
+
}
|
13439
|
+
|
13440
|
+
interface CSSUnparsedValue {
|
13441
|
+
[Symbol.iterator](): ArrayIterator<CSSUnparsedSegment>;
|
13442
|
+
entries(): ArrayIterator<[number, CSSUnparsedSegment]>;
|
13443
|
+
keys(): ArrayIterator<number>;
|
13444
|
+
values(): ArrayIterator<CSSUnparsedSegment>;
|
13445
|
+
}
|
13446
|
+
|
13447
|
+
interface Cache {
|
13448
|
+
/**
|
13449
|
+
* The **`addAll()`** method of the Cache interface takes an array of URLs, retrieves them, and adds the resulting response objects to the given cache.
|
13450
|
+
*
|
13451
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll)
|
13452
|
+
*/
|
13453
|
+
addAll(requests: RequestInfo[]): Promise<void>;
|
13454
|
+
}
|
13455
|
+
|
13456
|
+
interface CanvasPath {
|
13457
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) */
|
13458
|
+
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): void;
|
13459
|
+
}
|
13460
|
+
|
13461
|
+
interface CanvasPathDrawingStyles {
|
13462
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash) */
|
13463
|
+
setLineDash(segments: number[]): void;
|
13464
|
+
}
|
13465
|
+
|
13466
|
+
interface CookieStoreManager {
|
13467
|
+
/**
|
13468
|
+
* The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.
|
13469
|
+
*
|
13470
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
|
13471
|
+
*/
|
13472
|
+
subscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
|
13473
|
+
/**
|
13474
|
+
* The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
|
13475
|
+
*
|
13476
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
|
13477
|
+
*/
|
13478
|
+
unsubscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;
|
13479
|
+
}
|
13480
|
+
|
13481
|
+
interface DOMStringList {
|
13482
|
+
[Symbol.iterator](): ArrayIterator<string>;
|
13483
|
+
}
|
13484
|
+
|
13485
|
+
interface FileList {
|
13486
|
+
[Symbol.iterator](): ArrayIterator<File>;
|
13487
|
+
}
|
13488
|
+
|
13489
|
+
interface FontFaceSet extends Set<FontFace> {
|
13490
|
+
}
|
13491
|
+
|
13492
|
+
interface FormDataIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
13493
|
+
[Symbol.iterator](): FormDataIterator<T>;
|
13494
|
+
}
|
13495
|
+
|
13496
|
+
interface FormData {
|
13497
|
+
[Symbol.iterator](): FormDataIterator<[string, FormDataEntryValue]>;
|
13498
|
+
/** Returns an array of key, value pairs for every entry in the list. */
|
13499
|
+
entries(): FormDataIterator<[string, FormDataEntryValue]>;
|
13500
|
+
/** Returns a list of keys in the list. */
|
13501
|
+
keys(): FormDataIterator<string>;
|
13502
|
+
/** Returns a list of values in the list. */
|
13503
|
+
values(): FormDataIterator<FormDataEntryValue>;
|
13504
|
+
}
|
13505
|
+
|
13506
|
+
interface HeadersIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
13507
|
+
[Symbol.iterator](): HeadersIterator<T>;
|
13508
|
+
}
|
13509
|
+
|
13510
|
+
interface Headers {
|
13511
|
+
[Symbol.iterator](): HeadersIterator<[string, string]>;
|
13512
|
+
/** Returns an iterator allowing to go through all key/value pairs contained in this object. */
|
13513
|
+
entries(): HeadersIterator<[string, string]>;
|
13514
|
+
/** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
|
13515
|
+
keys(): HeadersIterator<string>;
|
13516
|
+
/** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
|
13517
|
+
values(): HeadersIterator<string>;
|
13518
|
+
}
|
13519
|
+
|
13520
|
+
interface IDBDatabase {
|
13521
|
+
/**
|
13522
|
+
* The **`transaction`** method of the IDBDatabase interface immediately returns a transaction object (IDBTransaction) containing the IDBTransaction.objectStore method, which you can use to access your object store.
|
13523
|
+
*
|
13524
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)
|
13525
|
+
*/
|
13526
|
+
transaction(storeNames: string | string[], mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction;
|
13527
|
+
}
|
13528
|
+
|
13529
|
+
interface IDBObjectStore {
|
13530
|
+
/**
|
13531
|
+
* The **`createIndex()`** method of the IDBObjectStore interface creates and returns a new IDBIndex object in the connected database.
|
13532
|
+
*
|
13533
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
13534
|
+
*/
|
13535
|
+
createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;
|
13536
|
+
}
|
13537
|
+
|
13538
|
+
interface ImageTrackList {
|
13539
|
+
[Symbol.iterator](): ArrayIterator<ImageTrack>;
|
13540
|
+
}
|
13541
|
+
|
13542
|
+
interface MessageEvent<T = any> {
|
13543
|
+
/** @deprecated */
|
13544
|
+
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void;
|
13545
|
+
}
|
13546
|
+
|
13547
|
+
interface StylePropertyMapReadOnlyIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
13548
|
+
[Symbol.iterator](): StylePropertyMapReadOnlyIterator<T>;
|
13549
|
+
}
|
13550
|
+
|
13551
|
+
interface StylePropertyMapReadOnly {
|
13552
|
+
[Symbol.iterator](): StylePropertyMapReadOnlyIterator<[string, CSSStyleValue[]]>;
|
13553
|
+
entries(): StylePropertyMapReadOnlyIterator<[string, CSSStyleValue[]]>;
|
13554
|
+
keys(): StylePropertyMapReadOnlyIterator<string>;
|
13555
|
+
values(): StylePropertyMapReadOnlyIterator<CSSStyleValue[]>;
|
13556
|
+
}
|
13557
|
+
|
13558
|
+
interface SubtleCrypto {
|
13559
|
+
/**
|
13560
|
+
* The **`deriveKey()`** method of the SubtleCrypto interface can be used to derive a secret key from a master key.
|
13561
|
+
*
|
13562
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey)
|
13563
|
+
*/
|
13564
|
+
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;
|
13565
|
+
/**
|
13566
|
+
* The **`generateKey()`** method of the SubtleCrypto interface is used to generate a new key (for symmetric algorithms) or key pair (for public-key algorithms).
|
13567
|
+
*
|
13568
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey)
|
13569
|
+
*/
|
13570
|
+
generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
|
13571
|
+
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
13572
|
+
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
13573
|
+
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair | CryptoKey>;
|
13574
|
+
/**
|
13575
|
+
* The **`importKey()`** method of the SubtleCrypto interface imports a key: that is, it takes as input a key in an external, portable format and gives you a CryptoKey object that you can use in the Web Crypto API.
|
13576
|
+
*
|
13577
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey)
|
13578
|
+
*/
|
13579
|
+
importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
13580
|
+
importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;
|
13581
|
+
/**
|
13582
|
+
* The **`unwrapKey()`** method of the SubtleCrypto interface 'unwraps' a key.
|
13583
|
+
*
|
13584
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey)
|
13585
|
+
*/
|
13586
|
+
unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;
|
13587
|
+
}
|
13588
|
+
|
13589
|
+
interface URLSearchParamsIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
|
13590
|
+
[Symbol.iterator](): URLSearchParamsIterator<T>;
|
13591
|
+
}
|
13592
|
+
|
13593
|
+
interface URLSearchParams {
|
13594
|
+
[Symbol.iterator](): URLSearchParamsIterator<[string, string]>;
|
13595
|
+
/** Returns an array of key, value pairs for every entry in the search params. */
|
13596
|
+
entries(): URLSearchParamsIterator<[string, string]>;
|
13597
|
+
/** Returns a list of keys in the search params. */
|
13598
|
+
keys(): URLSearchParamsIterator<string>;
|
13599
|
+
/** Returns a list of values in the search params. */
|
13600
|
+
values(): URLSearchParamsIterator<string>;
|
13601
|
+
}
|
13602
|
+
|
13603
|
+
interface WEBGL_draw_buffers {
|
13604
|
+
/**
|
13605
|
+
* The **`WEBGL_draw_buffers.drawBuffersWEBGL()`** method is part of the WebGL API and allows you to define the draw buffers to which all fragment colors are written.
|
13606
|
+
*
|
13607
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL)
|
13608
|
+
*/
|
13609
|
+
drawBuffersWEBGL(buffers: GLenum[]): void;
|
13610
|
+
}
|
13611
|
+
|
13612
|
+
interface WEBGL_multi_draw {
|
13613
|
+
/**
|
13614
|
+
* The **`WEBGL_multi_draw.multiDrawArraysInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.
|
13615
|
+
*
|
13616
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)
|
13617
|
+
*/
|
13618
|
+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | GLint[], firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | GLsizei[], countsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | GLsizei[], instanceCountsOffset: number, drawcount: GLsizei): void;
|
13619
|
+
/**
|
13620
|
+
* The **`WEBGL_multi_draw.multiDrawArraysWEBGL()`** method of the WebGL API renders multiple primitives from array data.
|
13621
|
+
*
|
13622
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL)
|
13623
|
+
*/
|
13624
|
+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | GLint[], firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | GLsizei[], countsOffset: number, drawcount: GLsizei): void;
|
13625
|
+
/**
|
13626
|
+
* The **`WEBGL_multi_draw.multiDrawElementsInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.
|
13627
|
+
*
|
13628
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)
|
13629
|
+
*/
|
13630
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | GLsizei[], offsetsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | GLsizei[], instanceCountsOffset: number, drawcount: GLsizei): void;
|
13631
|
+
/**
|
13632
|
+
* The **`WEBGL_multi_draw.multiDrawElementsWEBGL()`** method of the WebGL API renders multiple primitives from array data.
|
13633
|
+
*
|
13634
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL)
|
13635
|
+
*/
|
13636
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | GLsizei[], offsetsOffset: number, drawcount: GLsizei): void;
|
13637
|
+
}
|
13638
|
+
|
13639
|
+
interface WebGL2RenderingContextBase {
|
13640
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
13641
|
+
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: GLfloat[], srcOffset?: number): void;
|
13642
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
13643
|
+
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: GLint[], srcOffset?: number): void;
|
13644
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
13645
|
+
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: GLuint[], srcOffset?: number): void;
|
13646
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */
|
13647
|
+
drawBuffers(buffers: GLenum[]): void;
|
13648
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
|
13649
|
+
getActiveUniforms(program: WebGLProgram, uniformIndices: GLuint[], pname: GLenum): any;
|
13650
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */
|
13651
|
+
getUniformIndices(program: WebGLProgram, uniformNames: string[]): GLuint[] | null;
|
13652
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */
|
13653
|
+
invalidateFramebuffer(target: GLenum, attachments: GLenum[]): void;
|
13654
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */
|
13655
|
+
invalidateSubFramebuffer(target: GLenum, attachments: GLenum[], x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;
|
13656
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */
|
13657
|
+
transformFeedbackVaryings(program: WebGLProgram, varyings: string[], bufferMode: GLenum): void;
|
13658
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
13659
|
+
uniform1uiv(location: WebGLUniformLocation | null, data: GLuint[], srcOffset?: number, srcLength?: GLuint): void;
|
13660
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
13661
|
+
uniform2uiv(location: WebGLUniformLocation | null, data: GLuint[], srcOffset?: number, srcLength?: GLuint): void;
|
13662
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
13663
|
+
uniform3uiv(location: WebGLUniformLocation | null, data: GLuint[], srcOffset?: number, srcLength?: GLuint): void;
|
13664
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
13665
|
+
uniform4uiv(location: WebGLUniformLocation | null, data: GLuint[], srcOffset?: number, srcLength?: GLuint): void;
|
13666
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
13667
|
+
uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat[], srcOffset?: number, srcLength?: GLuint): void;
|
13668
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
13669
|
+
uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat[], srcOffset?: number, srcLength?: GLuint): void;
|
13670
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
13671
|
+
uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat[], srcOffset?: number, srcLength?: GLuint): void;
|
13672
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
13673
|
+
uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat[], srcOffset?: number, srcLength?: GLuint): void;
|
13674
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
13675
|
+
uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat[], srcOffset?: number, srcLength?: GLuint): void;
|
13676
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
13677
|
+
uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat[], srcOffset?: number, srcLength?: GLuint): void;
|
13678
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
|
13679
|
+
vertexAttribI4iv(index: GLuint, values: GLint[]): void;
|
13680
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
|
13681
|
+
vertexAttribI4uiv(index: GLuint, values: GLuint[]): void;
|
13682
|
+
}
|
13683
|
+
|
13684
|
+
interface WebGL2RenderingContextOverloads {
|
13685
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
13686
|
+
uniform1fv(location: WebGLUniformLocation | null, data: GLfloat[], srcOffset?: number, srcLength?: GLuint): void;
|
13687
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
13688
|
+
uniform1iv(location: WebGLUniformLocation | null, data: GLint[], srcOffset?: number, srcLength?: GLuint): void;
|
13689
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
13690
|
+
uniform2fv(location: WebGLUniformLocation | null, data: GLfloat[], srcOffset?: number, srcLength?: GLuint): void;
|
13691
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
13692
|
+
uniform2iv(location: WebGLUniformLocation | null, data: GLint[], srcOffset?: number, srcLength?: GLuint): void;
|
13693
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
13694
|
+
uniform3fv(location: WebGLUniformLocation | null, data: GLfloat[], srcOffset?: number, srcLength?: GLuint): void;
|
13695
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
13696
|
+
uniform3iv(location: WebGLUniformLocation | null, data: GLint[], srcOffset?: number, srcLength?: GLuint): void;
|
13697
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
13698
|
+
uniform4fv(location: WebGLUniformLocation | null, data: GLfloat[], srcOffset?: number, srcLength?: GLuint): void;
|
13699
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
13700
|
+
uniform4iv(location: WebGLUniformLocation | null, data: GLint[], srcOffset?: number, srcLength?: GLuint): void;
|
13701
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
13702
|
+
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat[], srcOffset?: number, srcLength?: GLuint): void;
|
13703
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
13704
|
+
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat[], srcOffset?: number, srcLength?: GLuint): void;
|
13705
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
13706
|
+
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat[], srcOffset?: number, srcLength?: GLuint): void;
|
13707
|
+
}
|
13708
|
+
|
13709
|
+
interface WebGLRenderingContextBase {
|
13710
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
13711
|
+
vertexAttrib1fv(index: GLuint, values: GLfloat[]): void;
|
13712
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
13713
|
+
vertexAttrib2fv(index: GLuint, values: GLfloat[]): void;
|
13714
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
13715
|
+
vertexAttrib3fv(index: GLuint, values: GLfloat[]): void;
|
13716
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
13717
|
+
vertexAttrib4fv(index: GLuint, values: GLfloat[]): void;
|
13718
|
+
}
|
13719
|
+
|
13720
|
+
interface WebGLRenderingContextOverloads {
|
13721
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
13722
|
+
uniform1fv(location: WebGLUniformLocation | null, v: GLfloat[]): void;
|
13723
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
13724
|
+
uniform1iv(location: WebGLUniformLocation | null, v: GLint[]): void;
|
13725
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
13726
|
+
uniform2fv(location: WebGLUniformLocation | null, v: GLfloat[]): void;
|
13727
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
13728
|
+
uniform2iv(location: WebGLUniformLocation | null, v: GLint[]): void;
|
13729
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
13730
|
+
uniform3fv(location: WebGLUniformLocation | null, v: GLfloat[]): void;
|
13731
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
13732
|
+
uniform3iv(location: WebGLUniformLocation | null, v: GLint[]): void;
|
13733
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
13734
|
+
uniform4fv(location: WebGLUniformLocation | null, v: GLfloat[]): void;
|
13735
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
13736
|
+
uniform4iv(location: WebGLUniformLocation | null, v: GLint[]): void;
|
13737
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
13738
|
+
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: GLfloat[]): void;
|
13739
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
13740
|
+
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: GLfloat[]): void;
|
13741
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
13742
|
+
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: GLfloat[]): void;
|
13743
|
+
}
|
13744
|
+
|
13745
|
+
|
13746
|
+
/////////////////////////////
|
13747
|
+
/// Worker Async Iterable APIs
|
13748
|
+
/////////////////////////////
|
13749
|
+
|
13750
|
+
interface FileSystemDirectoryHandleAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {
|
13751
|
+
[Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<T>;
|
13752
|
+
}
|
13753
|
+
|
13754
|
+
interface FileSystemDirectoryHandle {
|
13755
|
+
[Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>;
|
13756
|
+
entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>;
|
13757
|
+
keys(): FileSystemDirectoryHandleAsyncIterator<string>;
|
13758
|
+
values(): FileSystemDirectoryHandleAsyncIterator<FileSystemHandle>;
|
13759
|
+
}
|
13760
|
+
|
13761
|
+
interface ReadableStreamAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {
|
13762
|
+
[Symbol.asyncIterator](): ReadableStreamAsyncIterator<T>;
|
13763
|
+
}
|
13764
|
+
|
13765
|
+
interface ReadableStream<R = any> {
|
13766
|
+
[Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
|
13767
|
+
values(options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
|
13768
|
+
}
|