@types/sharedworker 0.0.154 → 0.0.156
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.d.ts +610 -193
- package/package.json +1 -1
- package/ts5.5/index.d.ts +610 -193
package/index.d.ts
CHANGED
|
@@ -730,7 +730,7 @@ interface WriteParams {
|
|
|
730
730
|
}
|
|
731
731
|
|
|
732
732
|
/**
|
|
733
|
-
* The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type.
|
|
733
|
+
* The **`ANGLE_instanced_arrays`** extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type.
|
|
734
734
|
*
|
|
735
735
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ANGLE_instanced_arrays)
|
|
736
736
|
*/
|
|
@@ -745,7 +745,7 @@ interface ANGLE_instanced_arrays {
|
|
|
745
745
|
}
|
|
746
746
|
|
|
747
747
|
/**
|
|
748
|
-
*
|
|
748
|
+
* The **`AbortController`** interface represents a controller object that allows you to abort one or more Web requests as and when desired.
|
|
749
749
|
*
|
|
750
750
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController)
|
|
751
751
|
*/
|
|
@@ -774,7 +774,7 @@ interface AbortSignalEventMap {
|
|
|
774
774
|
}
|
|
775
775
|
|
|
776
776
|
/**
|
|
777
|
-
*
|
|
777
|
+
* The **`AbortSignal`** interface represents a signal object that allows you to communicate with an asynchronous operation (such as a fetch request) and abort it if required via an AbortController object.
|
|
778
778
|
*
|
|
779
779
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal)
|
|
780
780
|
*/
|
|
@@ -822,7 +822,7 @@ interface AbstractWorker {
|
|
|
822
822
|
}
|
|
823
823
|
|
|
824
824
|
/**
|
|
825
|
-
*
|
|
825
|
+
* The **`Blob`** interface represents a blob, which is a file-like object of immutable, raw data; they can be read as text or binary data, or converted into a ReadableStream so its methods can be used for processing the data.
|
|
826
826
|
*
|
|
827
827
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob)
|
|
828
828
|
*/
|
|
@@ -872,7 +872,11 @@ interface BroadcastChannelEventMap {
|
|
|
872
872
|
"messageerror": MessageEvent;
|
|
873
873
|
}
|
|
874
874
|
|
|
875
|
-
/**
|
|
875
|
+
/**
|
|
876
|
+
* The **`BroadcastChannel`** interface represents a named channel that any browsing context of a given origin can subscribe to.
|
|
877
|
+
*
|
|
878
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel)
|
|
879
|
+
*/
|
|
876
880
|
interface BroadcastChannel extends EventTarget {
|
|
877
881
|
/**
|
|
878
882
|
* Returns the channel name (as passed to the constructor).
|
|
@@ -908,7 +912,7 @@ declare var BroadcastChannel: {
|
|
|
908
912
|
};
|
|
909
913
|
|
|
910
914
|
/**
|
|
911
|
-
*
|
|
915
|
+
* The **`ByteLengthQueuingStrategy`** interface of the Streams API provides a built-in byte length queuing strategy that can be used when constructing streams.
|
|
912
916
|
*
|
|
913
917
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy)
|
|
914
918
|
*/
|
|
@@ -924,7 +928,11 @@ declare var ByteLengthQueuingStrategy: {
|
|
|
924
928
|
new(init: QueuingStrategyInit): ByteLengthQueuingStrategy;
|
|
925
929
|
};
|
|
926
930
|
|
|
927
|
-
/**
|
|
931
|
+
/**
|
|
932
|
+
* The **`CSSImageValue`** interface of the CSS Typed Object Model API represents values for properties that take an image, for example background-image, list-style-image, or border-image-source.
|
|
933
|
+
*
|
|
934
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImageValue)
|
|
935
|
+
*/
|
|
928
936
|
interface CSSImageValue extends CSSStyleValue {
|
|
929
937
|
}
|
|
930
938
|
|
|
@@ -933,7 +941,11 @@ declare var CSSImageValue: {
|
|
|
933
941
|
new(): CSSImageValue;
|
|
934
942
|
};
|
|
935
943
|
|
|
936
|
-
/**
|
|
944
|
+
/**
|
|
945
|
+
* The **`CSSKeywordValue`** interface of the CSS Typed Object Model API creates an object to represent CSS keywords and other identifiers.
|
|
946
|
+
*
|
|
947
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue)
|
|
948
|
+
*/
|
|
937
949
|
interface CSSKeywordValue extends CSSStyleValue {
|
|
938
950
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue/value) */
|
|
939
951
|
value: string;
|
|
@@ -955,7 +967,11 @@ declare var CSSMathClamp: {
|
|
|
955
967
|
new(lower: CSSNumberish, value: CSSNumberish, upper: CSSNumberish): CSSMathClamp;
|
|
956
968
|
};
|
|
957
969
|
|
|
958
|
-
/**
|
|
970
|
+
/**
|
|
971
|
+
* The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>).` It inherits properties and methods from its parent CSSNumericValue.
|
|
972
|
+
*
|
|
973
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert)
|
|
974
|
+
*/
|
|
959
975
|
interface CSSMathInvert extends CSSMathValue {
|
|
960
976
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert/value) */
|
|
961
977
|
readonly value: CSSNumericValue;
|
|
@@ -966,7 +982,11 @@ declare var CSSMathInvert: {
|
|
|
966
982
|
new(arg: CSSNumberish): CSSMathInvert;
|
|
967
983
|
};
|
|
968
984
|
|
|
969
|
-
/**
|
|
985
|
+
/**
|
|
986
|
+
* The **`CSSMathMax`** interface of the CSS Typed Object Model API represents the CSS max function.
|
|
987
|
+
*
|
|
988
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax)
|
|
989
|
+
*/
|
|
970
990
|
interface CSSMathMax extends CSSMathValue {
|
|
971
991
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax/values) */
|
|
972
992
|
readonly values: CSSNumericArray;
|
|
@@ -977,7 +997,11 @@ declare var CSSMathMax: {
|
|
|
977
997
|
new(...args: CSSNumberish[]): CSSMathMax;
|
|
978
998
|
};
|
|
979
999
|
|
|
980
|
-
/**
|
|
1000
|
+
/**
|
|
1001
|
+
* The **`CSSMathMin`** interface of the CSS Typed Object Model API represents the CSS min function.
|
|
1002
|
+
*
|
|
1003
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin)
|
|
1004
|
+
*/
|
|
981
1005
|
interface CSSMathMin extends CSSMathValue {
|
|
982
1006
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin/values) */
|
|
983
1007
|
readonly values: CSSNumericArray;
|
|
@@ -988,7 +1012,11 @@ declare var CSSMathMin: {
|
|
|
988
1012
|
new(...args: CSSNumberish[]): CSSMathMin;
|
|
989
1013
|
};
|
|
990
1014
|
|
|
991
|
-
/**
|
|
1015
|
+
/**
|
|
1016
|
+
* The **`CSSMathNegate`** interface of the CSS Typed Object Model API negates the value passed into it.
|
|
1017
|
+
*
|
|
1018
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate)
|
|
1019
|
+
*/
|
|
992
1020
|
interface CSSMathNegate extends CSSMathValue {
|
|
993
1021
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate/value) */
|
|
994
1022
|
readonly value: CSSNumericValue;
|
|
@@ -999,7 +1027,11 @@ declare var CSSMathNegate: {
|
|
|
999
1027
|
new(arg: CSSNumberish): CSSMathNegate;
|
|
1000
1028
|
};
|
|
1001
1029
|
|
|
1002
|
-
/**
|
|
1030
|
+
/**
|
|
1031
|
+
* The **`CSSMathProduct`** interface of the CSS Typed Object Model API represents the result obtained by calling CSSNumericValue.add, CSSNumericValue.sub, or CSSNumericValue.toSum on CSSNumericValue.
|
|
1032
|
+
*
|
|
1033
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct)
|
|
1034
|
+
*/
|
|
1003
1035
|
interface CSSMathProduct extends CSSMathValue {
|
|
1004
1036
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct/values) */
|
|
1005
1037
|
readonly values: CSSNumericArray;
|
|
@@ -1010,7 +1042,11 @@ declare var CSSMathProduct: {
|
|
|
1010
1042
|
new(...args: CSSNumberish[]): CSSMathProduct;
|
|
1011
1043
|
};
|
|
1012
1044
|
|
|
1013
|
-
/**
|
|
1045
|
+
/**
|
|
1046
|
+
* The **`CSSMathSum`** interface of the CSS Typed Object Model API represents the result obtained by calling CSSNumericValue.add, CSSNumericValue.sub, or CSSNumericValue.toSum on CSSNumericValue.
|
|
1047
|
+
*
|
|
1048
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathSum)
|
|
1049
|
+
*/
|
|
1014
1050
|
interface CSSMathSum extends CSSMathValue {
|
|
1015
1051
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathSum/values) */
|
|
1016
1052
|
readonly values: CSSNumericArray;
|
|
@@ -1021,7 +1057,11 @@ declare var CSSMathSum: {
|
|
|
1021
1057
|
new(...args: CSSNumberish[]): CSSMathSum;
|
|
1022
1058
|
};
|
|
1023
1059
|
|
|
1024
|
-
/**
|
|
1060
|
+
/**
|
|
1061
|
+
* The **`CSSMathValue`** interface of the CSS Typed Object Model API a base class for classes representing complex numeric values.
|
|
1062
|
+
*
|
|
1063
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathValue)
|
|
1064
|
+
*/
|
|
1025
1065
|
interface CSSMathValue extends CSSNumericValue {
|
|
1026
1066
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathValue/operator) */
|
|
1027
1067
|
readonly operator: CSSMathOperator;
|
|
@@ -1032,7 +1072,11 @@ declare var CSSMathValue: {
|
|
|
1032
1072
|
new(): CSSMathValue;
|
|
1033
1073
|
};
|
|
1034
1074
|
|
|
1035
|
-
/**
|
|
1075
|
+
/**
|
|
1076
|
+
* The **`CSSMatrixComponent`** interface of the CSS Typed Object Model API represents the matrix() and matrix3d() values of the individual transform property in CSS.
|
|
1077
|
+
*
|
|
1078
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent)
|
|
1079
|
+
*/
|
|
1036
1080
|
interface CSSMatrixComponent extends CSSTransformComponent {
|
|
1037
1081
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent/matrix) */
|
|
1038
1082
|
matrix: DOMMatrix;
|
|
@@ -1043,7 +1087,11 @@ declare var CSSMatrixComponent: {
|
|
|
1043
1087
|
new(matrix: DOMMatrixReadOnly, options?: CSSMatrixComponentOptions): CSSMatrixComponent;
|
|
1044
1088
|
};
|
|
1045
1089
|
|
|
1046
|
-
/**
|
|
1090
|
+
/**
|
|
1091
|
+
* The **`CSSNumericArray`** interface of the CSS Typed Object Model API contains a list of CSSNumericValue objects.
|
|
1092
|
+
*
|
|
1093
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray)
|
|
1094
|
+
*/
|
|
1047
1095
|
interface CSSNumericArray {
|
|
1048
1096
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray/length) */
|
|
1049
1097
|
readonly length: number;
|
|
@@ -1056,7 +1104,11 @@ declare var CSSNumericArray: {
|
|
|
1056
1104
|
new(): CSSNumericArray;
|
|
1057
1105
|
};
|
|
1058
1106
|
|
|
1059
|
-
/**
|
|
1107
|
+
/**
|
|
1108
|
+
* The **`CSSNumericValue`** interface of the CSS Typed Object Model API represents operations that all numeric values can perform.
|
|
1109
|
+
*
|
|
1110
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue)
|
|
1111
|
+
*/
|
|
1060
1112
|
interface CSSNumericValue extends CSSStyleValue {
|
|
1061
1113
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add) */
|
|
1062
1114
|
add(...values: CSSNumberish[]): CSSNumericValue;
|
|
@@ -1085,7 +1137,11 @@ declare var CSSNumericValue: {
|
|
|
1085
1137
|
new(): CSSNumericValue;
|
|
1086
1138
|
};
|
|
1087
1139
|
|
|
1088
|
-
/**
|
|
1140
|
+
/**
|
|
1141
|
+
* The **`CSSPerspective`** interface of the CSS Typed Object Model API represents the perspective() value of the individual transform property in CSS.
|
|
1142
|
+
*
|
|
1143
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective)
|
|
1144
|
+
*/
|
|
1089
1145
|
interface CSSPerspective extends CSSTransformComponent {
|
|
1090
1146
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective/length) */
|
|
1091
1147
|
length: CSSPerspectiveValue;
|
|
@@ -1096,7 +1152,11 @@ declare var CSSPerspective: {
|
|
|
1096
1152
|
new(length: CSSPerspectiveValue): CSSPerspective;
|
|
1097
1153
|
};
|
|
1098
1154
|
|
|
1099
|
-
/**
|
|
1155
|
+
/**
|
|
1156
|
+
* The **`CSSRotate`** interface of the CSS Typed Object Model API represents the rotate value of the individual transform property in CSS.
|
|
1157
|
+
*
|
|
1158
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate)
|
|
1159
|
+
*/
|
|
1100
1160
|
interface CSSRotate extends CSSTransformComponent {
|
|
1101
1161
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/angle) */
|
|
1102
1162
|
angle: CSSNumericValue;
|
|
@@ -1114,7 +1174,11 @@ declare var CSSRotate: {
|
|
|
1114
1174
|
new(x: CSSNumberish, y: CSSNumberish, z: CSSNumberish, angle: CSSNumericValue): CSSRotate;
|
|
1115
1175
|
};
|
|
1116
1176
|
|
|
1117
|
-
/**
|
|
1177
|
+
/**
|
|
1178
|
+
* The **`CSSScale`** interface of the CSS Typed Object Model API represents the scale() and scale3d() values of the individual transform property in CSS.
|
|
1179
|
+
*
|
|
1180
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale)
|
|
1181
|
+
*/
|
|
1118
1182
|
interface CSSScale extends CSSTransformComponent {
|
|
1119
1183
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/x) */
|
|
1120
1184
|
x: CSSNumberish;
|
|
@@ -1129,7 +1193,11 @@ declare var CSSScale: {
|
|
|
1129
1193
|
new(x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale;
|
|
1130
1194
|
};
|
|
1131
1195
|
|
|
1132
|
-
/**
|
|
1196
|
+
/**
|
|
1197
|
+
* The **`CSSSkew`** interface of the CSS Typed Object Model API is part of the CSSTransformValue interface.
|
|
1198
|
+
*
|
|
1199
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew)
|
|
1200
|
+
*/
|
|
1133
1201
|
interface CSSSkew extends CSSTransformComponent {
|
|
1134
1202
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax) */
|
|
1135
1203
|
ax: CSSNumericValue;
|
|
@@ -1142,7 +1210,11 @@ declare var CSSSkew: {
|
|
|
1142
1210
|
new(ax: CSSNumericValue, ay: CSSNumericValue): CSSSkew;
|
|
1143
1211
|
};
|
|
1144
1212
|
|
|
1145
|
-
/**
|
|
1213
|
+
/**
|
|
1214
|
+
* The **`CSSSkewX`** interface of the CSS Typed Object Model API represents the `skewX()` value of the individual transform property in CSS.
|
|
1215
|
+
*
|
|
1216
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX)
|
|
1217
|
+
*/
|
|
1146
1218
|
interface CSSSkewX extends CSSTransformComponent {
|
|
1147
1219
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX/ax) */
|
|
1148
1220
|
ax: CSSNumericValue;
|
|
@@ -1153,7 +1225,11 @@ declare var CSSSkewX: {
|
|
|
1153
1225
|
new(ax: CSSNumericValue): CSSSkewX;
|
|
1154
1226
|
};
|
|
1155
1227
|
|
|
1156
|
-
/**
|
|
1228
|
+
/**
|
|
1229
|
+
* The **`CSSSkewY`** interface of the CSS Typed Object Model API represents the `skewY()` value of the individual transform property in CSS.
|
|
1230
|
+
*
|
|
1231
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY)
|
|
1232
|
+
*/
|
|
1157
1233
|
interface CSSSkewY extends CSSTransformComponent {
|
|
1158
1234
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY/ay) */
|
|
1159
1235
|
ay: CSSNumericValue;
|
|
@@ -1164,7 +1240,11 @@ declare var CSSSkewY: {
|
|
|
1164
1240
|
new(ay: CSSNumericValue): CSSSkewY;
|
|
1165
1241
|
};
|
|
1166
1242
|
|
|
1167
|
-
/**
|
|
1243
|
+
/**
|
|
1244
|
+
* The **`CSSStyleValue`** interface of the CSS Typed Object Model API is the base class of all CSS values accessible through the Typed OM API.
|
|
1245
|
+
*
|
|
1246
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleValue)
|
|
1247
|
+
*/
|
|
1168
1248
|
interface CSSStyleValue {
|
|
1169
1249
|
toString(): string;
|
|
1170
1250
|
}
|
|
@@ -1174,7 +1254,11 @@ declare var CSSStyleValue: {
|
|
|
1174
1254
|
new(): CSSStyleValue;
|
|
1175
1255
|
};
|
|
1176
1256
|
|
|
1177
|
-
/**
|
|
1257
|
+
/**
|
|
1258
|
+
* The **`CSSTransformComponent`** interface of the CSS Typed Object Model API is part of the CSSTransformValue interface.
|
|
1259
|
+
*
|
|
1260
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent)
|
|
1261
|
+
*/
|
|
1178
1262
|
interface CSSTransformComponent {
|
|
1179
1263
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent/is2D) */
|
|
1180
1264
|
is2D: boolean;
|
|
@@ -1188,7 +1272,11 @@ declare var CSSTransformComponent: {
|
|
|
1188
1272
|
new(): CSSTransformComponent;
|
|
1189
1273
|
};
|
|
1190
1274
|
|
|
1191
|
-
/**
|
|
1275
|
+
/**
|
|
1276
|
+
* The **`CSSTransformValue`** interface of the CSS Typed Object Model API represents `transform-list` values as used by the CSS transform property.
|
|
1277
|
+
*
|
|
1278
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue)
|
|
1279
|
+
*/
|
|
1192
1280
|
interface CSSTransformValue extends CSSStyleValue {
|
|
1193
1281
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/is2D) */
|
|
1194
1282
|
readonly is2D: boolean;
|
|
@@ -1205,7 +1293,11 @@ declare var CSSTransformValue: {
|
|
|
1205
1293
|
new(transforms: CSSTransformComponent[]): CSSTransformValue;
|
|
1206
1294
|
};
|
|
1207
1295
|
|
|
1208
|
-
/**
|
|
1296
|
+
/**
|
|
1297
|
+
* The **`CSSTranslate`** interface of the CSS Typed Object Model API represents the translate() value of the individual transform property in CSS.
|
|
1298
|
+
*
|
|
1299
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate)
|
|
1300
|
+
*/
|
|
1209
1301
|
interface CSSTranslate extends CSSTransformComponent {
|
|
1210
1302
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/x) */
|
|
1211
1303
|
x: CSSNumericValue;
|
|
@@ -1220,7 +1312,11 @@ declare var CSSTranslate: {
|
|
|
1220
1312
|
new(x: CSSNumericValue, y: CSSNumericValue, z?: CSSNumericValue): CSSTranslate;
|
|
1221
1313
|
};
|
|
1222
1314
|
|
|
1223
|
-
/**
|
|
1315
|
+
/**
|
|
1316
|
+
* The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type.
|
|
1317
|
+
*
|
|
1318
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue)
|
|
1319
|
+
*/
|
|
1224
1320
|
interface CSSUnitValue extends CSSNumericValue {
|
|
1225
1321
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/unit) */
|
|
1226
1322
|
readonly unit: string;
|
|
@@ -1233,7 +1329,11 @@ declare var CSSUnitValue: {
|
|
|
1233
1329
|
new(value: number, unit: string): CSSUnitValue;
|
|
1234
1330
|
};
|
|
1235
1331
|
|
|
1236
|
-
/**
|
|
1332
|
+
/**
|
|
1333
|
+
* The **`CSSUnparsedValue`** interface of the CSS Typed Object Model API represents property values that reference custom properties.
|
|
1334
|
+
*
|
|
1335
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue)
|
|
1336
|
+
*/
|
|
1237
1337
|
interface CSSUnparsedValue extends CSSStyleValue {
|
|
1238
1338
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue/length) */
|
|
1239
1339
|
readonly length: number;
|
|
@@ -1246,7 +1346,11 @@ declare var CSSUnparsedValue: {
|
|
|
1246
1346
|
new(members: CSSUnparsedSegment[]): CSSUnparsedValue;
|
|
1247
1347
|
};
|
|
1248
1348
|
|
|
1249
|
-
/**
|
|
1349
|
+
/**
|
|
1350
|
+
* The **`CSSVariableReferenceValue`** interface of the CSS Typed Object Model API allows you to create a custom name for a built-in CSS value.
|
|
1351
|
+
*
|
|
1352
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue)
|
|
1353
|
+
*/
|
|
1250
1354
|
interface CSSVariableReferenceValue {
|
|
1251
1355
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/fallback) */
|
|
1252
1356
|
readonly fallback: CSSUnparsedValue | null;
|
|
@@ -1260,7 +1364,7 @@ declare var CSSVariableReferenceValue: {
|
|
|
1260
1364
|
};
|
|
1261
1365
|
|
|
1262
1366
|
/**
|
|
1263
|
-
*
|
|
1367
|
+
* The **`Cache`** interface provides a persistent storage mechanism for Request / Response object pairs that are cached in long lived memory.
|
|
1264
1368
|
* Available only in secure contexts.
|
|
1265
1369
|
*
|
|
1266
1370
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache)
|
|
@@ -1288,7 +1392,7 @@ declare var Cache: {
|
|
|
1288
1392
|
};
|
|
1289
1393
|
|
|
1290
1394
|
/**
|
|
1291
|
-
* The storage for Cache objects.
|
|
1395
|
+
* The **`CacheStorage`** interface represents the storage for Cache objects.
|
|
1292
1396
|
* Available only in secure contexts.
|
|
1293
1397
|
*
|
|
1294
1398
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage)
|
|
@@ -1366,7 +1470,7 @@ interface CanvasFilters {
|
|
|
1366
1470
|
}
|
|
1367
1471
|
|
|
1368
1472
|
/**
|
|
1369
|
-
*
|
|
1473
|
+
* The **`CanvasGradient`** interface represents an opaque object describing a gradient.
|
|
1370
1474
|
*
|
|
1371
1475
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasGradient)
|
|
1372
1476
|
*/
|
|
@@ -1445,7 +1549,7 @@ interface CanvasPathDrawingStyles {
|
|
|
1445
1549
|
}
|
|
1446
1550
|
|
|
1447
1551
|
/**
|
|
1448
|
-
*
|
|
1552
|
+
* The **`CanvasPattern`** interface represents an opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method.
|
|
1449
1553
|
*
|
|
1450
1554
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasPattern)
|
|
1451
1555
|
*/
|
|
@@ -1545,7 +1649,7 @@ interface CanvasTransform {
|
|
|
1545
1649
|
}
|
|
1546
1650
|
|
|
1547
1651
|
/**
|
|
1548
|
-
* A CloseEvent is sent to clients using WebSockets when the connection is closed.
|
|
1652
|
+
* A `CloseEvent` is sent to clients using WebSockets when the connection is closed.
|
|
1549
1653
|
*
|
|
1550
1654
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent)
|
|
1551
1655
|
*/
|
|
@@ -1575,7 +1679,11 @@ declare var CloseEvent: {
|
|
|
1575
1679
|
new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
|
|
1576
1680
|
};
|
|
1577
1681
|
|
|
1578
|
-
/**
|
|
1682
|
+
/**
|
|
1683
|
+
* The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
|
|
1684
|
+
*
|
|
1685
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
|
1686
|
+
*/
|
|
1579
1687
|
interface CompressionStream extends GenericTransformStream {
|
|
1580
1688
|
readonly readable: ReadableStream<Uint8Array>;
|
|
1581
1689
|
readonly writable: WritableStream<BufferSource>;
|
|
@@ -1587,7 +1695,7 @@ declare var CompressionStream: {
|
|
|
1587
1695
|
};
|
|
1588
1696
|
|
|
1589
1697
|
/**
|
|
1590
|
-
*
|
|
1698
|
+
* The **`CountQueuingStrategy`** interface of the Streams API provides a built-in chunk counting queuing strategy that can be used when constructing streams.
|
|
1591
1699
|
*
|
|
1592
1700
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy)
|
|
1593
1701
|
*/
|
|
@@ -1604,7 +1712,7 @@ declare var CountQueuingStrategy: {
|
|
|
1604
1712
|
};
|
|
1605
1713
|
|
|
1606
1714
|
/**
|
|
1607
|
-
*
|
|
1715
|
+
* The **`Crypto`** interface represents basic cryptography features available in the current context.
|
|
1608
1716
|
*
|
|
1609
1717
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto)
|
|
1610
1718
|
*/
|
|
@@ -1631,7 +1739,7 @@ declare var Crypto: {
|
|
|
1631
1739
|
};
|
|
1632
1740
|
|
|
1633
1741
|
/**
|
|
1634
|
-
* The CryptoKey
|
|
1742
|
+
* The **`CryptoKey`** interface of the Web Crypto API represents a cryptographic key obtained from one of the SubtleCrypto methods SubtleCrypto.generateKey, SubtleCrypto.deriveKey, SubtleCrypto.importKey, or SubtleCrypto.unwrapKey.
|
|
1635
1743
|
* Available only in secure contexts.
|
|
1636
1744
|
*
|
|
1637
1745
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey)
|
|
@@ -1652,7 +1760,11 @@ declare var CryptoKey: {
|
|
|
1652
1760
|
new(): CryptoKey;
|
|
1653
1761
|
};
|
|
1654
1762
|
|
|
1655
|
-
/**
|
|
1763
|
+
/**
|
|
1764
|
+
* The **`CustomEvent`** interface represents events initialized by an application for any purpose.
|
|
1765
|
+
*
|
|
1766
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)
|
|
1767
|
+
*/
|
|
1656
1768
|
interface CustomEvent<T = any> extends Event {
|
|
1657
1769
|
/**
|
|
1658
1770
|
* Returns any custom data event was created with. Typically used for synthetic events.
|
|
@@ -1674,7 +1786,7 @@ declare var CustomEvent: {
|
|
|
1674
1786
|
};
|
|
1675
1787
|
|
|
1676
1788
|
/**
|
|
1677
|
-
*
|
|
1789
|
+
* The **`DOMException`** interface represents an abnormal event (called an **exception**) that occurs as a result of calling a method or accessing a property of a web API.
|
|
1678
1790
|
*
|
|
1679
1791
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException)
|
|
1680
1792
|
*/
|
|
@@ -1746,7 +1858,11 @@ declare var DOMException: {
|
|
|
1746
1858
|
readonly DATA_CLONE_ERR: 25;
|
|
1747
1859
|
};
|
|
1748
1860
|
|
|
1749
|
-
/**
|
|
1861
|
+
/**
|
|
1862
|
+
* The **`DOMMatrix`** interface represents 4×4 matrices, suitable for 2D and 3D operations including rotation and translation.
|
|
1863
|
+
*
|
|
1864
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix)
|
|
1865
|
+
*/
|
|
1750
1866
|
interface DOMMatrix extends DOMMatrixReadOnly {
|
|
1751
1867
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1752
1868
|
a: number;
|
|
@@ -1806,6 +1922,7 @@ interface DOMMatrix extends DOMMatrixReadOnly {
|
|
|
1806
1922
|
rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;
|
|
1807
1923
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf) */
|
|
1808
1924
|
scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
1925
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf) */
|
|
1809
1926
|
scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;
|
|
1810
1927
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewXSelf) */
|
|
1811
1928
|
skewXSelf(sx?: number): DOMMatrix;
|
|
@@ -1823,7 +1940,11 @@ declare var DOMMatrix: {
|
|
|
1823
1940
|
fromMatrix(other?: DOMMatrixInit): DOMMatrix;
|
|
1824
1941
|
};
|
|
1825
1942
|
|
|
1826
|
-
/**
|
|
1943
|
+
/**
|
|
1944
|
+
* The **`DOMMatrixReadOnly`** interface represents a read-only 4×4 matrix, suitable for 2D and 3D operations.
|
|
1945
|
+
*
|
|
1946
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly)
|
|
1947
|
+
*/
|
|
1827
1948
|
interface DOMMatrixReadOnly {
|
|
1828
1949
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1829
1950
|
readonly a: number;
|
|
@@ -1917,7 +2038,11 @@ declare var DOMMatrixReadOnly: {
|
|
|
1917
2038
|
fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;
|
|
1918
2039
|
};
|
|
1919
2040
|
|
|
1920
|
-
/**
|
|
2041
|
+
/**
|
|
2042
|
+
* A **`DOMPoint`** object represents a 2D or 3D point in a coordinate system; it includes values for the coordinates in up to three dimensions, as well as an optional perspective value.
|
|
2043
|
+
*
|
|
2044
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint)
|
|
2045
|
+
*/
|
|
1921
2046
|
interface DOMPoint extends DOMPointReadOnly {
|
|
1922
2047
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/w) */
|
|
1923
2048
|
w: number;
|
|
@@ -1936,7 +2061,11 @@ declare var DOMPoint: {
|
|
|
1936
2061
|
fromPoint(other?: DOMPointInit): DOMPoint;
|
|
1937
2062
|
};
|
|
1938
2063
|
|
|
1939
|
-
/**
|
|
2064
|
+
/**
|
|
2065
|
+
* The **`DOMPointReadOnly`** interface specifies the coordinate and perspective fields used by DOMPoint to define a 2D or 3D point in a coordinate system.
|
|
2066
|
+
*
|
|
2067
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly)
|
|
2068
|
+
*/
|
|
1940
2069
|
interface DOMPointReadOnly {
|
|
1941
2070
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/w) */
|
|
1942
2071
|
readonly w: number;
|
|
@@ -1959,7 +2088,11 @@ declare var DOMPointReadOnly: {
|
|
|
1959
2088
|
fromPoint(other?: DOMPointInit): DOMPointReadOnly;
|
|
1960
2089
|
};
|
|
1961
2090
|
|
|
1962
|
-
/**
|
|
2091
|
+
/**
|
|
2092
|
+
* A `DOMQuad` is a collection of four `DOMPoint`s defining the corners of an arbitrary quadrilateral.
|
|
2093
|
+
*
|
|
2094
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad)
|
|
2095
|
+
*/
|
|
1963
2096
|
interface DOMQuad {
|
|
1964
2097
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */
|
|
1965
2098
|
readonly p1: DOMPoint;
|
|
@@ -1982,7 +2115,11 @@ declare var DOMQuad: {
|
|
|
1982
2115
|
fromRect(other?: DOMRectInit): DOMQuad;
|
|
1983
2116
|
};
|
|
1984
2117
|
|
|
1985
|
-
/**
|
|
2118
|
+
/**
|
|
2119
|
+
* A **`DOMRect`** describes the size and position of a rectangle.
|
|
2120
|
+
*
|
|
2121
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect)
|
|
2122
|
+
*/
|
|
1986
2123
|
interface DOMRect extends DOMRectReadOnly {
|
|
1987
2124
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/height) */
|
|
1988
2125
|
height: number;
|
|
@@ -2001,7 +2138,11 @@ declare var DOMRect: {
|
|
|
2001
2138
|
fromRect(other?: DOMRectInit): DOMRect;
|
|
2002
2139
|
};
|
|
2003
2140
|
|
|
2004
|
-
/**
|
|
2141
|
+
/**
|
|
2142
|
+
* The **`DOMRectReadOnly`** interface specifies the standard properties (also used by DOMRect) to define a rectangle whose properties are immutable.
|
|
2143
|
+
*
|
|
2144
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly)
|
|
2145
|
+
*/
|
|
2005
2146
|
interface DOMRectReadOnly {
|
|
2006
2147
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/bottom) */
|
|
2007
2148
|
readonly bottom: number;
|
|
@@ -2031,7 +2172,7 @@ declare var DOMRectReadOnly: {
|
|
|
2031
2172
|
};
|
|
2032
2173
|
|
|
2033
2174
|
/**
|
|
2034
|
-
*
|
|
2175
|
+
* The **`DOMStringList`** interface is a legacy type returned by some APIs and represents a non-modifiable list of strings (`DOMString`).
|
|
2035
2176
|
*
|
|
2036
2177
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMStringList)
|
|
2037
2178
|
*/
|
|
@@ -2062,7 +2203,11 @@ declare var DOMStringList: {
|
|
|
2062
2203
|
new(): DOMStringList;
|
|
2063
2204
|
};
|
|
2064
2205
|
|
|
2065
|
-
/**
|
|
2206
|
+
/**
|
|
2207
|
+
* The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
|
|
2208
|
+
*
|
|
2209
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
|
2210
|
+
*/
|
|
2066
2211
|
interface DecompressionStream extends GenericTransformStream {
|
|
2067
2212
|
readonly readable: ReadableStream<Uint8Array>;
|
|
2068
2213
|
readonly writable: WritableStream<BufferSource>;
|
|
@@ -2073,17 +2218,29 @@ declare var DecompressionStream: {
|
|
|
2073
2218
|
new(format: CompressionFormat): DecompressionStream;
|
|
2074
2219
|
};
|
|
2075
2220
|
|
|
2076
|
-
/**
|
|
2221
|
+
/**
|
|
2222
|
+
* The **`EXT_blend_minmax`** extension is part of the WebGL API and extends blending capabilities by adding two new blend equations: the minimum or maximum color components of the source and destination colors.
|
|
2223
|
+
*
|
|
2224
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_blend_minmax)
|
|
2225
|
+
*/
|
|
2077
2226
|
interface EXT_blend_minmax {
|
|
2078
2227
|
readonly MIN_EXT: 0x8007;
|
|
2079
2228
|
readonly MAX_EXT: 0x8008;
|
|
2080
2229
|
}
|
|
2081
2230
|
|
|
2082
|
-
/**
|
|
2231
|
+
/**
|
|
2232
|
+
* The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats.
|
|
2233
|
+
*
|
|
2234
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_color_buffer_float)
|
|
2235
|
+
*/
|
|
2083
2236
|
interface EXT_color_buffer_float {
|
|
2084
2237
|
}
|
|
2085
2238
|
|
|
2086
|
-
/**
|
|
2239
|
+
/**
|
|
2240
|
+
* The **`EXT_color_buffer_half_float`** extension is part of the WebGL API and adds the ability to render to 16-bit floating-point color buffers.
|
|
2241
|
+
*
|
|
2242
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_color_buffer_half_float)
|
|
2243
|
+
*/
|
|
2087
2244
|
interface EXT_color_buffer_half_float {
|
|
2088
2245
|
readonly RGBA16F_EXT: 0x881A;
|
|
2089
2246
|
readonly RGB16F_EXT: 0x881B;
|
|
@@ -2091,19 +2248,27 @@ interface EXT_color_buffer_half_float {
|
|
|
2091
2248
|
readonly UNSIGNED_NORMALIZED_EXT: 0x8C17;
|
|
2092
2249
|
}
|
|
2093
2250
|
|
|
2094
|
-
/**
|
|
2251
|
+
/**
|
|
2252
|
+
* The WebGL API's `EXT_float_blend` extension allows blending and draw buffers with 32-bit floating-point components.
|
|
2253
|
+
*
|
|
2254
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_float_blend)
|
|
2255
|
+
*/
|
|
2095
2256
|
interface EXT_float_blend {
|
|
2096
2257
|
}
|
|
2097
2258
|
|
|
2098
2259
|
/**
|
|
2099
|
-
* The EXT_frag_depth extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader.
|
|
2260
|
+
* The **`EXT_frag_depth`** extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader.
|
|
2100
2261
|
*
|
|
2101
2262
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_frag_depth)
|
|
2102
2263
|
*/
|
|
2103
2264
|
interface EXT_frag_depth {
|
|
2104
2265
|
}
|
|
2105
2266
|
|
|
2106
|
-
/**
|
|
2267
|
+
/**
|
|
2268
|
+
* The **`EXT_sRGB`** extension is part of the WebGL API and adds sRGB support to textures and framebuffer objects.
|
|
2269
|
+
*
|
|
2270
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_sRGB)
|
|
2271
|
+
*/
|
|
2107
2272
|
interface EXT_sRGB {
|
|
2108
2273
|
readonly SRGB_EXT: 0x8C40;
|
|
2109
2274
|
readonly SRGB_ALPHA_EXT: 0x8C42;
|
|
@@ -2111,11 +2276,19 @@ interface EXT_sRGB {
|
|
|
2111
2276
|
readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: 0x8210;
|
|
2112
2277
|
}
|
|
2113
2278
|
|
|
2114
|
-
/**
|
|
2279
|
+
/**
|
|
2280
|
+
* The **`EXT_shader_texture_lod`** extension is part of the WebGL API and adds additional texture functions to the OpenGL ES Shading Language which provide the shader writer with explicit control of LOD (Level of detail).
|
|
2281
|
+
*
|
|
2282
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_shader_texture_lod)
|
|
2283
|
+
*/
|
|
2115
2284
|
interface EXT_shader_texture_lod {
|
|
2116
2285
|
}
|
|
2117
2286
|
|
|
2118
|
-
/**
|
|
2287
|
+
/**
|
|
2288
|
+
* The `EXT_texture_compression_bptc` extension is part of the WebGL API and exposes 4 BPTC compressed texture formats.
|
|
2289
|
+
*
|
|
2290
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_compression_bptc)
|
|
2291
|
+
*/
|
|
2119
2292
|
interface EXT_texture_compression_bptc {
|
|
2120
2293
|
readonly COMPRESSED_RGBA_BPTC_UNORM_EXT: 0x8E8C;
|
|
2121
2294
|
readonly COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: 0x8E8D;
|
|
@@ -2123,7 +2296,11 @@ interface EXT_texture_compression_bptc {
|
|
|
2123
2296
|
readonly COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: 0x8E8F;
|
|
2124
2297
|
}
|
|
2125
2298
|
|
|
2126
|
-
/**
|
|
2299
|
+
/**
|
|
2300
|
+
* The `EXT_texture_compression_rgtc` extension is part of the WebGL API and exposes 4 RGTC compressed texture formats.
|
|
2301
|
+
*
|
|
2302
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_compression_rgtc)
|
|
2303
|
+
*/
|
|
2127
2304
|
interface EXT_texture_compression_rgtc {
|
|
2128
2305
|
readonly COMPRESSED_RED_RGTC1_EXT: 0x8DBB;
|
|
2129
2306
|
readonly COMPRESSED_SIGNED_RED_RGTC1_EXT: 0x8DBC;
|
|
@@ -2132,7 +2309,7 @@ interface EXT_texture_compression_rgtc {
|
|
|
2132
2309
|
}
|
|
2133
2310
|
|
|
2134
2311
|
/**
|
|
2135
|
-
* The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF).
|
|
2312
|
+
* The **`EXT_texture_filter_anisotropic`** extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF).
|
|
2136
2313
|
*
|
|
2137
2314
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_filter_anisotropic)
|
|
2138
2315
|
*/
|
|
@@ -2141,7 +2318,11 @@ interface EXT_texture_filter_anisotropic {
|
|
|
2141
2318
|
readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF;
|
|
2142
2319
|
}
|
|
2143
2320
|
|
|
2144
|
-
/**
|
|
2321
|
+
/**
|
|
2322
|
+
* The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer).
|
|
2323
|
+
*
|
|
2324
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_norm16)
|
|
2325
|
+
*/
|
|
2145
2326
|
interface EXT_texture_norm16 {
|
|
2146
2327
|
readonly R16_EXT: 0x822A;
|
|
2147
2328
|
readonly RG16_EXT: 0x822C;
|
|
@@ -2154,7 +2335,7 @@ interface EXT_texture_norm16 {
|
|
|
2154
2335
|
}
|
|
2155
2336
|
|
|
2156
2337
|
/**
|
|
2157
|
-
*
|
|
2338
|
+
* The **`ErrorEvent`** interface represents events providing information related to errors in scripts or in files.
|
|
2158
2339
|
*
|
|
2159
2340
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent)
|
|
2160
2341
|
*/
|
|
@@ -2177,7 +2358,7 @@ declare var ErrorEvent: {
|
|
|
2177
2358
|
};
|
|
2178
2359
|
|
|
2179
2360
|
/**
|
|
2180
|
-
*
|
|
2361
|
+
* The **`Event`** interface represents an event which takes place on an `EventTarget`.
|
|
2181
2362
|
*
|
|
2182
2363
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event)
|
|
2183
2364
|
*/
|
|
@@ -2319,7 +2500,11 @@ interface EventSourceEventMap {
|
|
|
2319
2500
|
"open": Event;
|
|
2320
2501
|
}
|
|
2321
2502
|
|
|
2322
|
-
/**
|
|
2503
|
+
/**
|
|
2504
|
+
* The **`EventSource`** interface is web content's interface to server-sent events.
|
|
2505
|
+
*
|
|
2506
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource)
|
|
2507
|
+
*/
|
|
2323
2508
|
interface EventSource extends EventTarget {
|
|
2324
2509
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/error_event) */
|
|
2325
2510
|
onerror: ((this: EventSource, ev: Event) => any) | null;
|
|
@@ -2371,7 +2556,7 @@ declare var EventSource: {
|
|
|
2371
2556
|
};
|
|
2372
2557
|
|
|
2373
2558
|
/**
|
|
2374
|
-
* EventTarget is
|
|
2559
|
+
* The **`EventTarget`** interface is implemented by objects that can receive events and may have listeners for them.
|
|
2375
2560
|
*
|
|
2376
2561
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget)
|
|
2377
2562
|
*/
|
|
@@ -2414,7 +2599,7 @@ declare var EventTarget: {
|
|
|
2414
2599
|
};
|
|
2415
2600
|
|
|
2416
2601
|
/**
|
|
2417
|
-
*
|
|
2602
|
+
* The **`File`** interface provides information about files and allows JavaScript in a web page to access their content.
|
|
2418
2603
|
*
|
|
2419
2604
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/File)
|
|
2420
2605
|
*/
|
|
@@ -2433,7 +2618,7 @@ declare var File: {
|
|
|
2433
2618
|
};
|
|
2434
2619
|
|
|
2435
2620
|
/**
|
|
2436
|
-
*
|
|
2621
|
+
* The **`FileList`** interface represents an object of this type returned by the `files` property of the HTML input element; this lets you access the list of files selected with the `<input type='file'>` element.
|
|
2437
2622
|
*
|
|
2438
2623
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileList)
|
|
2439
2624
|
*/
|
|
@@ -2460,7 +2645,7 @@ interface FileReaderEventMap {
|
|
|
2460
2645
|
}
|
|
2461
2646
|
|
|
2462
2647
|
/**
|
|
2463
|
-
*
|
|
2648
|
+
* The **`FileReader`** interface lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read.
|
|
2464
2649
|
*
|
|
2465
2650
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader)
|
|
2466
2651
|
*/
|
|
@@ -2515,7 +2700,7 @@ declare var FileReader: {
|
|
|
2515
2700
|
};
|
|
2516
2701
|
|
|
2517
2702
|
/**
|
|
2518
|
-
*
|
|
2703
|
+
* The **`FileReaderSync`** interface allows to read File or Blob objects synchronously.
|
|
2519
2704
|
*
|
|
2520
2705
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReaderSync)
|
|
2521
2706
|
*/
|
|
@@ -2540,6 +2725,7 @@ declare var FileReaderSync: {
|
|
|
2540
2725
|
};
|
|
2541
2726
|
|
|
2542
2727
|
/**
|
|
2728
|
+
* The **`FileSystemDirectoryHandle`** interface of the File System API provides a handle to a file system directory.
|
|
2543
2729
|
* Available only in secure contexts.
|
|
2544
2730
|
*
|
|
2545
2731
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle)
|
|
@@ -2562,6 +2748,7 @@ declare var FileSystemDirectoryHandle: {
|
|
|
2562
2748
|
};
|
|
2563
2749
|
|
|
2564
2750
|
/**
|
|
2751
|
+
* The **`FileSystemFileHandle`** interface of the File System API represents a handle to a file system entry.
|
|
2565
2752
|
* Available only in secure contexts.
|
|
2566
2753
|
*
|
|
2567
2754
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle)
|
|
@@ -2580,6 +2767,7 @@ declare var FileSystemFileHandle: {
|
|
|
2580
2767
|
};
|
|
2581
2768
|
|
|
2582
2769
|
/**
|
|
2770
|
+
* The **`FileSystemHandle`** interface of the File System API is an object which represents a file or directory entry.
|
|
2583
2771
|
* Available only in secure contexts.
|
|
2584
2772
|
*
|
|
2585
2773
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle)
|
|
@@ -2599,6 +2787,7 @@ declare var FileSystemHandle: {
|
|
|
2599
2787
|
};
|
|
2600
2788
|
|
|
2601
2789
|
/**
|
|
2790
|
+
* The **`FileSystemWritableFileStream`** interface of the File System API is a WritableStream object with additional convenience methods, which operates on a single file on disk.
|
|
2602
2791
|
* Available only in secure contexts.
|
|
2603
2792
|
*
|
|
2604
2793
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemWritableFileStream)
|
|
@@ -2617,7 +2806,11 @@ declare var FileSystemWritableFileStream: {
|
|
|
2617
2806
|
new(): FileSystemWritableFileStream;
|
|
2618
2807
|
};
|
|
2619
2808
|
|
|
2620
|
-
/**
|
|
2809
|
+
/**
|
|
2810
|
+
* The **`FontFace`** interface of the CSS Font Loading API represents a single usable font face.
|
|
2811
|
+
*
|
|
2812
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace)
|
|
2813
|
+
*/
|
|
2621
2814
|
interface FontFace {
|
|
2622
2815
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/ascentOverride) */
|
|
2623
2816
|
ascentOverride: string;
|
|
@@ -2658,7 +2851,11 @@ interface FontFaceSetEventMap {
|
|
|
2658
2851
|
"loadingerror": FontFaceSetLoadEvent;
|
|
2659
2852
|
}
|
|
2660
2853
|
|
|
2661
|
-
/**
|
|
2854
|
+
/**
|
|
2855
|
+
* The **`FontFaceSet`** interface of the CSS Font Loading API manages the loading of font-faces and querying of their download status.
|
|
2856
|
+
*
|
|
2857
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet)
|
|
2858
|
+
*/
|
|
2662
2859
|
interface FontFaceSet extends EventTarget {
|
|
2663
2860
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loading_event) */
|
|
2664
2861
|
onloading: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;
|
|
@@ -2686,7 +2883,11 @@ declare var FontFaceSet: {
|
|
|
2686
2883
|
new(): FontFaceSet;
|
|
2687
2884
|
};
|
|
2688
2885
|
|
|
2689
|
-
/**
|
|
2886
|
+
/**
|
|
2887
|
+
* The **`FontFaceSetLoadEvent`** interface of the CSS Font Loading API represents events fired at a FontFaceSet after it starts loading font faces.
|
|
2888
|
+
*
|
|
2889
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent)
|
|
2890
|
+
*/
|
|
2690
2891
|
interface FontFaceSetLoadEvent extends Event {
|
|
2691
2892
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent/fontfaces) */
|
|
2692
2893
|
readonly fontfaces: ReadonlyArray<FontFace>;
|
|
@@ -2703,7 +2904,7 @@ interface FontFaceSource {
|
|
|
2703
2904
|
}
|
|
2704
2905
|
|
|
2705
2906
|
/**
|
|
2706
|
-
*
|
|
2907
|
+
* The **`FormData`** interface provides a way to construct a set of key/value pairs representing form fields and their values, which can be sent using the Window/fetch, XMLHttpRequest.send() or navigator.sendBeacon() methods.
|
|
2707
2908
|
*
|
|
2708
2909
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData)
|
|
2709
2910
|
*/
|
|
@@ -2733,6 +2934,7 @@ declare var FormData: {
|
|
|
2733
2934
|
};
|
|
2734
2935
|
|
|
2735
2936
|
/**
|
|
2937
|
+
* The **`GPUError`** interface of the WebGPU API is the base interface for errors surfaced by GPUDevice.popErrorScope and the GPUDevice.uncapturederror_event event.
|
|
2736
2938
|
* Available only in secure contexts.
|
|
2737
2939
|
*
|
|
2738
2940
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError)
|
|
@@ -2750,7 +2952,7 @@ interface GenericTransformStream {
|
|
|
2750
2952
|
}
|
|
2751
2953
|
|
|
2752
2954
|
/**
|
|
2753
|
-
*
|
|
2955
|
+
* The **`Headers`** interface of the Fetch API allows you to perform various actions on HTTP request and response headers.
|
|
2754
2956
|
*
|
|
2755
2957
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers)
|
|
2756
2958
|
*/
|
|
@@ -2776,7 +2978,7 @@ declare var Headers: {
|
|
|
2776
2978
|
};
|
|
2777
2979
|
|
|
2778
2980
|
/**
|
|
2779
|
-
*
|
|
2981
|
+
* The **`IDBCursor`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
|
|
2780
2982
|
*
|
|
2781
2983
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor)
|
|
2782
2984
|
*/
|
|
@@ -2851,7 +3053,7 @@ declare var IDBCursor: {
|
|
|
2851
3053
|
};
|
|
2852
3054
|
|
|
2853
3055
|
/**
|
|
2854
|
-
*
|
|
3056
|
+
* The **`IDBCursorWithValue`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
|
|
2855
3057
|
*
|
|
2856
3058
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue)
|
|
2857
3059
|
*/
|
|
@@ -2877,7 +3079,7 @@ interface IDBDatabaseEventMap {
|
|
|
2877
3079
|
}
|
|
2878
3080
|
|
|
2879
3081
|
/**
|
|
2880
|
-
*
|
|
3082
|
+
* The **`IDBDatabase`** interface of the IndexedDB API provides a connection to a database; you can use an `IDBDatabase` object to open a transaction on your database then create, manipulate, and delete objects (data) in that database.
|
|
2881
3083
|
*
|
|
2882
3084
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase)
|
|
2883
3085
|
*/
|
|
@@ -2946,7 +3148,7 @@ declare var IDBDatabase: {
|
|
|
2946
3148
|
};
|
|
2947
3149
|
|
|
2948
3150
|
/**
|
|
2949
|
-
*
|
|
3151
|
+
* The **`IDBFactory`** interface of the IndexedDB API lets applications asynchronously access the indexed databases.
|
|
2950
3152
|
*
|
|
2951
3153
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory)
|
|
2952
3154
|
*/
|
|
@@ -2981,7 +3183,7 @@ declare var IDBFactory: {
|
|
|
2981
3183
|
};
|
|
2982
3184
|
|
|
2983
3185
|
/**
|
|
2984
|
-
* IDBIndex interface of the IndexedDB API provides asynchronous access to an index in a database.
|
|
3186
|
+
* `IDBIndex` interface of the IndexedDB API provides asynchronous access to an index in a database.
|
|
2985
3187
|
*
|
|
2986
3188
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex)
|
|
2987
3189
|
*/
|
|
@@ -3068,7 +3270,7 @@ declare var IDBIndex: {
|
|
|
3068
3270
|
};
|
|
3069
3271
|
|
|
3070
3272
|
/**
|
|
3071
|
-
*
|
|
3273
|
+
* The **`IDBKeyRange`** interface of the IndexedDB API represents a continuous interval over some data type that is used for keys.
|
|
3072
3274
|
*
|
|
3073
3275
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange)
|
|
3074
3276
|
*/
|
|
@@ -3135,7 +3337,7 @@ declare var IDBKeyRange: {
|
|
|
3135
3337
|
};
|
|
3136
3338
|
|
|
3137
3339
|
/**
|
|
3138
|
-
*
|
|
3340
|
+
* The **`IDBObjectStore`** interface of the IndexedDB API represents an object store in a database.
|
|
3139
3341
|
*
|
|
3140
3342
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore)
|
|
3141
3343
|
*/
|
|
@@ -3297,7 +3499,7 @@ interface IDBOpenDBRequestEventMap extends IDBRequestEventMap {
|
|
|
3297
3499
|
}
|
|
3298
3500
|
|
|
3299
3501
|
/**
|
|
3300
|
-
*
|
|
3502
|
+
* The **`IDBOpenDBRequest`** interface of the IndexedDB API provides access to the results of requests to open or delete databases (performed using IDBFactory.open and IDBFactory.deleteDatabase), using specific event handler attributes.
|
|
3301
3503
|
*
|
|
3302
3504
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBOpenDBRequest)
|
|
3303
3505
|
*/
|
|
@@ -3323,7 +3525,7 @@ interface IDBRequestEventMap {
|
|
|
3323
3525
|
}
|
|
3324
3526
|
|
|
3325
3527
|
/**
|
|
3326
|
-
* The
|
|
3528
|
+
* The **`IDBRequest`** interface of the IndexedDB API provides access to results of asynchronous requests to databases and database objects using event handler attributes.
|
|
3327
3529
|
*
|
|
3328
3530
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest)
|
|
3329
3531
|
*/
|
|
@@ -3379,7 +3581,11 @@ interface IDBTransactionEventMap {
|
|
|
3379
3581
|
"error": Event;
|
|
3380
3582
|
}
|
|
3381
3583
|
|
|
3382
|
-
/**
|
|
3584
|
+
/**
|
|
3585
|
+
* The **`IDBTransaction`** interface of the IndexedDB API provides a static, asynchronous transaction on a database using event handler attributes.
|
|
3586
|
+
*
|
|
3587
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction)
|
|
3588
|
+
*/
|
|
3383
3589
|
interface IDBTransaction extends EventTarget {
|
|
3384
3590
|
/**
|
|
3385
3591
|
* Returns the transaction's connection.
|
|
@@ -3439,7 +3645,7 @@ declare var IDBTransaction: {
|
|
|
3439
3645
|
};
|
|
3440
3646
|
|
|
3441
3647
|
/**
|
|
3442
|
-
*
|
|
3648
|
+
* The **`IDBVersionChangeEvent`** interface of the IndexedDB API indicates that the version of the database has changed, as the result of an IDBOpenDBRequest.upgradeneeded_event event handler function.
|
|
3443
3649
|
*
|
|
3444
3650
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent)
|
|
3445
3651
|
*/
|
|
@@ -3455,7 +3661,11 @@ declare var IDBVersionChangeEvent: {
|
|
|
3455
3661
|
new(type: string, eventInitDict?: IDBVersionChangeEventInit): IDBVersionChangeEvent;
|
|
3456
3662
|
};
|
|
3457
3663
|
|
|
3458
|
-
/**
|
|
3664
|
+
/**
|
|
3665
|
+
* The **`ImageBitmap`** interface represents a bitmap image which can be drawn to a canvas without undue latency.
|
|
3666
|
+
*
|
|
3667
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmap)
|
|
3668
|
+
*/
|
|
3459
3669
|
interface ImageBitmap {
|
|
3460
3670
|
/**
|
|
3461
3671
|
* Returns the intrinsic height of the image, in CSS pixels.
|
|
@@ -3482,7 +3692,11 @@ declare var ImageBitmap: {
|
|
|
3482
3692
|
new(): ImageBitmap;
|
|
3483
3693
|
};
|
|
3484
3694
|
|
|
3485
|
-
/**
|
|
3695
|
+
/**
|
|
3696
|
+
* The **`ImageBitmapRenderingContext`** interface is a canvas rendering context that provides the functionality to replace the canvas's contents with the given ImageBitmap.
|
|
3697
|
+
*
|
|
3698
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext)
|
|
3699
|
+
*/
|
|
3486
3700
|
interface ImageBitmapRenderingContext {
|
|
3487
3701
|
/**
|
|
3488
3702
|
* Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.
|
|
@@ -3498,7 +3712,7 @@ declare var ImageBitmapRenderingContext: {
|
|
|
3498
3712
|
};
|
|
3499
3713
|
|
|
3500
3714
|
/**
|
|
3501
|
-
* The underlying pixel data of an area of a
|
|
3715
|
+
* The **`ImageData`** interface represents the underlying pixel data of an area of a canvas element.
|
|
3502
3716
|
*
|
|
3503
3717
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData)
|
|
3504
3718
|
*/
|
|
@@ -3510,7 +3724,7 @@ interface ImageData {
|
|
|
3510
3724
|
*
|
|
3511
3725
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)
|
|
3512
3726
|
*/
|
|
3513
|
-
readonly data:
|
|
3727
|
+
readonly data: ImageDataArray;
|
|
3514
3728
|
/**
|
|
3515
3729
|
* Returns the actual dimensions of the data in the ImageData object, in pixels.
|
|
3516
3730
|
*
|
|
@@ -3528,7 +3742,7 @@ interface ImageData {
|
|
|
3528
3742
|
declare var ImageData: {
|
|
3529
3743
|
prototype: ImageData;
|
|
3530
3744
|
new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;
|
|
3531
|
-
new(data:
|
|
3745
|
+
new(data: ImageDataArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
|
|
3532
3746
|
};
|
|
3533
3747
|
|
|
3534
3748
|
interface ImportMeta {
|
|
@@ -3536,12 +3750,17 @@ interface ImportMeta {
|
|
|
3536
3750
|
resolve(specifier: string): string;
|
|
3537
3751
|
}
|
|
3538
3752
|
|
|
3539
|
-
/**
|
|
3753
|
+
/**
|
|
3754
|
+
* The **`KHR_parallel_shader_compile`** extension is part of the WebGL API and enables a non-blocking poll operation, so that compile/link status availability (`COMPLETION_STATUS_KHR`) can be queried without potentially incurring stalls.
|
|
3755
|
+
*
|
|
3756
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/KHR_parallel_shader_compile)
|
|
3757
|
+
*/
|
|
3540
3758
|
interface KHR_parallel_shader_compile {
|
|
3541
3759
|
readonly COMPLETION_STATUS_KHR: 0x91B1;
|
|
3542
3760
|
}
|
|
3543
3761
|
|
|
3544
3762
|
/**
|
|
3763
|
+
* The **`Lock`** interface of the Web Locks API provides the name and mode of a lock.
|
|
3545
3764
|
* Available only in secure contexts.
|
|
3546
3765
|
*
|
|
3547
3766
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Lock)
|
|
@@ -3559,6 +3778,7 @@ declare var Lock: {
|
|
|
3559
3778
|
};
|
|
3560
3779
|
|
|
3561
3780
|
/**
|
|
3781
|
+
* The **`LockManager`** interface of the Web Locks API provides methods for requesting a new Lock object and querying for an existing `Lock` object.
|
|
3562
3782
|
* Available only in secure contexts.
|
|
3563
3783
|
*
|
|
3564
3784
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/LockManager)
|
|
@@ -3576,7 +3796,11 @@ declare var LockManager: {
|
|
|
3576
3796
|
new(): LockManager;
|
|
3577
3797
|
};
|
|
3578
3798
|
|
|
3579
|
-
/**
|
|
3799
|
+
/**
|
|
3800
|
+
* The **`MediaCapabilities`** interface of the Media Capabilities API provides information about the decoding abilities of the device, system and browser.
|
|
3801
|
+
*
|
|
3802
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaCapabilities)
|
|
3803
|
+
*/
|
|
3580
3804
|
interface MediaCapabilities {
|
|
3581
3805
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaCapabilities/decodingInfo) */
|
|
3582
3806
|
decodingInfo(configuration: MediaDecodingConfiguration): Promise<MediaCapabilitiesDecodingInfo>;
|
|
@@ -3590,7 +3814,7 @@ declare var MediaCapabilities: {
|
|
|
3590
3814
|
};
|
|
3591
3815
|
|
|
3592
3816
|
/**
|
|
3593
|
-
*
|
|
3817
|
+
* The **`MessageChannel`** interface of the Channel Messaging API allows us to create a new message channel and send data through it via its two MessagePort properties.
|
|
3594
3818
|
*
|
|
3595
3819
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel)
|
|
3596
3820
|
*/
|
|
@@ -3615,7 +3839,7 @@ declare var MessageChannel: {
|
|
|
3615
3839
|
};
|
|
3616
3840
|
|
|
3617
3841
|
/**
|
|
3618
|
-
*
|
|
3842
|
+
* The **`MessageEvent`** interface represents a message received by a target object.
|
|
3619
3843
|
*
|
|
3620
3844
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent)
|
|
3621
3845
|
*/
|
|
@@ -3681,7 +3905,7 @@ interface MessagePortEventMap extends MessageEventTargetEventMap {
|
|
|
3681
3905
|
}
|
|
3682
3906
|
|
|
3683
3907
|
/**
|
|
3684
|
-
*
|
|
3908
|
+
* The **`MessagePort`** interface of the Channel Messaging API represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other.
|
|
3685
3909
|
*
|
|
3686
3910
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort)
|
|
3687
3911
|
*/
|
|
@@ -3719,6 +3943,7 @@ declare var MessagePort: {
|
|
|
3719
3943
|
};
|
|
3720
3944
|
|
|
3721
3945
|
/**
|
|
3946
|
+
* The **`NavigationPreloadManager`** interface of the Service Worker API provides methods for managing the preloading of resources in parallel with service worker bootup.
|
|
3722
3947
|
* Available only in secure contexts.
|
|
3723
3948
|
*
|
|
3724
3949
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPreloadManager)
|
|
@@ -3819,7 +4044,7 @@ interface NotificationEventMap {
|
|
|
3819
4044
|
}
|
|
3820
4045
|
|
|
3821
4046
|
/**
|
|
3822
|
-
*
|
|
4047
|
+
* The **`Notification`** interface of the Notifications API is used to configure and display desktop notifications to the user.
|
|
3823
4048
|
*
|
|
3824
4049
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
|
|
3825
4050
|
*/
|
|
@@ -3867,7 +4092,11 @@ declare var Notification: {
|
|
|
3867
4092
|
readonly permission: NotificationPermission;
|
|
3868
4093
|
};
|
|
3869
4094
|
|
|
3870
|
-
/**
|
|
4095
|
+
/**
|
|
4096
|
+
* The **`OES_draw_buffers_indexed`** extension is part of the WebGL API and enables the use of different blend options when writing to multiple color buffers simultaneously.
|
|
4097
|
+
*
|
|
4098
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed)
|
|
4099
|
+
*/
|
|
3871
4100
|
interface OES_draw_buffers_indexed {
|
|
3872
4101
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed/blendEquationSeparateiOES) */
|
|
3873
4102
|
blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void;
|
|
@@ -3886,19 +4115,23 @@ interface OES_draw_buffers_indexed {
|
|
|
3886
4115
|
}
|
|
3887
4116
|
|
|
3888
4117
|
/**
|
|
3889
|
-
* The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements().
|
|
4118
|
+
* The **`OES_element_index_uint`** extension is part of the WebGL API and adds support for `gl.UNSIGNED_INT` types to WebGLRenderingContext.drawElements().
|
|
3890
4119
|
*
|
|
3891
4120
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_element_index_uint)
|
|
3892
4121
|
*/
|
|
3893
4122
|
interface OES_element_index_uint {
|
|
3894
4123
|
}
|
|
3895
4124
|
|
|
3896
|
-
/**
|
|
4125
|
+
/**
|
|
4126
|
+
* The `OES_fbo_render_mipmap` extension is part of the WebGL API and makes it possible to attach any level of a texture to a framebuffer object.
|
|
4127
|
+
*
|
|
4128
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_fbo_render_mipmap)
|
|
4129
|
+
*/
|
|
3897
4130
|
interface OES_fbo_render_mipmap {
|
|
3898
4131
|
}
|
|
3899
4132
|
|
|
3900
4133
|
/**
|
|
3901
|
-
* The OES_standard_derivatives extension is part of the WebGL API and adds the GLSL derivative functions dFdx
|
|
4134
|
+
* The **`OES_standard_derivatives`** extension is part of the WebGL API and adds the GLSL derivative functions `dFdx`, `dFdy`, and `fwidth`.
|
|
3902
4135
|
*
|
|
3903
4136
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_standard_derivatives)
|
|
3904
4137
|
*/
|
|
@@ -3907,7 +4140,7 @@ interface OES_standard_derivatives {
|
|
|
3907
4140
|
}
|
|
3908
4141
|
|
|
3909
4142
|
/**
|
|
3910
|
-
* The OES_texture_float extension is part of the WebGL API and exposes floating-point pixel types for textures.
|
|
4143
|
+
* The **`OES_texture_float`** extension is part of the WebGL API and exposes floating-point pixel types for textures.
|
|
3911
4144
|
*
|
|
3912
4145
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_float)
|
|
3913
4146
|
*/
|
|
@@ -3915,7 +4148,7 @@ interface OES_texture_float {
|
|
|
3915
4148
|
}
|
|
3916
4149
|
|
|
3917
4150
|
/**
|
|
3918
|
-
* The OES_texture_float_linear extension is part of the WebGL API and allows linear filtering with floating-point pixel types for textures.
|
|
4151
|
+
* The **`OES_texture_float_linear`** extension is part of the WebGL API and allows linear filtering with floating-point pixel types for textures.
|
|
3919
4152
|
*
|
|
3920
4153
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_float_linear)
|
|
3921
4154
|
*/
|
|
@@ -3923,7 +4156,7 @@ interface OES_texture_float_linear {
|
|
|
3923
4156
|
}
|
|
3924
4157
|
|
|
3925
4158
|
/**
|
|
3926
|
-
* The OES_texture_half_float extension is part of the WebGL API and adds texture formats with 16- (aka half float) and 32-bit floating-point components.
|
|
4159
|
+
* The **`OES_texture_half_float`** extension is part of the WebGL API and adds texture formats with 16- (aka half float) and 32-bit floating-point components.
|
|
3927
4160
|
*
|
|
3928
4161
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_half_float)
|
|
3929
4162
|
*/
|
|
@@ -3932,14 +4165,18 @@ interface OES_texture_half_float {
|
|
|
3932
4165
|
}
|
|
3933
4166
|
|
|
3934
4167
|
/**
|
|
3935
|
-
* The OES_texture_half_float_linear extension is part of the WebGL API and allows linear filtering with half floating-point pixel types for textures.
|
|
4168
|
+
* The **`OES_texture_half_float_linear`** extension is part of the WebGL API and allows linear filtering with half floating-point pixel types for textures.
|
|
3936
4169
|
*
|
|
3937
4170
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_half_float_linear)
|
|
3938
4171
|
*/
|
|
3939
4172
|
interface OES_texture_half_float_linear {
|
|
3940
4173
|
}
|
|
3941
4174
|
|
|
3942
|
-
/**
|
|
4175
|
+
/**
|
|
4176
|
+
* The **OES_vertex_array_object** extension is part of the WebGL API and provides vertex array objects (VAOs) which encapsulate vertex array states.
|
|
4177
|
+
*
|
|
4178
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object)
|
|
4179
|
+
*/
|
|
3943
4180
|
interface OES_vertex_array_object {
|
|
3944
4181
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/bindVertexArrayOES) */
|
|
3945
4182
|
bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
|
|
@@ -3952,7 +4189,11 @@ interface OES_vertex_array_object {
|
|
|
3952
4189
|
readonly VERTEX_ARRAY_BINDING_OES: 0x85B5;
|
|
3953
4190
|
}
|
|
3954
4191
|
|
|
3955
|
-
/**
|
|
4192
|
+
/**
|
|
4193
|
+
* The `OVR_multiview2` extension is part of the WebGL API and adds support for rendering into multiple views simultaneously.
|
|
4194
|
+
*
|
|
4195
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OVR_multiview2)
|
|
4196
|
+
*/
|
|
3956
4197
|
interface OVR_multiview2 {
|
|
3957
4198
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OVR_multiview2/framebufferTextureMultiviewOVR) */
|
|
3958
4199
|
framebufferTextureMultiviewOVR(target: GLenum, attachment: GLenum, texture: WebGLTexture | null, level: GLint, baseViewIndex: GLint, numViews: GLsizei): void;
|
|
@@ -3967,7 +4208,11 @@ interface OffscreenCanvasEventMap {
|
|
|
3967
4208
|
"contextrestored": Event;
|
|
3968
4209
|
}
|
|
3969
4210
|
|
|
3970
|
-
/**
|
|
4211
|
+
/**
|
|
4212
|
+
* When using the canvas element or the Canvas API, rendering, animation, and user interaction usually happen on the main execution thread of a web application.
|
|
4213
|
+
*
|
|
4214
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas)
|
|
4215
|
+
*/
|
|
3971
4216
|
interface OffscreenCanvas extends EventTarget {
|
|
3972
4217
|
/**
|
|
3973
4218
|
* These attributes return the dimensions of the OffscreenCanvas object's bitmap.
|
|
@@ -4028,7 +4273,11 @@ declare var OffscreenCanvas: {
|
|
|
4028
4273
|
new(width: number, height: number): OffscreenCanvas;
|
|
4029
4274
|
};
|
|
4030
4275
|
|
|
4031
|
-
/**
|
|
4276
|
+
/**
|
|
4277
|
+
* The **`OffscreenCanvasRenderingContext2D`** interface is a CanvasRenderingContext2D rendering context for drawing to the bitmap of an `OffscreenCanvas` object.
|
|
4278
|
+
*
|
|
4279
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D)
|
|
4280
|
+
*/
|
|
4032
4281
|
interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {
|
|
4033
4282
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas) */
|
|
4034
4283
|
readonly canvas: OffscreenCanvas;
|
|
@@ -4040,7 +4289,7 @@ declare var OffscreenCanvasRenderingContext2D: {
|
|
|
4040
4289
|
};
|
|
4041
4290
|
|
|
4042
4291
|
/**
|
|
4043
|
-
*
|
|
4292
|
+
* The **`Path2D`** interface of the Canvas 2D API is used to declare a path that can then be used on a CanvasRenderingContext2D object.
|
|
4044
4293
|
*
|
|
4045
4294
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Path2D)
|
|
4046
4295
|
*/
|
|
@@ -4063,7 +4312,7 @@ interface PerformanceEventMap {
|
|
|
4063
4312
|
}
|
|
4064
4313
|
|
|
4065
4314
|
/**
|
|
4066
|
-
*
|
|
4315
|
+
* The **`Performance`** interface provides access to performance-related information for the current page.
|
|
4067
4316
|
*
|
|
4068
4317
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance)
|
|
4069
4318
|
*/
|
|
@@ -4106,7 +4355,7 @@ declare var Performance: {
|
|
|
4106
4355
|
};
|
|
4107
4356
|
|
|
4108
4357
|
/**
|
|
4109
|
-
*
|
|
4358
|
+
* The **`PerformanceEntry`** object encapsulates a single performance metric that is part of the browser's performance timeline.
|
|
4110
4359
|
*
|
|
4111
4360
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry)
|
|
4112
4361
|
*/
|
|
@@ -4129,7 +4378,7 @@ declare var PerformanceEntry: {
|
|
|
4129
4378
|
};
|
|
4130
4379
|
|
|
4131
4380
|
/**
|
|
4132
|
-
* PerformanceMark
|
|
4381
|
+
* **`PerformanceMark`** is an interface for PerformanceEntry objects with an PerformanceEntry.entryType of `'mark'`.
|
|
4133
4382
|
*
|
|
4134
4383
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMark)
|
|
4135
4384
|
*/
|
|
@@ -4144,7 +4393,7 @@ declare var PerformanceMark: {
|
|
|
4144
4393
|
};
|
|
4145
4394
|
|
|
4146
4395
|
/**
|
|
4147
|
-
* PerformanceMeasure is an
|
|
4396
|
+
* **`PerformanceMeasure`** is an _abstract_ interface for PerformanceEntry objects with an PerformanceEntry.entryType of `'measure'`.
|
|
4148
4397
|
*
|
|
4149
4398
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMeasure)
|
|
4150
4399
|
*/
|
|
@@ -4158,7 +4407,11 @@ declare var PerformanceMeasure: {
|
|
|
4158
4407
|
new(): PerformanceMeasure;
|
|
4159
4408
|
};
|
|
4160
4409
|
|
|
4161
|
-
/**
|
|
4410
|
+
/**
|
|
4411
|
+
* The **`PerformanceObserver`** interface is used to observe performance measurement events and be notified of new PerformanceEntry as they are recorded in the browser's _performance timeline_.
|
|
4412
|
+
*
|
|
4413
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver)
|
|
4414
|
+
*/
|
|
4162
4415
|
interface PerformanceObserver {
|
|
4163
4416
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver/disconnect) */
|
|
4164
4417
|
disconnect(): void;
|
|
@@ -4175,7 +4428,11 @@ declare var PerformanceObserver: {
|
|
|
4175
4428
|
readonly supportedEntryTypes: ReadonlyArray<string>;
|
|
4176
4429
|
};
|
|
4177
4430
|
|
|
4178
|
-
/**
|
|
4431
|
+
/**
|
|
4432
|
+
* The **`PerformanceObserverEntryList`** interface is a list of PerformanceEntry that were explicitly observed via the PerformanceObserver.observe method.
|
|
4433
|
+
*
|
|
4434
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserverEntryList)
|
|
4435
|
+
*/
|
|
4179
4436
|
interface PerformanceObserverEntryList {
|
|
4180
4437
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserverEntryList/getEntries) */
|
|
4181
4438
|
getEntries(): PerformanceEntryList;
|
|
@@ -4191,7 +4448,7 @@ declare var PerformanceObserverEntryList: {
|
|
|
4191
4448
|
};
|
|
4192
4449
|
|
|
4193
4450
|
/**
|
|
4194
|
-
*
|
|
4451
|
+
* The **`PerformanceResourceTiming`** interface enables retrieval and analysis of detailed network timing data regarding the loading of an application's resources.
|
|
4195
4452
|
*
|
|
4196
4453
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming)
|
|
4197
4454
|
*/
|
|
@@ -4243,7 +4500,11 @@ declare var PerformanceResourceTiming: {
|
|
|
4243
4500
|
new(): PerformanceResourceTiming;
|
|
4244
4501
|
};
|
|
4245
4502
|
|
|
4246
|
-
/**
|
|
4503
|
+
/**
|
|
4504
|
+
* The **`PerformanceServerTiming`** interface surfaces server metrics that are sent with the response in the Server-Timing HTTP header.
|
|
4505
|
+
*
|
|
4506
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming)
|
|
4507
|
+
*/
|
|
4247
4508
|
interface PerformanceServerTiming {
|
|
4248
4509
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming/description) */
|
|
4249
4510
|
readonly description: string;
|
|
@@ -4264,7 +4525,11 @@ interface PermissionStatusEventMap {
|
|
|
4264
4525
|
"change": Event;
|
|
4265
4526
|
}
|
|
4266
4527
|
|
|
4267
|
-
/**
|
|
4528
|
+
/**
|
|
4529
|
+
* The **`PermissionStatus`** interface of the Permissions API provides the state of an object and an event handler for monitoring changes to said state.
|
|
4530
|
+
*
|
|
4531
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus)
|
|
4532
|
+
*/
|
|
4268
4533
|
interface PermissionStatus extends EventTarget {
|
|
4269
4534
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/name) */
|
|
4270
4535
|
readonly name: string;
|
|
@@ -4283,7 +4548,11 @@ declare var PermissionStatus: {
|
|
|
4283
4548
|
new(): PermissionStatus;
|
|
4284
4549
|
};
|
|
4285
4550
|
|
|
4286
|
-
/**
|
|
4551
|
+
/**
|
|
4552
|
+
* The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions - Permissions.query - : Returns the user permission status for a given API.
|
|
4553
|
+
*
|
|
4554
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions)
|
|
4555
|
+
*/
|
|
4287
4556
|
interface Permissions {
|
|
4288
4557
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions/query) */
|
|
4289
4558
|
query(permissionDesc: PermissionDescriptor): Promise<PermissionStatus>;
|
|
@@ -4295,7 +4564,7 @@ declare var Permissions: {
|
|
|
4295
4564
|
};
|
|
4296
4565
|
|
|
4297
4566
|
/**
|
|
4298
|
-
*
|
|
4567
|
+
* The **`ProgressEvent`** interface represents events measuring progress of an underlying process, like an HTTP request (for an `XMLHttpRequest`, or the loading of the underlying resource of an img, audio, video, style or link).
|
|
4299
4568
|
*
|
|
4300
4569
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent)
|
|
4301
4570
|
*/
|
|
@@ -4314,7 +4583,11 @@ declare var ProgressEvent: {
|
|
|
4314
4583
|
new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent;
|
|
4315
4584
|
};
|
|
4316
4585
|
|
|
4317
|
-
/**
|
|
4586
|
+
/**
|
|
4587
|
+
* The **`PromiseRejectionEvent`** interface represents events which are sent to the global script context when JavaScript Promises are rejected.
|
|
4588
|
+
*
|
|
4589
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent)
|
|
4590
|
+
*/
|
|
4318
4591
|
interface PromiseRejectionEvent extends Event {
|
|
4319
4592
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise) */
|
|
4320
4593
|
readonly promise: Promise<any>;
|
|
@@ -4328,7 +4601,7 @@ declare var PromiseRejectionEvent: {
|
|
|
4328
4601
|
};
|
|
4329
4602
|
|
|
4330
4603
|
/**
|
|
4331
|
-
*
|
|
4604
|
+
* The **`PushManager`** interface of the Push API provides a way to receive notifications from third-party servers as well as request URLs for push notifications.
|
|
4332
4605
|
* Available only in secure contexts.
|
|
4333
4606
|
*
|
|
4334
4607
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager)
|
|
@@ -4350,7 +4623,7 @@ declare var PushManager: {
|
|
|
4350
4623
|
};
|
|
4351
4624
|
|
|
4352
4625
|
/**
|
|
4353
|
-
*
|
|
4626
|
+
* The `PushSubscription` interface of the Push API provides a subscription's URL endpoint along with the public key and secrets that should be used for encrypting push messages to this subscription.
|
|
4354
4627
|
* Available only in secure contexts.
|
|
4355
4628
|
*
|
|
4356
4629
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription)
|
|
@@ -4376,6 +4649,7 @@ declare var PushSubscription: {
|
|
|
4376
4649
|
};
|
|
4377
4650
|
|
|
4378
4651
|
/**
|
|
4652
|
+
* The **`PushSubscriptionOptions`** interface of the Push API represents the options associated with a push subscription.
|
|
4379
4653
|
* Available only in secure contexts.
|
|
4380
4654
|
*
|
|
4381
4655
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscriptionOptions)
|
|
@@ -4392,7 +4666,11 @@ declare var PushSubscriptionOptions: {
|
|
|
4392
4666
|
new(): PushSubscriptionOptions;
|
|
4393
4667
|
};
|
|
4394
4668
|
|
|
4395
|
-
/**
|
|
4669
|
+
/**
|
|
4670
|
+
* The **`ReadableByteStreamController`** interface of the Streams API represents a controller for a readable byte stream.
|
|
4671
|
+
*
|
|
4672
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController)
|
|
4673
|
+
*/
|
|
4396
4674
|
interface ReadableByteStreamController {
|
|
4397
4675
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/byobRequest) */
|
|
4398
4676
|
readonly byobRequest: ReadableStreamBYOBRequest | null;
|
|
@@ -4412,7 +4690,7 @@ declare var ReadableByteStreamController: {
|
|
|
4412
4690
|
};
|
|
4413
4691
|
|
|
4414
4692
|
/**
|
|
4415
|
-
*
|
|
4693
|
+
* The `ReadableStream` interface of the Streams API represents a readable stream of byte data.
|
|
4416
4694
|
*
|
|
4417
4695
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream)
|
|
4418
4696
|
*/
|
|
@@ -4440,7 +4718,11 @@ declare var ReadableStream: {
|
|
|
4440
4718
|
new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;
|
|
4441
4719
|
};
|
|
4442
4720
|
|
|
4443
|
-
/**
|
|
4721
|
+
/**
|
|
4722
|
+
* The `ReadableStreamBYOBReader` interface of the Streams API defines a reader for a ReadableStream that supports zero-copy reading from an underlying byte source.
|
|
4723
|
+
*
|
|
4724
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader)
|
|
4725
|
+
*/
|
|
4444
4726
|
interface ReadableStreamBYOBReader extends ReadableStreamGenericReader {
|
|
4445
4727
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/read) */
|
|
4446
4728
|
read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>;
|
|
@@ -4453,7 +4735,11 @@ declare var ReadableStreamBYOBReader: {
|
|
|
4453
4735
|
new(stream: ReadableStream<Uint8Array>): ReadableStreamBYOBReader;
|
|
4454
4736
|
};
|
|
4455
4737
|
|
|
4456
|
-
/**
|
|
4738
|
+
/**
|
|
4739
|
+
* The **`ReadableStreamBYOBRequest`** interface of the Streams API represents a 'pull request' for data from an underlying source that will made as a zero-copy transfer to a consumer (bypassing the stream's internal queues).
|
|
4740
|
+
*
|
|
4741
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest)
|
|
4742
|
+
*/
|
|
4457
4743
|
interface ReadableStreamBYOBRequest {
|
|
4458
4744
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view) */
|
|
4459
4745
|
readonly view: ArrayBufferView | null;
|
|
@@ -4468,7 +4754,11 @@ declare var ReadableStreamBYOBRequest: {
|
|
|
4468
4754
|
new(): ReadableStreamBYOBRequest;
|
|
4469
4755
|
};
|
|
4470
4756
|
|
|
4471
|
-
/**
|
|
4757
|
+
/**
|
|
4758
|
+
* The **`ReadableStreamDefaultController`** interface of the Streams API represents a controller allowing control of a ReadableStream's state and internal queue.
|
|
4759
|
+
*
|
|
4760
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController)
|
|
4761
|
+
*/
|
|
4472
4762
|
interface ReadableStreamDefaultController<R = any> {
|
|
4473
4763
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize) */
|
|
4474
4764
|
readonly desiredSize: number | null;
|
|
@@ -4485,7 +4775,11 @@ declare var ReadableStreamDefaultController: {
|
|
|
4485
4775
|
new(): ReadableStreamDefaultController;
|
|
4486
4776
|
};
|
|
4487
4777
|
|
|
4488
|
-
/**
|
|
4778
|
+
/**
|
|
4779
|
+
* The **`ReadableStreamDefaultReader`** interface of the Streams API represents a default reader that can be used to read stream data supplied from a network (such as a fetch request).
|
|
4780
|
+
*
|
|
4781
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader)
|
|
4782
|
+
*/
|
|
4489
4783
|
interface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader {
|
|
4490
4784
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader/read) */
|
|
4491
4785
|
read(): Promise<ReadableStreamReadResult<R>>;
|
|
@@ -4505,7 +4799,11 @@ interface ReadableStreamGenericReader {
|
|
|
4505
4799
|
cancel(reason?: any): Promise<void>;
|
|
4506
4800
|
}
|
|
4507
4801
|
|
|
4508
|
-
/**
|
|
4802
|
+
/**
|
|
4803
|
+
* The `Report` interface of the Reporting API represents a single report.
|
|
4804
|
+
*
|
|
4805
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report)
|
|
4806
|
+
*/
|
|
4509
4807
|
interface Report {
|
|
4510
4808
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body) */
|
|
4511
4809
|
readonly body: ReportBody | null;
|
|
@@ -4521,7 +4819,11 @@ declare var Report: {
|
|
|
4521
4819
|
new(): Report;
|
|
4522
4820
|
};
|
|
4523
4821
|
|
|
4524
|
-
/**
|
|
4822
|
+
/**
|
|
4823
|
+
* The **`ReportBody`** interface of the Reporting API represents the body of a report.
|
|
4824
|
+
*
|
|
4825
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody)
|
|
4826
|
+
*/
|
|
4525
4827
|
interface ReportBody {
|
|
4526
4828
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) */
|
|
4527
4829
|
toJSON(): any;
|
|
@@ -4532,7 +4834,11 @@ declare var ReportBody: {
|
|
|
4532
4834
|
new(): ReportBody;
|
|
4533
4835
|
};
|
|
4534
4836
|
|
|
4535
|
-
/**
|
|
4837
|
+
/**
|
|
4838
|
+
* The `ReportingObserver` interface of the Reporting API allows you to collect and access reports.
|
|
4839
|
+
*
|
|
4840
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver)
|
|
4841
|
+
*/
|
|
4536
4842
|
interface ReportingObserver {
|
|
4537
4843
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/disconnect) */
|
|
4538
4844
|
disconnect(): void;
|
|
@@ -4548,7 +4854,7 @@ declare var ReportingObserver: {
|
|
|
4548
4854
|
};
|
|
4549
4855
|
|
|
4550
4856
|
/**
|
|
4551
|
-
*
|
|
4857
|
+
* The **`Request`** interface of the Fetch API represents a resource request.
|
|
4552
4858
|
*
|
|
4553
4859
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request)
|
|
4554
4860
|
*/
|
|
@@ -4641,7 +4947,7 @@ declare var Request: {
|
|
|
4641
4947
|
};
|
|
4642
4948
|
|
|
4643
4949
|
/**
|
|
4644
|
-
*
|
|
4950
|
+
* The **`Response`** interface of the Fetch API represents the response to a request.
|
|
4645
4951
|
*
|
|
4646
4952
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
4647
4953
|
*/
|
|
@@ -4676,7 +4982,7 @@ declare var Response: {
|
|
|
4676
4982
|
};
|
|
4677
4983
|
|
|
4678
4984
|
/**
|
|
4679
|
-
*
|
|
4985
|
+
* 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.
|
|
4680
4986
|
*
|
|
4681
4987
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent)
|
|
4682
4988
|
*/
|
|
@@ -4717,7 +5023,7 @@ interface ServiceWorkerEventMap extends AbstractWorkerEventMap {
|
|
|
4717
5023
|
}
|
|
4718
5024
|
|
|
4719
5025
|
/**
|
|
4720
|
-
*
|
|
5026
|
+
* The **`ServiceWorker`** interface of the Service Worker API provides a reference to a service worker.
|
|
4721
5027
|
* Available only in secure contexts.
|
|
4722
5028
|
*
|
|
4723
5029
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker)
|
|
@@ -4750,7 +5056,7 @@ interface ServiceWorkerContainerEventMap {
|
|
|
4750
5056
|
}
|
|
4751
5057
|
|
|
4752
5058
|
/**
|
|
4753
|
-
* The
|
|
5059
|
+
* The **`ServiceWorkerContainer`** interface of the Service Worker API provides an object representing the service worker as an overall unit in the network ecosystem, including facilities to register, unregister and update service workers, and access the state of service workers and their registrations.
|
|
4754
5060
|
* Available only in secure contexts.
|
|
4755
5061
|
*
|
|
4756
5062
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer)
|
|
@@ -4790,7 +5096,7 @@ interface ServiceWorkerRegistrationEventMap {
|
|
|
4790
5096
|
}
|
|
4791
5097
|
|
|
4792
5098
|
/**
|
|
4793
|
-
*
|
|
5099
|
+
* The **`ServiceWorkerRegistration`** interface of the Service Worker API represents the service worker registration.
|
|
4794
5100
|
* Available only in secure contexts.
|
|
4795
5101
|
*
|
|
4796
5102
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration)
|
|
@@ -4835,7 +5141,11 @@ interface SharedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
|
|
4835
5141
|
"connect": MessageEvent;
|
|
4836
5142
|
}
|
|
4837
5143
|
|
|
4838
|
-
/**
|
|
5144
|
+
/**
|
|
5145
|
+
* The **`SharedWorkerGlobalScope`** object (the SharedWorker global scope) is accessible through the window.self keyword.
|
|
5146
|
+
*
|
|
5147
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorkerGlobalScope)
|
|
5148
|
+
*/
|
|
4839
5149
|
interface SharedWorkerGlobalScope extends WorkerGlobalScope {
|
|
4840
5150
|
/**
|
|
4841
5151
|
* Returns sharedWorkerGlobal's name, i.e. the value given to the SharedWorker constructor. Multiple SharedWorker objects can correspond to the same shared worker (and SharedWorkerGlobalScope), by reusing the same name.
|
|
@@ -4863,6 +5173,7 @@ declare var SharedWorkerGlobalScope: {
|
|
|
4863
5173
|
};
|
|
4864
5174
|
|
|
4865
5175
|
/**
|
|
5176
|
+
* The **`StorageManager`** interface of the Storage API provides an interface for managing persistence permissions and estimating available storage.
|
|
4866
5177
|
* Available only in secure contexts.
|
|
4867
5178
|
*
|
|
4868
5179
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageManager)
|
|
@@ -4881,7 +5192,11 @@ declare var StorageManager: {
|
|
|
4881
5192
|
new(): StorageManager;
|
|
4882
5193
|
};
|
|
4883
5194
|
|
|
4884
|
-
/**
|
|
5195
|
+
/**
|
|
5196
|
+
* The **`StylePropertyMapReadOnly`** interface of the CSS Typed Object Model API provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
|
|
5197
|
+
*
|
|
5198
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly)
|
|
5199
|
+
*/
|
|
4885
5200
|
interface StylePropertyMapReadOnly {
|
|
4886
5201
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/size) */
|
|
4887
5202
|
readonly size: number;
|
|
@@ -4900,7 +5215,7 @@ declare var StylePropertyMapReadOnly: {
|
|
|
4900
5215
|
};
|
|
4901
5216
|
|
|
4902
5217
|
/**
|
|
4903
|
-
*
|
|
5218
|
+
* The **`SubtleCrypto`** interface of the Web Crypto API provides a number of low-level cryptographic functions.
|
|
4904
5219
|
* Available only in secure contexts.
|
|
4905
5220
|
*
|
|
4906
5221
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto)
|
|
@@ -4944,7 +5259,7 @@ declare var SubtleCrypto: {
|
|
|
4944
5259
|
};
|
|
4945
5260
|
|
|
4946
5261
|
/**
|
|
4947
|
-
*
|
|
5262
|
+
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, `KOI8-R`, `GBK`, etc.
|
|
4948
5263
|
*
|
|
4949
5264
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)
|
|
4950
5265
|
*/
|
|
@@ -4993,7 +5308,11 @@ interface TextDecoderCommon {
|
|
|
4993
5308
|
readonly ignoreBOM: boolean;
|
|
4994
5309
|
}
|
|
4995
5310
|
|
|
4996
|
-
/**
|
|
5311
|
+
/**
|
|
5312
|
+
* The **`TextDecoderStream`** interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings.
|
|
5313
|
+
*
|
|
5314
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
|
5315
|
+
*/
|
|
4997
5316
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
4998
5317
|
readonly readable: ReadableStream<string>;
|
|
4999
5318
|
readonly writable: WritableStream<BufferSource>;
|
|
@@ -5005,7 +5324,7 @@ declare var TextDecoderStream: {
|
|
|
5005
5324
|
};
|
|
5006
5325
|
|
|
5007
5326
|
/**
|
|
5008
|
-
* TextEncoder takes a stream of code points as input and emits a stream of
|
|
5327
|
+
* The **`TextEncoder`** interface takes a stream of code points as input and emits a stream of UTF-8 bytes.
|
|
5009
5328
|
*
|
|
5010
5329
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)
|
|
5011
5330
|
*/
|
|
@@ -5038,7 +5357,11 @@ interface TextEncoderCommon {
|
|
|
5038
5357
|
readonly encoding: string;
|
|
5039
5358
|
}
|
|
5040
5359
|
|
|
5041
|
-
/**
|
|
5360
|
+
/**
|
|
5361
|
+
* The **`TextEncoderStream`** interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding.
|
|
5362
|
+
*
|
|
5363
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
|
5364
|
+
*/
|
|
5042
5365
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
5043
5366
|
readonly readable: ReadableStream<Uint8Array>;
|
|
5044
5367
|
readonly writable: WritableStream<string>;
|
|
@@ -5050,7 +5373,7 @@ declare var TextEncoderStream: {
|
|
|
5050
5373
|
};
|
|
5051
5374
|
|
|
5052
5375
|
/**
|
|
5053
|
-
* The dimensions of a piece of text in the canvas
|
|
5376
|
+
* The **`TextMetrics`** interface represents the dimensions of a piece of text in the canvas; a `TextMetrics` instance can be retrieved using the CanvasRenderingContext2D.measureText() method.
|
|
5054
5377
|
*
|
|
5055
5378
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics)
|
|
5056
5379
|
*/
|
|
@@ -5134,7 +5457,11 @@ declare var TextMetrics: {
|
|
|
5134
5457
|
new(): TextMetrics;
|
|
5135
5458
|
};
|
|
5136
5459
|
|
|
5137
|
-
/**
|
|
5460
|
+
/**
|
|
5461
|
+
* The **`TransformStream`** interface of the Streams API represents a concrete implementation of the pipe chain _transform stream_ concept.
|
|
5462
|
+
*
|
|
5463
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream)
|
|
5464
|
+
*/
|
|
5138
5465
|
interface TransformStream<I = any, O = any> {
|
|
5139
5466
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable) */
|
|
5140
5467
|
readonly readable: ReadableStream<O>;
|
|
@@ -5147,7 +5474,11 @@ declare var TransformStream: {
|
|
|
5147
5474
|
new<I = any, O = any>(transformer?: Transformer<I, O>, writableStrategy?: QueuingStrategy<I>, readableStrategy?: QueuingStrategy<O>): TransformStream<I, O>;
|
|
5148
5475
|
};
|
|
5149
5476
|
|
|
5150
|
-
/**
|
|
5477
|
+
/**
|
|
5478
|
+
* The **`TransformStreamDefaultController`** interface of the Streams API provides methods to manipulate the associated ReadableStream and WritableStream.
|
|
5479
|
+
*
|
|
5480
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController)
|
|
5481
|
+
*/
|
|
5151
5482
|
interface TransformStreamDefaultController<O = any> {
|
|
5152
5483
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize) */
|
|
5153
5484
|
readonly desiredSize: number | null;
|
|
@@ -5165,7 +5496,7 @@ declare var TransformStreamDefaultController: {
|
|
|
5165
5496
|
};
|
|
5166
5497
|
|
|
5167
5498
|
/**
|
|
5168
|
-
* The URL
|
|
5499
|
+
* The **`URL`** interface is used to parse, construct, normalize, and encode URL.
|
|
5169
5500
|
*
|
|
5170
5501
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL)
|
|
5171
5502
|
*/
|
|
@@ -5212,7 +5543,11 @@ declare var URL: {
|
|
|
5212
5543
|
revokeObjectURL(url: string): void;
|
|
5213
5544
|
};
|
|
5214
5545
|
|
|
5215
|
-
/**
|
|
5546
|
+
/**
|
|
5547
|
+
* The **`URLSearchParams`** interface defines utility methods to work with the query string of a URL.
|
|
5548
|
+
*
|
|
5549
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams)
|
|
5550
|
+
*/
|
|
5216
5551
|
interface URLSearchParams {
|
|
5217
5552
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/size) */
|
|
5218
5553
|
readonly size: number;
|
|
@@ -5264,14 +5599,22 @@ declare var URLSearchParams: {
|
|
|
5264
5599
|
new(init?: string[][] | Record<string, string> | string | URLSearchParams): URLSearchParams;
|
|
5265
5600
|
};
|
|
5266
5601
|
|
|
5267
|
-
/**
|
|
5602
|
+
/**
|
|
5603
|
+
* The **`WEBGL_color_buffer_float`** extension is part of the WebGL API and adds the ability to render to 32-bit floating-point color buffers.
|
|
5604
|
+
*
|
|
5605
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_color_buffer_float)
|
|
5606
|
+
*/
|
|
5268
5607
|
interface WEBGL_color_buffer_float {
|
|
5269
5608
|
readonly RGBA32F_EXT: 0x8814;
|
|
5270
5609
|
readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: 0x8211;
|
|
5271
5610
|
readonly UNSIGNED_NORMALIZED_EXT: 0x8C17;
|
|
5272
5611
|
}
|
|
5273
5612
|
|
|
5274
|
-
/**
|
|
5613
|
+
/**
|
|
5614
|
+
* The **`WEBGL_compressed_texture_astc`** extension is part of the WebGL API and exposes Adaptive Scalable Texture Compression (ASTC) compressed texture formats to WebGL.
|
|
5615
|
+
*
|
|
5616
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_astc)
|
|
5617
|
+
*/
|
|
5275
5618
|
interface WEBGL_compressed_texture_astc {
|
|
5276
5619
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_astc/getSupportedProfiles) */
|
|
5277
5620
|
getSupportedProfiles(): string[];
|
|
@@ -5305,7 +5648,11 @@ interface WEBGL_compressed_texture_astc {
|
|
|
5305
5648
|
readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: 0x93DD;
|
|
5306
5649
|
}
|
|
5307
5650
|
|
|
5308
|
-
/**
|
|
5651
|
+
/**
|
|
5652
|
+
* The **`WEBGL_compressed_texture_etc`** extension is part of the WebGL API and exposes 10 ETC/EAC compressed texture formats.
|
|
5653
|
+
*
|
|
5654
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_etc)
|
|
5655
|
+
*/
|
|
5309
5656
|
interface WEBGL_compressed_texture_etc {
|
|
5310
5657
|
readonly COMPRESSED_R11_EAC: 0x9270;
|
|
5311
5658
|
readonly COMPRESSED_SIGNED_R11_EAC: 0x9271;
|
|
@@ -5319,12 +5666,20 @@ interface WEBGL_compressed_texture_etc {
|
|
|
5319
5666
|
readonly COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: 0x9279;
|
|
5320
5667
|
}
|
|
5321
5668
|
|
|
5322
|
-
/**
|
|
5669
|
+
/**
|
|
5670
|
+
* The **`WEBGL_compressed_texture_etc1`** extension is part of the WebGL API and exposes the ETC1 compressed texture format.
|
|
5671
|
+
*
|
|
5672
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_etc1)
|
|
5673
|
+
*/
|
|
5323
5674
|
interface WEBGL_compressed_texture_etc1 {
|
|
5324
5675
|
readonly COMPRESSED_RGB_ETC1_WEBGL: 0x8D64;
|
|
5325
5676
|
}
|
|
5326
5677
|
|
|
5327
|
-
/**
|
|
5678
|
+
/**
|
|
5679
|
+
* The **`WEBGL_compressed_texture_pvrtc`** extension is part of the WebGL API and exposes four PVRTC compressed texture formats.
|
|
5680
|
+
*
|
|
5681
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_pvrtc)
|
|
5682
|
+
*/
|
|
5328
5683
|
interface WEBGL_compressed_texture_pvrtc {
|
|
5329
5684
|
readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: 0x8C00;
|
|
5330
5685
|
readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: 0x8C01;
|
|
@@ -5333,7 +5688,7 @@ interface WEBGL_compressed_texture_pvrtc {
|
|
|
5333
5688
|
}
|
|
5334
5689
|
|
|
5335
5690
|
/**
|
|
5336
|
-
* The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats.
|
|
5691
|
+
* The **`WEBGL_compressed_texture_s3tc`** extension is part of the WebGL API and exposes four S3TC compressed texture formats.
|
|
5337
5692
|
*
|
|
5338
5693
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_s3tc)
|
|
5339
5694
|
*/
|
|
@@ -5344,7 +5699,11 @@ interface WEBGL_compressed_texture_s3tc {
|
|
|
5344
5699
|
readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: 0x83F3;
|
|
5345
5700
|
}
|
|
5346
5701
|
|
|
5347
|
-
/**
|
|
5702
|
+
/**
|
|
5703
|
+
* The **`WEBGL_compressed_texture_s3tc_srgb`** extension is part of the WebGL API and exposes four S3TC compressed texture formats for the sRGB colorspace.
|
|
5704
|
+
*
|
|
5705
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_s3tc_srgb)
|
|
5706
|
+
*/
|
|
5348
5707
|
interface WEBGL_compressed_texture_s3tc_srgb {
|
|
5349
5708
|
readonly COMPRESSED_SRGB_S3TC_DXT1_EXT: 0x8C4C;
|
|
5350
5709
|
readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: 0x8C4D;
|
|
@@ -5353,7 +5712,7 @@ interface WEBGL_compressed_texture_s3tc_srgb {
|
|
|
5353
5712
|
}
|
|
5354
5713
|
|
|
5355
5714
|
/**
|
|
5356
|
-
* The WEBGL_debug_renderer_info extension is part of the WebGL API and exposes two constants with information about the graphics driver for debugging purposes.
|
|
5715
|
+
* The **`WEBGL_debug_renderer_info`** extension is part of the WebGL API and exposes two constants with information about the graphics driver for debugging purposes.
|
|
5357
5716
|
*
|
|
5358
5717
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_debug_renderer_info)
|
|
5359
5718
|
*/
|
|
@@ -5362,14 +5721,18 @@ interface WEBGL_debug_renderer_info {
|
|
|
5362
5721
|
readonly UNMASKED_RENDERER_WEBGL: 0x9246;
|
|
5363
5722
|
}
|
|
5364
5723
|
|
|
5365
|
-
/**
|
|
5724
|
+
/**
|
|
5725
|
+
* The **`WEBGL_debug_shaders`** extension is part of the WebGL API and exposes a method to debug shaders from privileged contexts.
|
|
5726
|
+
*
|
|
5727
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_debug_shaders)
|
|
5728
|
+
*/
|
|
5366
5729
|
interface WEBGL_debug_shaders {
|
|
5367
5730
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_debug_shaders/getTranslatedShaderSource) */
|
|
5368
5731
|
getTranslatedShaderSource(shader: WebGLShader): string;
|
|
5369
5732
|
}
|
|
5370
5733
|
|
|
5371
5734
|
/**
|
|
5372
|
-
* The WEBGL_depth_texture extension is part of the WebGL API and defines 2D depth and depth-stencil textures.
|
|
5735
|
+
* The **`WEBGL_depth_texture`** extension is part of the WebGL API and defines 2D depth and depth-stencil textures.
|
|
5373
5736
|
*
|
|
5374
5737
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_depth_texture)
|
|
5375
5738
|
*/
|
|
@@ -5377,7 +5740,11 @@ interface WEBGL_depth_texture {
|
|
|
5377
5740
|
readonly UNSIGNED_INT_24_8_WEBGL: 0x84FA;
|
|
5378
5741
|
}
|
|
5379
5742
|
|
|
5380
|
-
/**
|
|
5743
|
+
/**
|
|
5744
|
+
* The **`WEBGL_draw_buffers`** extension is part of the WebGL API and enables a fragment shader to write to several textures, which is useful for deferred shading, for example.
|
|
5745
|
+
*
|
|
5746
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers)
|
|
5747
|
+
*/
|
|
5381
5748
|
interface WEBGL_draw_buffers {
|
|
5382
5749
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */
|
|
5383
5750
|
drawBuffersWEBGL(buffers: GLenum[]): void;
|
|
@@ -5417,7 +5784,11 @@ interface WEBGL_draw_buffers {
|
|
|
5417
5784
|
readonly MAX_DRAW_BUFFERS_WEBGL: 0x8824;
|
|
5418
5785
|
}
|
|
5419
5786
|
|
|
5420
|
-
/**
|
|
5787
|
+
/**
|
|
5788
|
+
* The **WEBGL_lose_context** extension is part of the WebGL API and exposes functions to simulate losing and restoring a WebGLRenderingContext.
|
|
5789
|
+
*
|
|
5790
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context)
|
|
5791
|
+
*/
|
|
5421
5792
|
interface WEBGL_lose_context {
|
|
5422
5793
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/loseContext) */
|
|
5423
5794
|
loseContext(): void;
|
|
@@ -5425,7 +5796,11 @@ interface WEBGL_lose_context {
|
|
|
5425
5796
|
restoreContext(): void;
|
|
5426
5797
|
}
|
|
5427
5798
|
|
|
5428
|
-
/**
|
|
5799
|
+
/**
|
|
5800
|
+
* The **`WEBGL_multi_draw`** extension is part of the WebGL API and allows to render more than one primitive with a single function call.
|
|
5801
|
+
*
|
|
5802
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw)
|
|
5803
|
+
*/
|
|
5429
5804
|
interface WEBGL_multi_draw {
|
|
5430
5805
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */
|
|
5431
5806
|
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: number, countsList: Int32Array | GLsizei[], countsOffset: number, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: number, drawcount: GLsizei): void;
|
|
@@ -5437,7 +5812,11 @@ interface WEBGL_multi_draw {
|
|
|
5437
5812
|
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: number, drawcount: GLsizei): void;
|
|
5438
5813
|
}
|
|
5439
5814
|
|
|
5440
|
-
/**
|
|
5815
|
+
/**
|
|
5816
|
+
* The **WebGL2RenderingContext** interface provides the OpenGL ES 3.0 rendering context for the drawing surface of an HTML canvas element.
|
|
5817
|
+
*
|
|
5818
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext)
|
|
5819
|
+
*/
|
|
5441
5820
|
interface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {
|
|
5442
5821
|
}
|
|
5443
5822
|
|
|
@@ -6508,7 +6887,7 @@ interface WebGL2RenderingContextOverloads {
|
|
|
6508
6887
|
}
|
|
6509
6888
|
|
|
6510
6889
|
/**
|
|
6511
|
-
*
|
|
6890
|
+
* The **WebGLActiveInfo** interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods.
|
|
6512
6891
|
*
|
|
6513
6892
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLActiveInfo)
|
|
6514
6893
|
*/
|
|
@@ -6527,7 +6906,7 @@ declare var WebGLActiveInfo: {
|
|
|
6527
6906
|
};
|
|
6528
6907
|
|
|
6529
6908
|
/**
|
|
6530
|
-
*
|
|
6909
|
+
* The **WebGLBuffer** interface is part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors.
|
|
6531
6910
|
*
|
|
6532
6911
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLBuffer)
|
|
6533
6912
|
*/
|
|
@@ -6540,7 +6919,7 @@ declare var WebGLBuffer: {
|
|
|
6540
6919
|
};
|
|
6541
6920
|
|
|
6542
6921
|
/**
|
|
6543
|
-
* The
|
|
6922
|
+
* The **WebGLContextEvent** interface is part of the WebGL API and is an interface for an event that is generated in response to a status change to the WebGL rendering context.
|
|
6544
6923
|
*
|
|
6545
6924
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLContextEvent)
|
|
6546
6925
|
*/
|
|
@@ -6555,7 +6934,7 @@ declare var WebGLContextEvent: {
|
|
|
6555
6934
|
};
|
|
6556
6935
|
|
|
6557
6936
|
/**
|
|
6558
|
-
*
|
|
6937
|
+
* The **WebGLFramebuffer** interface is part of the WebGL API and represents a collection of buffers that serve as a rendering destination.
|
|
6559
6938
|
*
|
|
6560
6939
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLFramebuffer)
|
|
6561
6940
|
*/
|
|
@@ -6568,7 +6947,7 @@ declare var WebGLFramebuffer: {
|
|
|
6568
6947
|
};
|
|
6569
6948
|
|
|
6570
6949
|
/**
|
|
6571
|
-
* The WebGLProgram is part of the WebGL API and is a combination of two compiled WebGLShaders consisting of a vertex shader and a fragment shader (both written in GLSL).
|
|
6950
|
+
* The **`WebGLProgram`** is part of the WebGL API and is a combination of two compiled WebGLShaders consisting of a vertex shader and a fragment shader (both written in GLSL).
|
|
6572
6951
|
*
|
|
6573
6952
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLProgram)
|
|
6574
6953
|
*/
|
|
@@ -6580,7 +6959,11 @@ declare var WebGLProgram: {
|
|
|
6580
6959
|
new(): WebGLProgram;
|
|
6581
6960
|
};
|
|
6582
6961
|
|
|
6583
|
-
/**
|
|
6962
|
+
/**
|
|
6963
|
+
* The **`WebGLQuery`** interface is part of the WebGL 2 API and provides ways to asynchronously query for information.
|
|
6964
|
+
*
|
|
6965
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLQuery)
|
|
6966
|
+
*/
|
|
6584
6967
|
interface WebGLQuery {
|
|
6585
6968
|
}
|
|
6586
6969
|
|
|
@@ -6590,7 +6973,7 @@ declare var WebGLQuery: {
|
|
|
6590
6973
|
};
|
|
6591
6974
|
|
|
6592
6975
|
/**
|
|
6593
|
-
*
|
|
6976
|
+
* The **WebGLRenderbuffer** interface is part of the WebGL API and represents a buffer that can contain an image, or that can be a source or target of a rendering operation.
|
|
6594
6977
|
*
|
|
6595
6978
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderbuffer)
|
|
6596
6979
|
*/
|
|
@@ -6603,7 +6986,7 @@ declare var WebGLRenderbuffer: {
|
|
|
6603
6986
|
};
|
|
6604
6987
|
|
|
6605
6988
|
/**
|
|
6606
|
-
*
|
|
6989
|
+
* The **`WebGLRenderingContext`** interface provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML canvas element.
|
|
6607
6990
|
*
|
|
6608
6991
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext)
|
|
6609
6992
|
*/
|
|
@@ -7532,7 +7915,11 @@ interface WebGLRenderingContextOverloads {
|
|
|
7532
7915
|
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;
|
|
7533
7916
|
}
|
|
7534
7917
|
|
|
7535
|
-
/**
|
|
7918
|
+
/**
|
|
7919
|
+
* The **`WebGLSampler`** interface is part of the WebGL 2 API and stores sampling parameters for WebGLTexture access inside of a shader.
|
|
7920
|
+
*
|
|
7921
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLSampler)
|
|
7922
|
+
*/
|
|
7536
7923
|
interface WebGLSampler {
|
|
7537
7924
|
}
|
|
7538
7925
|
|
|
@@ -7542,7 +7929,7 @@ declare var WebGLSampler: {
|
|
|
7542
7929
|
};
|
|
7543
7930
|
|
|
7544
7931
|
/**
|
|
7545
|
-
* The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader.
|
|
7932
|
+
* The **WebGLShader** is part of the WebGL API and can either be a vertex or a fragment shader.
|
|
7546
7933
|
*
|
|
7547
7934
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLShader)
|
|
7548
7935
|
*/
|
|
@@ -7555,7 +7942,7 @@ declare var WebGLShader: {
|
|
|
7555
7942
|
};
|
|
7556
7943
|
|
|
7557
7944
|
/**
|
|
7558
|
-
*
|
|
7945
|
+
* The **WebGLShaderPrecisionFormat** interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() method.
|
|
7559
7946
|
*
|
|
7560
7947
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLShaderPrecisionFormat)
|
|
7561
7948
|
*/
|
|
@@ -7573,7 +7960,11 @@ declare var WebGLShaderPrecisionFormat: {
|
|
|
7573
7960
|
new(): WebGLShaderPrecisionFormat;
|
|
7574
7961
|
};
|
|
7575
7962
|
|
|
7576
|
-
/**
|
|
7963
|
+
/**
|
|
7964
|
+
* The **`WebGLSync`** interface is part of the WebGL 2 API and is used to synchronize activities between the GPU and the application.
|
|
7965
|
+
*
|
|
7966
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLSync)
|
|
7967
|
+
*/
|
|
7577
7968
|
interface WebGLSync {
|
|
7578
7969
|
}
|
|
7579
7970
|
|
|
@@ -7583,7 +7974,7 @@ declare var WebGLSync: {
|
|
|
7583
7974
|
};
|
|
7584
7975
|
|
|
7585
7976
|
/**
|
|
7586
|
-
*
|
|
7977
|
+
* The **WebGLTexture** interface is part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations.
|
|
7587
7978
|
*
|
|
7588
7979
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLTexture)
|
|
7589
7980
|
*/
|
|
@@ -7595,7 +7986,11 @@ declare var WebGLTexture: {
|
|
|
7595
7986
|
new(): WebGLTexture;
|
|
7596
7987
|
};
|
|
7597
7988
|
|
|
7598
|
-
/**
|
|
7989
|
+
/**
|
|
7990
|
+
* The **`WebGLTransformFeedback`** interface is part of the WebGL 2 API and enables transform feedback, which is the process of capturing primitives generated by vertex processing.
|
|
7991
|
+
*
|
|
7992
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLTransformFeedback)
|
|
7993
|
+
*/
|
|
7599
7994
|
interface WebGLTransformFeedback {
|
|
7600
7995
|
}
|
|
7601
7996
|
|
|
@@ -7605,7 +8000,7 @@ declare var WebGLTransformFeedback: {
|
|
|
7605
8000
|
};
|
|
7606
8001
|
|
|
7607
8002
|
/**
|
|
7608
|
-
*
|
|
8003
|
+
* The **WebGLUniformLocation** interface is part of the WebGL API and represents the location of a uniform variable in a shader program.
|
|
7609
8004
|
*
|
|
7610
8005
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLUniformLocation)
|
|
7611
8006
|
*/
|
|
@@ -7617,7 +8012,11 @@ declare var WebGLUniformLocation: {
|
|
|
7617
8012
|
new(): WebGLUniformLocation;
|
|
7618
8013
|
};
|
|
7619
8014
|
|
|
7620
|
-
/**
|
|
8015
|
+
/**
|
|
8016
|
+
* The **`WebGLVertexArrayObject`** interface is part of the WebGL 2 API, represents vertex array objects (VAOs) pointing to vertex array data, and provides names for different sets of vertex data.
|
|
8017
|
+
*
|
|
8018
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject)
|
|
8019
|
+
*/
|
|
7621
8020
|
interface WebGLVertexArrayObject {
|
|
7622
8021
|
}
|
|
7623
8022
|
|
|
@@ -7638,7 +8037,7 @@ interface WebSocketEventMap {
|
|
|
7638
8037
|
}
|
|
7639
8038
|
|
|
7640
8039
|
/**
|
|
7641
|
-
*
|
|
8040
|
+
* The `WebSocket` object provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.
|
|
7642
8041
|
*
|
|
7643
8042
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket)
|
|
7644
8043
|
*/
|
|
@@ -7723,6 +8122,7 @@ declare var WebSocket: {
|
|
|
7723
8122
|
};
|
|
7724
8123
|
|
|
7725
8124
|
/**
|
|
8125
|
+
* The **`WebTransport`** interface of the WebTransport API provides functionality to enable a user agent to connect to an HTTP/3 server, initiate reliable and unreliable transport in either or both directions, and close the connection once it is no longer needed.
|
|
7726
8126
|
* Available only in secure contexts.
|
|
7727
8127
|
*
|
|
7728
8128
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport)
|
|
@@ -7752,6 +8152,7 @@ declare var WebTransport: {
|
|
|
7752
8152
|
};
|
|
7753
8153
|
|
|
7754
8154
|
/**
|
|
8155
|
+
* The **`WebTransportBidirectionalStream`** interface of the WebTransport API represents a bidirectional stream created by a server or a client that can be used for reliable transport.
|
|
7755
8156
|
* Available only in secure contexts.
|
|
7756
8157
|
*
|
|
7757
8158
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportBidirectionalStream)
|
|
@@ -7769,6 +8170,7 @@ declare var WebTransportBidirectionalStream: {
|
|
|
7769
8170
|
};
|
|
7770
8171
|
|
|
7771
8172
|
/**
|
|
8173
|
+
* The **`WebTransportDatagramDuplexStream`** interface of the WebTransport API represents a duplex stream that can be used for unreliable transport of datagrams between client and server.
|
|
7772
8174
|
* Available only in secure contexts.
|
|
7773
8175
|
*
|
|
7774
8176
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream)
|
|
@@ -7796,6 +8198,7 @@ declare var WebTransportDatagramDuplexStream: {
|
|
|
7796
8198
|
};
|
|
7797
8199
|
|
|
7798
8200
|
/**
|
|
8201
|
+
* The **`WebTransportError`** interface of the WebTransport API represents an error related to the API, which can arise from server errors, network connection problems, or client-initiated abort operations (for example, arising from a WritableStream.abort() call).
|
|
7799
8202
|
* Available only in secure contexts.
|
|
7800
8203
|
*
|
|
7801
8204
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportError)
|
|
@@ -7860,7 +8263,7 @@ interface WorkerEventMap extends AbstractWorkerEventMap, MessageEventTargetEvent
|
|
|
7860
8263
|
}
|
|
7861
8264
|
|
|
7862
8265
|
/**
|
|
7863
|
-
*
|
|
8266
|
+
* The **`Worker`** interface of the Web Workers API represents a background task that can be created via script, which can send messages back to its creator.
|
|
7864
8267
|
*
|
|
7865
8268
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Worker)
|
|
7866
8269
|
*/
|
|
@@ -7899,7 +8302,7 @@ interface WorkerGlobalScopeEventMap {
|
|
|
7899
8302
|
}
|
|
7900
8303
|
|
|
7901
8304
|
/**
|
|
7902
|
-
*
|
|
8305
|
+
* The **`WorkerGlobalScope`** interface of the Web Workers API is an interface representing the scope of any worker.
|
|
7903
8306
|
*
|
|
7904
8307
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope)
|
|
7905
8308
|
*/
|
|
@@ -7952,7 +8355,7 @@ declare var WorkerGlobalScope: {
|
|
|
7952
8355
|
};
|
|
7953
8356
|
|
|
7954
8357
|
/**
|
|
7955
|
-
* The absolute location of the script executed by the Worker.
|
|
8358
|
+
* The **`WorkerLocation`** interface defines the absolute location of the script executed by the Worker.
|
|
7956
8359
|
*
|
|
7957
8360
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerLocation)
|
|
7958
8361
|
*/
|
|
@@ -7984,7 +8387,7 @@ declare var WorkerLocation: {
|
|
|
7984
8387
|
};
|
|
7985
8388
|
|
|
7986
8389
|
/**
|
|
7987
|
-
*
|
|
8390
|
+
* The **`WorkerNavigator`** interface represents a subset of the Navigator interface allowed to be accessed from a Worker.
|
|
7988
8391
|
*
|
|
7989
8392
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerNavigator)
|
|
7990
8393
|
*/
|
|
@@ -8007,7 +8410,7 @@ declare var WorkerNavigator: {
|
|
|
8007
8410
|
};
|
|
8008
8411
|
|
|
8009
8412
|
/**
|
|
8010
|
-
*
|
|
8413
|
+
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
|
8011
8414
|
*
|
|
8012
8415
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream)
|
|
8013
8416
|
*/
|
|
@@ -8028,7 +8431,7 @@ declare var WritableStream: {
|
|
|
8028
8431
|
};
|
|
8029
8432
|
|
|
8030
8433
|
/**
|
|
8031
|
-
*
|
|
8434
|
+
* The **`WritableStreamDefaultController`** interface of the Streams API represents a controller allowing control of a WritableStream's state.
|
|
8032
8435
|
*
|
|
8033
8436
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController)
|
|
8034
8437
|
*/
|
|
@@ -8045,7 +8448,7 @@ declare var WritableStreamDefaultController: {
|
|
|
8045
8448
|
};
|
|
8046
8449
|
|
|
8047
8450
|
/**
|
|
8048
|
-
*
|
|
8451
|
+
* The **`WritableStreamDefaultWriter`** interface of the Streams API is the object returned by WritableStream.getWriter() and once created locks the writer to the `WritableStream` ensuring that no other streams can write to the underlying sink.
|
|
8049
8452
|
*
|
|
8050
8453
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter)
|
|
8051
8454
|
*/
|
|
@@ -8076,7 +8479,7 @@ interface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap {
|
|
|
8076
8479
|
}
|
|
8077
8480
|
|
|
8078
8481
|
/**
|
|
8079
|
-
*
|
|
8482
|
+
* `XMLHttpRequest` (XHR) objects are used to interact with servers.
|
|
8080
8483
|
*
|
|
8081
8484
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest)
|
|
8082
8485
|
*/
|
|
@@ -8225,7 +8628,11 @@ interface XMLHttpRequestEventTargetEventMap {
|
|
|
8225
8628
|
"timeout": ProgressEvent<XMLHttpRequestEventTarget>;
|
|
8226
8629
|
}
|
|
8227
8630
|
|
|
8228
|
-
/**
|
|
8631
|
+
/**
|
|
8632
|
+
* `XMLHttpRequestEventTarget` is the interface that describes the event handlers shared on XMLHttpRequest and XMLHttpRequestUpload.
|
|
8633
|
+
*
|
|
8634
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequestEventTarget)
|
|
8635
|
+
*/
|
|
8229
8636
|
interface XMLHttpRequestEventTarget extends EventTarget {
|
|
8230
8637
|
onabort: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
|
|
8231
8638
|
onerror: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
|
|
@@ -8245,7 +8652,11 @@ declare var XMLHttpRequestEventTarget: {
|
|
|
8245
8652
|
new(): XMLHttpRequestEventTarget;
|
|
8246
8653
|
};
|
|
8247
8654
|
|
|
8248
|
-
/**
|
|
8655
|
+
/**
|
|
8656
|
+
* The **`XMLHttpRequestUpload`** interface represents the upload process for a specific XMLHttpRequest.
|
|
8657
|
+
*
|
|
8658
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequestUpload)
|
|
8659
|
+
*/
|
|
8249
8660
|
interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget {
|
|
8250
8661
|
addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
8251
8662
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -8417,7 +8828,12 @@ declare namespace WebAssembly {
|
|
|
8417
8828
|
function validate(bytes: BufferSource): boolean;
|
|
8418
8829
|
}
|
|
8419
8830
|
|
|
8420
|
-
/**
|
|
8831
|
+
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
|
|
8832
|
+
/**
|
|
8833
|
+
* The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox).
|
|
8834
|
+
*
|
|
8835
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console)
|
|
8836
|
+
*/
|
|
8421
8837
|
interface Console {
|
|
8422
8838
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/assert_static) */
|
|
8423
8839
|
assert(condition?: boolean, ...data: any[]): void;
|
|
@@ -8668,6 +9084,7 @@ type HashAlgorithmIdentifier = AlgorithmIdentifier;
|
|
|
8668
9084
|
type HeadersInit = [string, string][] | Record<string, string> | Headers;
|
|
8669
9085
|
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
|
|
8670
9086
|
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
|
|
9087
|
+
type ImageDataArray = Uint8ClampedArray;
|
|
8671
9088
|
type Int32List = Int32Array | GLint[];
|
|
8672
9089
|
type MessageEventSource = MessagePort | ServiceWorker;
|
|
8673
9090
|
type NamedCurve = string;
|