@types/sharedworker 0.0.155 → 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 +606 -191
- package/package.json +1 -1
- package/ts5.5/index.d.ts +606 -191
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;
|
|
@@ -1824,7 +1940,11 @@ declare var DOMMatrix: {
|
|
|
1824
1940
|
fromMatrix(other?: DOMMatrixInit): DOMMatrix;
|
|
1825
1941
|
};
|
|
1826
1942
|
|
|
1827
|
-
/**
|
|
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
|
+
*/
|
|
1828
1948
|
interface DOMMatrixReadOnly {
|
|
1829
1949
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1830
1950
|
readonly a: number;
|
|
@@ -1918,7 +2038,11 @@ declare var DOMMatrixReadOnly: {
|
|
|
1918
2038
|
fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;
|
|
1919
2039
|
};
|
|
1920
2040
|
|
|
1921
|
-
/**
|
|
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
|
+
*/
|
|
1922
2046
|
interface DOMPoint extends DOMPointReadOnly {
|
|
1923
2047
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/w) */
|
|
1924
2048
|
w: number;
|
|
@@ -1937,7 +2061,11 @@ declare var DOMPoint: {
|
|
|
1937
2061
|
fromPoint(other?: DOMPointInit): DOMPoint;
|
|
1938
2062
|
};
|
|
1939
2063
|
|
|
1940
|
-
/**
|
|
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
|
+
*/
|
|
1941
2069
|
interface DOMPointReadOnly {
|
|
1942
2070
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/w) */
|
|
1943
2071
|
readonly w: number;
|
|
@@ -1960,7 +2088,11 @@ declare var DOMPointReadOnly: {
|
|
|
1960
2088
|
fromPoint(other?: DOMPointInit): DOMPointReadOnly;
|
|
1961
2089
|
};
|
|
1962
2090
|
|
|
1963
|
-
/**
|
|
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
|
+
*/
|
|
1964
2096
|
interface DOMQuad {
|
|
1965
2097
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */
|
|
1966
2098
|
readonly p1: DOMPoint;
|
|
@@ -1983,7 +2115,11 @@ declare var DOMQuad: {
|
|
|
1983
2115
|
fromRect(other?: DOMRectInit): DOMQuad;
|
|
1984
2116
|
};
|
|
1985
2117
|
|
|
1986
|
-
/**
|
|
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
|
+
*/
|
|
1987
2123
|
interface DOMRect extends DOMRectReadOnly {
|
|
1988
2124
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/height) */
|
|
1989
2125
|
height: number;
|
|
@@ -2002,7 +2138,11 @@ declare var DOMRect: {
|
|
|
2002
2138
|
fromRect(other?: DOMRectInit): DOMRect;
|
|
2003
2139
|
};
|
|
2004
2140
|
|
|
2005
|
-
/**
|
|
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
|
+
*/
|
|
2006
2146
|
interface DOMRectReadOnly {
|
|
2007
2147
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/bottom) */
|
|
2008
2148
|
readonly bottom: number;
|
|
@@ -2032,7 +2172,7 @@ declare var DOMRectReadOnly: {
|
|
|
2032
2172
|
};
|
|
2033
2173
|
|
|
2034
2174
|
/**
|
|
2035
|
-
*
|
|
2175
|
+
* The **`DOMStringList`** interface is a legacy type returned by some APIs and represents a non-modifiable list of strings (`DOMString`).
|
|
2036
2176
|
*
|
|
2037
2177
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMStringList)
|
|
2038
2178
|
*/
|
|
@@ -2063,7 +2203,11 @@ declare var DOMStringList: {
|
|
|
2063
2203
|
new(): DOMStringList;
|
|
2064
2204
|
};
|
|
2065
2205
|
|
|
2066
|
-
/**
|
|
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
|
+
*/
|
|
2067
2211
|
interface DecompressionStream extends GenericTransformStream {
|
|
2068
2212
|
readonly readable: ReadableStream<Uint8Array>;
|
|
2069
2213
|
readonly writable: WritableStream<BufferSource>;
|
|
@@ -2074,17 +2218,29 @@ declare var DecompressionStream: {
|
|
|
2074
2218
|
new(format: CompressionFormat): DecompressionStream;
|
|
2075
2219
|
};
|
|
2076
2220
|
|
|
2077
|
-
/**
|
|
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
|
+
*/
|
|
2078
2226
|
interface EXT_blend_minmax {
|
|
2079
2227
|
readonly MIN_EXT: 0x8007;
|
|
2080
2228
|
readonly MAX_EXT: 0x8008;
|
|
2081
2229
|
}
|
|
2082
2230
|
|
|
2083
|
-
/**
|
|
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
|
+
*/
|
|
2084
2236
|
interface EXT_color_buffer_float {
|
|
2085
2237
|
}
|
|
2086
2238
|
|
|
2087
|
-
/**
|
|
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
|
+
*/
|
|
2088
2244
|
interface EXT_color_buffer_half_float {
|
|
2089
2245
|
readonly RGBA16F_EXT: 0x881A;
|
|
2090
2246
|
readonly RGB16F_EXT: 0x881B;
|
|
@@ -2092,19 +2248,27 @@ interface EXT_color_buffer_half_float {
|
|
|
2092
2248
|
readonly UNSIGNED_NORMALIZED_EXT: 0x8C17;
|
|
2093
2249
|
}
|
|
2094
2250
|
|
|
2095
|
-
/**
|
|
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
|
+
*/
|
|
2096
2256
|
interface EXT_float_blend {
|
|
2097
2257
|
}
|
|
2098
2258
|
|
|
2099
2259
|
/**
|
|
2100
|
-
* 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.
|
|
2101
2261
|
*
|
|
2102
2262
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_frag_depth)
|
|
2103
2263
|
*/
|
|
2104
2264
|
interface EXT_frag_depth {
|
|
2105
2265
|
}
|
|
2106
2266
|
|
|
2107
|
-
/**
|
|
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
|
+
*/
|
|
2108
2272
|
interface EXT_sRGB {
|
|
2109
2273
|
readonly SRGB_EXT: 0x8C40;
|
|
2110
2274
|
readonly SRGB_ALPHA_EXT: 0x8C42;
|
|
@@ -2112,11 +2276,19 @@ interface EXT_sRGB {
|
|
|
2112
2276
|
readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: 0x8210;
|
|
2113
2277
|
}
|
|
2114
2278
|
|
|
2115
|
-
/**
|
|
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
|
+
*/
|
|
2116
2284
|
interface EXT_shader_texture_lod {
|
|
2117
2285
|
}
|
|
2118
2286
|
|
|
2119
|
-
/**
|
|
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
|
+
*/
|
|
2120
2292
|
interface EXT_texture_compression_bptc {
|
|
2121
2293
|
readonly COMPRESSED_RGBA_BPTC_UNORM_EXT: 0x8E8C;
|
|
2122
2294
|
readonly COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: 0x8E8D;
|
|
@@ -2124,7 +2296,11 @@ interface EXT_texture_compression_bptc {
|
|
|
2124
2296
|
readonly COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: 0x8E8F;
|
|
2125
2297
|
}
|
|
2126
2298
|
|
|
2127
|
-
/**
|
|
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
|
+
*/
|
|
2128
2304
|
interface EXT_texture_compression_rgtc {
|
|
2129
2305
|
readonly COMPRESSED_RED_RGTC1_EXT: 0x8DBB;
|
|
2130
2306
|
readonly COMPRESSED_SIGNED_RED_RGTC1_EXT: 0x8DBC;
|
|
@@ -2133,7 +2309,7 @@ interface EXT_texture_compression_rgtc {
|
|
|
2133
2309
|
}
|
|
2134
2310
|
|
|
2135
2311
|
/**
|
|
2136
|
-
* 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).
|
|
2137
2313
|
*
|
|
2138
2314
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_filter_anisotropic)
|
|
2139
2315
|
*/
|
|
@@ -2142,7 +2318,11 @@ interface EXT_texture_filter_anisotropic {
|
|
|
2142
2318
|
readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF;
|
|
2143
2319
|
}
|
|
2144
2320
|
|
|
2145
|
-
/**
|
|
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
|
+
*/
|
|
2146
2326
|
interface EXT_texture_norm16 {
|
|
2147
2327
|
readonly R16_EXT: 0x822A;
|
|
2148
2328
|
readonly RG16_EXT: 0x822C;
|
|
@@ -2155,7 +2335,7 @@ interface EXT_texture_norm16 {
|
|
|
2155
2335
|
}
|
|
2156
2336
|
|
|
2157
2337
|
/**
|
|
2158
|
-
*
|
|
2338
|
+
* The **`ErrorEvent`** interface represents events providing information related to errors in scripts or in files.
|
|
2159
2339
|
*
|
|
2160
2340
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent)
|
|
2161
2341
|
*/
|
|
@@ -2178,7 +2358,7 @@ declare var ErrorEvent: {
|
|
|
2178
2358
|
};
|
|
2179
2359
|
|
|
2180
2360
|
/**
|
|
2181
|
-
*
|
|
2361
|
+
* The **`Event`** interface represents an event which takes place on an `EventTarget`.
|
|
2182
2362
|
*
|
|
2183
2363
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event)
|
|
2184
2364
|
*/
|
|
@@ -2320,7 +2500,11 @@ interface EventSourceEventMap {
|
|
|
2320
2500
|
"open": Event;
|
|
2321
2501
|
}
|
|
2322
2502
|
|
|
2323
|
-
/**
|
|
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
|
+
*/
|
|
2324
2508
|
interface EventSource extends EventTarget {
|
|
2325
2509
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/error_event) */
|
|
2326
2510
|
onerror: ((this: EventSource, ev: Event) => any) | null;
|
|
@@ -2372,7 +2556,7 @@ declare var EventSource: {
|
|
|
2372
2556
|
};
|
|
2373
2557
|
|
|
2374
2558
|
/**
|
|
2375
|
-
* EventTarget is
|
|
2559
|
+
* The **`EventTarget`** interface is implemented by objects that can receive events and may have listeners for them.
|
|
2376
2560
|
*
|
|
2377
2561
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget)
|
|
2378
2562
|
*/
|
|
@@ -2415,7 +2599,7 @@ declare var EventTarget: {
|
|
|
2415
2599
|
};
|
|
2416
2600
|
|
|
2417
2601
|
/**
|
|
2418
|
-
*
|
|
2602
|
+
* The **`File`** interface provides information about files and allows JavaScript in a web page to access their content.
|
|
2419
2603
|
*
|
|
2420
2604
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/File)
|
|
2421
2605
|
*/
|
|
@@ -2434,7 +2618,7 @@ declare var File: {
|
|
|
2434
2618
|
};
|
|
2435
2619
|
|
|
2436
2620
|
/**
|
|
2437
|
-
*
|
|
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.
|
|
2438
2622
|
*
|
|
2439
2623
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileList)
|
|
2440
2624
|
*/
|
|
@@ -2461,7 +2645,7 @@ interface FileReaderEventMap {
|
|
|
2461
2645
|
}
|
|
2462
2646
|
|
|
2463
2647
|
/**
|
|
2464
|
-
*
|
|
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.
|
|
2465
2649
|
*
|
|
2466
2650
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader)
|
|
2467
2651
|
*/
|
|
@@ -2516,7 +2700,7 @@ declare var FileReader: {
|
|
|
2516
2700
|
};
|
|
2517
2701
|
|
|
2518
2702
|
/**
|
|
2519
|
-
*
|
|
2703
|
+
* The **`FileReaderSync`** interface allows to read File or Blob objects synchronously.
|
|
2520
2704
|
*
|
|
2521
2705
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReaderSync)
|
|
2522
2706
|
*/
|
|
@@ -2541,6 +2725,7 @@ declare var FileReaderSync: {
|
|
|
2541
2725
|
};
|
|
2542
2726
|
|
|
2543
2727
|
/**
|
|
2728
|
+
* The **`FileSystemDirectoryHandle`** interface of the File System API provides a handle to a file system directory.
|
|
2544
2729
|
* Available only in secure contexts.
|
|
2545
2730
|
*
|
|
2546
2731
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle)
|
|
@@ -2563,6 +2748,7 @@ declare var FileSystemDirectoryHandle: {
|
|
|
2563
2748
|
};
|
|
2564
2749
|
|
|
2565
2750
|
/**
|
|
2751
|
+
* The **`FileSystemFileHandle`** interface of the File System API represents a handle to a file system entry.
|
|
2566
2752
|
* Available only in secure contexts.
|
|
2567
2753
|
*
|
|
2568
2754
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle)
|
|
@@ -2581,6 +2767,7 @@ declare var FileSystemFileHandle: {
|
|
|
2581
2767
|
};
|
|
2582
2768
|
|
|
2583
2769
|
/**
|
|
2770
|
+
* The **`FileSystemHandle`** interface of the File System API is an object which represents a file or directory entry.
|
|
2584
2771
|
* Available only in secure contexts.
|
|
2585
2772
|
*
|
|
2586
2773
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle)
|
|
@@ -2600,6 +2787,7 @@ declare var FileSystemHandle: {
|
|
|
2600
2787
|
};
|
|
2601
2788
|
|
|
2602
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.
|
|
2603
2791
|
* Available only in secure contexts.
|
|
2604
2792
|
*
|
|
2605
2793
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemWritableFileStream)
|
|
@@ -2618,7 +2806,11 @@ declare var FileSystemWritableFileStream: {
|
|
|
2618
2806
|
new(): FileSystemWritableFileStream;
|
|
2619
2807
|
};
|
|
2620
2808
|
|
|
2621
|
-
/**
|
|
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
|
+
*/
|
|
2622
2814
|
interface FontFace {
|
|
2623
2815
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/ascentOverride) */
|
|
2624
2816
|
ascentOverride: string;
|
|
@@ -2659,7 +2851,11 @@ interface FontFaceSetEventMap {
|
|
|
2659
2851
|
"loadingerror": FontFaceSetLoadEvent;
|
|
2660
2852
|
}
|
|
2661
2853
|
|
|
2662
|
-
/**
|
|
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
|
+
*/
|
|
2663
2859
|
interface FontFaceSet extends EventTarget {
|
|
2664
2860
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loading_event) */
|
|
2665
2861
|
onloading: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;
|
|
@@ -2687,7 +2883,11 @@ declare var FontFaceSet: {
|
|
|
2687
2883
|
new(): FontFaceSet;
|
|
2688
2884
|
};
|
|
2689
2885
|
|
|
2690
|
-
/**
|
|
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
|
+
*/
|
|
2691
2891
|
interface FontFaceSetLoadEvent extends Event {
|
|
2692
2892
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent/fontfaces) */
|
|
2693
2893
|
readonly fontfaces: ReadonlyArray<FontFace>;
|
|
@@ -2704,7 +2904,7 @@ interface FontFaceSource {
|
|
|
2704
2904
|
}
|
|
2705
2905
|
|
|
2706
2906
|
/**
|
|
2707
|
-
*
|
|
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.
|
|
2708
2908
|
*
|
|
2709
2909
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData)
|
|
2710
2910
|
*/
|
|
@@ -2734,6 +2934,7 @@ declare var FormData: {
|
|
|
2734
2934
|
};
|
|
2735
2935
|
|
|
2736
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.
|
|
2737
2938
|
* Available only in secure contexts.
|
|
2738
2939
|
*
|
|
2739
2940
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError)
|
|
@@ -2751,7 +2952,7 @@ interface GenericTransformStream {
|
|
|
2751
2952
|
}
|
|
2752
2953
|
|
|
2753
2954
|
/**
|
|
2754
|
-
*
|
|
2955
|
+
* The **`Headers`** interface of the Fetch API allows you to perform various actions on HTTP request and response headers.
|
|
2755
2956
|
*
|
|
2756
2957
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers)
|
|
2757
2958
|
*/
|
|
@@ -2777,7 +2978,7 @@ declare var Headers: {
|
|
|
2777
2978
|
};
|
|
2778
2979
|
|
|
2779
2980
|
/**
|
|
2780
|
-
*
|
|
2981
|
+
* The **`IDBCursor`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
|
|
2781
2982
|
*
|
|
2782
2983
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor)
|
|
2783
2984
|
*/
|
|
@@ -2852,7 +3053,7 @@ declare var IDBCursor: {
|
|
|
2852
3053
|
};
|
|
2853
3054
|
|
|
2854
3055
|
/**
|
|
2855
|
-
*
|
|
3056
|
+
* The **`IDBCursorWithValue`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
|
|
2856
3057
|
*
|
|
2857
3058
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue)
|
|
2858
3059
|
*/
|
|
@@ -2878,7 +3079,7 @@ interface IDBDatabaseEventMap {
|
|
|
2878
3079
|
}
|
|
2879
3080
|
|
|
2880
3081
|
/**
|
|
2881
|
-
*
|
|
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.
|
|
2882
3083
|
*
|
|
2883
3084
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase)
|
|
2884
3085
|
*/
|
|
@@ -2947,7 +3148,7 @@ declare var IDBDatabase: {
|
|
|
2947
3148
|
};
|
|
2948
3149
|
|
|
2949
3150
|
/**
|
|
2950
|
-
*
|
|
3151
|
+
* The **`IDBFactory`** interface of the IndexedDB API lets applications asynchronously access the indexed databases.
|
|
2951
3152
|
*
|
|
2952
3153
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory)
|
|
2953
3154
|
*/
|
|
@@ -2982,7 +3183,7 @@ declare var IDBFactory: {
|
|
|
2982
3183
|
};
|
|
2983
3184
|
|
|
2984
3185
|
/**
|
|
2985
|
-
* 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.
|
|
2986
3187
|
*
|
|
2987
3188
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex)
|
|
2988
3189
|
*/
|
|
@@ -3069,7 +3270,7 @@ declare var IDBIndex: {
|
|
|
3069
3270
|
};
|
|
3070
3271
|
|
|
3071
3272
|
/**
|
|
3072
|
-
*
|
|
3273
|
+
* The **`IDBKeyRange`** interface of the IndexedDB API represents a continuous interval over some data type that is used for keys.
|
|
3073
3274
|
*
|
|
3074
3275
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange)
|
|
3075
3276
|
*/
|
|
@@ -3136,7 +3337,7 @@ declare var IDBKeyRange: {
|
|
|
3136
3337
|
};
|
|
3137
3338
|
|
|
3138
3339
|
/**
|
|
3139
|
-
*
|
|
3340
|
+
* The **`IDBObjectStore`** interface of the IndexedDB API represents an object store in a database.
|
|
3140
3341
|
*
|
|
3141
3342
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore)
|
|
3142
3343
|
*/
|
|
@@ -3298,7 +3499,7 @@ interface IDBOpenDBRequestEventMap extends IDBRequestEventMap {
|
|
|
3298
3499
|
}
|
|
3299
3500
|
|
|
3300
3501
|
/**
|
|
3301
|
-
*
|
|
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.
|
|
3302
3503
|
*
|
|
3303
3504
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBOpenDBRequest)
|
|
3304
3505
|
*/
|
|
@@ -3324,7 +3525,7 @@ interface IDBRequestEventMap {
|
|
|
3324
3525
|
}
|
|
3325
3526
|
|
|
3326
3527
|
/**
|
|
3327
|
-
* 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.
|
|
3328
3529
|
*
|
|
3329
3530
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest)
|
|
3330
3531
|
*/
|
|
@@ -3380,7 +3581,11 @@ interface IDBTransactionEventMap {
|
|
|
3380
3581
|
"error": Event;
|
|
3381
3582
|
}
|
|
3382
3583
|
|
|
3383
|
-
/**
|
|
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
|
+
*/
|
|
3384
3589
|
interface IDBTransaction extends EventTarget {
|
|
3385
3590
|
/**
|
|
3386
3591
|
* Returns the transaction's connection.
|
|
@@ -3440,7 +3645,7 @@ declare var IDBTransaction: {
|
|
|
3440
3645
|
};
|
|
3441
3646
|
|
|
3442
3647
|
/**
|
|
3443
|
-
*
|
|
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.
|
|
3444
3649
|
*
|
|
3445
3650
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent)
|
|
3446
3651
|
*/
|
|
@@ -3456,7 +3661,11 @@ declare var IDBVersionChangeEvent: {
|
|
|
3456
3661
|
new(type: string, eventInitDict?: IDBVersionChangeEventInit): IDBVersionChangeEvent;
|
|
3457
3662
|
};
|
|
3458
3663
|
|
|
3459
|
-
/**
|
|
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
|
+
*/
|
|
3460
3669
|
interface ImageBitmap {
|
|
3461
3670
|
/**
|
|
3462
3671
|
* Returns the intrinsic height of the image, in CSS pixels.
|
|
@@ -3483,7 +3692,11 @@ declare var ImageBitmap: {
|
|
|
3483
3692
|
new(): ImageBitmap;
|
|
3484
3693
|
};
|
|
3485
3694
|
|
|
3486
|
-
/**
|
|
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
|
+
*/
|
|
3487
3700
|
interface ImageBitmapRenderingContext {
|
|
3488
3701
|
/**
|
|
3489
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.
|
|
@@ -3499,7 +3712,7 @@ declare var ImageBitmapRenderingContext: {
|
|
|
3499
3712
|
};
|
|
3500
3713
|
|
|
3501
3714
|
/**
|
|
3502
|
-
* 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.
|
|
3503
3716
|
*
|
|
3504
3717
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData)
|
|
3505
3718
|
*/
|
|
@@ -3537,12 +3750,17 @@ interface ImportMeta {
|
|
|
3537
3750
|
resolve(specifier: string): string;
|
|
3538
3751
|
}
|
|
3539
3752
|
|
|
3540
|
-
/**
|
|
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
|
+
*/
|
|
3541
3758
|
interface KHR_parallel_shader_compile {
|
|
3542
3759
|
readonly COMPLETION_STATUS_KHR: 0x91B1;
|
|
3543
3760
|
}
|
|
3544
3761
|
|
|
3545
3762
|
/**
|
|
3763
|
+
* The **`Lock`** interface of the Web Locks API provides the name and mode of a lock.
|
|
3546
3764
|
* Available only in secure contexts.
|
|
3547
3765
|
*
|
|
3548
3766
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Lock)
|
|
@@ -3560,6 +3778,7 @@ declare var Lock: {
|
|
|
3560
3778
|
};
|
|
3561
3779
|
|
|
3562
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.
|
|
3563
3782
|
* Available only in secure contexts.
|
|
3564
3783
|
*
|
|
3565
3784
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/LockManager)
|
|
@@ -3577,7 +3796,11 @@ declare var LockManager: {
|
|
|
3577
3796
|
new(): LockManager;
|
|
3578
3797
|
};
|
|
3579
3798
|
|
|
3580
|
-
/**
|
|
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
|
+
*/
|
|
3581
3804
|
interface MediaCapabilities {
|
|
3582
3805
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaCapabilities/decodingInfo) */
|
|
3583
3806
|
decodingInfo(configuration: MediaDecodingConfiguration): Promise<MediaCapabilitiesDecodingInfo>;
|
|
@@ -3591,7 +3814,7 @@ declare var MediaCapabilities: {
|
|
|
3591
3814
|
};
|
|
3592
3815
|
|
|
3593
3816
|
/**
|
|
3594
|
-
*
|
|
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.
|
|
3595
3818
|
*
|
|
3596
3819
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel)
|
|
3597
3820
|
*/
|
|
@@ -3616,7 +3839,7 @@ declare var MessageChannel: {
|
|
|
3616
3839
|
};
|
|
3617
3840
|
|
|
3618
3841
|
/**
|
|
3619
|
-
*
|
|
3842
|
+
* The **`MessageEvent`** interface represents a message received by a target object.
|
|
3620
3843
|
*
|
|
3621
3844
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent)
|
|
3622
3845
|
*/
|
|
@@ -3682,7 +3905,7 @@ interface MessagePortEventMap extends MessageEventTargetEventMap {
|
|
|
3682
3905
|
}
|
|
3683
3906
|
|
|
3684
3907
|
/**
|
|
3685
|
-
*
|
|
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.
|
|
3686
3909
|
*
|
|
3687
3910
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort)
|
|
3688
3911
|
*/
|
|
@@ -3720,6 +3943,7 @@ declare var MessagePort: {
|
|
|
3720
3943
|
};
|
|
3721
3944
|
|
|
3722
3945
|
/**
|
|
3946
|
+
* The **`NavigationPreloadManager`** interface of the Service Worker API provides methods for managing the preloading of resources in parallel with service worker bootup.
|
|
3723
3947
|
* Available only in secure contexts.
|
|
3724
3948
|
*
|
|
3725
3949
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPreloadManager)
|
|
@@ -3820,7 +4044,7 @@ interface NotificationEventMap {
|
|
|
3820
4044
|
}
|
|
3821
4045
|
|
|
3822
4046
|
/**
|
|
3823
|
-
*
|
|
4047
|
+
* The **`Notification`** interface of the Notifications API is used to configure and display desktop notifications to the user.
|
|
3824
4048
|
*
|
|
3825
4049
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
|
|
3826
4050
|
*/
|
|
@@ -3868,7 +4092,11 @@ declare var Notification: {
|
|
|
3868
4092
|
readonly permission: NotificationPermission;
|
|
3869
4093
|
};
|
|
3870
4094
|
|
|
3871
|
-
/**
|
|
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
|
+
*/
|
|
3872
4100
|
interface OES_draw_buffers_indexed {
|
|
3873
4101
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed/blendEquationSeparateiOES) */
|
|
3874
4102
|
blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void;
|
|
@@ -3887,19 +4115,23 @@ interface OES_draw_buffers_indexed {
|
|
|
3887
4115
|
}
|
|
3888
4116
|
|
|
3889
4117
|
/**
|
|
3890
|
-
* 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().
|
|
3891
4119
|
*
|
|
3892
4120
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_element_index_uint)
|
|
3893
4121
|
*/
|
|
3894
4122
|
interface OES_element_index_uint {
|
|
3895
4123
|
}
|
|
3896
4124
|
|
|
3897
|
-
/**
|
|
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
|
+
*/
|
|
3898
4130
|
interface OES_fbo_render_mipmap {
|
|
3899
4131
|
}
|
|
3900
4132
|
|
|
3901
4133
|
/**
|
|
3902
|
-
* 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`.
|
|
3903
4135
|
*
|
|
3904
4136
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_standard_derivatives)
|
|
3905
4137
|
*/
|
|
@@ -3908,7 +4140,7 @@ interface OES_standard_derivatives {
|
|
|
3908
4140
|
}
|
|
3909
4141
|
|
|
3910
4142
|
/**
|
|
3911
|
-
* 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.
|
|
3912
4144
|
*
|
|
3913
4145
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_float)
|
|
3914
4146
|
*/
|
|
@@ -3916,7 +4148,7 @@ interface OES_texture_float {
|
|
|
3916
4148
|
}
|
|
3917
4149
|
|
|
3918
4150
|
/**
|
|
3919
|
-
* 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.
|
|
3920
4152
|
*
|
|
3921
4153
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_float_linear)
|
|
3922
4154
|
*/
|
|
@@ -3924,7 +4156,7 @@ interface OES_texture_float_linear {
|
|
|
3924
4156
|
}
|
|
3925
4157
|
|
|
3926
4158
|
/**
|
|
3927
|
-
* 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.
|
|
3928
4160
|
*
|
|
3929
4161
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_half_float)
|
|
3930
4162
|
*/
|
|
@@ -3933,14 +4165,18 @@ interface OES_texture_half_float {
|
|
|
3933
4165
|
}
|
|
3934
4166
|
|
|
3935
4167
|
/**
|
|
3936
|
-
* 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.
|
|
3937
4169
|
*
|
|
3938
4170
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_half_float_linear)
|
|
3939
4171
|
*/
|
|
3940
4172
|
interface OES_texture_half_float_linear {
|
|
3941
4173
|
}
|
|
3942
4174
|
|
|
3943
|
-
/**
|
|
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
|
+
*/
|
|
3944
4180
|
interface OES_vertex_array_object {
|
|
3945
4181
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/bindVertexArrayOES) */
|
|
3946
4182
|
bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
|
|
@@ -3953,7 +4189,11 @@ interface OES_vertex_array_object {
|
|
|
3953
4189
|
readonly VERTEX_ARRAY_BINDING_OES: 0x85B5;
|
|
3954
4190
|
}
|
|
3955
4191
|
|
|
3956
|
-
/**
|
|
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
|
+
*/
|
|
3957
4197
|
interface OVR_multiview2 {
|
|
3958
4198
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OVR_multiview2/framebufferTextureMultiviewOVR) */
|
|
3959
4199
|
framebufferTextureMultiviewOVR(target: GLenum, attachment: GLenum, texture: WebGLTexture | null, level: GLint, baseViewIndex: GLint, numViews: GLsizei): void;
|
|
@@ -3968,7 +4208,11 @@ interface OffscreenCanvasEventMap {
|
|
|
3968
4208
|
"contextrestored": Event;
|
|
3969
4209
|
}
|
|
3970
4210
|
|
|
3971
|
-
/**
|
|
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
|
+
*/
|
|
3972
4216
|
interface OffscreenCanvas extends EventTarget {
|
|
3973
4217
|
/**
|
|
3974
4218
|
* These attributes return the dimensions of the OffscreenCanvas object's bitmap.
|
|
@@ -4029,7 +4273,11 @@ declare var OffscreenCanvas: {
|
|
|
4029
4273
|
new(width: number, height: number): OffscreenCanvas;
|
|
4030
4274
|
};
|
|
4031
4275
|
|
|
4032
|
-
/**
|
|
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
|
+
*/
|
|
4033
4281
|
interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {
|
|
4034
4282
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas) */
|
|
4035
4283
|
readonly canvas: OffscreenCanvas;
|
|
@@ -4041,7 +4289,7 @@ declare var OffscreenCanvasRenderingContext2D: {
|
|
|
4041
4289
|
};
|
|
4042
4290
|
|
|
4043
4291
|
/**
|
|
4044
|
-
*
|
|
4292
|
+
* The **`Path2D`** interface of the Canvas 2D API is used to declare a path that can then be used on a CanvasRenderingContext2D object.
|
|
4045
4293
|
*
|
|
4046
4294
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Path2D)
|
|
4047
4295
|
*/
|
|
@@ -4064,7 +4312,7 @@ interface PerformanceEventMap {
|
|
|
4064
4312
|
}
|
|
4065
4313
|
|
|
4066
4314
|
/**
|
|
4067
|
-
*
|
|
4315
|
+
* The **`Performance`** interface provides access to performance-related information for the current page.
|
|
4068
4316
|
*
|
|
4069
4317
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance)
|
|
4070
4318
|
*/
|
|
@@ -4107,7 +4355,7 @@ declare var Performance: {
|
|
|
4107
4355
|
};
|
|
4108
4356
|
|
|
4109
4357
|
/**
|
|
4110
|
-
*
|
|
4358
|
+
* The **`PerformanceEntry`** object encapsulates a single performance metric that is part of the browser's performance timeline.
|
|
4111
4359
|
*
|
|
4112
4360
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry)
|
|
4113
4361
|
*/
|
|
@@ -4130,7 +4378,7 @@ declare var PerformanceEntry: {
|
|
|
4130
4378
|
};
|
|
4131
4379
|
|
|
4132
4380
|
/**
|
|
4133
|
-
* PerformanceMark
|
|
4381
|
+
* **`PerformanceMark`** is an interface for PerformanceEntry objects with an PerformanceEntry.entryType of `'mark'`.
|
|
4134
4382
|
*
|
|
4135
4383
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMark)
|
|
4136
4384
|
*/
|
|
@@ -4145,7 +4393,7 @@ declare var PerformanceMark: {
|
|
|
4145
4393
|
};
|
|
4146
4394
|
|
|
4147
4395
|
/**
|
|
4148
|
-
* PerformanceMeasure is an
|
|
4396
|
+
* **`PerformanceMeasure`** is an _abstract_ interface for PerformanceEntry objects with an PerformanceEntry.entryType of `'measure'`.
|
|
4149
4397
|
*
|
|
4150
4398
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMeasure)
|
|
4151
4399
|
*/
|
|
@@ -4159,7 +4407,11 @@ declare var PerformanceMeasure: {
|
|
|
4159
4407
|
new(): PerformanceMeasure;
|
|
4160
4408
|
};
|
|
4161
4409
|
|
|
4162
|
-
/**
|
|
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
|
+
*/
|
|
4163
4415
|
interface PerformanceObserver {
|
|
4164
4416
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver/disconnect) */
|
|
4165
4417
|
disconnect(): void;
|
|
@@ -4176,7 +4428,11 @@ declare var PerformanceObserver: {
|
|
|
4176
4428
|
readonly supportedEntryTypes: ReadonlyArray<string>;
|
|
4177
4429
|
};
|
|
4178
4430
|
|
|
4179
|
-
/**
|
|
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
|
+
*/
|
|
4180
4436
|
interface PerformanceObserverEntryList {
|
|
4181
4437
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserverEntryList/getEntries) */
|
|
4182
4438
|
getEntries(): PerformanceEntryList;
|
|
@@ -4192,7 +4448,7 @@ declare var PerformanceObserverEntryList: {
|
|
|
4192
4448
|
};
|
|
4193
4449
|
|
|
4194
4450
|
/**
|
|
4195
|
-
*
|
|
4451
|
+
* The **`PerformanceResourceTiming`** interface enables retrieval and analysis of detailed network timing data regarding the loading of an application's resources.
|
|
4196
4452
|
*
|
|
4197
4453
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming)
|
|
4198
4454
|
*/
|
|
@@ -4244,7 +4500,11 @@ declare var PerformanceResourceTiming: {
|
|
|
4244
4500
|
new(): PerformanceResourceTiming;
|
|
4245
4501
|
};
|
|
4246
4502
|
|
|
4247
|
-
/**
|
|
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
|
+
*/
|
|
4248
4508
|
interface PerformanceServerTiming {
|
|
4249
4509
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming/description) */
|
|
4250
4510
|
readonly description: string;
|
|
@@ -4265,7 +4525,11 @@ interface PermissionStatusEventMap {
|
|
|
4265
4525
|
"change": Event;
|
|
4266
4526
|
}
|
|
4267
4527
|
|
|
4268
|
-
/**
|
|
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
|
+
*/
|
|
4269
4533
|
interface PermissionStatus extends EventTarget {
|
|
4270
4534
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/name) */
|
|
4271
4535
|
readonly name: string;
|
|
@@ -4284,7 +4548,11 @@ declare var PermissionStatus: {
|
|
|
4284
4548
|
new(): PermissionStatus;
|
|
4285
4549
|
};
|
|
4286
4550
|
|
|
4287
|
-
/**
|
|
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
|
+
*/
|
|
4288
4556
|
interface Permissions {
|
|
4289
4557
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions/query) */
|
|
4290
4558
|
query(permissionDesc: PermissionDescriptor): Promise<PermissionStatus>;
|
|
@@ -4296,7 +4564,7 @@ declare var Permissions: {
|
|
|
4296
4564
|
};
|
|
4297
4565
|
|
|
4298
4566
|
/**
|
|
4299
|
-
*
|
|
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).
|
|
4300
4568
|
*
|
|
4301
4569
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent)
|
|
4302
4570
|
*/
|
|
@@ -4315,7 +4583,11 @@ declare var ProgressEvent: {
|
|
|
4315
4583
|
new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent;
|
|
4316
4584
|
};
|
|
4317
4585
|
|
|
4318
|
-
/**
|
|
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
|
+
*/
|
|
4319
4591
|
interface PromiseRejectionEvent extends Event {
|
|
4320
4592
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise) */
|
|
4321
4593
|
readonly promise: Promise<any>;
|
|
@@ -4329,7 +4601,7 @@ declare var PromiseRejectionEvent: {
|
|
|
4329
4601
|
};
|
|
4330
4602
|
|
|
4331
4603
|
/**
|
|
4332
|
-
*
|
|
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.
|
|
4333
4605
|
* Available only in secure contexts.
|
|
4334
4606
|
*
|
|
4335
4607
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager)
|
|
@@ -4351,7 +4623,7 @@ declare var PushManager: {
|
|
|
4351
4623
|
};
|
|
4352
4624
|
|
|
4353
4625
|
/**
|
|
4354
|
-
*
|
|
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.
|
|
4355
4627
|
* Available only in secure contexts.
|
|
4356
4628
|
*
|
|
4357
4629
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription)
|
|
@@ -4377,6 +4649,7 @@ declare var PushSubscription: {
|
|
|
4377
4649
|
};
|
|
4378
4650
|
|
|
4379
4651
|
/**
|
|
4652
|
+
* The **`PushSubscriptionOptions`** interface of the Push API represents the options associated with a push subscription.
|
|
4380
4653
|
* Available only in secure contexts.
|
|
4381
4654
|
*
|
|
4382
4655
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscriptionOptions)
|
|
@@ -4393,7 +4666,11 @@ declare var PushSubscriptionOptions: {
|
|
|
4393
4666
|
new(): PushSubscriptionOptions;
|
|
4394
4667
|
};
|
|
4395
4668
|
|
|
4396
|
-
/**
|
|
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
|
+
*/
|
|
4397
4674
|
interface ReadableByteStreamController {
|
|
4398
4675
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/byobRequest) */
|
|
4399
4676
|
readonly byobRequest: ReadableStreamBYOBRequest | null;
|
|
@@ -4413,7 +4690,7 @@ declare var ReadableByteStreamController: {
|
|
|
4413
4690
|
};
|
|
4414
4691
|
|
|
4415
4692
|
/**
|
|
4416
|
-
*
|
|
4693
|
+
* The `ReadableStream` interface of the Streams API represents a readable stream of byte data.
|
|
4417
4694
|
*
|
|
4418
4695
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream)
|
|
4419
4696
|
*/
|
|
@@ -4441,7 +4718,11 @@ declare var ReadableStream: {
|
|
|
4441
4718
|
new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;
|
|
4442
4719
|
};
|
|
4443
4720
|
|
|
4444
|
-
/**
|
|
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
|
+
*/
|
|
4445
4726
|
interface ReadableStreamBYOBReader extends ReadableStreamGenericReader {
|
|
4446
4727
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/read) */
|
|
4447
4728
|
read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>;
|
|
@@ -4454,7 +4735,11 @@ declare var ReadableStreamBYOBReader: {
|
|
|
4454
4735
|
new(stream: ReadableStream<Uint8Array>): ReadableStreamBYOBReader;
|
|
4455
4736
|
};
|
|
4456
4737
|
|
|
4457
|
-
/**
|
|
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
|
+
*/
|
|
4458
4743
|
interface ReadableStreamBYOBRequest {
|
|
4459
4744
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view) */
|
|
4460
4745
|
readonly view: ArrayBufferView | null;
|
|
@@ -4469,7 +4754,11 @@ declare var ReadableStreamBYOBRequest: {
|
|
|
4469
4754
|
new(): ReadableStreamBYOBRequest;
|
|
4470
4755
|
};
|
|
4471
4756
|
|
|
4472
|
-
/**
|
|
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
|
+
*/
|
|
4473
4762
|
interface ReadableStreamDefaultController<R = any> {
|
|
4474
4763
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize) */
|
|
4475
4764
|
readonly desiredSize: number | null;
|
|
@@ -4486,7 +4775,11 @@ declare var ReadableStreamDefaultController: {
|
|
|
4486
4775
|
new(): ReadableStreamDefaultController;
|
|
4487
4776
|
};
|
|
4488
4777
|
|
|
4489
|
-
/**
|
|
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
|
+
*/
|
|
4490
4783
|
interface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader {
|
|
4491
4784
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader/read) */
|
|
4492
4785
|
read(): Promise<ReadableStreamReadResult<R>>;
|
|
@@ -4506,7 +4799,11 @@ interface ReadableStreamGenericReader {
|
|
|
4506
4799
|
cancel(reason?: any): Promise<void>;
|
|
4507
4800
|
}
|
|
4508
4801
|
|
|
4509
|
-
/**
|
|
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
|
+
*/
|
|
4510
4807
|
interface Report {
|
|
4511
4808
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body) */
|
|
4512
4809
|
readonly body: ReportBody | null;
|
|
@@ -4522,7 +4819,11 @@ declare var Report: {
|
|
|
4522
4819
|
new(): Report;
|
|
4523
4820
|
};
|
|
4524
4821
|
|
|
4525
|
-
/**
|
|
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
|
+
*/
|
|
4526
4827
|
interface ReportBody {
|
|
4527
4828
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) */
|
|
4528
4829
|
toJSON(): any;
|
|
@@ -4533,7 +4834,11 @@ declare var ReportBody: {
|
|
|
4533
4834
|
new(): ReportBody;
|
|
4534
4835
|
};
|
|
4535
4836
|
|
|
4536
|
-
/**
|
|
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
|
+
*/
|
|
4537
4842
|
interface ReportingObserver {
|
|
4538
4843
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/disconnect) */
|
|
4539
4844
|
disconnect(): void;
|
|
@@ -4549,7 +4854,7 @@ declare var ReportingObserver: {
|
|
|
4549
4854
|
};
|
|
4550
4855
|
|
|
4551
4856
|
/**
|
|
4552
|
-
*
|
|
4857
|
+
* The **`Request`** interface of the Fetch API represents a resource request.
|
|
4553
4858
|
*
|
|
4554
4859
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request)
|
|
4555
4860
|
*/
|
|
@@ -4642,7 +4947,7 @@ declare var Request: {
|
|
|
4642
4947
|
};
|
|
4643
4948
|
|
|
4644
4949
|
/**
|
|
4645
|
-
*
|
|
4950
|
+
* The **`Response`** interface of the Fetch API represents the response to a request.
|
|
4646
4951
|
*
|
|
4647
4952
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
4648
4953
|
*/
|
|
@@ -4677,7 +4982,7 @@ declare var Response: {
|
|
|
4677
4982
|
};
|
|
4678
4983
|
|
|
4679
4984
|
/**
|
|
4680
|
-
*
|
|
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.
|
|
4681
4986
|
*
|
|
4682
4987
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent)
|
|
4683
4988
|
*/
|
|
@@ -4718,7 +5023,7 @@ interface ServiceWorkerEventMap extends AbstractWorkerEventMap {
|
|
|
4718
5023
|
}
|
|
4719
5024
|
|
|
4720
5025
|
/**
|
|
4721
|
-
*
|
|
5026
|
+
* The **`ServiceWorker`** interface of the Service Worker API provides a reference to a service worker.
|
|
4722
5027
|
* Available only in secure contexts.
|
|
4723
5028
|
*
|
|
4724
5029
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker)
|
|
@@ -4751,7 +5056,7 @@ interface ServiceWorkerContainerEventMap {
|
|
|
4751
5056
|
}
|
|
4752
5057
|
|
|
4753
5058
|
/**
|
|
4754
|
-
* 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.
|
|
4755
5060
|
* Available only in secure contexts.
|
|
4756
5061
|
*
|
|
4757
5062
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer)
|
|
@@ -4791,7 +5096,7 @@ interface ServiceWorkerRegistrationEventMap {
|
|
|
4791
5096
|
}
|
|
4792
5097
|
|
|
4793
5098
|
/**
|
|
4794
|
-
*
|
|
5099
|
+
* The **`ServiceWorkerRegistration`** interface of the Service Worker API represents the service worker registration.
|
|
4795
5100
|
* Available only in secure contexts.
|
|
4796
5101
|
*
|
|
4797
5102
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration)
|
|
@@ -4836,7 +5141,11 @@ interface SharedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
|
|
4836
5141
|
"connect": MessageEvent;
|
|
4837
5142
|
}
|
|
4838
5143
|
|
|
4839
|
-
/**
|
|
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
|
+
*/
|
|
4840
5149
|
interface SharedWorkerGlobalScope extends WorkerGlobalScope {
|
|
4841
5150
|
/**
|
|
4842
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.
|
|
@@ -4864,6 +5173,7 @@ declare var SharedWorkerGlobalScope: {
|
|
|
4864
5173
|
};
|
|
4865
5174
|
|
|
4866
5175
|
/**
|
|
5176
|
+
* The **`StorageManager`** interface of the Storage API provides an interface for managing persistence permissions and estimating available storage.
|
|
4867
5177
|
* Available only in secure contexts.
|
|
4868
5178
|
*
|
|
4869
5179
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageManager)
|
|
@@ -4882,7 +5192,11 @@ declare var StorageManager: {
|
|
|
4882
5192
|
new(): StorageManager;
|
|
4883
5193
|
};
|
|
4884
5194
|
|
|
4885
|
-
/**
|
|
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
|
+
*/
|
|
4886
5200
|
interface StylePropertyMapReadOnly {
|
|
4887
5201
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/size) */
|
|
4888
5202
|
readonly size: number;
|
|
@@ -4901,7 +5215,7 @@ declare var StylePropertyMapReadOnly: {
|
|
|
4901
5215
|
};
|
|
4902
5216
|
|
|
4903
5217
|
/**
|
|
4904
|
-
*
|
|
5218
|
+
* The **`SubtleCrypto`** interface of the Web Crypto API provides a number of low-level cryptographic functions.
|
|
4905
5219
|
* Available only in secure contexts.
|
|
4906
5220
|
*
|
|
4907
5221
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto)
|
|
@@ -4945,7 +5259,7 @@ declare var SubtleCrypto: {
|
|
|
4945
5259
|
};
|
|
4946
5260
|
|
|
4947
5261
|
/**
|
|
4948
|
-
*
|
|
5262
|
+
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, `KOI8-R`, `GBK`, etc.
|
|
4949
5263
|
*
|
|
4950
5264
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)
|
|
4951
5265
|
*/
|
|
@@ -4994,7 +5308,11 @@ interface TextDecoderCommon {
|
|
|
4994
5308
|
readonly ignoreBOM: boolean;
|
|
4995
5309
|
}
|
|
4996
5310
|
|
|
4997
|
-
/**
|
|
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
|
+
*/
|
|
4998
5316
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
4999
5317
|
readonly readable: ReadableStream<string>;
|
|
5000
5318
|
readonly writable: WritableStream<BufferSource>;
|
|
@@ -5006,7 +5324,7 @@ declare var TextDecoderStream: {
|
|
|
5006
5324
|
};
|
|
5007
5325
|
|
|
5008
5326
|
/**
|
|
5009
|
-
* 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.
|
|
5010
5328
|
*
|
|
5011
5329
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)
|
|
5012
5330
|
*/
|
|
@@ -5039,7 +5357,11 @@ interface TextEncoderCommon {
|
|
|
5039
5357
|
readonly encoding: string;
|
|
5040
5358
|
}
|
|
5041
5359
|
|
|
5042
|
-
/**
|
|
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
|
+
*/
|
|
5043
5365
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
5044
5366
|
readonly readable: ReadableStream<Uint8Array>;
|
|
5045
5367
|
readonly writable: WritableStream<string>;
|
|
@@ -5051,7 +5373,7 @@ declare var TextEncoderStream: {
|
|
|
5051
5373
|
};
|
|
5052
5374
|
|
|
5053
5375
|
/**
|
|
5054
|
-
* 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.
|
|
5055
5377
|
*
|
|
5056
5378
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics)
|
|
5057
5379
|
*/
|
|
@@ -5135,7 +5457,11 @@ declare var TextMetrics: {
|
|
|
5135
5457
|
new(): TextMetrics;
|
|
5136
5458
|
};
|
|
5137
5459
|
|
|
5138
|
-
/**
|
|
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
|
+
*/
|
|
5139
5465
|
interface TransformStream<I = any, O = any> {
|
|
5140
5466
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable) */
|
|
5141
5467
|
readonly readable: ReadableStream<O>;
|
|
@@ -5148,7 +5474,11 @@ declare var TransformStream: {
|
|
|
5148
5474
|
new<I = any, O = any>(transformer?: Transformer<I, O>, writableStrategy?: QueuingStrategy<I>, readableStrategy?: QueuingStrategy<O>): TransformStream<I, O>;
|
|
5149
5475
|
};
|
|
5150
5476
|
|
|
5151
|
-
/**
|
|
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
|
+
*/
|
|
5152
5482
|
interface TransformStreamDefaultController<O = any> {
|
|
5153
5483
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize) */
|
|
5154
5484
|
readonly desiredSize: number | null;
|
|
@@ -5166,7 +5496,7 @@ declare var TransformStreamDefaultController: {
|
|
|
5166
5496
|
};
|
|
5167
5497
|
|
|
5168
5498
|
/**
|
|
5169
|
-
* The URL
|
|
5499
|
+
* The **`URL`** interface is used to parse, construct, normalize, and encode URL.
|
|
5170
5500
|
*
|
|
5171
5501
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL)
|
|
5172
5502
|
*/
|
|
@@ -5213,7 +5543,11 @@ declare var URL: {
|
|
|
5213
5543
|
revokeObjectURL(url: string): void;
|
|
5214
5544
|
};
|
|
5215
5545
|
|
|
5216
|
-
/**
|
|
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
|
+
*/
|
|
5217
5551
|
interface URLSearchParams {
|
|
5218
5552
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/size) */
|
|
5219
5553
|
readonly size: number;
|
|
@@ -5265,14 +5599,22 @@ declare var URLSearchParams: {
|
|
|
5265
5599
|
new(init?: string[][] | Record<string, string> | string | URLSearchParams): URLSearchParams;
|
|
5266
5600
|
};
|
|
5267
5601
|
|
|
5268
|
-
/**
|
|
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
|
+
*/
|
|
5269
5607
|
interface WEBGL_color_buffer_float {
|
|
5270
5608
|
readonly RGBA32F_EXT: 0x8814;
|
|
5271
5609
|
readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: 0x8211;
|
|
5272
5610
|
readonly UNSIGNED_NORMALIZED_EXT: 0x8C17;
|
|
5273
5611
|
}
|
|
5274
5612
|
|
|
5275
|
-
/**
|
|
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
|
+
*/
|
|
5276
5618
|
interface WEBGL_compressed_texture_astc {
|
|
5277
5619
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_astc/getSupportedProfiles) */
|
|
5278
5620
|
getSupportedProfiles(): string[];
|
|
@@ -5306,7 +5648,11 @@ interface WEBGL_compressed_texture_astc {
|
|
|
5306
5648
|
readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: 0x93DD;
|
|
5307
5649
|
}
|
|
5308
5650
|
|
|
5309
|
-
/**
|
|
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
|
+
*/
|
|
5310
5656
|
interface WEBGL_compressed_texture_etc {
|
|
5311
5657
|
readonly COMPRESSED_R11_EAC: 0x9270;
|
|
5312
5658
|
readonly COMPRESSED_SIGNED_R11_EAC: 0x9271;
|
|
@@ -5320,12 +5666,20 @@ interface WEBGL_compressed_texture_etc {
|
|
|
5320
5666
|
readonly COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: 0x9279;
|
|
5321
5667
|
}
|
|
5322
5668
|
|
|
5323
|
-
/**
|
|
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
|
+
*/
|
|
5324
5674
|
interface WEBGL_compressed_texture_etc1 {
|
|
5325
5675
|
readonly COMPRESSED_RGB_ETC1_WEBGL: 0x8D64;
|
|
5326
5676
|
}
|
|
5327
5677
|
|
|
5328
|
-
/**
|
|
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
|
+
*/
|
|
5329
5683
|
interface WEBGL_compressed_texture_pvrtc {
|
|
5330
5684
|
readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: 0x8C00;
|
|
5331
5685
|
readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: 0x8C01;
|
|
@@ -5334,7 +5688,7 @@ interface WEBGL_compressed_texture_pvrtc {
|
|
|
5334
5688
|
}
|
|
5335
5689
|
|
|
5336
5690
|
/**
|
|
5337
|
-
* 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.
|
|
5338
5692
|
*
|
|
5339
5693
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_s3tc)
|
|
5340
5694
|
*/
|
|
@@ -5345,7 +5699,11 @@ interface WEBGL_compressed_texture_s3tc {
|
|
|
5345
5699
|
readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: 0x83F3;
|
|
5346
5700
|
}
|
|
5347
5701
|
|
|
5348
|
-
/**
|
|
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
|
+
*/
|
|
5349
5707
|
interface WEBGL_compressed_texture_s3tc_srgb {
|
|
5350
5708
|
readonly COMPRESSED_SRGB_S3TC_DXT1_EXT: 0x8C4C;
|
|
5351
5709
|
readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: 0x8C4D;
|
|
@@ -5354,7 +5712,7 @@ interface WEBGL_compressed_texture_s3tc_srgb {
|
|
|
5354
5712
|
}
|
|
5355
5713
|
|
|
5356
5714
|
/**
|
|
5357
|
-
* 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.
|
|
5358
5716
|
*
|
|
5359
5717
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_debug_renderer_info)
|
|
5360
5718
|
*/
|
|
@@ -5363,14 +5721,18 @@ interface WEBGL_debug_renderer_info {
|
|
|
5363
5721
|
readonly UNMASKED_RENDERER_WEBGL: 0x9246;
|
|
5364
5722
|
}
|
|
5365
5723
|
|
|
5366
|
-
/**
|
|
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
|
+
*/
|
|
5367
5729
|
interface WEBGL_debug_shaders {
|
|
5368
5730
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_debug_shaders/getTranslatedShaderSource) */
|
|
5369
5731
|
getTranslatedShaderSource(shader: WebGLShader): string;
|
|
5370
5732
|
}
|
|
5371
5733
|
|
|
5372
5734
|
/**
|
|
5373
|
-
* 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.
|
|
5374
5736
|
*
|
|
5375
5737
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_depth_texture)
|
|
5376
5738
|
*/
|
|
@@ -5378,7 +5740,11 @@ interface WEBGL_depth_texture {
|
|
|
5378
5740
|
readonly UNSIGNED_INT_24_8_WEBGL: 0x84FA;
|
|
5379
5741
|
}
|
|
5380
5742
|
|
|
5381
|
-
/**
|
|
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
|
+
*/
|
|
5382
5748
|
interface WEBGL_draw_buffers {
|
|
5383
5749
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */
|
|
5384
5750
|
drawBuffersWEBGL(buffers: GLenum[]): void;
|
|
@@ -5418,7 +5784,11 @@ interface WEBGL_draw_buffers {
|
|
|
5418
5784
|
readonly MAX_DRAW_BUFFERS_WEBGL: 0x8824;
|
|
5419
5785
|
}
|
|
5420
5786
|
|
|
5421
|
-
/**
|
|
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
|
+
*/
|
|
5422
5792
|
interface WEBGL_lose_context {
|
|
5423
5793
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/loseContext) */
|
|
5424
5794
|
loseContext(): void;
|
|
@@ -5426,7 +5796,11 @@ interface WEBGL_lose_context {
|
|
|
5426
5796
|
restoreContext(): void;
|
|
5427
5797
|
}
|
|
5428
5798
|
|
|
5429
|
-
/**
|
|
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
|
+
*/
|
|
5430
5804
|
interface WEBGL_multi_draw {
|
|
5431
5805
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */
|
|
5432
5806
|
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: number, countsList: Int32Array | GLsizei[], countsOffset: number, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: number, drawcount: GLsizei): void;
|
|
@@ -5438,7 +5812,11 @@ interface WEBGL_multi_draw {
|
|
|
5438
5812
|
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: number, drawcount: GLsizei): void;
|
|
5439
5813
|
}
|
|
5440
5814
|
|
|
5441
|
-
/**
|
|
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
|
+
*/
|
|
5442
5820
|
interface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {
|
|
5443
5821
|
}
|
|
5444
5822
|
|
|
@@ -6509,7 +6887,7 @@ interface WebGL2RenderingContextOverloads {
|
|
|
6509
6887
|
}
|
|
6510
6888
|
|
|
6511
6889
|
/**
|
|
6512
|
-
*
|
|
6890
|
+
* The **WebGLActiveInfo** interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods.
|
|
6513
6891
|
*
|
|
6514
6892
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLActiveInfo)
|
|
6515
6893
|
*/
|
|
@@ -6528,7 +6906,7 @@ declare var WebGLActiveInfo: {
|
|
|
6528
6906
|
};
|
|
6529
6907
|
|
|
6530
6908
|
/**
|
|
6531
|
-
*
|
|
6909
|
+
* The **WebGLBuffer** interface is part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors.
|
|
6532
6910
|
*
|
|
6533
6911
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLBuffer)
|
|
6534
6912
|
*/
|
|
@@ -6541,7 +6919,7 @@ declare var WebGLBuffer: {
|
|
|
6541
6919
|
};
|
|
6542
6920
|
|
|
6543
6921
|
/**
|
|
6544
|
-
* 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.
|
|
6545
6923
|
*
|
|
6546
6924
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLContextEvent)
|
|
6547
6925
|
*/
|
|
@@ -6556,7 +6934,7 @@ declare var WebGLContextEvent: {
|
|
|
6556
6934
|
};
|
|
6557
6935
|
|
|
6558
6936
|
/**
|
|
6559
|
-
*
|
|
6937
|
+
* The **WebGLFramebuffer** interface is part of the WebGL API and represents a collection of buffers that serve as a rendering destination.
|
|
6560
6938
|
*
|
|
6561
6939
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLFramebuffer)
|
|
6562
6940
|
*/
|
|
@@ -6569,7 +6947,7 @@ declare var WebGLFramebuffer: {
|
|
|
6569
6947
|
};
|
|
6570
6948
|
|
|
6571
6949
|
/**
|
|
6572
|
-
* 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).
|
|
6573
6951
|
*
|
|
6574
6952
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLProgram)
|
|
6575
6953
|
*/
|
|
@@ -6581,7 +6959,11 @@ declare var WebGLProgram: {
|
|
|
6581
6959
|
new(): WebGLProgram;
|
|
6582
6960
|
};
|
|
6583
6961
|
|
|
6584
|
-
/**
|
|
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
|
+
*/
|
|
6585
6967
|
interface WebGLQuery {
|
|
6586
6968
|
}
|
|
6587
6969
|
|
|
@@ -6591,7 +6973,7 @@ declare var WebGLQuery: {
|
|
|
6591
6973
|
};
|
|
6592
6974
|
|
|
6593
6975
|
/**
|
|
6594
|
-
*
|
|
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.
|
|
6595
6977
|
*
|
|
6596
6978
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderbuffer)
|
|
6597
6979
|
*/
|
|
@@ -6604,7 +6986,7 @@ declare var WebGLRenderbuffer: {
|
|
|
6604
6986
|
};
|
|
6605
6987
|
|
|
6606
6988
|
/**
|
|
6607
|
-
*
|
|
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.
|
|
6608
6990
|
*
|
|
6609
6991
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext)
|
|
6610
6992
|
*/
|
|
@@ -7533,7 +7915,11 @@ interface WebGLRenderingContextOverloads {
|
|
|
7533
7915
|
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;
|
|
7534
7916
|
}
|
|
7535
7917
|
|
|
7536
|
-
/**
|
|
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
|
+
*/
|
|
7537
7923
|
interface WebGLSampler {
|
|
7538
7924
|
}
|
|
7539
7925
|
|
|
@@ -7543,7 +7929,7 @@ declare var WebGLSampler: {
|
|
|
7543
7929
|
};
|
|
7544
7930
|
|
|
7545
7931
|
/**
|
|
7546
|
-
* 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.
|
|
7547
7933
|
*
|
|
7548
7934
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLShader)
|
|
7549
7935
|
*/
|
|
@@ -7556,7 +7942,7 @@ declare var WebGLShader: {
|
|
|
7556
7942
|
};
|
|
7557
7943
|
|
|
7558
7944
|
/**
|
|
7559
|
-
*
|
|
7945
|
+
* The **WebGLShaderPrecisionFormat** interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() method.
|
|
7560
7946
|
*
|
|
7561
7947
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLShaderPrecisionFormat)
|
|
7562
7948
|
*/
|
|
@@ -7574,7 +7960,11 @@ declare var WebGLShaderPrecisionFormat: {
|
|
|
7574
7960
|
new(): WebGLShaderPrecisionFormat;
|
|
7575
7961
|
};
|
|
7576
7962
|
|
|
7577
|
-
/**
|
|
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
|
+
*/
|
|
7578
7968
|
interface WebGLSync {
|
|
7579
7969
|
}
|
|
7580
7970
|
|
|
@@ -7584,7 +7974,7 @@ declare var WebGLSync: {
|
|
|
7584
7974
|
};
|
|
7585
7975
|
|
|
7586
7976
|
/**
|
|
7587
|
-
*
|
|
7977
|
+
* The **WebGLTexture** interface is part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations.
|
|
7588
7978
|
*
|
|
7589
7979
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLTexture)
|
|
7590
7980
|
*/
|
|
@@ -7596,7 +7986,11 @@ declare var WebGLTexture: {
|
|
|
7596
7986
|
new(): WebGLTexture;
|
|
7597
7987
|
};
|
|
7598
7988
|
|
|
7599
|
-
/**
|
|
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
|
+
*/
|
|
7600
7994
|
interface WebGLTransformFeedback {
|
|
7601
7995
|
}
|
|
7602
7996
|
|
|
@@ -7606,7 +8000,7 @@ declare var WebGLTransformFeedback: {
|
|
|
7606
8000
|
};
|
|
7607
8001
|
|
|
7608
8002
|
/**
|
|
7609
|
-
*
|
|
8003
|
+
* The **WebGLUniformLocation** interface is part of the WebGL API and represents the location of a uniform variable in a shader program.
|
|
7610
8004
|
*
|
|
7611
8005
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLUniformLocation)
|
|
7612
8006
|
*/
|
|
@@ -7618,7 +8012,11 @@ declare var WebGLUniformLocation: {
|
|
|
7618
8012
|
new(): WebGLUniformLocation;
|
|
7619
8013
|
};
|
|
7620
8014
|
|
|
7621
|
-
/**
|
|
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
|
+
*/
|
|
7622
8020
|
interface WebGLVertexArrayObject {
|
|
7623
8021
|
}
|
|
7624
8022
|
|
|
@@ -7639,7 +8037,7 @@ interface WebSocketEventMap {
|
|
|
7639
8037
|
}
|
|
7640
8038
|
|
|
7641
8039
|
/**
|
|
7642
|
-
*
|
|
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.
|
|
7643
8041
|
*
|
|
7644
8042
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket)
|
|
7645
8043
|
*/
|
|
@@ -7724,6 +8122,7 @@ declare var WebSocket: {
|
|
|
7724
8122
|
};
|
|
7725
8123
|
|
|
7726
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.
|
|
7727
8126
|
* Available only in secure contexts.
|
|
7728
8127
|
*
|
|
7729
8128
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport)
|
|
@@ -7753,6 +8152,7 @@ declare var WebTransport: {
|
|
|
7753
8152
|
};
|
|
7754
8153
|
|
|
7755
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.
|
|
7756
8156
|
* Available only in secure contexts.
|
|
7757
8157
|
*
|
|
7758
8158
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportBidirectionalStream)
|
|
@@ -7770,6 +8170,7 @@ declare var WebTransportBidirectionalStream: {
|
|
|
7770
8170
|
};
|
|
7771
8171
|
|
|
7772
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.
|
|
7773
8174
|
* Available only in secure contexts.
|
|
7774
8175
|
*
|
|
7775
8176
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream)
|
|
@@ -7797,6 +8198,7 @@ declare var WebTransportDatagramDuplexStream: {
|
|
|
7797
8198
|
};
|
|
7798
8199
|
|
|
7799
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).
|
|
7800
8202
|
* Available only in secure contexts.
|
|
7801
8203
|
*
|
|
7802
8204
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportError)
|
|
@@ -7861,7 +8263,7 @@ interface WorkerEventMap extends AbstractWorkerEventMap, MessageEventTargetEvent
|
|
|
7861
8263
|
}
|
|
7862
8264
|
|
|
7863
8265
|
/**
|
|
7864
|
-
*
|
|
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.
|
|
7865
8267
|
*
|
|
7866
8268
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Worker)
|
|
7867
8269
|
*/
|
|
@@ -7900,7 +8302,7 @@ interface WorkerGlobalScopeEventMap {
|
|
|
7900
8302
|
}
|
|
7901
8303
|
|
|
7902
8304
|
/**
|
|
7903
|
-
*
|
|
8305
|
+
* The **`WorkerGlobalScope`** interface of the Web Workers API is an interface representing the scope of any worker.
|
|
7904
8306
|
*
|
|
7905
8307
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope)
|
|
7906
8308
|
*/
|
|
@@ -7953,7 +8355,7 @@ declare var WorkerGlobalScope: {
|
|
|
7953
8355
|
};
|
|
7954
8356
|
|
|
7955
8357
|
/**
|
|
7956
|
-
* 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.
|
|
7957
8359
|
*
|
|
7958
8360
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerLocation)
|
|
7959
8361
|
*/
|
|
@@ -7985,7 +8387,7 @@ declare var WorkerLocation: {
|
|
|
7985
8387
|
};
|
|
7986
8388
|
|
|
7987
8389
|
/**
|
|
7988
|
-
*
|
|
8390
|
+
* The **`WorkerNavigator`** interface represents a subset of the Navigator interface allowed to be accessed from a Worker.
|
|
7989
8391
|
*
|
|
7990
8392
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerNavigator)
|
|
7991
8393
|
*/
|
|
@@ -8008,7 +8410,7 @@ declare var WorkerNavigator: {
|
|
|
8008
8410
|
};
|
|
8009
8411
|
|
|
8010
8412
|
/**
|
|
8011
|
-
*
|
|
8413
|
+
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
|
8012
8414
|
*
|
|
8013
8415
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream)
|
|
8014
8416
|
*/
|
|
@@ -8029,7 +8431,7 @@ declare var WritableStream: {
|
|
|
8029
8431
|
};
|
|
8030
8432
|
|
|
8031
8433
|
/**
|
|
8032
|
-
*
|
|
8434
|
+
* The **`WritableStreamDefaultController`** interface of the Streams API represents a controller allowing control of a WritableStream's state.
|
|
8033
8435
|
*
|
|
8034
8436
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController)
|
|
8035
8437
|
*/
|
|
@@ -8046,7 +8448,7 @@ declare var WritableStreamDefaultController: {
|
|
|
8046
8448
|
};
|
|
8047
8449
|
|
|
8048
8450
|
/**
|
|
8049
|
-
*
|
|
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.
|
|
8050
8452
|
*
|
|
8051
8453
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter)
|
|
8052
8454
|
*/
|
|
@@ -8077,7 +8479,7 @@ interface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap {
|
|
|
8077
8479
|
}
|
|
8078
8480
|
|
|
8079
8481
|
/**
|
|
8080
|
-
*
|
|
8482
|
+
* `XMLHttpRequest` (XHR) objects are used to interact with servers.
|
|
8081
8483
|
*
|
|
8082
8484
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest)
|
|
8083
8485
|
*/
|
|
@@ -8226,7 +8628,11 @@ interface XMLHttpRequestEventTargetEventMap {
|
|
|
8226
8628
|
"timeout": ProgressEvent<XMLHttpRequestEventTarget>;
|
|
8227
8629
|
}
|
|
8228
8630
|
|
|
8229
|
-
/**
|
|
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
|
+
*/
|
|
8230
8636
|
interface XMLHttpRequestEventTarget extends EventTarget {
|
|
8231
8637
|
onabort: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
|
|
8232
8638
|
onerror: ((this: XMLHttpRequest, ev: ProgressEvent) => any) | null;
|
|
@@ -8246,7 +8652,11 @@ declare var XMLHttpRequestEventTarget: {
|
|
|
8246
8652
|
new(): XMLHttpRequestEventTarget;
|
|
8247
8653
|
};
|
|
8248
8654
|
|
|
8249
|
-
/**
|
|
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
|
+
*/
|
|
8250
8660
|
interface XMLHttpRequestUpload extends XMLHttpRequestEventTarget {
|
|
8251
8661
|
addEventListener<K extends keyof XMLHttpRequestEventTargetEventMap>(type: K, listener: (this: XMLHttpRequestUpload, ev: XMLHttpRequestEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
8252
8662
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -8418,7 +8828,12 @@ declare namespace WebAssembly {
|
|
|
8418
8828
|
function validate(bytes: BufferSource): boolean;
|
|
8419
8829
|
}
|
|
8420
8830
|
|
|
8421
|
-
/**
|
|
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
|
+
*/
|
|
8422
8837
|
interface Console {
|
|
8423
8838
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/assert_static) */
|
|
8424
8839
|
assert(condition?: boolean, ...data: any[]): void;
|