@typescript-deploys/pr-build 6.0.0-pr-62151-19 → 6.0.0-pr-62418-21
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 +246 -134
- package/lib/lib.d.ts +0 -2
- package/lib/lib.decorators.d.ts +0 -2
- package/lib/lib.decorators.legacy.d.ts +0 -2
- package/lib/lib.dom.asynciterable.d.ts +2 -25
- package/lib/lib.dom.d.ts +2216 -874
- package/lib/lib.dom.iterable.d.ts +2 -555
- package/lib/lib.es2015.collection.d.ts +0 -2
- package/lib/lib.es2015.core.d.ts +0 -2
- package/lib/lib.es2015.d.ts +0 -2
- package/lib/lib.es2015.generator.d.ts +0 -2
- package/lib/lib.es2015.iterable.d.ts +0 -2
- package/lib/lib.es2015.promise.d.ts +0 -2
- package/lib/lib.es2015.proxy.d.ts +0 -2
- package/lib/lib.es2015.reflect.d.ts +0 -2
- package/lib/lib.es2015.symbol.d.ts +0 -2
- package/lib/lib.es2015.symbol.wellknown.d.ts +0 -2
- package/lib/lib.es2016.array.include.d.ts +0 -2
- package/lib/lib.es2016.d.ts +0 -2
- package/lib/lib.es2016.full.d.ts +0 -2
- package/lib/lib.es2016.intl.d.ts +0 -2
- package/lib/lib.es2017.arraybuffer.d.ts +0 -2
- package/lib/lib.es2017.d.ts +0 -2
- package/lib/lib.es2017.date.d.ts +0 -2
- package/lib/lib.es2017.full.d.ts +0 -2
- package/lib/lib.es2017.intl.d.ts +0 -2
- package/lib/lib.es2017.object.d.ts +0 -2
- package/lib/lib.es2017.sharedmemory.d.ts +0 -2
- package/lib/lib.es2017.string.d.ts +0 -2
- package/lib/lib.es2017.typedarrays.d.ts +0 -2
- package/lib/lib.es2018.asyncgenerator.d.ts +0 -2
- package/lib/lib.es2018.asynciterable.d.ts +0 -2
- package/lib/lib.es2018.d.ts +0 -2
- package/lib/lib.es2018.full.d.ts +0 -2
- package/lib/lib.es2018.intl.d.ts +0 -2
- package/lib/lib.es2018.promise.d.ts +0 -2
- package/lib/lib.es2018.regexp.d.ts +0 -2
- package/lib/lib.es2019.array.d.ts +0 -2
- package/lib/lib.es2019.d.ts +0 -2
- package/lib/lib.es2019.full.d.ts +0 -2
- package/lib/lib.es2019.intl.d.ts +0 -2
- package/lib/lib.es2019.object.d.ts +0 -2
- package/lib/lib.es2019.string.d.ts +0 -2
- package/lib/lib.es2019.symbol.d.ts +0 -2
- package/lib/lib.es2020.bigint.d.ts +0 -2
- package/lib/lib.es2020.d.ts +0 -2
- package/lib/lib.es2020.date.d.ts +0 -2
- package/lib/lib.es2020.full.d.ts +0 -2
- package/lib/lib.es2020.intl.d.ts +0 -2
- package/lib/lib.es2020.number.d.ts +0 -2
- package/lib/lib.es2020.promise.d.ts +0 -2
- package/lib/lib.es2020.sharedmemory.d.ts +0 -2
- package/lib/lib.es2020.string.d.ts +0 -2
- package/lib/lib.es2020.symbol.wellknown.d.ts +0 -2
- package/lib/lib.es2021.d.ts +0 -2
- package/lib/lib.es2021.full.d.ts +0 -2
- package/lib/lib.es2021.intl.d.ts +0 -2
- package/lib/lib.es2021.promise.d.ts +0 -2
- package/lib/lib.es2021.string.d.ts +0 -2
- package/lib/lib.es2021.weakref.d.ts +0 -2
- package/lib/lib.es2022.array.d.ts +0 -2
- package/lib/lib.es2022.d.ts +0 -2
- package/lib/lib.es2022.error.d.ts +0 -2
- package/lib/lib.es2022.full.d.ts +0 -2
- package/lib/lib.es2022.intl.d.ts +0 -2
- package/lib/lib.es2022.object.d.ts +0 -2
- package/lib/lib.es2022.regexp.d.ts +0 -2
- package/lib/lib.es2022.string.d.ts +0 -2
- package/lib/lib.es2023.array.d.ts +0 -2
- package/lib/lib.es2023.collection.d.ts +0 -2
- package/lib/lib.es2023.d.ts +0 -2
- package/lib/lib.es2023.full.d.ts +0 -2
- package/lib/lib.es2023.intl.d.ts +0 -2
- package/lib/lib.es2024.arraybuffer.d.ts +0 -2
- package/lib/lib.es2024.collection.d.ts +0 -2
- package/lib/lib.es2024.d.ts +0 -2
- package/lib/lib.es2024.full.d.ts +0 -2
- package/lib/lib.es2024.object.d.ts +0 -2
- package/lib/lib.es2024.promise.d.ts +0 -2
- package/lib/lib.es2024.regexp.d.ts +0 -2
- package/lib/lib.es2024.sharedmemory.d.ts +0 -2
- package/lib/lib.es2024.string.d.ts +0 -2
- package/lib/lib.es5.d.ts +0 -2
- package/lib/lib.es6.d.ts +0 -2
- package/lib/lib.esnext.array.d.ts +0 -2
- package/lib/lib.esnext.collection.d.ts +0 -2
- package/lib/lib.esnext.d.ts +1 -2
- package/lib/lib.esnext.decorators.d.ts +0 -2
- package/lib/lib.esnext.disposable.d.ts +0 -2
- package/lib/lib.esnext.error.d.ts +0 -2
- package/lib/lib.esnext.float16.d.ts +0 -2
- package/lib/lib.esnext.full.d.ts +0 -2
- package/lib/lib.esnext.intl.d.ts +0 -2
- package/lib/lib.esnext.iterator.d.ts +0 -2
- package/lib/lib.esnext.promise.d.ts +0 -2
- package/lib/lib.esnext.sharedmemory.d.ts +0 -2
- package/lib/lib.esnext.typedarrays.d.ts +90 -0
- package/lib/lib.scripthost.d.ts +0 -2
- package/lib/lib.webworker.asynciterable.d.ts +2 -25
- package/lib/lib.webworker.d.ts +947 -329
- package/lib/lib.webworker.importscripts.d.ts +0 -2
- package/lib/lib.webworker.iterable.d.ts +2 -324
- package/lib/typescript.d.ts +3 -9
- package/lib/typescript.js +294 -171
- package/package.json +2 -3
package/lib/lib.webworker.d.ts
CHANGED
|
@@ -14,7 +14,8 @@ and limitations under the License.
|
|
|
14
14
|
***************************************************************************** */
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
/// <reference
|
|
17
|
+
/// <reference lib="es2015" />
|
|
18
|
+
/// <reference lib="es2018.asynciterable" />
|
|
18
19
|
|
|
19
20
|
/////////////////////////////
|
|
20
21
|
/// Worker APIs
|
|
@@ -370,6 +371,10 @@ interface FontFaceSetLoadEventInit extends EventInit {
|
|
|
370
371
|
fontfaces?: FontFace[];
|
|
371
372
|
}
|
|
372
373
|
|
|
374
|
+
interface GPUPipelineErrorInit {
|
|
375
|
+
reason: GPUPipelineErrorReason;
|
|
376
|
+
}
|
|
377
|
+
|
|
373
378
|
interface GetNotificationOptions {
|
|
374
379
|
tag?: string;
|
|
375
380
|
}
|
|
@@ -631,7 +636,7 @@ interface PromiseRejectionEventInit extends EventInit {
|
|
|
631
636
|
}
|
|
632
637
|
|
|
633
638
|
interface PushEventInit extends ExtendableEventInit {
|
|
634
|
-
data?: PushMessageDataInit;
|
|
639
|
+
data?: PushMessageDataInit | null;
|
|
635
640
|
}
|
|
636
641
|
|
|
637
642
|
interface PushSubscriptionChangeEventInit extends ExtendableEventInit {
|
|
@@ -732,6 +737,15 @@ interface RegistrationOptions {
|
|
|
732
737
|
updateViaCache?: ServiceWorkerUpdateViaCache;
|
|
733
738
|
}
|
|
734
739
|
|
|
740
|
+
interface Report {
|
|
741
|
+
body?: ReportBody | null;
|
|
742
|
+
type?: string;
|
|
743
|
+
url?: string;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
interface ReportBody {
|
|
747
|
+
}
|
|
748
|
+
|
|
735
749
|
interface ReportingObserverOptions {
|
|
736
750
|
buffered?: boolean;
|
|
737
751
|
types?: string[];
|
|
@@ -800,6 +814,12 @@ interface RsaPssParams extends Algorithm {
|
|
|
800
814
|
saltLength: number;
|
|
801
815
|
}
|
|
802
816
|
|
|
817
|
+
interface SchedulerPostTaskOptions {
|
|
818
|
+
delay?: number;
|
|
819
|
+
priority?: TaskPriority;
|
|
820
|
+
signal?: AbortSignal;
|
|
821
|
+
}
|
|
822
|
+
|
|
803
823
|
interface SecurityPolicyViolationEventInit extends EventInit {
|
|
804
824
|
blockedURI?: string;
|
|
805
825
|
columnNumber?: number;
|
|
@@ -848,6 +868,18 @@ interface StructuredSerializeOptions {
|
|
|
848
868
|
transfer?: Transferable[];
|
|
849
869
|
}
|
|
850
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
|
+
|
|
851
883
|
interface TextDecodeOptions {
|
|
852
884
|
stream?: boolean;
|
|
853
885
|
}
|
|
@@ -870,6 +902,39 @@ interface Transformer<I = any, O = any> {
|
|
|
870
902
|
writableType?: undefined;
|
|
871
903
|
}
|
|
872
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
|
+
|
|
873
938
|
interface UnderlyingByteSource {
|
|
874
939
|
autoAllocateChunkSize?: number;
|
|
875
940
|
cancel?: UnderlyingSourceCancelCallback;
|
|
@@ -1457,7 +1522,7 @@ interface Blob {
|
|
|
1457
1522
|
*/
|
|
1458
1523
|
stream(): ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
1459
1524
|
/**
|
|
1460
|
-
* 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.
|
|
1461
1526
|
*
|
|
1462
1527
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text)
|
|
1463
1528
|
*/
|
|
@@ -1573,7 +1638,7 @@ declare var CSSImageValue: {
|
|
|
1573
1638
|
*/
|
|
1574
1639
|
interface CSSKeywordValue extends CSSStyleValue {
|
|
1575
1640
|
/**
|
|
1576
|
-
* The **`value`** property of the `CSSKeywordValue`.
|
|
1641
|
+
* The **`value`** property of the CSSKeywordValue interface returns or sets the value of the `CSSKeywordValue`.
|
|
1577
1642
|
*
|
|
1578
1643
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue/value)
|
|
1579
1644
|
*/
|
|
@@ -1603,7 +1668,7 @@ declare var CSSMathClamp: {
|
|
|
1603
1668
|
*/
|
|
1604
1669
|
interface CSSMathInvert extends CSSMathValue {
|
|
1605
1670
|
/**
|
|
1606
|
-
* The CSSMathInvert.value read-only property of the
|
|
1671
|
+
* The CSSMathInvert.value read-only property of the CSSMathInvert interface returns a CSSNumericValue object.
|
|
1607
1672
|
*
|
|
1608
1673
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert/value)
|
|
1609
1674
|
*/
|
|
@@ -1622,7 +1687,7 @@ declare var CSSMathInvert: {
|
|
|
1622
1687
|
*/
|
|
1623
1688
|
interface CSSMathMax extends CSSMathValue {
|
|
1624
1689
|
/**
|
|
1625
|
-
* 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.
|
|
1626
1691
|
*
|
|
1627
1692
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax/values)
|
|
1628
1693
|
*/
|
|
@@ -1641,7 +1706,7 @@ declare var CSSMathMax: {
|
|
|
1641
1706
|
*/
|
|
1642
1707
|
interface CSSMathMin extends CSSMathValue {
|
|
1643
1708
|
/**
|
|
1644
|
-
* 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.
|
|
1645
1710
|
*
|
|
1646
1711
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin/values)
|
|
1647
1712
|
*/
|
|
@@ -1660,7 +1725,7 @@ declare var CSSMathMin: {
|
|
|
1660
1725
|
*/
|
|
1661
1726
|
interface CSSMathNegate extends CSSMathValue {
|
|
1662
1727
|
/**
|
|
1663
|
-
* The CSSMathNegate.value read-only property of the
|
|
1728
|
+
* The CSSMathNegate.value read-only property of the CSSMathNegate interface returns a CSSNumericValue object.
|
|
1664
1729
|
*
|
|
1665
1730
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate/value)
|
|
1666
1731
|
*/
|
|
@@ -1679,7 +1744,7 @@ declare var CSSMathNegate: {
|
|
|
1679
1744
|
*/
|
|
1680
1745
|
interface CSSMathProduct extends CSSMathValue {
|
|
1681
1746
|
/**
|
|
1682
|
-
* 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.
|
|
1683
1748
|
*
|
|
1684
1749
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct/values)
|
|
1685
1750
|
*/
|
|
@@ -1736,7 +1801,7 @@ declare var CSSMathValue: {
|
|
|
1736
1801
|
*/
|
|
1737
1802
|
interface CSSMatrixComponent extends CSSTransformComponent {
|
|
1738
1803
|
/**
|
|
1739
|
-
* The **`matrix`** property of the
|
|
1804
|
+
* The **`matrix`** property of the CSSMatrixComponent interface gets and sets a 2d or 3d matrix.
|
|
1740
1805
|
*
|
|
1741
1806
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent/matrix)
|
|
1742
1807
|
*/
|
|
@@ -1755,7 +1820,7 @@ declare var CSSMatrixComponent: {
|
|
|
1755
1820
|
*/
|
|
1756
1821
|
interface CSSNumericArray {
|
|
1757
1822
|
/**
|
|
1758
|
-
* 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.
|
|
1759
1824
|
*
|
|
1760
1825
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray/length)
|
|
1761
1826
|
*/
|
|
@@ -1776,61 +1841,61 @@ declare var CSSNumericArray: {
|
|
|
1776
1841
|
*/
|
|
1777
1842
|
interface CSSNumericValue extends CSSStyleValue {
|
|
1778
1843
|
/**
|
|
1779
|
-
* The **`add()`** method of the `CSSNumericValue`.
|
|
1844
|
+
* The **`add()`** method of the CSSNumericValue interface adds a supplied number to the `CSSNumericValue`.
|
|
1780
1845
|
*
|
|
1781
1846
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add)
|
|
1782
1847
|
*/
|
|
1783
1848
|
add(...values: CSSNumberish[]): CSSNumericValue;
|
|
1784
1849
|
/**
|
|
1785
|
-
* The **`div()`** method of the supplied value.
|
|
1850
|
+
* The **`div()`** method of the CSSNumericValue interface divides the `CSSNumericValue` by the supplied value.
|
|
1786
1851
|
*
|
|
1787
1852
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/div)
|
|
1788
1853
|
*/
|
|
1789
1854
|
div(...values: CSSNumberish[]): CSSNumericValue;
|
|
1790
1855
|
/**
|
|
1791
|
-
* 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.
|
|
1792
1857
|
*
|
|
1793
1858
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/equals)
|
|
1794
1859
|
*/
|
|
1795
1860
|
equals(...value: CSSNumberish[]): boolean;
|
|
1796
1861
|
/**
|
|
1797
|
-
* The **`max()`** method of the passed.
|
|
1862
|
+
* The **`max()`** method of the CSSNumericValue interface returns the highest value from among the values passed.
|
|
1798
1863
|
*
|
|
1799
1864
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/max)
|
|
1800
1865
|
*/
|
|
1801
1866
|
max(...values: CSSNumberish[]): CSSNumericValue;
|
|
1802
1867
|
/**
|
|
1803
|
-
* The **`min()`** method of the values passed.
|
|
1868
|
+
* The **`min()`** method of the CSSNumericValue interface returns the lowest value from among those values passed.
|
|
1804
1869
|
*
|
|
1805
1870
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/min)
|
|
1806
1871
|
*/
|
|
1807
1872
|
min(...values: CSSNumberish[]): CSSNumericValue;
|
|
1808
1873
|
/**
|
|
1809
|
-
* The **`mul()`** method of the the supplied value.
|
|
1874
|
+
* The **`mul()`** method of the CSSNumericValue interface multiplies the `CSSNumericValue` by the supplied value.
|
|
1810
1875
|
*
|
|
1811
1876
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/mul)
|
|
1812
1877
|
*/
|
|
1813
1878
|
mul(...values: CSSNumberish[]): CSSNumericValue;
|
|
1814
1879
|
/**
|
|
1815
|
-
* The **`sub()`** method of the `CSSNumericValue`.
|
|
1880
|
+
* The **`sub()`** method of the CSSNumericValue interface subtracts a supplied number from the `CSSNumericValue`.
|
|
1816
1881
|
*
|
|
1817
1882
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/sub)
|
|
1818
1883
|
*/
|
|
1819
1884
|
sub(...values: CSSNumberish[]): CSSNumericValue;
|
|
1820
1885
|
/**
|
|
1821
|
-
* The **`to()`** method of the another.
|
|
1886
|
+
* The **`to()`** method of the CSSNumericValue interface converts a numeric value from one unit to another.
|
|
1822
1887
|
*
|
|
1823
1888
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/to)
|
|
1824
1889
|
*/
|
|
1825
1890
|
to(unit: string): CSSUnitValue;
|
|
1826
1891
|
/**
|
|
1827
|
-
* 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.
|
|
1828
1893
|
*
|
|
1829
1894
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/toSum)
|
|
1830
1895
|
*/
|
|
1831
1896
|
toSum(...units: string[]): CSSMathSum;
|
|
1832
1897
|
/**
|
|
1833
|
-
* 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`.
|
|
1834
1899
|
*
|
|
1835
1900
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/type)
|
|
1836
1901
|
*/
|
|
@@ -1849,7 +1914,7 @@ declare var CSSNumericValue: {
|
|
|
1849
1914
|
*/
|
|
1850
1915
|
interface CSSPerspective extends CSSTransformComponent {
|
|
1851
1916
|
/**
|
|
1852
|
-
* The **`length`** property of the
|
|
1917
|
+
* The **`length`** property of the CSSPerspective interface sets the distance from z=0.
|
|
1853
1918
|
*
|
|
1854
1919
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective/length)
|
|
1855
1920
|
*/
|
|
@@ -1868,25 +1933,25 @@ declare var CSSPerspective: {
|
|
|
1868
1933
|
*/
|
|
1869
1934
|
interface CSSRotate extends CSSTransformComponent {
|
|
1870
1935
|
/**
|
|
1871
|
-
* The **`angle`** property of the
|
|
1936
|
+
* The **`angle`** property of the CSSRotate interface gets and sets the angle of rotation.
|
|
1872
1937
|
*
|
|
1873
1938
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/angle)
|
|
1874
1939
|
*/
|
|
1875
1940
|
angle: CSSNumericValue;
|
|
1876
1941
|
/**
|
|
1877
|
-
* 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.
|
|
1878
1943
|
*
|
|
1879
1944
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/x)
|
|
1880
1945
|
*/
|
|
1881
1946
|
x: CSSNumberish;
|
|
1882
1947
|
/**
|
|
1883
|
-
* 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.
|
|
1884
1949
|
*
|
|
1885
1950
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/y)
|
|
1886
1951
|
*/
|
|
1887
1952
|
y: CSSNumberish;
|
|
1888
1953
|
/**
|
|
1889
|
-
* The **`z`** property of the vector.
|
|
1954
|
+
* The **`z`** property of the CSSRotate interface representing the z-component of the translating vector.
|
|
1890
1955
|
*
|
|
1891
1956
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/z)
|
|
1892
1957
|
*/
|
|
@@ -1906,19 +1971,19 @@ declare var CSSRotate: {
|
|
|
1906
1971
|
*/
|
|
1907
1972
|
interface CSSScale extends CSSTransformComponent {
|
|
1908
1973
|
/**
|
|
1909
|
-
* 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.
|
|
1910
1975
|
*
|
|
1911
1976
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/x)
|
|
1912
1977
|
*/
|
|
1913
1978
|
x: CSSNumberish;
|
|
1914
1979
|
/**
|
|
1915
|
-
* 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.
|
|
1916
1981
|
*
|
|
1917
1982
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/y)
|
|
1918
1983
|
*/
|
|
1919
1984
|
y: CSSNumberish;
|
|
1920
1985
|
/**
|
|
1921
|
-
* The **`z`** property of the vector.
|
|
1986
|
+
* The **`z`** property of the CSSScale interface representing the z-component of the translating vector.
|
|
1922
1987
|
*
|
|
1923
1988
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/z)
|
|
1924
1989
|
*/
|
|
@@ -1937,13 +2002,13 @@ declare var CSSScale: {
|
|
|
1937
2002
|
*/
|
|
1938
2003
|
interface CSSSkew extends CSSTransformComponent {
|
|
1939
2004
|
/**
|
|
1940
|
-
* 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).
|
|
1941
2006
|
*
|
|
1942
2007
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax)
|
|
1943
2008
|
*/
|
|
1944
2009
|
ax: CSSNumericValue;
|
|
1945
2010
|
/**
|
|
1946
|
-
* 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).
|
|
1947
2012
|
*
|
|
1948
2013
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ay)
|
|
1949
2014
|
*/
|
|
@@ -1962,7 +2027,7 @@ declare var CSSSkew: {
|
|
|
1962
2027
|
*/
|
|
1963
2028
|
interface CSSSkewX extends CSSTransformComponent {
|
|
1964
2029
|
/**
|
|
1965
|
-
* 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).
|
|
1966
2031
|
*
|
|
1967
2032
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX/ax)
|
|
1968
2033
|
*/
|
|
@@ -1981,7 +2046,7 @@ declare var CSSSkewX: {
|
|
|
1981
2046
|
*/
|
|
1982
2047
|
interface CSSSkewY extends CSSTransformComponent {
|
|
1983
2048
|
/**
|
|
1984
|
-
* 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).
|
|
1985
2050
|
*
|
|
1986
2051
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY/ay)
|
|
1987
2052
|
*/
|
|
@@ -2020,7 +2085,7 @@ interface CSSTransformComponent {
|
|
|
2020
2085
|
*/
|
|
2021
2086
|
is2D: boolean;
|
|
2022
2087
|
/**
|
|
2023
|
-
* The **`toMatrix()`** method of the object.
|
|
2088
|
+
* The **`toMatrix()`** method of the CSSTransformComponent interface returns a DOMMatrix object.
|
|
2024
2089
|
*
|
|
2025
2090
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent/toMatrix)
|
|
2026
2091
|
*/
|
|
@@ -2040,19 +2105,19 @@ declare var CSSTransformComponent: {
|
|
|
2040
2105
|
*/
|
|
2041
2106
|
interface CSSTransformValue extends CSSStyleValue {
|
|
2042
2107
|
/**
|
|
2043
|
-
* 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.
|
|
2044
2109
|
*
|
|
2045
2110
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/is2D)
|
|
2046
2111
|
*/
|
|
2047
2112
|
readonly is2D: boolean;
|
|
2048
2113
|
/**
|
|
2049
|
-
* 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.
|
|
2050
2115
|
*
|
|
2051
2116
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/length)
|
|
2052
2117
|
*/
|
|
2053
2118
|
readonly length: number;
|
|
2054
2119
|
/**
|
|
2055
|
-
* The **`toMatrix()`** method of the
|
|
2120
|
+
* The **`toMatrix()`** method of the CSSTransformValue interface returns a DOMMatrix object.
|
|
2056
2121
|
*
|
|
2057
2122
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/toMatrix)
|
|
2058
2123
|
*/
|
|
@@ -2073,19 +2138,19 @@ declare var CSSTransformValue: {
|
|
|
2073
2138
|
*/
|
|
2074
2139
|
interface CSSTranslate extends CSSTransformComponent {
|
|
2075
2140
|
/**
|
|
2076
|
-
* 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.
|
|
2077
2142
|
*
|
|
2078
2143
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/x)
|
|
2079
2144
|
*/
|
|
2080
2145
|
x: CSSNumericValue;
|
|
2081
2146
|
/**
|
|
2082
|
-
* 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.
|
|
2083
2148
|
*
|
|
2084
2149
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/y)
|
|
2085
2150
|
*/
|
|
2086
2151
|
y: CSSNumericValue;
|
|
2087
2152
|
/**
|
|
2088
|
-
* The **`z`** property of the vector.
|
|
2153
|
+
* The **`z`** property of the CSSTranslate interface representing the z-component of the translating vector.
|
|
2089
2154
|
*
|
|
2090
2155
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/z)
|
|
2091
2156
|
*/
|
|
@@ -2110,7 +2175,7 @@ interface CSSUnitValue extends CSSNumericValue {
|
|
|
2110
2175
|
*/
|
|
2111
2176
|
readonly unit: string;
|
|
2112
2177
|
/**
|
|
2113
|
-
* The **`CSSUnitValue.value`** property of the
|
|
2178
|
+
* The **`CSSUnitValue.value`** property of the CSSUnitValue interface returns a double indicating the number of units.
|
|
2114
2179
|
*
|
|
2115
2180
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/value)
|
|
2116
2181
|
*/
|
|
@@ -2129,7 +2194,7 @@ declare var CSSUnitValue: {
|
|
|
2129
2194
|
*/
|
|
2130
2195
|
interface CSSUnparsedValue extends CSSStyleValue {
|
|
2131
2196
|
/**
|
|
2132
|
-
* 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.
|
|
2133
2198
|
*
|
|
2134
2199
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue/length)
|
|
2135
2200
|
*/
|
|
@@ -2150,13 +2215,13 @@ declare var CSSUnparsedValue: {
|
|
|
2150
2215
|
*/
|
|
2151
2216
|
interface CSSVariableReferenceValue {
|
|
2152
2217
|
/**
|
|
2153
|
-
* 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.
|
|
2154
2219
|
*
|
|
2155
2220
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/fallback)
|
|
2156
2221
|
*/
|
|
2157
2222
|
readonly fallback: CSSUnparsedValue | null;
|
|
2158
2223
|
/**
|
|
2159
|
-
* The **`variable`** property of the
|
|
2224
|
+
* The **`variable`** property of the CSSVariableReferenceValue interface returns the custom property name of the CSSVariableReferenceValue.
|
|
2160
2225
|
*
|
|
2161
2226
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/variable)
|
|
2162
2227
|
*/
|
|
@@ -2194,7 +2259,7 @@ interface Cache {
|
|
|
2194
2259
|
*/
|
|
2195
2260
|
delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<boolean>;
|
|
2196
2261
|
/**
|
|
2197
|
-
* 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.
|
|
2198
2263
|
*
|
|
2199
2264
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/keys)
|
|
2200
2265
|
*/
|
|
@@ -2212,7 +2277,7 @@ interface Cache {
|
|
|
2212
2277
|
*/
|
|
2213
2278
|
matchAll(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;
|
|
2214
2279
|
/**
|
|
2215
|
-
* 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.
|
|
2216
2281
|
*
|
|
2217
2282
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/put)
|
|
2218
2283
|
*/
|
|
@@ -2238,7 +2303,7 @@ interface CacheStorage {
|
|
|
2238
2303
|
*/
|
|
2239
2304
|
delete(cacheName: string): Promise<boolean>;
|
|
2240
2305
|
/**
|
|
2241
|
-
* 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`.
|
|
2242
2307
|
*
|
|
2243
2308
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/has)
|
|
2244
2309
|
*/
|
|
@@ -2256,7 +2321,7 @@ interface CacheStorage {
|
|
|
2256
2321
|
*/
|
|
2257
2322
|
match(request: RequestInfo | URL, options?: MultiCacheQueryOptions): Promise<Response | undefined>;
|
|
2258
2323
|
/**
|
|
2259
|
-
* 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`.
|
|
2260
2325
|
*
|
|
2261
2326
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/open)
|
|
2262
2327
|
*/
|
|
@@ -2530,7 +2595,7 @@ interface Client {
|
|
|
2530
2595
|
*/
|
|
2531
2596
|
readonly url: string;
|
|
2532
2597
|
/**
|
|
2533
|
-
* 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).
|
|
2534
2599
|
*
|
|
2535
2600
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Client/postMessage)
|
|
2536
2601
|
*/
|
|
@@ -2556,13 +2621,13 @@ interface Clients {
|
|
|
2556
2621
|
*/
|
|
2557
2622
|
claim(): Promise<void>;
|
|
2558
2623
|
/**
|
|
2559
|
-
* 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.
|
|
2560
2625
|
*
|
|
2561
2626
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clients/get)
|
|
2562
2627
|
*/
|
|
2563
2628
|
get(id: string): Promise<Client | undefined>;
|
|
2564
2629
|
/**
|
|
2565
|
-
* 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.
|
|
2566
2631
|
*
|
|
2567
2632
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clients/matchAll)
|
|
2568
2633
|
*/
|
|
@@ -2728,7 +2793,7 @@ declare var CountQueuingStrategy: {
|
|
|
2728
2793
|
*/
|
|
2729
2794
|
interface Crypto {
|
|
2730
2795
|
/**
|
|
2731
|
-
* 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.
|
|
2732
2797
|
* Available only in secure contexts.
|
|
2733
2798
|
*
|
|
2734
2799
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/subtle)
|
|
@@ -2793,7 +2858,7 @@ declare var CryptoKey: {
|
|
|
2793
2858
|
};
|
|
2794
2859
|
|
|
2795
2860
|
/**
|
|
2796
|
-
* The **`CustomEvent`** interface
|
|
2861
|
+
* The **`CustomEvent`** interface can be used to attach custom data to an event generated by an application.
|
|
2797
2862
|
*
|
|
2798
2863
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)
|
|
2799
2864
|
*/
|
|
@@ -2832,13 +2897,13 @@ interface DOMException extends Error {
|
|
|
2832
2897
|
*/
|
|
2833
2898
|
readonly code: number;
|
|
2834
2899
|
/**
|
|
2835
|
-
* 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.
|
|
2836
2901
|
*
|
|
2837
2902
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message)
|
|
2838
2903
|
*/
|
|
2839
2904
|
readonly message: string;
|
|
2840
2905
|
/**
|
|
2841
|
-
* 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.
|
|
2842
2907
|
*
|
|
2843
2908
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name)
|
|
2844
2909
|
*/
|
|
@@ -3131,7 +3196,7 @@ interface DOMMatrixReadOnly {
|
|
|
3131
3196
|
*/
|
|
3132
3197
|
rotateFromVector(x?: number, y?: number): DOMMatrix;
|
|
3133
3198
|
/**
|
|
3134
|
-
* 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.
|
|
3135
3200
|
*
|
|
3136
3201
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale)
|
|
3137
3202
|
*/
|
|
@@ -3175,7 +3240,7 @@ interface DOMMatrixReadOnly {
|
|
|
3175
3240
|
*/
|
|
3176
3241
|
toJSON(): any;
|
|
3177
3242
|
/**
|
|
3178
|
-
* 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.
|
|
3179
3244
|
*
|
|
3180
3245
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint)
|
|
3181
3246
|
*/
|
|
@@ -3276,7 +3341,7 @@ interface DOMPointReadOnly {
|
|
|
3276
3341
|
*/
|
|
3277
3342
|
matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
|
|
3278
3343
|
/**
|
|
3279
|
-
* 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.
|
|
3280
3345
|
*
|
|
3281
3346
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON)
|
|
3282
3347
|
*/
|
|
@@ -3331,7 +3396,7 @@ interface DOMQuad {
|
|
|
3331
3396
|
*/
|
|
3332
3397
|
getBounds(): DOMRect;
|
|
3333
3398
|
/**
|
|
3334
|
-
* The DOMQuad method `toJSON()` returns a
|
|
3399
|
+
* The DOMQuad method `toJSON()` returns a JSON representation of the `DOMQuad` object.
|
|
3335
3400
|
*
|
|
3336
3401
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/toJSON)
|
|
3337
3402
|
*/
|
|
@@ -3381,7 +3446,7 @@ declare var DOMRect: {
|
|
|
3381
3446
|
prototype: DOMRect;
|
|
3382
3447
|
new(x?: number, y?: number, width?: number, height?: number): DOMRect;
|
|
3383
3448
|
/**
|
|
3384
|
-
* 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.
|
|
3385
3450
|
*
|
|
3386
3451
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static)
|
|
3387
3452
|
*/
|
|
@@ -3454,7 +3519,7 @@ declare var DOMRectReadOnly: {
|
|
|
3454
3519
|
prototype: DOMRectReadOnly;
|
|
3455
3520
|
new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;
|
|
3456
3521
|
/**
|
|
3457
|
-
* 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.
|
|
3458
3523
|
*
|
|
3459
3524
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/fromRect_static)
|
|
3460
3525
|
*/
|
|
@@ -3521,7 +3586,7 @@ interface DedicatedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap,
|
|
|
3521
3586
|
*/
|
|
3522
3587
|
interface DedicatedWorkerGlobalScope extends WorkerGlobalScope, AnimationFrameProvider, MessageEventTarget<DedicatedWorkerGlobalScope> {
|
|
3523
3588
|
/**
|
|
3524
|
-
* 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.
|
|
3525
3590
|
*
|
|
3526
3591
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/name)
|
|
3527
3592
|
*/
|
|
@@ -3823,7 +3888,7 @@ interface Event {
|
|
|
3823
3888
|
*/
|
|
3824
3889
|
readonly cancelable: boolean;
|
|
3825
3890
|
/**
|
|
3826
|
-
* 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.
|
|
3827
3892
|
*
|
|
3828
3893
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)
|
|
3829
3894
|
*/
|
|
@@ -3841,13 +3906,13 @@ interface Event {
|
|
|
3841
3906
|
*/
|
|
3842
3907
|
readonly defaultPrevented: boolean;
|
|
3843
3908
|
/**
|
|
3844
|
-
* 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.
|
|
3845
3910
|
*
|
|
3846
3911
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)
|
|
3847
3912
|
*/
|
|
3848
3913
|
readonly eventPhase: number;
|
|
3849
3914
|
/**
|
|
3850
|
-
* 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().
|
|
3851
3916
|
*
|
|
3852
3917
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)
|
|
3853
3918
|
*/
|
|
@@ -3867,7 +3932,7 @@ interface Event {
|
|
|
3867
3932
|
*/
|
|
3868
3933
|
readonly srcElement: EventTarget | null;
|
|
3869
3934
|
/**
|
|
3870
|
-
* 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.
|
|
3871
3936
|
*
|
|
3872
3937
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)
|
|
3873
3938
|
*/
|
|
@@ -3898,13 +3963,13 @@ interface Event {
|
|
|
3898
3963
|
*/
|
|
3899
3964
|
initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;
|
|
3900
3965
|
/**
|
|
3901
|
-
* 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.
|
|
3902
3967
|
*
|
|
3903
3968
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)
|
|
3904
3969
|
*/
|
|
3905
3970
|
preventDefault(): void;
|
|
3906
3971
|
/**
|
|
3907
|
-
* The **`stopImmediatePropagation()`** method of the
|
|
3972
|
+
* The **`stopImmediatePropagation()`** method of the Event interface prevents other listeners of the same event from being called.
|
|
3908
3973
|
*
|
|
3909
3974
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)
|
|
3910
3975
|
*/
|
|
@@ -3957,25 +4022,25 @@ interface EventSource extends EventTarget {
|
|
|
3957
4022
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/open_event) */
|
|
3958
4023
|
onopen: ((this: EventSource, ev: Event) => any) | null;
|
|
3959
4024
|
/**
|
|
3960
|
-
* 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.
|
|
3961
4026
|
*
|
|
3962
4027
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/readyState)
|
|
3963
4028
|
*/
|
|
3964
4029
|
readonly readyState: number;
|
|
3965
4030
|
/**
|
|
3966
|
-
* 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.
|
|
3967
4032
|
*
|
|
3968
4033
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/url)
|
|
3969
4034
|
*/
|
|
3970
4035
|
readonly url: string;
|
|
3971
4036
|
/**
|
|
3972
|
-
* 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.
|
|
3973
4038
|
*
|
|
3974
4039
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/withCredentials)
|
|
3975
4040
|
*/
|
|
3976
4041
|
readonly withCredentials: boolean;
|
|
3977
4042
|
/**
|
|
3978
|
-
* 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).
|
|
3979
4044
|
*
|
|
3980
4045
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/close)
|
|
3981
4046
|
*/
|
|
@@ -4081,31 +4146,31 @@ declare var ExtendableEvent: {
|
|
|
4081
4146
|
*/
|
|
4082
4147
|
interface ExtendableMessageEvent extends ExtendableEvent {
|
|
4083
4148
|
/**
|
|
4084
|
-
* The **`data`** read-only property of the data
|
|
4149
|
+
* The **`data`** read-only property of the ExtendableMessageEvent interface returns the event's data.
|
|
4085
4150
|
*
|
|
4086
4151
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/data)
|
|
4087
4152
|
*/
|
|
4088
4153
|
readonly data: any;
|
|
4089
4154
|
/**
|
|
4090
|
-
* 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.
|
|
4091
4156
|
*
|
|
4092
4157
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/lastEventId)
|
|
4093
4158
|
*/
|
|
4094
4159
|
readonly lastEventId: string;
|
|
4095
4160
|
/**
|
|
4096
|
-
* 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.
|
|
4097
4162
|
*
|
|
4098
4163
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/origin)
|
|
4099
4164
|
*/
|
|
4100
4165
|
readonly origin: string;
|
|
4101
4166
|
/**
|
|
4102
|
-
* 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.)
|
|
4103
4168
|
*
|
|
4104
4169
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/ports)
|
|
4105
4170
|
*/
|
|
4106
4171
|
readonly ports: ReadonlyArray<MessagePort>;
|
|
4107
4172
|
/**
|
|
4108
|
-
* 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.
|
|
4109
4174
|
*
|
|
4110
4175
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/source)
|
|
4111
4176
|
*/
|
|
@@ -4124,7 +4189,7 @@ declare var ExtendableMessageEvent: {
|
|
|
4124
4189
|
*/
|
|
4125
4190
|
interface FetchEvent extends ExtendableEvent {
|
|
4126
4191
|
/**
|
|
4127
|
-
* 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.
|
|
4128
4193
|
*
|
|
4129
4194
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/clientId)
|
|
4130
4195
|
*/
|
|
@@ -4142,19 +4207,19 @@ interface FetchEvent extends ExtendableEvent {
|
|
|
4142
4207
|
*/
|
|
4143
4208
|
readonly preloadResponse: Promise<any>;
|
|
4144
4209
|
/**
|
|
4145
|
-
* 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.
|
|
4146
4211
|
*
|
|
4147
4212
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/request)
|
|
4148
4213
|
*/
|
|
4149
4214
|
readonly request: Request;
|
|
4150
4215
|
/**
|
|
4151
|
-
* 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.
|
|
4152
4217
|
*
|
|
4153
4218
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/resultingClientId)
|
|
4154
4219
|
*/
|
|
4155
4220
|
readonly resultingClientId: string;
|
|
4156
4221
|
/**
|
|
4157
|
-
* 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.
|
|
4158
4223
|
*
|
|
4159
4224
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/respondWith)
|
|
4160
4225
|
*/
|
|
@@ -4288,7 +4353,7 @@ interface FileReader extends EventTarget {
|
|
|
4288
4353
|
*/
|
|
4289
4354
|
readAsBinaryString(blob: Blob): void;
|
|
4290
4355
|
/**
|
|
4291
|
-
* 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.
|
|
4292
4357
|
*
|
|
4293
4358
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsDataURL)
|
|
4294
4359
|
*/
|
|
@@ -4363,25 +4428,25 @@ declare var FileReaderSync: {
|
|
|
4363
4428
|
interface FileSystemDirectoryHandle extends FileSystemHandle {
|
|
4364
4429
|
readonly kind: "directory";
|
|
4365
4430
|
/**
|
|
4366
|
-
* 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.
|
|
4367
4432
|
*
|
|
4368
4433
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getDirectoryHandle)
|
|
4369
4434
|
*/
|
|
4370
4435
|
getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
|
|
4371
4436
|
/**
|
|
4372
|
-
* 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.
|
|
4373
4438
|
*
|
|
4374
4439
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getFileHandle)
|
|
4375
4440
|
*/
|
|
4376
4441
|
getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
|
|
4377
4442
|
/**
|
|
4378
|
-
* 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.
|
|
4379
4444
|
*
|
|
4380
4445
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/removeEntry)
|
|
4381
4446
|
*/
|
|
4382
4447
|
removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
|
|
4383
4448
|
/**
|
|
4384
|
-
* 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.
|
|
4385
4450
|
*
|
|
4386
4451
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/resolve)
|
|
4387
4452
|
*/
|
|
@@ -4402,7 +4467,7 @@ declare var FileSystemDirectoryHandle: {
|
|
|
4402
4467
|
interface FileSystemFileHandle extends FileSystemHandle {
|
|
4403
4468
|
readonly kind: "file";
|
|
4404
4469
|
/**
|
|
4405
|
-
* 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.
|
|
4406
4471
|
*
|
|
4407
4472
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/createSyncAccessHandle)
|
|
4408
4473
|
*/
|
|
@@ -4414,7 +4479,7 @@ interface FileSystemFileHandle extends FileSystemHandle {
|
|
|
4414
4479
|
*/
|
|
4415
4480
|
createWritable(options?: FileSystemCreateWritableOptions): Promise<FileSystemWritableFileStream>;
|
|
4416
4481
|
/**
|
|
4417
|
-
* 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.
|
|
4418
4483
|
*
|
|
4419
4484
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/getFile)
|
|
4420
4485
|
*/
|
|
@@ -4434,19 +4499,19 @@ declare var FileSystemFileHandle: {
|
|
|
4434
4499
|
*/
|
|
4435
4500
|
interface FileSystemHandle {
|
|
4436
4501
|
/**
|
|
4437
|
-
* The **`kind`** read-only property of the
|
|
4502
|
+
* The **`kind`** read-only property of the FileSystemHandle interface returns the type of entry.
|
|
4438
4503
|
*
|
|
4439
4504
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/kind)
|
|
4440
4505
|
*/
|
|
4441
4506
|
readonly kind: FileSystemHandleKind;
|
|
4442
4507
|
/**
|
|
4443
|
-
* 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.
|
|
4444
4509
|
*
|
|
4445
4510
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/name)
|
|
4446
4511
|
*/
|
|
4447
4512
|
readonly name: string;
|
|
4448
4513
|
/**
|
|
4449
|
-
* 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.
|
|
4450
4515
|
*
|
|
4451
4516
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/isSameEntry)
|
|
4452
4517
|
*/
|
|
@@ -4466,37 +4531,37 @@ declare var FileSystemHandle: {
|
|
|
4466
4531
|
*/
|
|
4467
4532
|
interface FileSystemSyncAccessHandle {
|
|
4468
4533
|
/**
|
|
4469
|
-
* 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.
|
|
4470
4535
|
*
|
|
4471
4536
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/close)
|
|
4472
4537
|
*/
|
|
4473
4538
|
close(): void;
|
|
4474
4539
|
/**
|
|
4475
|
-
* 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.
|
|
4476
4541
|
*
|
|
4477
4542
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/flush)
|
|
4478
4543
|
*/
|
|
4479
4544
|
flush(): void;
|
|
4480
4545
|
/**
|
|
4481
|
-
* 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.
|
|
4482
4547
|
*
|
|
4483
4548
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/getSize)
|
|
4484
4549
|
*/
|
|
4485
4550
|
getSize(): number;
|
|
4486
4551
|
/**
|
|
4487
|
-
* 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.
|
|
4488
4553
|
*
|
|
4489
4554
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/read)
|
|
4490
4555
|
*/
|
|
4491
4556
|
read(buffer: AllowSharedBufferSource, options?: FileSystemReadWriteOptions): number;
|
|
4492
4557
|
/**
|
|
4493
|
-
* 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.
|
|
4494
4559
|
*
|
|
4495
4560
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/truncate)
|
|
4496
4561
|
*/
|
|
4497
4562
|
truncate(newSize: number): void;
|
|
4498
4563
|
/**
|
|
4499
|
-
* 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.
|
|
4500
4565
|
*
|
|
4501
4566
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/write)
|
|
4502
4567
|
*/
|
|
@@ -4612,6 +4677,12 @@ interface FontFace {
|
|
|
4612
4677
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange)
|
|
4613
4678
|
*/
|
|
4614
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;
|
|
4615
4686
|
/**
|
|
4616
4687
|
* The **`weight`** property of the FontFace interface retrieves or sets the weight of the font.
|
|
4617
4688
|
*
|
|
@@ -4692,7 +4763,7 @@ declare var FontFaceSet: {
|
|
|
4692
4763
|
*/
|
|
4693
4764
|
interface FontFaceSetLoadEvent extends Event {
|
|
4694
4765
|
/**
|
|
4695
|
-
* 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.
|
|
4696
4767
|
*
|
|
4697
4768
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent/fontfaces)
|
|
4698
4769
|
*/
|
|
@@ -4771,13 +4842,38 @@ declare var FormData: {
|
|
|
4771
4842
|
*/
|
|
4772
4843
|
interface GPUError {
|
|
4773
4844
|
/**
|
|
4774
|
-
* 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.
|
|
4775
4846
|
*
|
|
4776
4847
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError/message)
|
|
4777
4848
|
*/
|
|
4778
4849
|
readonly message: string;
|
|
4779
4850
|
}
|
|
4780
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
|
+
|
|
4781
4877
|
interface GenericTransformStream {
|
|
4782
4878
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */
|
|
4783
4879
|
readonly readable: ReadableStream;
|
|
@@ -4842,19 +4938,19 @@ declare var Headers: {
|
|
|
4842
4938
|
*/
|
|
4843
4939
|
interface IDBCursor {
|
|
4844
4940
|
/**
|
|
4845
|
-
* 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).
|
|
4846
4942
|
*
|
|
4847
4943
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/direction)
|
|
4848
4944
|
*/
|
|
4849
4945
|
readonly direction: IDBCursorDirection;
|
|
4850
4946
|
/**
|
|
4851
|
-
* 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.
|
|
4852
4948
|
*
|
|
4853
4949
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/key)
|
|
4854
4950
|
*/
|
|
4855
4951
|
readonly key: IDBValidKey;
|
|
4856
4952
|
/**
|
|
4857
|
-
* The **`primaryKey`** read-only property of the
|
|
4953
|
+
* The **`primaryKey`** read-only property of the IDBCursor interface returns the cursor's current effective key.
|
|
4858
4954
|
*
|
|
4859
4955
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/primaryKey)
|
|
4860
4956
|
*/
|
|
@@ -4866,7 +4962,7 @@ interface IDBCursor {
|
|
|
4866
4962
|
*/
|
|
4867
4963
|
readonly request: IDBRequest;
|
|
4868
4964
|
/**
|
|
4869
|
-
* 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.
|
|
4870
4966
|
*
|
|
4871
4967
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/source)
|
|
4872
4968
|
*/
|
|
@@ -4884,7 +4980,7 @@ interface IDBCursor {
|
|
|
4884
4980
|
*/
|
|
4885
4981
|
continue(key?: IDBValidKey): void;
|
|
4886
4982
|
/**
|
|
4887
|
-
* 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.
|
|
4888
4984
|
*
|
|
4889
4985
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/continuePrimaryKey)
|
|
4890
4986
|
*/
|
|
@@ -4915,7 +5011,7 @@ declare var IDBCursor: {
|
|
|
4915
5011
|
*/
|
|
4916
5012
|
interface IDBCursorWithValue extends IDBCursor {
|
|
4917
5013
|
/**
|
|
4918
|
-
* 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.
|
|
4919
5015
|
*
|
|
4920
5016
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue/value)
|
|
4921
5017
|
*/
|
|
@@ -4947,11 +5043,12 @@ interface IDBDatabase extends EventTarget {
|
|
|
4947
5043
|
*/
|
|
4948
5044
|
readonly name: string;
|
|
4949
5045
|
/**
|
|
4950
|
-
* 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.
|
|
4951
5047
|
*
|
|
4952
5048
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)
|
|
4953
5049
|
*/
|
|
4954
5050
|
readonly objectStoreNames: DOMStringList;
|
|
5051
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
|
|
4955
5052
|
onabort: ((this: IDBDatabase, ev: Event) => any) | null;
|
|
4956
5053
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */
|
|
4957
5054
|
onclose: ((this: IDBDatabase, ev: Event) => any) | null;
|
|
@@ -4971,13 +5068,13 @@ interface IDBDatabase extends EventTarget {
|
|
|
4971
5068
|
*/
|
|
4972
5069
|
close(): void;
|
|
4973
5070
|
/**
|
|
4974
|
-
* The **`createObjectStore()`** method of the
|
|
5071
|
+
* The **`createObjectStore()`** method of the IDBDatabase interface creates and returns a new IDBObjectStore.
|
|
4975
5072
|
*
|
|
4976
5073
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/createObjectStore)
|
|
4977
5074
|
*/
|
|
4978
5075
|
createObjectStore(name: string, options?: IDBObjectStoreParameters): IDBObjectStore;
|
|
4979
5076
|
/**
|
|
4980
|
-
* 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.
|
|
4981
5078
|
*
|
|
4982
5079
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/deleteObjectStore)
|
|
4983
5080
|
*/
|
|
@@ -5018,7 +5115,7 @@ interface IDBFactory {
|
|
|
5018
5115
|
*/
|
|
5019
5116
|
databases(): Promise<IDBDatabaseInfo[]>;
|
|
5020
5117
|
/**
|
|
5021
|
-
* The **`deleteDatabase()`** method of the
|
|
5118
|
+
* The **`deleteDatabase()`** method of the IDBFactory interface requests the deletion of a database.
|
|
5022
5119
|
*
|
|
5023
5120
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/deleteDatabase)
|
|
5024
5121
|
*/
|
|
@@ -5049,7 +5146,7 @@ interface IDBIndex {
|
|
|
5049
5146
|
*/
|
|
5050
5147
|
readonly keyPath: string | string[];
|
|
5051
5148
|
/**
|
|
5052
|
-
* 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.
|
|
5053
5150
|
*
|
|
5054
5151
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/multiEntry)
|
|
5055
5152
|
*/
|
|
@@ -5079,7 +5176,7 @@ interface IDBIndex {
|
|
|
5079
5176
|
*/
|
|
5080
5177
|
count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
|
5081
5178
|
/**
|
|
5082
|
-
* 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.
|
|
5083
5180
|
*
|
|
5084
5181
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/get)
|
|
5085
5182
|
*/
|
|
@@ -5089,15 +5186,15 @@ interface IDBIndex {
|
|
|
5089
5186
|
*
|
|
5090
5187
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAll)
|
|
5091
5188
|
*/
|
|
5092
|
-
getAll(
|
|
5189
|
+
getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
|
|
5093
5190
|
/**
|
|
5094
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.
|
|
5095
5192
|
*
|
|
5096
5193
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAllKeys)
|
|
5097
5194
|
*/
|
|
5098
|
-
getAllKeys(
|
|
5195
|
+
getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
5099
5196
|
/**
|
|
5100
|
-
* 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.
|
|
5101
5198
|
*
|
|
5102
5199
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getKey)
|
|
5103
5200
|
*/
|
|
@@ -5109,7 +5206,7 @@ interface IDBIndex {
|
|
|
5109
5206
|
*/
|
|
5110
5207
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
|
5111
5208
|
/**
|
|
5112
|
-
* 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.
|
|
5113
5210
|
*
|
|
5114
5211
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/openKeyCursor)
|
|
5115
5212
|
*/
|
|
@@ -5128,25 +5225,25 @@ declare var IDBIndex: {
|
|
|
5128
5225
|
*/
|
|
5129
5226
|
interface IDBKeyRange {
|
|
5130
5227
|
/**
|
|
5131
|
-
* 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.
|
|
5132
5229
|
*
|
|
5133
5230
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lower)
|
|
5134
5231
|
*/
|
|
5135
5232
|
readonly lower: any;
|
|
5136
5233
|
/**
|
|
5137
|
-
* 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.
|
|
5138
5235
|
*
|
|
5139
5236
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerOpen)
|
|
5140
5237
|
*/
|
|
5141
5238
|
readonly lowerOpen: boolean;
|
|
5142
5239
|
/**
|
|
5143
|
-
* 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.
|
|
5144
5241
|
*
|
|
5145
5242
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upper)
|
|
5146
5243
|
*/
|
|
5147
5244
|
readonly upper: any;
|
|
5148
5245
|
/**
|
|
5149
|
-
* 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.
|
|
5150
5247
|
*
|
|
5151
5248
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperOpen)
|
|
5152
5249
|
*/
|
|
@@ -5169,7 +5266,7 @@ declare var IDBKeyRange: {
|
|
|
5169
5266
|
*/
|
|
5170
5267
|
bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;
|
|
5171
5268
|
/**
|
|
5172
|
-
* 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.
|
|
5173
5270
|
*
|
|
5174
5271
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerBound_static)
|
|
5175
5272
|
*/
|
|
@@ -5181,7 +5278,7 @@ declare var IDBKeyRange: {
|
|
|
5181
5278
|
*/
|
|
5182
5279
|
only(value: any): IDBKeyRange;
|
|
5183
5280
|
/**
|
|
5184
|
-
* The **`upperBound()`** static method of the
|
|
5281
|
+
* The **`upperBound()`** static method of the IDBKeyRange interface creates a new upper-bound key range.
|
|
5185
5282
|
*
|
|
5186
5283
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperBound_static)
|
|
5187
5284
|
*/
|
|
@@ -5195,19 +5292,19 @@ declare var IDBKeyRange: {
|
|
|
5195
5292
|
*/
|
|
5196
5293
|
interface IDBObjectStore {
|
|
5197
5294
|
/**
|
|
5198
|
-
* 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.
|
|
5199
5296
|
*
|
|
5200
5297
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/autoIncrement)
|
|
5201
5298
|
*/
|
|
5202
5299
|
readonly autoIncrement: boolean;
|
|
5203
5300
|
/**
|
|
5204
|
-
* 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.
|
|
5205
5302
|
*
|
|
5206
5303
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/indexNames)
|
|
5207
5304
|
*/
|
|
5208
5305
|
readonly indexNames: DOMStringList;
|
|
5209
5306
|
/**
|
|
5210
|
-
* 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.
|
|
5211
5308
|
*
|
|
5212
5309
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)
|
|
5213
5310
|
*/
|
|
@@ -5219,7 +5316,7 @@ interface IDBObjectStore {
|
|
|
5219
5316
|
*/
|
|
5220
5317
|
name: string;
|
|
5221
5318
|
/**
|
|
5222
|
-
* 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.
|
|
5223
5320
|
*
|
|
5224
5321
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/transaction)
|
|
5225
5322
|
*/
|
|
@@ -5237,25 +5334,25 @@ interface IDBObjectStore {
|
|
|
5237
5334
|
*/
|
|
5238
5335
|
clear(): IDBRequest<undefined>;
|
|
5239
5336
|
/**
|
|
5240
|
-
* 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.
|
|
5241
5338
|
*
|
|
5242
5339
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/count)
|
|
5243
5340
|
*/
|
|
5244
5341
|
count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
|
5245
5342
|
/**
|
|
5246
|
-
* The **`createIndex()`** method of the
|
|
5343
|
+
* The **`createIndex()`** method of the IDBObjectStore interface creates and returns a new IDBIndex object in the connected database.
|
|
5247
5344
|
*
|
|
5248
5345
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
|
5249
5346
|
*/
|
|
5250
5347
|
createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;
|
|
5251
5348
|
/**
|
|
5252
|
-
* 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.
|
|
5253
5350
|
*
|
|
5254
5351
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/delete)
|
|
5255
5352
|
*/
|
|
5256
5353
|
delete(query: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;
|
|
5257
5354
|
/**
|
|
5258
|
-
* 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.
|
|
5259
5356
|
*
|
|
5260
5357
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/deleteIndex)
|
|
5261
5358
|
*/
|
|
@@ -5267,19 +5364,19 @@ interface IDBObjectStore {
|
|
|
5267
5364
|
*/
|
|
5268
5365
|
get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;
|
|
5269
5366
|
/**
|
|
5270
|
-
* 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.
|
|
5271
5368
|
*
|
|
5272
5369
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)
|
|
5273
5370
|
*/
|
|
5274
|
-
getAll(
|
|
5371
|
+
getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
|
|
5275
5372
|
/**
|
|
5276
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.
|
|
5277
5374
|
*
|
|
5278
5375
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAllKeys)
|
|
5279
5376
|
*/
|
|
5280
|
-
getAllKeys(
|
|
5377
|
+
getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
5281
5378
|
/**
|
|
5282
|
-
* 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.
|
|
5283
5380
|
*
|
|
5284
5381
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getKey)
|
|
5285
5382
|
*/
|
|
@@ -5291,13 +5388,13 @@ interface IDBObjectStore {
|
|
|
5291
5388
|
*/
|
|
5292
5389
|
index(name: string): IDBIndex;
|
|
5293
5390
|
/**
|
|
5294
|
-
* 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.
|
|
5295
5392
|
*
|
|
5296
5393
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openCursor)
|
|
5297
5394
|
*/
|
|
5298
5395
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
|
5299
5396
|
/**
|
|
5300
|
-
* 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.
|
|
5301
5398
|
*
|
|
5302
5399
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openKeyCursor)
|
|
5303
5400
|
*/
|
|
@@ -5353,7 +5450,7 @@ interface IDBRequestEventMap {
|
|
|
5353
5450
|
*/
|
|
5354
5451
|
interface IDBRequest<T = any> extends EventTarget {
|
|
5355
5452
|
/**
|
|
5356
|
-
* 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.
|
|
5357
5454
|
*
|
|
5358
5455
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/error)
|
|
5359
5456
|
*/
|
|
@@ -5363,19 +5460,19 @@ interface IDBRequest<T = any> extends EventTarget {
|
|
|
5363
5460
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/success_event) */
|
|
5364
5461
|
onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;
|
|
5365
5462
|
/**
|
|
5366
|
-
* The **`readyState`** read-only property of the
|
|
5463
|
+
* The **`readyState`** read-only property of the IDBRequest interface returns the state of the request.
|
|
5367
5464
|
*
|
|
5368
5465
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/readyState)
|
|
5369
5466
|
*/
|
|
5370
5467
|
readonly readyState: IDBRequestReadyState;
|
|
5371
5468
|
/**
|
|
5372
|
-
* The **`result`** read-only property of the
|
|
5469
|
+
* The **`result`** read-only property of the IDBRequest interface returns the result of the request.
|
|
5373
5470
|
*
|
|
5374
5471
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/result)
|
|
5375
5472
|
*/
|
|
5376
5473
|
readonly result: T;
|
|
5377
5474
|
/**
|
|
5378
|
-
* 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.
|
|
5379
5476
|
*
|
|
5380
5477
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/source)
|
|
5381
5478
|
*/
|
|
@@ -5428,13 +5525,13 @@ interface IDBTransaction extends EventTarget {
|
|
|
5428
5525
|
*/
|
|
5429
5526
|
readonly error: DOMException | null;
|
|
5430
5527
|
/**
|
|
5431
|
-
* 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`.
|
|
5432
5529
|
*
|
|
5433
5530
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/mode)
|
|
5434
5531
|
*/
|
|
5435
5532
|
readonly mode: IDBTransactionMode;
|
|
5436
5533
|
/**
|
|
5437
|
-
* 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.
|
|
5438
5535
|
*
|
|
5439
5536
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames)
|
|
5440
5537
|
*/
|
|
@@ -5458,7 +5555,7 @@ interface IDBTransaction extends EventTarget {
|
|
|
5458
5555
|
*/
|
|
5459
5556
|
commit(): void;
|
|
5460
5557
|
/**
|
|
5461
|
-
* 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.
|
|
5462
5559
|
*
|
|
5463
5560
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStore)
|
|
5464
5561
|
*/
|
|
@@ -5481,13 +5578,13 @@ declare var IDBTransaction: {
|
|
|
5481
5578
|
*/
|
|
5482
5579
|
interface IDBVersionChangeEvent extends Event {
|
|
5483
5580
|
/**
|
|
5484
|
-
* 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.
|
|
5485
5582
|
*
|
|
5486
5583
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/newVersion)
|
|
5487
5584
|
*/
|
|
5488
5585
|
readonly newVersion: number | null;
|
|
5489
5586
|
/**
|
|
5490
|
-
* 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.
|
|
5491
5588
|
*
|
|
5492
5589
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/oldVersion)
|
|
5493
5590
|
*/
|
|
@@ -5562,7 +5659,7 @@ interface ImageData {
|
|
|
5562
5659
|
*/
|
|
5563
5660
|
readonly colorSpace: PredefinedColorSpace;
|
|
5564
5661
|
/**
|
|
5565
|
-
* 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.
|
|
5566
5663
|
*
|
|
5567
5664
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
|
|
5568
5665
|
*/
|
|
@@ -5752,7 +5849,7 @@ interface Lock {
|
|
|
5752
5849
|
*/
|
|
5753
5850
|
readonly mode: LockMode;
|
|
5754
5851
|
/**
|
|
5755
|
-
* 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.
|
|
5756
5853
|
*
|
|
5757
5854
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Lock/name)
|
|
5758
5855
|
*/
|
|
@@ -5782,8 +5879,8 @@ interface LockManager {
|
|
|
5782
5879
|
*
|
|
5783
5880
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/LockManager/request)
|
|
5784
5881
|
*/
|
|
5785
|
-
request<T>(name: string, callback: LockGrantedCallback<T>): Promise<T
|
|
5786
|
-
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>>;
|
|
5787
5884
|
}
|
|
5788
5885
|
|
|
5789
5886
|
declare var LockManager: {
|
|
@@ -5855,13 +5952,13 @@ declare var MediaStreamTrackProcessor: {
|
|
|
5855
5952
|
*/
|
|
5856
5953
|
interface MessageChannel {
|
|
5857
5954
|
/**
|
|
5858
|
-
* 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.
|
|
5859
5956
|
*
|
|
5860
5957
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port1)
|
|
5861
5958
|
*/
|
|
5862
5959
|
readonly port1: MessagePort;
|
|
5863
5960
|
/**
|
|
5864
|
-
* 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.
|
|
5865
5962
|
*
|
|
5866
5963
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port2)
|
|
5867
5964
|
*/
|
|
@@ -5880,31 +5977,31 @@ declare var MessageChannel: {
|
|
|
5880
5977
|
*/
|
|
5881
5978
|
interface MessageEvent<T = any> extends Event {
|
|
5882
5979
|
/**
|
|
5883
|
-
* 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.
|
|
5884
5981
|
*
|
|
5885
5982
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/data)
|
|
5886
5983
|
*/
|
|
5887
5984
|
readonly data: T;
|
|
5888
5985
|
/**
|
|
5889
|
-
* 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.
|
|
5890
5987
|
*
|
|
5891
5988
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/lastEventId)
|
|
5892
5989
|
*/
|
|
5893
5990
|
readonly lastEventId: string;
|
|
5894
5991
|
/**
|
|
5895
|
-
* 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.
|
|
5896
5993
|
*
|
|
5897
5994
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/origin)
|
|
5898
5995
|
*/
|
|
5899
5996
|
readonly origin: string;
|
|
5900
5997
|
/**
|
|
5901
|
-
* 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.
|
|
5902
5999
|
*
|
|
5903
6000
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/ports)
|
|
5904
6001
|
*/
|
|
5905
6002
|
readonly ports: ReadonlyArray<MessagePort>;
|
|
5906
6003
|
/**
|
|
5907
|
-
* 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.
|
|
5908
6005
|
*
|
|
5909
6006
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)
|
|
5910
6007
|
*/
|
|
@@ -5952,7 +6049,7 @@ interface MessagePort extends EventTarget, MessageEventTarget<MessagePort> {
|
|
|
5952
6049
|
*/
|
|
5953
6050
|
close(): void;
|
|
5954
6051
|
/**
|
|
5955
|
-
* 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.
|
|
5956
6053
|
*
|
|
5957
6054
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage)
|
|
5958
6055
|
*/
|
|
@@ -6027,35 +6124,15 @@ interface NavigatorConcurrentHardware {
|
|
|
6027
6124
|
}
|
|
6028
6125
|
|
|
6029
6126
|
interface NavigatorID {
|
|
6030
|
-
/**
|
|
6031
|
-
* @deprecated
|
|
6032
|
-
*
|
|
6033
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName)
|
|
6034
|
-
*/
|
|
6127
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */
|
|
6035
6128
|
readonly appCodeName: string;
|
|
6036
|
-
/**
|
|
6037
|
-
* @deprecated
|
|
6038
|
-
*
|
|
6039
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName)
|
|
6040
|
-
*/
|
|
6129
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName) */
|
|
6041
6130
|
readonly appName: string;
|
|
6042
|
-
/**
|
|
6043
|
-
* @deprecated
|
|
6044
|
-
*
|
|
6045
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion)
|
|
6046
|
-
*/
|
|
6131
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion) */
|
|
6047
6132
|
readonly appVersion: string;
|
|
6048
|
-
/**
|
|
6049
|
-
* @deprecated
|
|
6050
|
-
*
|
|
6051
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform)
|
|
6052
|
-
*/
|
|
6133
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) */
|
|
6053
6134
|
readonly platform: string;
|
|
6054
|
-
/**
|
|
6055
|
-
* @deprecated
|
|
6056
|
-
*
|
|
6057
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product)
|
|
6058
|
-
*/
|
|
6135
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product) */
|
|
6059
6136
|
readonly product: string;
|
|
6060
6137
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */
|
|
6061
6138
|
readonly userAgent: string;
|
|
@@ -6099,19 +6176,13 @@ interface NotificationEventMap {
|
|
|
6099
6176
|
*/
|
|
6100
6177
|
interface Notification extends EventTarget {
|
|
6101
6178
|
/**
|
|
6102
|
-
* The **`
|
|
6103
|
-
*
|
|
6104
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/badge)
|
|
6105
|
-
*/
|
|
6106
|
-
readonly badge: string;
|
|
6107
|
-
/**
|
|
6108
|
-
* 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.
|
|
6109
6180
|
*
|
|
6110
6181
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/body)
|
|
6111
6182
|
*/
|
|
6112
6183
|
readonly body: string;
|
|
6113
6184
|
/**
|
|
6114
|
-
* 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.
|
|
6115
6186
|
*
|
|
6116
6187
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/data)
|
|
6117
6188
|
*/
|
|
@@ -6123,13 +6194,13 @@ interface Notification extends EventTarget {
|
|
|
6123
6194
|
*/
|
|
6124
6195
|
readonly dir: NotificationDirection;
|
|
6125
6196
|
/**
|
|
6126
|
-
* 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.
|
|
6127
6198
|
*
|
|
6128
6199
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/icon)
|
|
6129
6200
|
*/
|
|
6130
6201
|
readonly icon: string;
|
|
6131
6202
|
/**
|
|
6132
|
-
* 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.
|
|
6133
6204
|
*
|
|
6134
6205
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/lang)
|
|
6135
6206
|
*/
|
|
@@ -6149,19 +6220,19 @@ interface Notification extends EventTarget {
|
|
|
6149
6220
|
*/
|
|
6150
6221
|
readonly requireInteraction: boolean;
|
|
6151
6222
|
/**
|
|
6152
|
-
* 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.
|
|
6153
6224
|
*
|
|
6154
6225
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/silent)
|
|
6155
6226
|
*/
|
|
6156
6227
|
readonly silent: boolean | null;
|
|
6157
6228
|
/**
|
|
6158
|
-
* 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.
|
|
6159
6230
|
*
|
|
6160
6231
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/tag)
|
|
6161
6232
|
*/
|
|
6162
6233
|
readonly tag: string;
|
|
6163
6234
|
/**
|
|
6164
|
-
* 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.
|
|
6165
6236
|
*
|
|
6166
6237
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/title)
|
|
6167
6238
|
*/
|
|
@@ -6335,13 +6406,13 @@ interface OES_vertex_array_object {
|
|
|
6335
6406
|
*/
|
|
6336
6407
|
bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
|
|
6337
6408
|
/**
|
|
6338
|
-
* 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.
|
|
6339
6410
|
*
|
|
6340
6411
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/createVertexArrayOES)
|
|
6341
6412
|
*/
|
|
6342
6413
|
createVertexArrayOES(): WebGLVertexArrayObjectOES;
|
|
6343
6414
|
/**
|
|
6344
|
-
* 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.
|
|
6345
6416
|
*
|
|
6346
6417
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES)
|
|
6347
6418
|
*/
|
|
@@ -6826,7 +6897,7 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
6826
6897
|
*/
|
|
6827
6898
|
readonly transferSize: number;
|
|
6828
6899
|
/**
|
|
6829
|
-
* 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.
|
|
6830
6901
|
*
|
|
6831
6902
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/workerStart)
|
|
6832
6903
|
*/
|
|
@@ -6900,7 +6971,7 @@ interface PermissionStatus extends EventTarget {
|
|
|
6900
6971
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/change_event) */
|
|
6901
6972
|
onchange: ((this: PermissionStatus, ev: Event) => any) | null;
|
|
6902
6973
|
/**
|
|
6903
|
-
* The **`state`** read-only property of the
|
|
6974
|
+
* The **`state`** read-only property of the PermissionStatus interface returns the state of a requested permission.
|
|
6904
6975
|
*
|
|
6905
6976
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/state)
|
|
6906
6977
|
*/
|
|
@@ -6917,7 +6988,7 @@ declare var PermissionStatus: {
|
|
|
6917
6988
|
};
|
|
6918
6989
|
|
|
6919
6990
|
/**
|
|
6920
|
-
* 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
|
|
6921
6992
|
*
|
|
6922
6993
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions)
|
|
6923
6994
|
*/
|
|
@@ -6942,7 +7013,7 @@ declare var Permissions: {
|
|
|
6942
7013
|
*/
|
|
6943
7014
|
interface ProgressEvent<T extends EventTarget = EventTarget> extends Event {
|
|
6944
7015
|
/**
|
|
6945
|
-
* 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.
|
|
6946
7017
|
*
|
|
6947
7018
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/lengthComputable)
|
|
6948
7019
|
*/
|
|
@@ -6974,7 +7045,7 @@ declare var ProgressEvent: {
|
|
|
6974
7045
|
*/
|
|
6975
7046
|
interface PromiseRejectionEvent extends Event {
|
|
6976
7047
|
/**
|
|
6977
|
-
* 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.
|
|
6978
7049
|
*
|
|
6979
7050
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise)
|
|
6980
7051
|
*/
|
|
@@ -7026,7 +7097,7 @@ interface PushManager {
|
|
|
7026
7097
|
*/
|
|
7027
7098
|
getSubscription(): Promise<PushSubscription | null>;
|
|
7028
7099
|
/**
|
|
7029
|
-
* 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.
|
|
7030
7101
|
*
|
|
7031
7102
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/permissionState)
|
|
7032
7103
|
*/
|
|
@@ -7102,13 +7173,13 @@ declare var PushMessageData: {
|
|
|
7102
7173
|
*/
|
|
7103
7174
|
interface PushSubscription {
|
|
7104
7175
|
/**
|
|
7105
|
-
* 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.
|
|
7106
7177
|
*
|
|
7107
7178
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/endpoint)
|
|
7108
7179
|
*/
|
|
7109
7180
|
readonly endpoint: string;
|
|
7110
7181
|
/**
|
|
7111
|
-
* 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.
|
|
7112
7183
|
*
|
|
7113
7184
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/expirationTime)
|
|
7114
7185
|
*/
|
|
@@ -7197,7 +7268,7 @@ interface RTCDataChannelEventMap {
|
|
|
7197
7268
|
*/
|
|
7198
7269
|
interface RTCDataChannel extends EventTarget {
|
|
7199
7270
|
/**
|
|
7200
|
-
* 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.
|
|
7201
7272
|
*
|
|
7202
7273
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/binaryType)
|
|
7203
7274
|
*/
|
|
@@ -7239,7 +7310,7 @@ interface RTCDataChannel extends EventTarget {
|
|
|
7239
7310
|
*/
|
|
7240
7311
|
readonly maxRetransmits: number | null;
|
|
7241
7312
|
/**
|
|
7242
|
-
* 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`).
|
|
7243
7314
|
*
|
|
7244
7315
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/negotiated)
|
|
7245
7316
|
*/
|
|
@@ -7275,13 +7346,13 @@ interface RTCDataChannel extends EventTarget {
|
|
|
7275
7346
|
*/
|
|
7276
7347
|
readonly readyState: RTCDataChannelState;
|
|
7277
7348
|
/**
|
|
7278
|
-
* The **`RTCDataChannel.close()`** method closes the
|
|
7349
|
+
* The **`RTCDataChannel.close()`** method closes the RTCDataChannel.
|
|
7279
7350
|
*
|
|
7280
7351
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/close)
|
|
7281
7352
|
*/
|
|
7282
7353
|
close(): void;
|
|
7283
7354
|
/**
|
|
7284
|
-
* 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.
|
|
7285
7356
|
*
|
|
7286
7357
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/send)
|
|
7287
7358
|
*/
|
|
@@ -7389,7 +7460,7 @@ interface RTCRtpScriptTransformer extends EventTarget {
|
|
|
7389
7460
|
*
|
|
7390
7461
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransformer/generateKeyFrame)
|
|
7391
7462
|
*/
|
|
7392
|
-
generateKeyFrame(rid?: string): Promise<
|
|
7463
|
+
generateKeyFrame(rid?: string): Promise<void>;
|
|
7393
7464
|
/**
|
|
7394
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.
|
|
7395
7466
|
*
|
|
@@ -7447,7 +7518,7 @@ interface ReadableByteStreamController {
|
|
|
7447
7518
|
*/
|
|
7448
7519
|
close(): void;
|
|
7449
7520
|
/**
|
|
7450
|
-
* 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).
|
|
7451
7522
|
*
|
|
7452
7523
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue)
|
|
7453
7524
|
*/
|
|
@@ -7504,7 +7575,7 @@ interface ReadableStream<R = any> {
|
|
|
7504
7575
|
*/
|
|
7505
7576
|
pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
|
|
7506
7577
|
/**
|
|
7507
|
-
* 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.
|
|
7508
7579
|
*
|
|
7509
7580
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/tee)
|
|
7510
7581
|
*/
|
|
@@ -7581,7 +7652,7 @@ declare var ReadableStreamBYOBRequest: {
|
|
|
7581
7652
|
*/
|
|
7582
7653
|
interface ReadableStreamDefaultController<R = any> {
|
|
7583
7654
|
/**
|
|
7584
|
-
* 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.
|
|
7585
7656
|
*
|
|
7586
7657
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize)
|
|
7587
7658
|
*/
|
|
@@ -7593,13 +7664,13 @@ interface ReadableStreamDefaultController<R = any> {
|
|
|
7593
7664
|
*/
|
|
7594
7665
|
close(): void;
|
|
7595
7666
|
/**
|
|
7596
|
-
* The **`enqueue()`** method of the
|
|
7667
|
+
* The **`enqueue()`** method of the ReadableStreamDefaultController interface enqueues a given chunk in the associated stream.
|
|
7597
7668
|
*
|
|
7598
7669
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)
|
|
7599
7670
|
*/
|
|
7600
7671
|
enqueue(chunk?: R): void;
|
|
7601
7672
|
/**
|
|
7602
|
-
* 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.
|
|
7603
7674
|
*
|
|
7604
7675
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error)
|
|
7605
7676
|
*/
|
|
@@ -7643,57 +7714,6 @@ interface ReadableStreamGenericReader {
|
|
|
7643
7714
|
cancel(reason?: any): Promise<void>;
|
|
7644
7715
|
}
|
|
7645
7716
|
|
|
7646
|
-
/**
|
|
7647
|
-
* The `Report` interface of the Reporting API represents a single report.
|
|
7648
|
-
*
|
|
7649
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report)
|
|
7650
|
-
*/
|
|
7651
|
-
interface Report {
|
|
7652
|
-
/**
|
|
7653
|
-
* 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.
|
|
7654
|
-
*
|
|
7655
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body)
|
|
7656
|
-
*/
|
|
7657
|
-
readonly body: ReportBody | null;
|
|
7658
|
-
/**
|
|
7659
|
-
* The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`.
|
|
7660
|
-
*
|
|
7661
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type)
|
|
7662
|
-
*/
|
|
7663
|
-
readonly type: string;
|
|
7664
|
-
/**
|
|
7665
|
-
* The **`url`** read-only property of the Report interface returns the URL of the document that generated the report.
|
|
7666
|
-
*
|
|
7667
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url)
|
|
7668
|
-
*/
|
|
7669
|
-
readonly url: string;
|
|
7670
|
-
toJSON(): any;
|
|
7671
|
-
}
|
|
7672
|
-
|
|
7673
|
-
declare var Report: {
|
|
7674
|
-
prototype: Report;
|
|
7675
|
-
new(): Report;
|
|
7676
|
-
};
|
|
7677
|
-
|
|
7678
|
-
/**
|
|
7679
|
-
* The **`ReportBody`** interface of the Reporting API represents the body of a report.
|
|
7680
|
-
*
|
|
7681
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody)
|
|
7682
|
-
*/
|
|
7683
|
-
interface ReportBody {
|
|
7684
|
-
/**
|
|
7685
|
-
* The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object.
|
|
7686
|
-
*
|
|
7687
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON)
|
|
7688
|
-
*/
|
|
7689
|
-
toJSON(): any;
|
|
7690
|
-
}
|
|
7691
|
-
|
|
7692
|
-
declare var ReportBody: {
|
|
7693
|
-
prototype: ReportBody;
|
|
7694
|
-
new(): ReportBody;
|
|
7695
|
-
};
|
|
7696
|
-
|
|
7697
7717
|
/**
|
|
7698
7718
|
* The `ReportingObserver` interface of the Reporting API allows you to collect and access reports.
|
|
7699
7719
|
*
|
|
@@ -7701,19 +7721,19 @@ declare var ReportBody: {
|
|
|
7701
7721
|
*/
|
|
7702
7722
|
interface ReportingObserver {
|
|
7703
7723
|
/**
|
|
7704
|
-
* 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.
|
|
7705
7725
|
*
|
|
7706
7726
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/disconnect)
|
|
7707
7727
|
*/
|
|
7708
7728
|
disconnect(): void;
|
|
7709
7729
|
/**
|
|
7710
|
-
* 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.
|
|
7711
7731
|
*
|
|
7712
7732
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/observe)
|
|
7713
7733
|
*/
|
|
7714
7734
|
observe(): void;
|
|
7715
7735
|
/**
|
|
7716
|
-
* 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.
|
|
7717
7737
|
*
|
|
7718
7738
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/takeRecords)
|
|
7719
7739
|
*/
|
|
@@ -7750,7 +7770,7 @@ interface Request extends Body {
|
|
|
7750
7770
|
*/
|
|
7751
7771
|
readonly destination: RequestDestination;
|
|
7752
7772
|
/**
|
|
7753
|
-
* 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.
|
|
7754
7774
|
*
|
|
7755
7775
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/headers)
|
|
7756
7776
|
*/
|
|
@@ -7768,7 +7788,7 @@ interface Request extends Body {
|
|
|
7768
7788
|
*/
|
|
7769
7789
|
readonly keepalive: boolean;
|
|
7770
7790
|
/**
|
|
7771
|
-
* 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.)
|
|
7772
7792
|
*
|
|
7773
7793
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/method)
|
|
7774
7794
|
*/
|
|
@@ -7786,13 +7806,13 @@ interface Request extends Body {
|
|
|
7786
7806
|
*/
|
|
7787
7807
|
readonly redirect: RequestRedirect;
|
|
7788
7808
|
/**
|
|
7789
|
-
* 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.
|
|
7790
7810
|
*
|
|
7791
7811
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrer)
|
|
7792
7812
|
*/
|
|
7793
7813
|
readonly referrer: string;
|
|
7794
7814
|
/**
|
|
7795
|
-
* 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.
|
|
7796
7816
|
*
|
|
7797
7817
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrerPolicy)
|
|
7798
7818
|
*/
|
|
@@ -7829,7 +7849,7 @@ declare var Request: {
|
|
|
7829
7849
|
*/
|
|
7830
7850
|
interface Response extends Body {
|
|
7831
7851
|
/**
|
|
7832
|
-
* 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.
|
|
7833
7853
|
*
|
|
7834
7854
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/headers)
|
|
7835
7855
|
*/
|
|
@@ -7901,6 +7921,31 @@ declare var Response: {
|
|
|
7901
7921
|
redirect(url: string | URL, status?: number): Response;
|
|
7902
7922
|
};
|
|
7903
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
|
+
|
|
7904
7949
|
/**
|
|
7905
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.
|
|
7906
7951
|
*
|
|
@@ -8006,7 +8051,7 @@ interface ServiceWorker extends EventTarget, AbstractWorker {
|
|
|
8006
8051
|
*/
|
|
8007
8052
|
readonly scriptURL: string;
|
|
8008
8053
|
/**
|
|
8009
|
-
* 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.
|
|
8010
8055
|
*
|
|
8011
8056
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/state)
|
|
8012
8057
|
*/
|
|
@@ -8043,7 +8088,7 @@ interface ServiceWorkerContainerEventMap {
|
|
|
8043
8088
|
*/
|
|
8044
8089
|
interface ServiceWorkerContainer extends EventTarget {
|
|
8045
8090
|
/**
|
|
8046
|
-
* 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.
|
|
8047
8092
|
*
|
|
8048
8093
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/controller)
|
|
8049
8094
|
*/
|
|
@@ -8061,13 +8106,13 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
|
8061
8106
|
*/
|
|
8062
8107
|
readonly ready: Promise<ServiceWorkerRegistration>;
|
|
8063
8108
|
/**
|
|
8064
|
-
* 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.
|
|
8065
8110
|
*
|
|
8066
8111
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistration)
|
|
8067
8112
|
*/
|
|
8068
8113
|
getRegistration(clientURL?: string | URL): Promise<ServiceWorkerRegistration | undefined>;
|
|
8069
8114
|
/**
|
|
8070
|
-
* 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.
|
|
8071
8116
|
*
|
|
8072
8117
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistrations)
|
|
8073
8118
|
*/
|
|
@@ -8116,7 +8161,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
|
|
8116
8161
|
*/
|
|
8117
8162
|
interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
8118
8163
|
/**
|
|
8119
|
-
* 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.
|
|
8120
8165
|
*
|
|
8121
8166
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/clients)
|
|
8122
8167
|
*/
|
|
@@ -8188,7 +8233,7 @@ interface ServiceWorkerRegistrationEventMap {
|
|
|
8188
8233
|
*/
|
|
8189
8234
|
interface ServiceWorkerRegistration extends EventTarget {
|
|
8190
8235
|
/**
|
|
8191
|
-
* 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`.
|
|
8192
8237
|
*
|
|
8193
8238
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)
|
|
8194
8239
|
*/
|
|
@@ -8200,7 +8245,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
8200
8245
|
*/
|
|
8201
8246
|
readonly cookies: CookieStoreManager;
|
|
8202
8247
|
/**
|
|
8203
|
-
* 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`.
|
|
8204
8249
|
*
|
|
8205
8250
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/installing)
|
|
8206
8251
|
*/
|
|
@@ -8214,7 +8259,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
8214
8259
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updatefound_event) */
|
|
8215
8260
|
onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;
|
|
8216
8261
|
/**
|
|
8217
|
-
* 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.
|
|
8218
8263
|
*
|
|
8219
8264
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/pushManager)
|
|
8220
8265
|
*/
|
|
@@ -8232,7 +8277,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
8232
8277
|
*/
|
|
8233
8278
|
readonly updateViaCache: ServiceWorkerUpdateViaCache;
|
|
8234
8279
|
/**
|
|
8235
|
-
* 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`.
|
|
8236
8281
|
*
|
|
8237
8282
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/waiting)
|
|
8238
8283
|
*/
|
|
@@ -8244,19 +8289,19 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
8244
8289
|
*/
|
|
8245
8290
|
getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;
|
|
8246
8291
|
/**
|
|
8247
|
-
* The **`showNotification()`** method of the service worker.
|
|
8292
|
+
* The **`showNotification()`** method of the ServiceWorkerRegistration interface creates a notification on an active service worker.
|
|
8248
8293
|
*
|
|
8249
8294
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/showNotification)
|
|
8250
8295
|
*/
|
|
8251
8296
|
showNotification(title: string, options?: NotificationOptions): Promise<void>;
|
|
8252
8297
|
/**
|
|
8253
|
-
* 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.
|
|
8254
8299
|
*
|
|
8255
8300
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister)
|
|
8256
8301
|
*/
|
|
8257
8302
|
unregister(): Promise<boolean>;
|
|
8258
8303
|
/**
|
|
8259
|
-
* The **`update()`** method of the worker.
|
|
8304
|
+
* The **`update()`** method of the ServiceWorkerRegistration interface attempts to update the service worker.
|
|
8260
8305
|
*
|
|
8261
8306
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update)
|
|
8262
8307
|
*/
|
|
@@ -8283,7 +8328,7 @@ interface SharedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
|
|
8283
8328
|
*/
|
|
8284
8329
|
interface SharedWorkerGlobalScope extends WorkerGlobalScope {
|
|
8285
8330
|
/**
|
|
8286
|
-
* 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.
|
|
8287
8332
|
*
|
|
8288
8333
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorkerGlobalScope/name)
|
|
8289
8334
|
*/
|
|
@@ -8346,25 +8391,25 @@ declare var StorageManager: {
|
|
|
8346
8391
|
*/
|
|
8347
8392
|
interface StylePropertyMapReadOnly {
|
|
8348
8393
|
/**
|
|
8349
|
-
* 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.
|
|
8350
8395
|
*
|
|
8351
8396
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/size)
|
|
8352
8397
|
*/
|
|
8353
8398
|
readonly size: number;
|
|
8354
8399
|
/**
|
|
8355
|
-
* 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.
|
|
8356
8401
|
*
|
|
8357
8402
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/get)
|
|
8358
8403
|
*/
|
|
8359
8404
|
get(property: string): undefined | CSSStyleValue;
|
|
8360
8405
|
/**
|
|
8361
|
-
* 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.
|
|
8362
8407
|
*
|
|
8363
8408
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/getAll)
|
|
8364
8409
|
*/
|
|
8365
8410
|
getAll(property: string): CSSStyleValue[];
|
|
8366
8411
|
/**
|
|
8367
|
-
* 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.
|
|
8368
8413
|
*
|
|
8369
8414
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/has)
|
|
8370
8415
|
*/
|
|
@@ -8391,7 +8436,7 @@ interface SubtleCrypto {
|
|
|
8391
8436
|
*/
|
|
8392
8437
|
decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;
|
|
8393
8438
|
/**
|
|
8394
|
-
* 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.
|
|
8395
8440
|
*
|
|
8396
8441
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits)
|
|
8397
8442
|
*/
|
|
@@ -8470,7 +8515,80 @@ declare var SubtleCrypto: {
|
|
|
8470
8515
|
};
|
|
8471
8516
|
|
|
8472
8517
|
/**
|
|
8473
|
-
* 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`.
|
|
8474
8592
|
*
|
|
8475
8593
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)
|
|
8476
8594
|
*/
|
|
@@ -8525,19 +8643,19 @@ declare var TextDecoderStream: {
|
|
|
8525
8643
|
};
|
|
8526
8644
|
|
|
8527
8645
|
/**
|
|
8528
|
-
* The **`TextEncoder`** interface
|
|
8646
|
+
* The **`TextEncoder`** interface enables you to character encoding a JavaScript string using UTF-8.
|
|
8529
8647
|
*
|
|
8530
8648
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)
|
|
8531
8649
|
*/
|
|
8532
8650
|
interface TextEncoder extends TextEncoderCommon {
|
|
8533
8651
|
/**
|
|
8534
|
-
* 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.
|
|
8535
8653
|
*
|
|
8536
8654
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)
|
|
8537
8655
|
*/
|
|
8538
8656
|
encode(input?: string): Uint8Array<ArrayBuffer>;
|
|
8539
8657
|
/**
|
|
8540
|
-
* 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.
|
|
8541
8659
|
*
|
|
8542
8660
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)
|
|
8543
8661
|
*/
|
|
@@ -8788,7 +8906,7 @@ interface URL {
|
|
|
8788
8906
|
*/
|
|
8789
8907
|
search: string;
|
|
8790
8908
|
/**
|
|
8791
|
-
* 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.
|
|
8792
8910
|
*
|
|
8793
8911
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/searchParams)
|
|
8794
8912
|
*/
|
|
@@ -8800,7 +8918,7 @@ interface URL {
|
|
|
8800
8918
|
*/
|
|
8801
8919
|
username: string;
|
|
8802
8920
|
/**
|
|
8803
|
-
* 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().
|
|
8804
8922
|
*
|
|
8805
8923
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)
|
|
8806
8924
|
*/
|
|
@@ -8817,7 +8935,7 @@ declare var URL: {
|
|
|
8817
8935
|
*/
|
|
8818
8936
|
canParse(url: string | URL, base?: string | URL): boolean;
|
|
8819
8937
|
/**
|
|
8820
|
-
* 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.
|
|
8821
8939
|
*
|
|
8822
8940
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static)
|
|
8823
8941
|
*/
|
|
@@ -8829,13 +8947,93 @@ declare var URL: {
|
|
|
8829
8947
|
*/
|
|
8830
8948
|
parse(url: string | URL, base?: string | URL): URL | null;
|
|
8831
8949
|
/**
|
|
8832
|
-
* 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.
|
|
8833
8951
|
*
|
|
8834
8952
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static)
|
|
8835
8953
|
*/
|
|
8836
8954
|
revokeObjectURL(url: string): void;
|
|
8837
8955
|
};
|
|
8838
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
|
+
|
|
8839
9037
|
/**
|
|
8840
9038
|
* The **`URLSearchParams`** interface defines utility methods to work with the query string of a URL.
|
|
8841
9039
|
*
|
|
@@ -11728,7 +11926,7 @@ interface WebSocket extends EventTarget {
|
|
|
11728
11926
|
*
|
|
11729
11927
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)
|
|
11730
11928
|
*/
|
|
11731
|
-
readonly readyState:
|
|
11929
|
+
readonly readyState: 0 | 1 | 2 | 3;
|
|
11732
11930
|
/**
|
|
11733
11931
|
* The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
|
|
11734
11932
|
*
|
|
@@ -11736,7 +11934,7 @@ interface WebSocket extends EventTarget {
|
|
|
11736
11934
|
*/
|
|
11737
11935
|
readonly url: string;
|
|
11738
11936
|
/**
|
|
11739
|
-
* The **`WebSocket.close()`** method closes the
|
|
11937
|
+
* The **`WebSocket.close()`** method closes the WebSocket connection or connection attempt, if any.
|
|
11740
11938
|
*
|
|
11741
11939
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close)
|
|
11742
11940
|
*/
|
|
@@ -11939,25 +12137,25 @@ declare var WebTransportError: {
|
|
|
11939
12137
|
*/
|
|
11940
12138
|
interface WindowClient extends Client {
|
|
11941
12139
|
/**
|
|
11942
|
-
* 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.
|
|
11943
12141
|
*
|
|
11944
12142
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/focused)
|
|
11945
12143
|
*/
|
|
11946
12144
|
readonly focused: boolean;
|
|
11947
12145
|
/**
|
|
11948
|
-
* The **`visibilityState`** read-only property of the
|
|
12146
|
+
* The **`visibilityState`** read-only property of the WindowClient interface indicates the visibility of the current client.
|
|
11949
12147
|
*
|
|
11950
12148
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/visibilityState)
|
|
11951
12149
|
*/
|
|
11952
12150
|
readonly visibilityState: DocumentVisibilityState;
|
|
11953
12151
|
/**
|
|
11954
|
-
* 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.
|
|
11955
12153
|
*
|
|
11956
12154
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/focus)
|
|
11957
12155
|
*/
|
|
11958
12156
|
focus(): Promise<WindowClient>;
|
|
11959
12157
|
/**
|
|
11960
|
-
* 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.
|
|
11961
12159
|
*
|
|
11962
12160
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/navigate)
|
|
11963
12161
|
*/
|
|
@@ -11988,6 +12186,8 @@ interface WindowOrWorkerGlobalScope {
|
|
|
11988
12186
|
readonly origin: string;
|
|
11989
12187
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */
|
|
11990
12188
|
readonly performance: Performance;
|
|
12189
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scheduler) */
|
|
12190
|
+
readonly scheduler: Scheduler;
|
|
11991
12191
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
|
|
11992
12192
|
atob(data: string): string;
|
|
11993
12193
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
@@ -12258,7 +12458,7 @@ interface WritableStreamDefaultController {
|
|
|
12258
12458
|
*/
|
|
12259
12459
|
readonly signal: AbortSignal;
|
|
12260
12460
|
/**
|
|
12261
|
-
* 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.
|
|
12262
12462
|
*
|
|
12263
12463
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error)
|
|
12264
12464
|
*/
|
|
@@ -12277,43 +12477,43 @@ declare var WritableStreamDefaultController: {
|
|
|
12277
12477
|
*/
|
|
12278
12478
|
interface WritableStreamDefaultWriter<W = any> {
|
|
12279
12479
|
/**
|
|
12280
|
-
* 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.
|
|
12281
12481
|
*
|
|
12282
12482
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed)
|
|
12283
12483
|
*/
|
|
12284
12484
|
readonly closed: Promise<void>;
|
|
12285
12485
|
/**
|
|
12286
|
-
* 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.
|
|
12287
12487
|
*
|
|
12288
12488
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/desiredSize)
|
|
12289
12489
|
*/
|
|
12290
12490
|
readonly desiredSize: number | null;
|
|
12291
12491
|
/**
|
|
12292
|
-
* 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.
|
|
12293
12493
|
*
|
|
12294
12494
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/ready)
|
|
12295
12495
|
*/
|
|
12296
12496
|
readonly ready: Promise<void>;
|
|
12297
12497
|
/**
|
|
12298
|
-
* 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.
|
|
12299
12499
|
*
|
|
12300
12500
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort)
|
|
12301
12501
|
*/
|
|
12302
12502
|
abort(reason?: any): Promise<void>;
|
|
12303
12503
|
/**
|
|
12304
|
-
* The **`close()`** method of the stream.
|
|
12504
|
+
* The **`close()`** method of the WritableStreamDefaultWriter interface closes the associated writable stream.
|
|
12305
12505
|
*
|
|
12306
12506
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close)
|
|
12307
12507
|
*/
|
|
12308
12508
|
close(): Promise<void>;
|
|
12309
12509
|
/**
|
|
12310
|
-
* The **`releaseLock()`** method of the corresponding stream.
|
|
12510
|
+
* The **`releaseLock()`** method of the WritableStreamDefaultWriter interface releases the writer's lock on the corresponding stream.
|
|
12311
12511
|
*
|
|
12312
12512
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/releaseLock)
|
|
12313
12513
|
*/
|
|
12314
12514
|
releaseLock(): void;
|
|
12315
12515
|
/**
|
|
12316
|
-
* 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.
|
|
12317
12517
|
*
|
|
12318
12518
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)
|
|
12319
12519
|
*/
|
|
@@ -12522,7 +12722,11 @@ declare namespace WebAssembly {
|
|
|
12522
12722
|
(message?: string): CompileError;
|
|
12523
12723
|
};
|
|
12524
12724
|
|
|
12525
|
-
/**
|
|
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
|
+
*/
|
|
12526
12730
|
interface Global<T extends ValueType = ValueType> {
|
|
12527
12731
|
value: ValueTypeMap[T];
|
|
12528
12732
|
valueOf(): ValueTypeMap[T];
|
|
@@ -12533,9 +12737,17 @@ declare namespace WebAssembly {
|
|
|
12533
12737
|
new<T extends ValueType = ValueType>(descriptor: GlobalDescriptor<T>, v?: ValueTypeMap[T]): Global<T>;
|
|
12534
12738
|
};
|
|
12535
12739
|
|
|
12536
|
-
/**
|
|
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
|
+
*/
|
|
12537
12745
|
interface Instance {
|
|
12538
|
-
/**
|
|
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
|
+
*/
|
|
12539
12751
|
readonly exports: Exports;
|
|
12540
12752
|
}
|
|
12541
12753
|
|
|
@@ -12553,11 +12765,23 @@ declare namespace WebAssembly {
|
|
|
12553
12765
|
(message?: string): LinkError;
|
|
12554
12766
|
};
|
|
12555
12767
|
|
|
12556
|
-
/**
|
|
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
|
+
*/
|
|
12557
12773
|
interface Memory {
|
|
12558
|
-
/**
|
|
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
|
+
*/
|
|
12559
12779
|
readonly buffer: ArrayBuffer;
|
|
12560
|
-
/**
|
|
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
|
+
*/
|
|
12561
12785
|
grow(delta: number): number;
|
|
12562
12786
|
}
|
|
12563
12787
|
|
|
@@ -12566,18 +12790,34 @@ declare namespace WebAssembly {
|
|
|
12566
12790
|
new(descriptor: MemoryDescriptor): Memory;
|
|
12567
12791
|
};
|
|
12568
12792
|
|
|
12569
|
-
/**
|
|
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
|
+
*/
|
|
12570
12798
|
interface Module {
|
|
12571
12799
|
}
|
|
12572
12800
|
|
|
12573
12801
|
var Module: {
|
|
12574
12802
|
prototype: Module;
|
|
12575
12803
|
new(bytes: BufferSource): Module;
|
|
12576
|
-
/**
|
|
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
|
+
*/
|
|
12577
12809
|
customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];
|
|
12578
|
-
/**
|
|
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
|
+
*/
|
|
12579
12815
|
exports(moduleObject: Module): ModuleExportDescriptor[];
|
|
12580
|
-
/**
|
|
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
|
+
*/
|
|
12581
12821
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
12582
12822
|
};
|
|
12583
12823
|
|
|
@@ -12590,15 +12830,35 @@ declare namespace WebAssembly {
|
|
|
12590
12830
|
(message?: string): RuntimeError;
|
|
12591
12831
|
};
|
|
12592
12832
|
|
|
12593
|
-
/**
|
|
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
|
+
*/
|
|
12594
12838
|
interface Table {
|
|
12595
|
-
/**
|
|
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
|
+
*/
|
|
12596
12844
|
readonly length: number;
|
|
12597
|
-
/**
|
|
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
|
+
*/
|
|
12598
12850
|
get(index: number): any;
|
|
12599
|
-
/**
|
|
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
|
+
*/
|
|
12600
12856
|
grow(delta: number, value?: any): number;
|
|
12601
|
-
/**
|
|
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
|
+
*/
|
|
12602
12862
|
set(index: number, value?: any): void;
|
|
12603
12863
|
}
|
|
12604
12864
|
|
|
@@ -12833,6 +13093,10 @@ interface ReportingObserverCallback {
|
|
|
12833
13093
|
(reports: Report[], observer: ReportingObserver): void;
|
|
12834
13094
|
}
|
|
12835
13095
|
|
|
13096
|
+
interface SchedulerPostTaskCallback {
|
|
13097
|
+
(): any;
|
|
13098
|
+
}
|
|
13099
|
+
|
|
12836
13100
|
interface TransformerFlushCallback<O> {
|
|
12837
13101
|
(controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;
|
|
12838
13102
|
}
|
|
@@ -12886,7 +13150,7 @@ interface WebCodecsErrorCallback {
|
|
|
12886
13150
|
}
|
|
12887
13151
|
|
|
12888
13152
|
/**
|
|
12889
|
-
* 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.
|
|
12890
13154
|
*
|
|
12891
13155
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/name)
|
|
12892
13156
|
*/
|
|
@@ -12974,6 +13238,8 @@ declare var isSecureContext: boolean;
|
|
|
12974
13238
|
declare var origin: string;
|
|
12975
13239
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */
|
|
12976
13240
|
declare var performance: Performance;
|
|
13241
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scheduler) */
|
|
13242
|
+
declare var scheduler: Scheduler;
|
|
12977
13243
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */
|
|
12978
13244
|
declare function atob(data: string): string;
|
|
12979
13245
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
@@ -13060,6 +13326,7 @@ type RequestInfo = Request | string;
|
|
|
13060
13326
|
type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas | VideoFrame;
|
|
13061
13327
|
type TimerHandler = string | Function;
|
|
13062
13328
|
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | AudioData | VideoFrame | RTCDataChannel | ArrayBuffer;
|
|
13329
|
+
type URLPatternInput = string | URLPatternInit;
|
|
13063
13330
|
type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
|
|
13064
13331
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
13065
13332
|
type AlphaOption = "discard" | "keep";
|
|
@@ -13094,6 +13361,7 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
|
13094
13361
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
13095
13362
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
13096
13363
|
type FrameType = "auxiliary" | "nested" | "none" | "top-level";
|
|
13364
|
+
type GPUPipelineErrorReason = "internal" | "validation";
|
|
13097
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";
|
|
13098
13366
|
type HardwareAcceleration = "no-preference" | "prefer-hardware" | "prefer-software";
|
|
13099
13367
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|
|
@@ -13136,6 +13404,7 @@ type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaquer
|
|
|
13136
13404
|
type SecurityPolicyViolationEventDisposition = "enforce" | "report";
|
|
13137
13405
|
type ServiceWorkerState = "activated" | "activating" | "installed" | "installing" | "parsed" | "redundant";
|
|
13138
13406
|
type ServiceWorkerUpdateViaCache = "all" | "imports" | "none";
|
|
13407
|
+
type TaskPriority = "background" | "user-blocking" | "user-visible";
|
|
13139
13408
|
type TransferFunction = "hlg" | "pq" | "srgb";
|
|
13140
13409
|
type VideoColorPrimaries = "bt470bg" | "bt709" | "smpte170m";
|
|
13141
13410
|
type VideoEncoderBitrateMode = "constant" | "quantizer" | "variable";
|
|
@@ -13148,3 +13417,352 @@ type WebTransportErrorSource = "session" | "stream";
|
|
|
13148
13417
|
type WorkerType = "classic" | "module";
|
|
13149
13418
|
type WriteCommandType = "seek" | "truncate" | "write";
|
|
13150
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
|
+
}
|