@types/serviceworker 0.0.128 → 0.0.130
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 +604 -197
- package/package.json +1 -1
- package/ts5.5/index.d.ts +604 -197
package/index.d.ts
CHANGED
|
@@ -230,7 +230,6 @@ interface FetchEventInit extends ExtendableEventInit {
|
|
|
230
230
|
clientId?: string;
|
|
231
231
|
handled?: Promise<void>;
|
|
232
232
|
preloadResponse?: Promise<any>;
|
|
233
|
-
replacesClientId?: string;
|
|
234
233
|
request: Request;
|
|
235
234
|
resultingClientId?: string;
|
|
236
235
|
}
|
|
@@ -790,7 +789,7 @@ interface WriteParams {
|
|
|
790
789
|
}
|
|
791
790
|
|
|
792
791
|
/**
|
|
793
|
-
* 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.
|
|
792
|
+
* 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.
|
|
794
793
|
*
|
|
795
794
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ANGLE_instanced_arrays)
|
|
796
795
|
*/
|
|
@@ -805,7 +804,7 @@ interface ANGLE_instanced_arrays {
|
|
|
805
804
|
}
|
|
806
805
|
|
|
807
806
|
/**
|
|
808
|
-
*
|
|
807
|
+
* The **`AbortController`** interface represents a controller object that allows you to abort one or more Web requests as and when desired.
|
|
809
808
|
*
|
|
810
809
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController)
|
|
811
810
|
*/
|
|
@@ -834,7 +833,7 @@ interface AbortSignalEventMap {
|
|
|
834
833
|
}
|
|
835
834
|
|
|
836
835
|
/**
|
|
837
|
-
*
|
|
836
|
+
* 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.
|
|
838
837
|
*
|
|
839
838
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal)
|
|
840
839
|
*/
|
|
@@ -882,7 +881,7 @@ interface AbstractWorker {
|
|
|
882
881
|
}
|
|
883
882
|
|
|
884
883
|
/**
|
|
885
|
-
*
|
|
884
|
+
* 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.
|
|
886
885
|
*
|
|
887
886
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob)
|
|
888
887
|
*/
|
|
@@ -932,7 +931,11 @@ interface BroadcastChannelEventMap {
|
|
|
932
931
|
"messageerror": MessageEvent;
|
|
933
932
|
}
|
|
934
933
|
|
|
935
|
-
/**
|
|
934
|
+
/**
|
|
935
|
+
* The **`BroadcastChannel`** interface represents a named channel that any browsing context of a given origin can subscribe to.
|
|
936
|
+
*
|
|
937
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel)
|
|
938
|
+
*/
|
|
936
939
|
interface BroadcastChannel extends EventTarget {
|
|
937
940
|
/**
|
|
938
941
|
* Returns the channel name (as passed to the constructor).
|
|
@@ -968,7 +971,7 @@ declare var BroadcastChannel: {
|
|
|
968
971
|
};
|
|
969
972
|
|
|
970
973
|
/**
|
|
971
|
-
*
|
|
974
|
+
* The **`ByteLengthQueuingStrategy`** interface of the Streams API provides a built-in byte length queuing strategy that can be used when constructing streams.
|
|
972
975
|
*
|
|
973
976
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy)
|
|
974
977
|
*/
|
|
@@ -984,7 +987,11 @@ declare var ByteLengthQueuingStrategy: {
|
|
|
984
987
|
new(init: QueuingStrategyInit): ByteLengthQueuingStrategy;
|
|
985
988
|
};
|
|
986
989
|
|
|
987
|
-
/**
|
|
990
|
+
/**
|
|
991
|
+
* 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.
|
|
992
|
+
*
|
|
993
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImageValue)
|
|
994
|
+
*/
|
|
988
995
|
interface CSSImageValue extends CSSStyleValue {
|
|
989
996
|
}
|
|
990
997
|
|
|
@@ -993,7 +1000,11 @@ declare var CSSImageValue: {
|
|
|
993
1000
|
new(): CSSImageValue;
|
|
994
1001
|
};
|
|
995
1002
|
|
|
996
|
-
/**
|
|
1003
|
+
/**
|
|
1004
|
+
* The **`CSSKeywordValue`** interface of the CSS Typed Object Model API creates an object to represent CSS keywords and other identifiers.
|
|
1005
|
+
*
|
|
1006
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue)
|
|
1007
|
+
*/
|
|
997
1008
|
interface CSSKeywordValue extends CSSStyleValue {
|
|
998
1009
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue/value) */
|
|
999
1010
|
value: string;
|
|
@@ -1015,7 +1026,11 @@ declare var CSSMathClamp: {
|
|
|
1015
1026
|
new(lower: CSSNumberish, value: CSSNumberish, upper: CSSNumberish): CSSMathClamp;
|
|
1016
1027
|
};
|
|
1017
1028
|
|
|
1018
|
-
/**
|
|
1029
|
+
/**
|
|
1030
|
+
* 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.
|
|
1031
|
+
*
|
|
1032
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert)
|
|
1033
|
+
*/
|
|
1019
1034
|
interface CSSMathInvert extends CSSMathValue {
|
|
1020
1035
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert/value) */
|
|
1021
1036
|
readonly value: CSSNumericValue;
|
|
@@ -1026,7 +1041,11 @@ declare var CSSMathInvert: {
|
|
|
1026
1041
|
new(arg: CSSNumberish): CSSMathInvert;
|
|
1027
1042
|
};
|
|
1028
1043
|
|
|
1029
|
-
/**
|
|
1044
|
+
/**
|
|
1045
|
+
* The **`CSSMathMax`** interface of the CSS Typed Object Model API represents the CSS max function.
|
|
1046
|
+
*
|
|
1047
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax)
|
|
1048
|
+
*/
|
|
1030
1049
|
interface CSSMathMax extends CSSMathValue {
|
|
1031
1050
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax/values) */
|
|
1032
1051
|
readonly values: CSSNumericArray;
|
|
@@ -1037,7 +1056,11 @@ declare var CSSMathMax: {
|
|
|
1037
1056
|
new(...args: CSSNumberish[]): CSSMathMax;
|
|
1038
1057
|
};
|
|
1039
1058
|
|
|
1040
|
-
/**
|
|
1059
|
+
/**
|
|
1060
|
+
* The **`CSSMathMin`** interface of the CSS Typed Object Model API represents the CSS min function.
|
|
1061
|
+
*
|
|
1062
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin)
|
|
1063
|
+
*/
|
|
1041
1064
|
interface CSSMathMin extends CSSMathValue {
|
|
1042
1065
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin/values) */
|
|
1043
1066
|
readonly values: CSSNumericArray;
|
|
@@ -1048,7 +1071,11 @@ declare var CSSMathMin: {
|
|
|
1048
1071
|
new(...args: CSSNumberish[]): CSSMathMin;
|
|
1049
1072
|
};
|
|
1050
1073
|
|
|
1051
|
-
/**
|
|
1074
|
+
/**
|
|
1075
|
+
* The **`CSSMathNegate`** interface of the CSS Typed Object Model API negates the value passed into it.
|
|
1076
|
+
*
|
|
1077
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate)
|
|
1078
|
+
*/
|
|
1052
1079
|
interface CSSMathNegate extends CSSMathValue {
|
|
1053
1080
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate/value) */
|
|
1054
1081
|
readonly value: CSSNumericValue;
|
|
@@ -1059,7 +1086,11 @@ declare var CSSMathNegate: {
|
|
|
1059
1086
|
new(arg: CSSNumberish): CSSMathNegate;
|
|
1060
1087
|
};
|
|
1061
1088
|
|
|
1062
|
-
/**
|
|
1089
|
+
/**
|
|
1090
|
+
* 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.
|
|
1091
|
+
*
|
|
1092
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct)
|
|
1093
|
+
*/
|
|
1063
1094
|
interface CSSMathProduct extends CSSMathValue {
|
|
1064
1095
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct/values) */
|
|
1065
1096
|
readonly values: CSSNumericArray;
|
|
@@ -1070,7 +1101,11 @@ declare var CSSMathProduct: {
|
|
|
1070
1101
|
new(...args: CSSNumberish[]): CSSMathProduct;
|
|
1071
1102
|
};
|
|
1072
1103
|
|
|
1073
|
-
/**
|
|
1104
|
+
/**
|
|
1105
|
+
* 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.
|
|
1106
|
+
*
|
|
1107
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathSum)
|
|
1108
|
+
*/
|
|
1074
1109
|
interface CSSMathSum extends CSSMathValue {
|
|
1075
1110
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathSum/values) */
|
|
1076
1111
|
readonly values: CSSNumericArray;
|
|
@@ -1081,7 +1116,11 @@ declare var CSSMathSum: {
|
|
|
1081
1116
|
new(...args: CSSNumberish[]): CSSMathSum;
|
|
1082
1117
|
};
|
|
1083
1118
|
|
|
1084
|
-
/**
|
|
1119
|
+
/**
|
|
1120
|
+
* The **`CSSMathValue`** interface of the CSS Typed Object Model API a base class for classes representing complex numeric values.
|
|
1121
|
+
*
|
|
1122
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathValue)
|
|
1123
|
+
*/
|
|
1085
1124
|
interface CSSMathValue extends CSSNumericValue {
|
|
1086
1125
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathValue/operator) */
|
|
1087
1126
|
readonly operator: CSSMathOperator;
|
|
@@ -1092,7 +1131,11 @@ declare var CSSMathValue: {
|
|
|
1092
1131
|
new(): CSSMathValue;
|
|
1093
1132
|
};
|
|
1094
1133
|
|
|
1095
|
-
/**
|
|
1134
|
+
/**
|
|
1135
|
+
* The **`CSSMatrixComponent`** interface of the CSS Typed Object Model API represents the matrix() and matrix3d() values of the individual transform property in CSS.
|
|
1136
|
+
*
|
|
1137
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent)
|
|
1138
|
+
*/
|
|
1096
1139
|
interface CSSMatrixComponent extends CSSTransformComponent {
|
|
1097
1140
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent/matrix) */
|
|
1098
1141
|
matrix: DOMMatrix;
|
|
@@ -1103,7 +1146,11 @@ declare var CSSMatrixComponent: {
|
|
|
1103
1146
|
new(matrix: DOMMatrixReadOnly, options?: CSSMatrixComponentOptions): CSSMatrixComponent;
|
|
1104
1147
|
};
|
|
1105
1148
|
|
|
1106
|
-
/**
|
|
1149
|
+
/**
|
|
1150
|
+
* The **`CSSNumericArray`** interface of the CSS Typed Object Model API contains a list of CSSNumericValue objects.
|
|
1151
|
+
*
|
|
1152
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray)
|
|
1153
|
+
*/
|
|
1107
1154
|
interface CSSNumericArray {
|
|
1108
1155
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray/length) */
|
|
1109
1156
|
readonly length: number;
|
|
@@ -1116,7 +1163,11 @@ declare var CSSNumericArray: {
|
|
|
1116
1163
|
new(): CSSNumericArray;
|
|
1117
1164
|
};
|
|
1118
1165
|
|
|
1119
|
-
/**
|
|
1166
|
+
/**
|
|
1167
|
+
* The **`CSSNumericValue`** interface of the CSS Typed Object Model API represents operations that all numeric values can perform.
|
|
1168
|
+
*
|
|
1169
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue)
|
|
1170
|
+
*/
|
|
1120
1171
|
interface CSSNumericValue extends CSSStyleValue {
|
|
1121
1172
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add) */
|
|
1122
1173
|
add(...values: CSSNumberish[]): CSSNumericValue;
|
|
@@ -1145,7 +1196,11 @@ declare var CSSNumericValue: {
|
|
|
1145
1196
|
new(): CSSNumericValue;
|
|
1146
1197
|
};
|
|
1147
1198
|
|
|
1148
|
-
/**
|
|
1199
|
+
/**
|
|
1200
|
+
* The **`CSSPerspective`** interface of the CSS Typed Object Model API represents the perspective() value of the individual transform property in CSS.
|
|
1201
|
+
*
|
|
1202
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective)
|
|
1203
|
+
*/
|
|
1149
1204
|
interface CSSPerspective extends CSSTransformComponent {
|
|
1150
1205
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective/length) */
|
|
1151
1206
|
length: CSSPerspectiveValue;
|
|
@@ -1156,7 +1211,11 @@ declare var CSSPerspective: {
|
|
|
1156
1211
|
new(length: CSSPerspectiveValue): CSSPerspective;
|
|
1157
1212
|
};
|
|
1158
1213
|
|
|
1159
|
-
/**
|
|
1214
|
+
/**
|
|
1215
|
+
* The **`CSSRotate`** interface of the CSS Typed Object Model API represents the rotate value of the individual transform property in CSS.
|
|
1216
|
+
*
|
|
1217
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate)
|
|
1218
|
+
*/
|
|
1160
1219
|
interface CSSRotate extends CSSTransformComponent {
|
|
1161
1220
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/angle) */
|
|
1162
1221
|
angle: CSSNumericValue;
|
|
@@ -1174,7 +1233,11 @@ declare var CSSRotate: {
|
|
|
1174
1233
|
new(x: CSSNumberish, y: CSSNumberish, z: CSSNumberish, angle: CSSNumericValue): CSSRotate;
|
|
1175
1234
|
};
|
|
1176
1235
|
|
|
1177
|
-
/**
|
|
1236
|
+
/**
|
|
1237
|
+
* The **`CSSScale`** interface of the CSS Typed Object Model API represents the scale() and scale3d() values of the individual transform property in CSS.
|
|
1238
|
+
*
|
|
1239
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale)
|
|
1240
|
+
*/
|
|
1178
1241
|
interface CSSScale extends CSSTransformComponent {
|
|
1179
1242
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/x) */
|
|
1180
1243
|
x: CSSNumberish;
|
|
@@ -1189,7 +1252,11 @@ declare var CSSScale: {
|
|
|
1189
1252
|
new(x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale;
|
|
1190
1253
|
};
|
|
1191
1254
|
|
|
1192
|
-
/**
|
|
1255
|
+
/**
|
|
1256
|
+
* The **`CSSSkew`** interface of the CSS Typed Object Model API is part of the CSSTransformValue interface.
|
|
1257
|
+
*
|
|
1258
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew)
|
|
1259
|
+
*/
|
|
1193
1260
|
interface CSSSkew extends CSSTransformComponent {
|
|
1194
1261
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax) */
|
|
1195
1262
|
ax: CSSNumericValue;
|
|
@@ -1202,7 +1269,11 @@ declare var CSSSkew: {
|
|
|
1202
1269
|
new(ax: CSSNumericValue, ay: CSSNumericValue): CSSSkew;
|
|
1203
1270
|
};
|
|
1204
1271
|
|
|
1205
|
-
/**
|
|
1272
|
+
/**
|
|
1273
|
+
* The **`CSSSkewX`** interface of the CSS Typed Object Model API represents the `skewX()` value of the individual transform property in CSS.
|
|
1274
|
+
*
|
|
1275
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX)
|
|
1276
|
+
*/
|
|
1206
1277
|
interface CSSSkewX extends CSSTransformComponent {
|
|
1207
1278
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX/ax) */
|
|
1208
1279
|
ax: CSSNumericValue;
|
|
@@ -1213,7 +1284,11 @@ declare var CSSSkewX: {
|
|
|
1213
1284
|
new(ax: CSSNumericValue): CSSSkewX;
|
|
1214
1285
|
};
|
|
1215
1286
|
|
|
1216
|
-
/**
|
|
1287
|
+
/**
|
|
1288
|
+
* The **`CSSSkewY`** interface of the CSS Typed Object Model API represents the `skewY()` value of the individual transform property in CSS.
|
|
1289
|
+
*
|
|
1290
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY)
|
|
1291
|
+
*/
|
|
1217
1292
|
interface CSSSkewY extends CSSTransformComponent {
|
|
1218
1293
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY/ay) */
|
|
1219
1294
|
ay: CSSNumericValue;
|
|
@@ -1224,7 +1299,11 @@ declare var CSSSkewY: {
|
|
|
1224
1299
|
new(ay: CSSNumericValue): CSSSkewY;
|
|
1225
1300
|
};
|
|
1226
1301
|
|
|
1227
|
-
/**
|
|
1302
|
+
/**
|
|
1303
|
+
* The **`CSSStyleValue`** interface of the CSS Typed Object Model API is the base class of all CSS values accessible through the Typed OM API.
|
|
1304
|
+
*
|
|
1305
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleValue)
|
|
1306
|
+
*/
|
|
1228
1307
|
interface CSSStyleValue {
|
|
1229
1308
|
toString(): string;
|
|
1230
1309
|
}
|
|
@@ -1234,7 +1313,11 @@ declare var CSSStyleValue: {
|
|
|
1234
1313
|
new(): CSSStyleValue;
|
|
1235
1314
|
};
|
|
1236
1315
|
|
|
1237
|
-
/**
|
|
1316
|
+
/**
|
|
1317
|
+
* The **`CSSTransformComponent`** interface of the CSS Typed Object Model API is part of the CSSTransformValue interface.
|
|
1318
|
+
*
|
|
1319
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent)
|
|
1320
|
+
*/
|
|
1238
1321
|
interface CSSTransformComponent {
|
|
1239
1322
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent/is2D) */
|
|
1240
1323
|
is2D: boolean;
|
|
@@ -1248,7 +1331,11 @@ declare var CSSTransformComponent: {
|
|
|
1248
1331
|
new(): CSSTransformComponent;
|
|
1249
1332
|
};
|
|
1250
1333
|
|
|
1251
|
-
/**
|
|
1334
|
+
/**
|
|
1335
|
+
* The **`CSSTransformValue`** interface of the CSS Typed Object Model API represents `transform-list` values as used by the CSS transform property.
|
|
1336
|
+
*
|
|
1337
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue)
|
|
1338
|
+
*/
|
|
1252
1339
|
interface CSSTransformValue extends CSSStyleValue {
|
|
1253
1340
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/is2D) */
|
|
1254
1341
|
readonly is2D: boolean;
|
|
@@ -1265,7 +1352,11 @@ declare var CSSTransformValue: {
|
|
|
1265
1352
|
new(transforms: CSSTransformComponent[]): CSSTransformValue;
|
|
1266
1353
|
};
|
|
1267
1354
|
|
|
1268
|
-
/**
|
|
1355
|
+
/**
|
|
1356
|
+
* The **`CSSTranslate`** interface of the CSS Typed Object Model API represents the translate() value of the individual transform property in CSS.
|
|
1357
|
+
*
|
|
1358
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate)
|
|
1359
|
+
*/
|
|
1269
1360
|
interface CSSTranslate extends CSSTransformComponent {
|
|
1270
1361
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/x) */
|
|
1271
1362
|
x: CSSNumericValue;
|
|
@@ -1280,7 +1371,11 @@ declare var CSSTranslate: {
|
|
|
1280
1371
|
new(x: CSSNumericValue, y: CSSNumericValue, z?: CSSNumericValue): CSSTranslate;
|
|
1281
1372
|
};
|
|
1282
1373
|
|
|
1283
|
-
/**
|
|
1374
|
+
/**
|
|
1375
|
+
* The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type.
|
|
1376
|
+
*
|
|
1377
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue)
|
|
1378
|
+
*/
|
|
1284
1379
|
interface CSSUnitValue extends CSSNumericValue {
|
|
1285
1380
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/unit) */
|
|
1286
1381
|
readonly unit: string;
|
|
@@ -1293,7 +1388,11 @@ declare var CSSUnitValue: {
|
|
|
1293
1388
|
new(value: number, unit: string): CSSUnitValue;
|
|
1294
1389
|
};
|
|
1295
1390
|
|
|
1296
|
-
/**
|
|
1391
|
+
/**
|
|
1392
|
+
* The **`CSSUnparsedValue`** interface of the CSS Typed Object Model API represents property values that reference custom properties.
|
|
1393
|
+
*
|
|
1394
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue)
|
|
1395
|
+
*/
|
|
1297
1396
|
interface CSSUnparsedValue extends CSSStyleValue {
|
|
1298
1397
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue/length) */
|
|
1299
1398
|
readonly length: number;
|
|
@@ -1306,7 +1405,11 @@ declare var CSSUnparsedValue: {
|
|
|
1306
1405
|
new(members: CSSUnparsedSegment[]): CSSUnparsedValue;
|
|
1307
1406
|
};
|
|
1308
1407
|
|
|
1309
|
-
/**
|
|
1408
|
+
/**
|
|
1409
|
+
* The **`CSSVariableReferenceValue`** interface of the CSS Typed Object Model API allows you to create a custom name for a built-in CSS value.
|
|
1410
|
+
*
|
|
1411
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue)
|
|
1412
|
+
*/
|
|
1310
1413
|
interface CSSVariableReferenceValue {
|
|
1311
1414
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/fallback) */
|
|
1312
1415
|
readonly fallback: CSSUnparsedValue | null;
|
|
@@ -1320,7 +1423,7 @@ declare var CSSVariableReferenceValue: {
|
|
|
1320
1423
|
};
|
|
1321
1424
|
|
|
1322
1425
|
/**
|
|
1323
|
-
*
|
|
1426
|
+
* The **`Cache`** interface provides a persistent storage mechanism for Request / Response object pairs that are cached in long lived memory.
|
|
1324
1427
|
* Available only in secure contexts.
|
|
1325
1428
|
*
|
|
1326
1429
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache)
|
|
@@ -1348,7 +1451,7 @@ declare var Cache: {
|
|
|
1348
1451
|
};
|
|
1349
1452
|
|
|
1350
1453
|
/**
|
|
1351
|
-
* The storage for Cache objects.
|
|
1454
|
+
* The **`CacheStorage`** interface represents the storage for Cache objects.
|
|
1352
1455
|
* Available only in secure contexts.
|
|
1353
1456
|
*
|
|
1354
1457
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage)
|
|
@@ -1426,7 +1529,7 @@ interface CanvasFilters {
|
|
|
1426
1529
|
}
|
|
1427
1530
|
|
|
1428
1531
|
/**
|
|
1429
|
-
*
|
|
1532
|
+
* The **`CanvasGradient`** interface represents an opaque object describing a gradient.
|
|
1430
1533
|
*
|
|
1431
1534
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasGradient)
|
|
1432
1535
|
*/
|
|
@@ -1505,7 +1608,7 @@ interface CanvasPathDrawingStyles {
|
|
|
1505
1608
|
}
|
|
1506
1609
|
|
|
1507
1610
|
/**
|
|
1508
|
-
*
|
|
1611
|
+
* 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.
|
|
1509
1612
|
*
|
|
1510
1613
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasPattern)
|
|
1511
1614
|
*/
|
|
@@ -1605,7 +1708,7 @@ interface CanvasTransform {
|
|
|
1605
1708
|
}
|
|
1606
1709
|
|
|
1607
1710
|
/**
|
|
1608
|
-
* The Client
|
|
1711
|
+
* The `Client` interface represents an executable context such as a Worker, or a SharedWorker.
|
|
1609
1712
|
*
|
|
1610
1713
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Client)
|
|
1611
1714
|
*/
|
|
@@ -1629,7 +1732,7 @@ declare var Client: {
|
|
|
1629
1732
|
};
|
|
1630
1733
|
|
|
1631
1734
|
/**
|
|
1632
|
-
*
|
|
1735
|
+
* The `Clients` interface provides access to Client objects.
|
|
1633
1736
|
*
|
|
1634
1737
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clients)
|
|
1635
1738
|
*/
|
|
@@ -1650,7 +1753,7 @@ declare var Clients: {
|
|
|
1650
1753
|
};
|
|
1651
1754
|
|
|
1652
1755
|
/**
|
|
1653
|
-
* A CloseEvent is sent to clients using WebSockets when the connection is closed.
|
|
1756
|
+
* A `CloseEvent` is sent to clients using WebSockets when the connection is closed.
|
|
1654
1757
|
*
|
|
1655
1758
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent)
|
|
1656
1759
|
*/
|
|
@@ -1680,7 +1783,11 @@ declare var CloseEvent: {
|
|
|
1680
1783
|
new(type: string, eventInitDict?: CloseEventInit): CloseEvent;
|
|
1681
1784
|
};
|
|
1682
1785
|
|
|
1683
|
-
/**
|
|
1786
|
+
/**
|
|
1787
|
+
* The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
|
|
1788
|
+
*
|
|
1789
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
|
|
1790
|
+
*/
|
|
1684
1791
|
interface CompressionStream extends GenericTransformStream {
|
|
1685
1792
|
readonly readable: ReadableStream<Uint8Array>;
|
|
1686
1793
|
readonly writable: WritableStream<BufferSource>;
|
|
@@ -1692,6 +1799,7 @@ declare var CompressionStream: {
|
|
|
1692
1799
|
};
|
|
1693
1800
|
|
|
1694
1801
|
/**
|
|
1802
|
+
* The **`CookieStore`** interface of the Cookie Store API provides methods for getting and setting cookies asynchronously from either a page or a service worker.
|
|
1695
1803
|
* Available only in secure contexts.
|
|
1696
1804
|
*
|
|
1697
1805
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore)
|
|
@@ -1717,7 +1825,7 @@ declare var CookieStore: {
|
|
|
1717
1825
|
};
|
|
1718
1826
|
|
|
1719
1827
|
/**
|
|
1720
|
-
*
|
|
1828
|
+
* The **`CountQueuingStrategy`** interface of the Streams API provides a built-in chunk counting queuing strategy that can be used when constructing streams.
|
|
1721
1829
|
*
|
|
1722
1830
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy)
|
|
1723
1831
|
*/
|
|
@@ -1734,7 +1842,7 @@ declare var CountQueuingStrategy: {
|
|
|
1734
1842
|
};
|
|
1735
1843
|
|
|
1736
1844
|
/**
|
|
1737
|
-
*
|
|
1845
|
+
* The **`Crypto`** interface represents basic cryptography features available in the current context.
|
|
1738
1846
|
*
|
|
1739
1847
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto)
|
|
1740
1848
|
*/
|
|
@@ -1761,7 +1869,7 @@ declare var Crypto: {
|
|
|
1761
1869
|
};
|
|
1762
1870
|
|
|
1763
1871
|
/**
|
|
1764
|
-
* The CryptoKey
|
|
1872
|
+
* 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.
|
|
1765
1873
|
* Available only in secure contexts.
|
|
1766
1874
|
*
|
|
1767
1875
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey)
|
|
@@ -1782,7 +1890,11 @@ declare var CryptoKey: {
|
|
|
1782
1890
|
new(): CryptoKey;
|
|
1783
1891
|
};
|
|
1784
1892
|
|
|
1785
|
-
/**
|
|
1893
|
+
/**
|
|
1894
|
+
* The **`CustomEvent`** interface represents events initialized by an application for any purpose.
|
|
1895
|
+
*
|
|
1896
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)
|
|
1897
|
+
*/
|
|
1786
1898
|
interface CustomEvent<T = any> extends Event {
|
|
1787
1899
|
/**
|
|
1788
1900
|
* Returns any custom data event was created with. Typically used for synthetic events.
|
|
@@ -1804,7 +1916,7 @@ declare var CustomEvent: {
|
|
|
1804
1916
|
};
|
|
1805
1917
|
|
|
1806
1918
|
/**
|
|
1807
|
-
*
|
|
1919
|
+
* 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.
|
|
1808
1920
|
*
|
|
1809
1921
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException)
|
|
1810
1922
|
*/
|
|
@@ -1876,7 +1988,11 @@ declare var DOMException: {
|
|
|
1876
1988
|
readonly DATA_CLONE_ERR: 25;
|
|
1877
1989
|
};
|
|
1878
1990
|
|
|
1879
|
-
/**
|
|
1991
|
+
/**
|
|
1992
|
+
* The **`DOMMatrix`** interface represents 4×4 matrices, suitable for 2D and 3D operations including rotation and translation.
|
|
1993
|
+
*
|
|
1994
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix)
|
|
1995
|
+
*/
|
|
1880
1996
|
interface DOMMatrix extends DOMMatrixReadOnly {
|
|
1881
1997
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
1882
1998
|
a: number;
|
|
@@ -1954,7 +2070,11 @@ declare var DOMMatrix: {
|
|
|
1954
2070
|
fromMatrix(other?: DOMMatrixInit): DOMMatrix;
|
|
1955
2071
|
};
|
|
1956
2072
|
|
|
1957
|
-
/**
|
|
2073
|
+
/**
|
|
2074
|
+
* The **`DOMMatrixReadOnly`** interface represents a read-only 4×4 matrix, suitable for 2D and 3D operations.
|
|
2075
|
+
*
|
|
2076
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly)
|
|
2077
|
+
*/
|
|
1958
2078
|
interface DOMMatrixReadOnly {
|
|
1959
2079
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
1960
2080
|
readonly a: number;
|
|
@@ -2048,7 +2168,11 @@ declare var DOMMatrixReadOnly: {
|
|
|
2048
2168
|
fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;
|
|
2049
2169
|
};
|
|
2050
2170
|
|
|
2051
|
-
/**
|
|
2171
|
+
/**
|
|
2172
|
+
* 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.
|
|
2173
|
+
*
|
|
2174
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint)
|
|
2175
|
+
*/
|
|
2052
2176
|
interface DOMPoint extends DOMPointReadOnly {
|
|
2053
2177
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/w) */
|
|
2054
2178
|
w: number;
|
|
@@ -2067,7 +2191,11 @@ declare var DOMPoint: {
|
|
|
2067
2191
|
fromPoint(other?: DOMPointInit): DOMPoint;
|
|
2068
2192
|
};
|
|
2069
2193
|
|
|
2070
|
-
/**
|
|
2194
|
+
/**
|
|
2195
|
+
* The **`DOMPointReadOnly`** interface specifies the coordinate and perspective fields used by DOMPoint to define a 2D or 3D point in a coordinate system.
|
|
2196
|
+
*
|
|
2197
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly)
|
|
2198
|
+
*/
|
|
2071
2199
|
interface DOMPointReadOnly {
|
|
2072
2200
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/w) */
|
|
2073
2201
|
readonly w: number;
|
|
@@ -2090,7 +2218,11 @@ declare var DOMPointReadOnly: {
|
|
|
2090
2218
|
fromPoint(other?: DOMPointInit): DOMPointReadOnly;
|
|
2091
2219
|
};
|
|
2092
2220
|
|
|
2093
|
-
/**
|
|
2221
|
+
/**
|
|
2222
|
+
* A `DOMQuad` is a collection of four `DOMPoint`s defining the corners of an arbitrary quadrilateral.
|
|
2223
|
+
*
|
|
2224
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad)
|
|
2225
|
+
*/
|
|
2094
2226
|
interface DOMQuad {
|
|
2095
2227
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */
|
|
2096
2228
|
readonly p1: DOMPoint;
|
|
@@ -2113,7 +2245,11 @@ declare var DOMQuad: {
|
|
|
2113
2245
|
fromRect(other?: DOMRectInit): DOMQuad;
|
|
2114
2246
|
};
|
|
2115
2247
|
|
|
2116
|
-
/**
|
|
2248
|
+
/**
|
|
2249
|
+
* A **`DOMRect`** describes the size and position of a rectangle.
|
|
2250
|
+
*
|
|
2251
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect)
|
|
2252
|
+
*/
|
|
2117
2253
|
interface DOMRect extends DOMRectReadOnly {
|
|
2118
2254
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/height) */
|
|
2119
2255
|
height: number;
|
|
@@ -2132,7 +2268,11 @@ declare var DOMRect: {
|
|
|
2132
2268
|
fromRect(other?: DOMRectInit): DOMRect;
|
|
2133
2269
|
};
|
|
2134
2270
|
|
|
2135
|
-
/**
|
|
2271
|
+
/**
|
|
2272
|
+
* The **`DOMRectReadOnly`** interface specifies the standard properties (also used by DOMRect) to define a rectangle whose properties are immutable.
|
|
2273
|
+
*
|
|
2274
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly)
|
|
2275
|
+
*/
|
|
2136
2276
|
interface DOMRectReadOnly {
|
|
2137
2277
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/bottom) */
|
|
2138
2278
|
readonly bottom: number;
|
|
@@ -2162,7 +2302,7 @@ declare var DOMRectReadOnly: {
|
|
|
2162
2302
|
};
|
|
2163
2303
|
|
|
2164
2304
|
/**
|
|
2165
|
-
*
|
|
2305
|
+
* The **`DOMStringList`** interface is a legacy type returned by some APIs and represents a non-modifiable list of strings (`DOMString`).
|
|
2166
2306
|
*
|
|
2167
2307
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMStringList)
|
|
2168
2308
|
*/
|
|
@@ -2193,7 +2333,11 @@ declare var DOMStringList: {
|
|
|
2193
2333
|
new(): DOMStringList;
|
|
2194
2334
|
};
|
|
2195
2335
|
|
|
2196
|
-
/**
|
|
2336
|
+
/**
|
|
2337
|
+
* The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
|
|
2338
|
+
*
|
|
2339
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
|
|
2340
|
+
*/
|
|
2197
2341
|
interface DecompressionStream extends GenericTransformStream {
|
|
2198
2342
|
readonly readable: ReadableStream<Uint8Array>;
|
|
2199
2343
|
readonly writable: WritableStream<BufferSource>;
|
|
@@ -2204,17 +2348,29 @@ declare var DecompressionStream: {
|
|
|
2204
2348
|
new(format: CompressionFormat): DecompressionStream;
|
|
2205
2349
|
};
|
|
2206
2350
|
|
|
2207
|
-
/**
|
|
2351
|
+
/**
|
|
2352
|
+
* 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.
|
|
2353
|
+
*
|
|
2354
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_blend_minmax)
|
|
2355
|
+
*/
|
|
2208
2356
|
interface EXT_blend_minmax {
|
|
2209
2357
|
readonly MIN_EXT: 0x8007;
|
|
2210
2358
|
readonly MAX_EXT: 0x8008;
|
|
2211
2359
|
}
|
|
2212
2360
|
|
|
2213
|
-
/**
|
|
2361
|
+
/**
|
|
2362
|
+
* The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats.
|
|
2363
|
+
*
|
|
2364
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_color_buffer_float)
|
|
2365
|
+
*/
|
|
2214
2366
|
interface EXT_color_buffer_float {
|
|
2215
2367
|
}
|
|
2216
2368
|
|
|
2217
|
-
/**
|
|
2369
|
+
/**
|
|
2370
|
+
* 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.
|
|
2371
|
+
*
|
|
2372
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_color_buffer_half_float)
|
|
2373
|
+
*/
|
|
2218
2374
|
interface EXT_color_buffer_half_float {
|
|
2219
2375
|
readonly RGBA16F_EXT: 0x881A;
|
|
2220
2376
|
readonly RGB16F_EXT: 0x881B;
|
|
@@ -2222,19 +2378,27 @@ interface EXT_color_buffer_half_float {
|
|
|
2222
2378
|
readonly UNSIGNED_NORMALIZED_EXT: 0x8C17;
|
|
2223
2379
|
}
|
|
2224
2380
|
|
|
2225
|
-
/**
|
|
2381
|
+
/**
|
|
2382
|
+
* The WebGL API's `EXT_float_blend` extension allows blending and draw buffers with 32-bit floating-point components.
|
|
2383
|
+
*
|
|
2384
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_float_blend)
|
|
2385
|
+
*/
|
|
2226
2386
|
interface EXT_float_blend {
|
|
2227
2387
|
}
|
|
2228
2388
|
|
|
2229
2389
|
/**
|
|
2230
|
-
* 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.
|
|
2390
|
+
* 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.
|
|
2231
2391
|
*
|
|
2232
2392
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_frag_depth)
|
|
2233
2393
|
*/
|
|
2234
2394
|
interface EXT_frag_depth {
|
|
2235
2395
|
}
|
|
2236
2396
|
|
|
2237
|
-
/**
|
|
2397
|
+
/**
|
|
2398
|
+
* The **`EXT_sRGB`** extension is part of the WebGL API and adds sRGB support to textures and framebuffer objects.
|
|
2399
|
+
*
|
|
2400
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_sRGB)
|
|
2401
|
+
*/
|
|
2238
2402
|
interface EXT_sRGB {
|
|
2239
2403
|
readonly SRGB_EXT: 0x8C40;
|
|
2240
2404
|
readonly SRGB_ALPHA_EXT: 0x8C42;
|
|
@@ -2242,11 +2406,19 @@ interface EXT_sRGB {
|
|
|
2242
2406
|
readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: 0x8210;
|
|
2243
2407
|
}
|
|
2244
2408
|
|
|
2245
|
-
/**
|
|
2409
|
+
/**
|
|
2410
|
+
* 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).
|
|
2411
|
+
*
|
|
2412
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_shader_texture_lod)
|
|
2413
|
+
*/
|
|
2246
2414
|
interface EXT_shader_texture_lod {
|
|
2247
2415
|
}
|
|
2248
2416
|
|
|
2249
|
-
/**
|
|
2417
|
+
/**
|
|
2418
|
+
* The `EXT_texture_compression_bptc` extension is part of the WebGL API and exposes 4 BPTC compressed texture formats.
|
|
2419
|
+
*
|
|
2420
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_compression_bptc)
|
|
2421
|
+
*/
|
|
2250
2422
|
interface EXT_texture_compression_bptc {
|
|
2251
2423
|
readonly COMPRESSED_RGBA_BPTC_UNORM_EXT: 0x8E8C;
|
|
2252
2424
|
readonly COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: 0x8E8D;
|
|
@@ -2254,7 +2426,11 @@ interface EXT_texture_compression_bptc {
|
|
|
2254
2426
|
readonly COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: 0x8E8F;
|
|
2255
2427
|
}
|
|
2256
2428
|
|
|
2257
|
-
/**
|
|
2429
|
+
/**
|
|
2430
|
+
* The `EXT_texture_compression_rgtc` extension is part of the WebGL API and exposes 4 RGTC compressed texture formats.
|
|
2431
|
+
*
|
|
2432
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_compression_rgtc)
|
|
2433
|
+
*/
|
|
2258
2434
|
interface EXT_texture_compression_rgtc {
|
|
2259
2435
|
readonly COMPRESSED_RED_RGTC1_EXT: 0x8DBB;
|
|
2260
2436
|
readonly COMPRESSED_SIGNED_RED_RGTC1_EXT: 0x8DBC;
|
|
@@ -2263,7 +2439,7 @@ interface EXT_texture_compression_rgtc {
|
|
|
2263
2439
|
}
|
|
2264
2440
|
|
|
2265
2441
|
/**
|
|
2266
|
-
* The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF).
|
|
2442
|
+
* The **`EXT_texture_filter_anisotropic`** extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF).
|
|
2267
2443
|
*
|
|
2268
2444
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_filter_anisotropic)
|
|
2269
2445
|
*/
|
|
@@ -2272,7 +2448,11 @@ interface EXT_texture_filter_anisotropic {
|
|
|
2272
2448
|
readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF;
|
|
2273
2449
|
}
|
|
2274
2450
|
|
|
2275
|
-
/**
|
|
2451
|
+
/**
|
|
2452
|
+
* 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).
|
|
2453
|
+
*
|
|
2454
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_norm16)
|
|
2455
|
+
*/
|
|
2276
2456
|
interface EXT_texture_norm16 {
|
|
2277
2457
|
readonly R16_EXT: 0x822A;
|
|
2278
2458
|
readonly RG16_EXT: 0x822C;
|
|
@@ -2285,7 +2465,7 @@ interface EXT_texture_norm16 {
|
|
|
2285
2465
|
}
|
|
2286
2466
|
|
|
2287
2467
|
/**
|
|
2288
|
-
*
|
|
2468
|
+
* The **`ErrorEvent`** interface represents events providing information related to errors in scripts or in files.
|
|
2289
2469
|
*
|
|
2290
2470
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent)
|
|
2291
2471
|
*/
|
|
@@ -2308,7 +2488,7 @@ declare var ErrorEvent: {
|
|
|
2308
2488
|
};
|
|
2309
2489
|
|
|
2310
2490
|
/**
|
|
2311
|
-
*
|
|
2491
|
+
* The **`Event`** interface represents an event which takes place on an `EventTarget`.
|
|
2312
2492
|
*
|
|
2313
2493
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event)
|
|
2314
2494
|
*/
|
|
@@ -2450,7 +2630,11 @@ interface EventSourceEventMap {
|
|
|
2450
2630
|
"open": Event;
|
|
2451
2631
|
}
|
|
2452
2632
|
|
|
2453
|
-
/**
|
|
2633
|
+
/**
|
|
2634
|
+
* The **`EventSource`** interface is web content's interface to server-sent events.
|
|
2635
|
+
*
|
|
2636
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource)
|
|
2637
|
+
*/
|
|
2454
2638
|
interface EventSource extends EventTarget {
|
|
2455
2639
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/error_event) */
|
|
2456
2640
|
onerror: ((this: EventSource, ev: Event) => any) | null;
|
|
@@ -2502,7 +2686,7 @@ declare var EventSource: {
|
|
|
2502
2686
|
};
|
|
2503
2687
|
|
|
2504
2688
|
/**
|
|
2505
|
-
* EventTarget is
|
|
2689
|
+
* The **`EventTarget`** interface is implemented by objects that can receive events and may have listeners for them.
|
|
2506
2690
|
*
|
|
2507
2691
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget)
|
|
2508
2692
|
*/
|
|
@@ -2544,7 +2728,11 @@ declare var EventTarget: {
|
|
|
2544
2728
|
new(): EventTarget;
|
|
2545
2729
|
};
|
|
2546
2730
|
|
|
2547
|
-
/**
|
|
2731
|
+
/**
|
|
2732
|
+
* The **`ExtendableCookieChangeEvent`** interface of the Cookie Store API is the event type passed to ServiceWorkerGlobalScope/cookiechange_event event fired at the ServiceWorkerGlobalScope when any cookie changes occur which match the service worker's cookie change subscription list.
|
|
2733
|
+
*
|
|
2734
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableCookieChangeEvent)
|
|
2735
|
+
*/
|
|
2548
2736
|
interface ExtendableCookieChangeEvent extends ExtendableEvent {
|
|
2549
2737
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableCookieChangeEvent/changed) */
|
|
2550
2738
|
readonly changed: ReadonlyArray<CookieListItem>;
|
|
@@ -2558,7 +2746,7 @@ declare var ExtendableCookieChangeEvent: {
|
|
|
2558
2746
|
};
|
|
2559
2747
|
|
|
2560
2748
|
/**
|
|
2561
|
-
*
|
|
2749
|
+
* The **`ExtendableEvent`** interface extends the lifetime of the `install` and `activate` events dispatched on the global scope as part of the service worker lifecycle.
|
|
2562
2750
|
*
|
|
2563
2751
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableEvent)
|
|
2564
2752
|
*/
|
|
@@ -2573,7 +2761,7 @@ declare var ExtendableEvent: {
|
|
|
2573
2761
|
};
|
|
2574
2762
|
|
|
2575
2763
|
/**
|
|
2576
|
-
*
|
|
2764
|
+
* The **`ExtendableMessageEvent`** interface of the Service Worker API represents the event object of a ServiceWorkerGlobalScope/message_event event fired on a service worker (when a message is received on the ServiceWorkerGlobalScope from another context) — extends the lifetime of such events.
|
|
2577
2765
|
*
|
|
2578
2766
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent)
|
|
2579
2767
|
*/
|
|
@@ -2596,7 +2784,7 @@ declare var ExtendableMessageEvent: {
|
|
|
2596
2784
|
};
|
|
2597
2785
|
|
|
2598
2786
|
/**
|
|
2599
|
-
* This is the event type for fetch
|
|
2787
|
+
* This is the event type for `fetch` events dispatched on the ServiceWorkerGlobalScope.
|
|
2600
2788
|
*
|
|
2601
2789
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent)
|
|
2602
2790
|
*/
|
|
@@ -2621,7 +2809,7 @@ declare var FetchEvent: {
|
|
|
2621
2809
|
};
|
|
2622
2810
|
|
|
2623
2811
|
/**
|
|
2624
|
-
*
|
|
2812
|
+
* The **`File`** interface provides information about files and allows JavaScript in a web page to access their content.
|
|
2625
2813
|
*
|
|
2626
2814
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/File)
|
|
2627
2815
|
*/
|
|
@@ -2640,7 +2828,7 @@ declare var File: {
|
|
|
2640
2828
|
};
|
|
2641
2829
|
|
|
2642
2830
|
/**
|
|
2643
|
-
*
|
|
2831
|
+
* 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.
|
|
2644
2832
|
*
|
|
2645
2833
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileList)
|
|
2646
2834
|
*/
|
|
@@ -2667,7 +2855,7 @@ interface FileReaderEventMap {
|
|
|
2667
2855
|
}
|
|
2668
2856
|
|
|
2669
2857
|
/**
|
|
2670
|
-
*
|
|
2858
|
+
* 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.
|
|
2671
2859
|
*
|
|
2672
2860
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader)
|
|
2673
2861
|
*/
|
|
@@ -2722,6 +2910,7 @@ declare var FileReader: {
|
|
|
2722
2910
|
};
|
|
2723
2911
|
|
|
2724
2912
|
/**
|
|
2913
|
+
* The **`FileSystemDirectoryHandle`** interface of the File System API provides a handle to a file system directory.
|
|
2725
2914
|
* Available only in secure contexts.
|
|
2726
2915
|
*
|
|
2727
2916
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle)
|
|
@@ -2744,6 +2933,7 @@ declare var FileSystemDirectoryHandle: {
|
|
|
2744
2933
|
};
|
|
2745
2934
|
|
|
2746
2935
|
/**
|
|
2936
|
+
* The **`FileSystemFileHandle`** interface of the File System API represents a handle to a file system entry.
|
|
2747
2937
|
* Available only in secure contexts.
|
|
2748
2938
|
*
|
|
2749
2939
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle)
|
|
@@ -2762,6 +2952,7 @@ declare var FileSystemFileHandle: {
|
|
|
2762
2952
|
};
|
|
2763
2953
|
|
|
2764
2954
|
/**
|
|
2955
|
+
* The **`FileSystemHandle`** interface of the File System API is an object which represents a file or directory entry.
|
|
2765
2956
|
* Available only in secure contexts.
|
|
2766
2957
|
*
|
|
2767
2958
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle)
|
|
@@ -2781,6 +2972,7 @@ declare var FileSystemHandle: {
|
|
|
2781
2972
|
};
|
|
2782
2973
|
|
|
2783
2974
|
/**
|
|
2975
|
+
* The **`FileSystemWritableFileStream`** interface of the File System API is a WritableStream object with additional convenience methods, which operates on a single file on disk.
|
|
2784
2976
|
* Available only in secure contexts.
|
|
2785
2977
|
*
|
|
2786
2978
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemWritableFileStream)
|
|
@@ -2799,7 +2991,11 @@ declare var FileSystemWritableFileStream: {
|
|
|
2799
2991
|
new(): FileSystemWritableFileStream;
|
|
2800
2992
|
};
|
|
2801
2993
|
|
|
2802
|
-
/**
|
|
2994
|
+
/**
|
|
2995
|
+
* The **`FontFace`** interface of the CSS Font Loading API represents a single usable font face.
|
|
2996
|
+
*
|
|
2997
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace)
|
|
2998
|
+
*/
|
|
2803
2999
|
interface FontFace {
|
|
2804
3000
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/ascentOverride) */
|
|
2805
3001
|
ascentOverride: string;
|
|
@@ -2840,7 +3036,11 @@ interface FontFaceSetEventMap {
|
|
|
2840
3036
|
"loadingerror": FontFaceSetLoadEvent;
|
|
2841
3037
|
}
|
|
2842
3038
|
|
|
2843
|
-
/**
|
|
3039
|
+
/**
|
|
3040
|
+
* The **`FontFaceSet`** interface of the CSS Font Loading API manages the loading of font-faces and querying of their download status.
|
|
3041
|
+
*
|
|
3042
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet)
|
|
3043
|
+
*/
|
|
2844
3044
|
interface FontFaceSet extends EventTarget {
|
|
2845
3045
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loading_event) */
|
|
2846
3046
|
onloading: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;
|
|
@@ -2868,7 +3068,11 @@ declare var FontFaceSet: {
|
|
|
2868
3068
|
new(): FontFaceSet;
|
|
2869
3069
|
};
|
|
2870
3070
|
|
|
2871
|
-
/**
|
|
3071
|
+
/**
|
|
3072
|
+
* The **`FontFaceSetLoadEvent`** interface of the CSS Font Loading API represents events fired at a FontFaceSet after it starts loading font faces.
|
|
3073
|
+
*
|
|
3074
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent)
|
|
3075
|
+
*/
|
|
2872
3076
|
interface FontFaceSetLoadEvent extends Event {
|
|
2873
3077
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent/fontfaces) */
|
|
2874
3078
|
readonly fontfaces: ReadonlyArray<FontFace>;
|
|
@@ -2885,7 +3089,7 @@ interface FontFaceSource {
|
|
|
2885
3089
|
}
|
|
2886
3090
|
|
|
2887
3091
|
/**
|
|
2888
|
-
*
|
|
3092
|
+
* 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.
|
|
2889
3093
|
*
|
|
2890
3094
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData)
|
|
2891
3095
|
*/
|
|
@@ -2915,6 +3119,7 @@ declare var FormData: {
|
|
|
2915
3119
|
};
|
|
2916
3120
|
|
|
2917
3121
|
/**
|
|
3122
|
+
* The **`GPUError`** interface of the WebGPU API is the base interface for errors surfaced by GPUDevice.popErrorScope and the GPUDevice.uncapturederror_event event.
|
|
2918
3123
|
* Available only in secure contexts.
|
|
2919
3124
|
*
|
|
2920
3125
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError)
|
|
@@ -2932,7 +3137,7 @@ interface GenericTransformStream {
|
|
|
2932
3137
|
}
|
|
2933
3138
|
|
|
2934
3139
|
/**
|
|
2935
|
-
*
|
|
3140
|
+
* The **`Headers`** interface of the Fetch API allows you to perform various actions on HTTP request and response headers.
|
|
2936
3141
|
*
|
|
2937
3142
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers)
|
|
2938
3143
|
*/
|
|
@@ -2958,7 +3163,7 @@ declare var Headers: {
|
|
|
2958
3163
|
};
|
|
2959
3164
|
|
|
2960
3165
|
/**
|
|
2961
|
-
*
|
|
3166
|
+
* The **`IDBCursor`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
|
|
2962
3167
|
*
|
|
2963
3168
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor)
|
|
2964
3169
|
*/
|
|
@@ -3033,7 +3238,7 @@ declare var IDBCursor: {
|
|
|
3033
3238
|
};
|
|
3034
3239
|
|
|
3035
3240
|
/**
|
|
3036
|
-
*
|
|
3241
|
+
* The **`IDBCursorWithValue`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
|
|
3037
3242
|
*
|
|
3038
3243
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue)
|
|
3039
3244
|
*/
|
|
@@ -3059,7 +3264,7 @@ interface IDBDatabaseEventMap {
|
|
|
3059
3264
|
}
|
|
3060
3265
|
|
|
3061
3266
|
/**
|
|
3062
|
-
*
|
|
3267
|
+
* 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.
|
|
3063
3268
|
*
|
|
3064
3269
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase)
|
|
3065
3270
|
*/
|
|
@@ -3128,7 +3333,7 @@ declare var IDBDatabase: {
|
|
|
3128
3333
|
};
|
|
3129
3334
|
|
|
3130
3335
|
/**
|
|
3131
|
-
*
|
|
3336
|
+
* The **`IDBFactory`** interface of the IndexedDB API lets applications asynchronously access the indexed databases.
|
|
3132
3337
|
*
|
|
3133
3338
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory)
|
|
3134
3339
|
*/
|
|
@@ -3163,7 +3368,7 @@ declare var IDBFactory: {
|
|
|
3163
3368
|
};
|
|
3164
3369
|
|
|
3165
3370
|
/**
|
|
3166
|
-
* IDBIndex interface of the IndexedDB API provides asynchronous access to an index in a database.
|
|
3371
|
+
* `IDBIndex` interface of the IndexedDB API provides asynchronous access to an index in a database.
|
|
3167
3372
|
*
|
|
3168
3373
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex)
|
|
3169
3374
|
*/
|
|
@@ -3250,7 +3455,7 @@ declare var IDBIndex: {
|
|
|
3250
3455
|
};
|
|
3251
3456
|
|
|
3252
3457
|
/**
|
|
3253
|
-
*
|
|
3458
|
+
* The **`IDBKeyRange`** interface of the IndexedDB API represents a continuous interval over some data type that is used for keys.
|
|
3254
3459
|
*
|
|
3255
3460
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange)
|
|
3256
3461
|
*/
|
|
@@ -3317,7 +3522,7 @@ declare var IDBKeyRange: {
|
|
|
3317
3522
|
};
|
|
3318
3523
|
|
|
3319
3524
|
/**
|
|
3320
|
-
*
|
|
3525
|
+
* The **`IDBObjectStore`** interface of the IndexedDB API represents an object store in a database.
|
|
3321
3526
|
*
|
|
3322
3527
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore)
|
|
3323
3528
|
*/
|
|
@@ -3479,7 +3684,7 @@ interface IDBOpenDBRequestEventMap extends IDBRequestEventMap {
|
|
|
3479
3684
|
}
|
|
3480
3685
|
|
|
3481
3686
|
/**
|
|
3482
|
-
*
|
|
3687
|
+
* 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.
|
|
3483
3688
|
*
|
|
3484
3689
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBOpenDBRequest)
|
|
3485
3690
|
*/
|
|
@@ -3505,7 +3710,7 @@ interface IDBRequestEventMap {
|
|
|
3505
3710
|
}
|
|
3506
3711
|
|
|
3507
3712
|
/**
|
|
3508
|
-
* The
|
|
3713
|
+
* The **`IDBRequest`** interface of the IndexedDB API provides access to results of asynchronous requests to databases and database objects using event handler attributes.
|
|
3509
3714
|
*
|
|
3510
3715
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest)
|
|
3511
3716
|
*/
|
|
@@ -3561,7 +3766,11 @@ interface IDBTransactionEventMap {
|
|
|
3561
3766
|
"error": Event;
|
|
3562
3767
|
}
|
|
3563
3768
|
|
|
3564
|
-
/**
|
|
3769
|
+
/**
|
|
3770
|
+
* The **`IDBTransaction`** interface of the IndexedDB API provides a static, asynchronous transaction on a database using event handler attributes.
|
|
3771
|
+
*
|
|
3772
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction)
|
|
3773
|
+
*/
|
|
3565
3774
|
interface IDBTransaction extends EventTarget {
|
|
3566
3775
|
/**
|
|
3567
3776
|
* Returns the transaction's connection.
|
|
@@ -3621,7 +3830,7 @@ declare var IDBTransaction: {
|
|
|
3621
3830
|
};
|
|
3622
3831
|
|
|
3623
3832
|
/**
|
|
3624
|
-
*
|
|
3833
|
+
* 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.
|
|
3625
3834
|
*
|
|
3626
3835
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent)
|
|
3627
3836
|
*/
|
|
@@ -3637,7 +3846,11 @@ declare var IDBVersionChangeEvent: {
|
|
|
3637
3846
|
new(type: string, eventInitDict?: IDBVersionChangeEventInit): IDBVersionChangeEvent;
|
|
3638
3847
|
};
|
|
3639
3848
|
|
|
3640
|
-
/**
|
|
3849
|
+
/**
|
|
3850
|
+
* The **`ImageBitmap`** interface represents a bitmap image which can be drawn to a canvas without undue latency.
|
|
3851
|
+
*
|
|
3852
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmap)
|
|
3853
|
+
*/
|
|
3641
3854
|
interface ImageBitmap {
|
|
3642
3855
|
/**
|
|
3643
3856
|
* Returns the intrinsic height of the image, in CSS pixels.
|
|
@@ -3664,7 +3877,11 @@ declare var ImageBitmap: {
|
|
|
3664
3877
|
new(): ImageBitmap;
|
|
3665
3878
|
};
|
|
3666
3879
|
|
|
3667
|
-
/**
|
|
3880
|
+
/**
|
|
3881
|
+
* The **`ImageBitmapRenderingContext`** interface is a canvas rendering context that provides the functionality to replace the canvas's contents with the given ImageBitmap.
|
|
3882
|
+
*
|
|
3883
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext)
|
|
3884
|
+
*/
|
|
3668
3885
|
interface ImageBitmapRenderingContext {
|
|
3669
3886
|
/**
|
|
3670
3887
|
* Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.
|
|
@@ -3680,7 +3897,7 @@ declare var ImageBitmapRenderingContext: {
|
|
|
3680
3897
|
};
|
|
3681
3898
|
|
|
3682
3899
|
/**
|
|
3683
|
-
* The underlying pixel data of an area of a
|
|
3900
|
+
* The **`ImageData`** interface represents the underlying pixel data of an area of a canvas element.
|
|
3684
3901
|
*
|
|
3685
3902
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData)
|
|
3686
3903
|
*/
|
|
@@ -3718,12 +3935,17 @@ interface ImportMeta {
|
|
|
3718
3935
|
resolve(specifier: string): string;
|
|
3719
3936
|
}
|
|
3720
3937
|
|
|
3721
|
-
/**
|
|
3938
|
+
/**
|
|
3939
|
+
* 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.
|
|
3940
|
+
*
|
|
3941
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/KHR_parallel_shader_compile)
|
|
3942
|
+
*/
|
|
3722
3943
|
interface KHR_parallel_shader_compile {
|
|
3723
3944
|
readonly COMPLETION_STATUS_KHR: 0x91B1;
|
|
3724
3945
|
}
|
|
3725
3946
|
|
|
3726
3947
|
/**
|
|
3948
|
+
* The **`Lock`** interface of the Web Locks API provides the name and mode of a lock.
|
|
3727
3949
|
* Available only in secure contexts.
|
|
3728
3950
|
*
|
|
3729
3951
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Lock)
|
|
@@ -3741,6 +3963,7 @@ declare var Lock: {
|
|
|
3741
3963
|
};
|
|
3742
3964
|
|
|
3743
3965
|
/**
|
|
3966
|
+
* The **`LockManager`** interface of the Web Locks API provides methods for requesting a new Lock object and querying for an existing `Lock` object.
|
|
3744
3967
|
* Available only in secure contexts.
|
|
3745
3968
|
*
|
|
3746
3969
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/LockManager)
|
|
@@ -3758,7 +3981,11 @@ declare var LockManager: {
|
|
|
3758
3981
|
new(): LockManager;
|
|
3759
3982
|
};
|
|
3760
3983
|
|
|
3761
|
-
/**
|
|
3984
|
+
/**
|
|
3985
|
+
* The **`MediaCapabilities`** interface of the Media Capabilities API provides information about the decoding abilities of the device, system and browser.
|
|
3986
|
+
*
|
|
3987
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaCapabilities)
|
|
3988
|
+
*/
|
|
3762
3989
|
interface MediaCapabilities {
|
|
3763
3990
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaCapabilities/decodingInfo) */
|
|
3764
3991
|
decodingInfo(configuration: MediaDecodingConfiguration): Promise<MediaCapabilitiesDecodingInfo>;
|
|
@@ -3772,7 +3999,7 @@ declare var MediaCapabilities: {
|
|
|
3772
3999
|
};
|
|
3773
4000
|
|
|
3774
4001
|
/**
|
|
3775
|
-
*
|
|
4002
|
+
* 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.
|
|
3776
4003
|
*
|
|
3777
4004
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel)
|
|
3778
4005
|
*/
|
|
@@ -3797,7 +4024,7 @@ declare var MessageChannel: {
|
|
|
3797
4024
|
};
|
|
3798
4025
|
|
|
3799
4026
|
/**
|
|
3800
|
-
*
|
|
4027
|
+
* The **`MessageEvent`** interface represents a message received by a target object.
|
|
3801
4028
|
*
|
|
3802
4029
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent)
|
|
3803
4030
|
*/
|
|
@@ -3863,7 +4090,7 @@ interface MessagePortEventMap extends MessageEventTargetEventMap {
|
|
|
3863
4090
|
}
|
|
3864
4091
|
|
|
3865
4092
|
/**
|
|
3866
|
-
*
|
|
4093
|
+
* 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.
|
|
3867
4094
|
*
|
|
3868
4095
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort)
|
|
3869
4096
|
*/
|
|
@@ -3901,6 +4128,7 @@ declare var MessagePort: {
|
|
|
3901
4128
|
};
|
|
3902
4129
|
|
|
3903
4130
|
/**
|
|
4131
|
+
* The **`NavigationPreloadManager`** interface of the Service Worker API provides methods for managing the preloading of resources in parallel with service worker bootup.
|
|
3904
4132
|
* Available only in secure contexts.
|
|
3905
4133
|
*
|
|
3906
4134
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPreloadManager)
|
|
@@ -4001,7 +4229,7 @@ interface NotificationEventMap {
|
|
|
4001
4229
|
}
|
|
4002
4230
|
|
|
4003
4231
|
/**
|
|
4004
|
-
*
|
|
4232
|
+
* The **`Notification`** interface of the Notifications API is used to configure and display desktop notifications to the user.
|
|
4005
4233
|
*
|
|
4006
4234
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
|
|
4007
4235
|
*/
|
|
@@ -4050,7 +4278,7 @@ declare var Notification: {
|
|
|
4050
4278
|
};
|
|
4051
4279
|
|
|
4052
4280
|
/**
|
|
4053
|
-
* The
|
|
4281
|
+
* The **`NotificationEvent`** interface of the Notifications API represents a notification event dispatched on the ServiceWorkerGlobalScope of a ServiceWorker.
|
|
4054
4282
|
*
|
|
4055
4283
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/NotificationEvent)
|
|
4056
4284
|
*/
|
|
@@ -4066,7 +4294,11 @@ declare var NotificationEvent: {
|
|
|
4066
4294
|
new(type: string, eventInitDict: NotificationEventInit): NotificationEvent;
|
|
4067
4295
|
};
|
|
4068
4296
|
|
|
4069
|
-
/**
|
|
4297
|
+
/**
|
|
4298
|
+
* 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.
|
|
4299
|
+
*
|
|
4300
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed)
|
|
4301
|
+
*/
|
|
4070
4302
|
interface OES_draw_buffers_indexed {
|
|
4071
4303
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed/blendEquationSeparateiOES) */
|
|
4072
4304
|
blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void;
|
|
@@ -4085,19 +4317,23 @@ interface OES_draw_buffers_indexed {
|
|
|
4085
4317
|
}
|
|
4086
4318
|
|
|
4087
4319
|
/**
|
|
4088
|
-
* The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements().
|
|
4320
|
+
* The **`OES_element_index_uint`** extension is part of the WebGL API and adds support for `gl.UNSIGNED_INT` types to WebGLRenderingContext.drawElements().
|
|
4089
4321
|
*
|
|
4090
4322
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_element_index_uint)
|
|
4091
4323
|
*/
|
|
4092
4324
|
interface OES_element_index_uint {
|
|
4093
4325
|
}
|
|
4094
4326
|
|
|
4095
|
-
/**
|
|
4327
|
+
/**
|
|
4328
|
+
* 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.
|
|
4329
|
+
*
|
|
4330
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_fbo_render_mipmap)
|
|
4331
|
+
*/
|
|
4096
4332
|
interface OES_fbo_render_mipmap {
|
|
4097
4333
|
}
|
|
4098
4334
|
|
|
4099
4335
|
/**
|
|
4100
|
-
* The OES_standard_derivatives extension is part of the WebGL API and adds the GLSL derivative functions dFdx
|
|
4336
|
+
* The **`OES_standard_derivatives`** extension is part of the WebGL API and adds the GLSL derivative functions `dFdx`, `dFdy`, and `fwidth`.
|
|
4101
4337
|
*
|
|
4102
4338
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_standard_derivatives)
|
|
4103
4339
|
*/
|
|
@@ -4106,7 +4342,7 @@ interface OES_standard_derivatives {
|
|
|
4106
4342
|
}
|
|
4107
4343
|
|
|
4108
4344
|
/**
|
|
4109
|
-
* The OES_texture_float extension is part of the WebGL API and exposes floating-point pixel types for textures.
|
|
4345
|
+
* The **`OES_texture_float`** extension is part of the WebGL API and exposes floating-point pixel types for textures.
|
|
4110
4346
|
*
|
|
4111
4347
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_float)
|
|
4112
4348
|
*/
|
|
@@ -4114,7 +4350,7 @@ interface OES_texture_float {
|
|
|
4114
4350
|
}
|
|
4115
4351
|
|
|
4116
4352
|
/**
|
|
4117
|
-
* The OES_texture_float_linear extension is part of the WebGL API and allows linear filtering with floating-point pixel types for textures.
|
|
4353
|
+
* The **`OES_texture_float_linear`** extension is part of the WebGL API and allows linear filtering with floating-point pixel types for textures.
|
|
4118
4354
|
*
|
|
4119
4355
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_float_linear)
|
|
4120
4356
|
*/
|
|
@@ -4122,7 +4358,7 @@ interface OES_texture_float_linear {
|
|
|
4122
4358
|
}
|
|
4123
4359
|
|
|
4124
4360
|
/**
|
|
4125
|
-
* 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.
|
|
4361
|
+
* 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.
|
|
4126
4362
|
*
|
|
4127
4363
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_half_float)
|
|
4128
4364
|
*/
|
|
@@ -4131,14 +4367,18 @@ interface OES_texture_half_float {
|
|
|
4131
4367
|
}
|
|
4132
4368
|
|
|
4133
4369
|
/**
|
|
4134
|
-
* 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.
|
|
4370
|
+
* 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.
|
|
4135
4371
|
*
|
|
4136
4372
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_half_float_linear)
|
|
4137
4373
|
*/
|
|
4138
4374
|
interface OES_texture_half_float_linear {
|
|
4139
4375
|
}
|
|
4140
4376
|
|
|
4141
|
-
/**
|
|
4377
|
+
/**
|
|
4378
|
+
* The **OES_vertex_array_object** extension is part of the WebGL API and provides vertex array objects (VAOs) which encapsulate vertex array states.
|
|
4379
|
+
*
|
|
4380
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object)
|
|
4381
|
+
*/
|
|
4142
4382
|
interface OES_vertex_array_object {
|
|
4143
4383
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/bindVertexArrayOES) */
|
|
4144
4384
|
bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
|
|
@@ -4151,7 +4391,11 @@ interface OES_vertex_array_object {
|
|
|
4151
4391
|
readonly VERTEX_ARRAY_BINDING_OES: 0x85B5;
|
|
4152
4392
|
}
|
|
4153
4393
|
|
|
4154
|
-
/**
|
|
4394
|
+
/**
|
|
4395
|
+
* The `OVR_multiview2` extension is part of the WebGL API and adds support for rendering into multiple views simultaneously.
|
|
4396
|
+
*
|
|
4397
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OVR_multiview2)
|
|
4398
|
+
*/
|
|
4155
4399
|
interface OVR_multiview2 {
|
|
4156
4400
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OVR_multiview2/framebufferTextureMultiviewOVR) */
|
|
4157
4401
|
framebufferTextureMultiviewOVR(target: GLenum, attachment: GLenum, texture: WebGLTexture | null, level: GLint, baseViewIndex: GLint, numViews: GLsizei): void;
|
|
@@ -4166,7 +4410,11 @@ interface OffscreenCanvasEventMap {
|
|
|
4166
4410
|
"contextrestored": Event;
|
|
4167
4411
|
}
|
|
4168
4412
|
|
|
4169
|
-
/**
|
|
4413
|
+
/**
|
|
4414
|
+
* 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.
|
|
4415
|
+
*
|
|
4416
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas)
|
|
4417
|
+
*/
|
|
4170
4418
|
interface OffscreenCanvas extends EventTarget {
|
|
4171
4419
|
/**
|
|
4172
4420
|
* These attributes return the dimensions of the OffscreenCanvas object's bitmap.
|
|
@@ -4227,7 +4475,11 @@ declare var OffscreenCanvas: {
|
|
|
4227
4475
|
new(width: number, height: number): OffscreenCanvas;
|
|
4228
4476
|
};
|
|
4229
4477
|
|
|
4230
|
-
/**
|
|
4478
|
+
/**
|
|
4479
|
+
* The **`OffscreenCanvasRenderingContext2D`** interface is a CanvasRenderingContext2D rendering context for drawing to the bitmap of an `OffscreenCanvas` object.
|
|
4480
|
+
*
|
|
4481
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D)
|
|
4482
|
+
*/
|
|
4231
4483
|
interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {
|
|
4232
4484
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas) */
|
|
4233
4485
|
readonly canvas: OffscreenCanvas;
|
|
@@ -4239,7 +4491,7 @@ declare var OffscreenCanvasRenderingContext2D: {
|
|
|
4239
4491
|
};
|
|
4240
4492
|
|
|
4241
4493
|
/**
|
|
4242
|
-
*
|
|
4494
|
+
* The **`Path2D`** interface of the Canvas 2D API is used to declare a path that can then be used on a CanvasRenderingContext2D object.
|
|
4243
4495
|
*
|
|
4244
4496
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Path2D)
|
|
4245
4497
|
*/
|
|
@@ -4262,7 +4514,7 @@ interface PerformanceEventMap {
|
|
|
4262
4514
|
}
|
|
4263
4515
|
|
|
4264
4516
|
/**
|
|
4265
|
-
*
|
|
4517
|
+
* The **`Performance`** interface provides access to performance-related information for the current page.
|
|
4266
4518
|
*
|
|
4267
4519
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance)
|
|
4268
4520
|
*/
|
|
@@ -4305,7 +4557,7 @@ declare var Performance: {
|
|
|
4305
4557
|
};
|
|
4306
4558
|
|
|
4307
4559
|
/**
|
|
4308
|
-
*
|
|
4560
|
+
* The **`PerformanceEntry`** object encapsulates a single performance metric that is part of the browser's performance timeline.
|
|
4309
4561
|
*
|
|
4310
4562
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry)
|
|
4311
4563
|
*/
|
|
@@ -4328,7 +4580,7 @@ declare var PerformanceEntry: {
|
|
|
4328
4580
|
};
|
|
4329
4581
|
|
|
4330
4582
|
/**
|
|
4331
|
-
* PerformanceMark
|
|
4583
|
+
* **`PerformanceMark`** is an interface for PerformanceEntry objects with an PerformanceEntry.entryType of `'mark'`.
|
|
4332
4584
|
*
|
|
4333
4585
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMark)
|
|
4334
4586
|
*/
|
|
@@ -4343,7 +4595,7 @@ declare var PerformanceMark: {
|
|
|
4343
4595
|
};
|
|
4344
4596
|
|
|
4345
4597
|
/**
|
|
4346
|
-
* PerformanceMeasure is an
|
|
4598
|
+
* **`PerformanceMeasure`** is an _abstract_ interface for PerformanceEntry objects with an PerformanceEntry.entryType of `'measure'`.
|
|
4347
4599
|
*
|
|
4348
4600
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMeasure)
|
|
4349
4601
|
*/
|
|
@@ -4357,7 +4609,11 @@ declare var PerformanceMeasure: {
|
|
|
4357
4609
|
new(): PerformanceMeasure;
|
|
4358
4610
|
};
|
|
4359
4611
|
|
|
4360
|
-
/**
|
|
4612
|
+
/**
|
|
4613
|
+
* 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_.
|
|
4614
|
+
*
|
|
4615
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver)
|
|
4616
|
+
*/
|
|
4361
4617
|
interface PerformanceObserver {
|
|
4362
4618
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver/disconnect) */
|
|
4363
4619
|
disconnect(): void;
|
|
@@ -4374,7 +4630,11 @@ declare var PerformanceObserver: {
|
|
|
4374
4630
|
readonly supportedEntryTypes: ReadonlyArray<string>;
|
|
4375
4631
|
};
|
|
4376
4632
|
|
|
4377
|
-
/**
|
|
4633
|
+
/**
|
|
4634
|
+
* The **`PerformanceObserverEntryList`** interface is a list of PerformanceEntry that were explicitly observed via the PerformanceObserver.observe method.
|
|
4635
|
+
*
|
|
4636
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserverEntryList)
|
|
4637
|
+
*/
|
|
4378
4638
|
interface PerformanceObserverEntryList {
|
|
4379
4639
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserverEntryList/getEntries) */
|
|
4380
4640
|
getEntries(): PerformanceEntryList;
|
|
@@ -4390,7 +4650,7 @@ declare var PerformanceObserverEntryList: {
|
|
|
4390
4650
|
};
|
|
4391
4651
|
|
|
4392
4652
|
/**
|
|
4393
|
-
*
|
|
4653
|
+
* The **`PerformanceResourceTiming`** interface enables retrieval and analysis of detailed network timing data regarding the loading of an application's resources.
|
|
4394
4654
|
*
|
|
4395
4655
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming)
|
|
4396
4656
|
*/
|
|
@@ -4442,7 +4702,11 @@ declare var PerformanceResourceTiming: {
|
|
|
4442
4702
|
new(): PerformanceResourceTiming;
|
|
4443
4703
|
};
|
|
4444
4704
|
|
|
4445
|
-
/**
|
|
4705
|
+
/**
|
|
4706
|
+
* The **`PerformanceServerTiming`** interface surfaces server metrics that are sent with the response in the Server-Timing HTTP header.
|
|
4707
|
+
*
|
|
4708
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming)
|
|
4709
|
+
*/
|
|
4446
4710
|
interface PerformanceServerTiming {
|
|
4447
4711
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming/description) */
|
|
4448
4712
|
readonly description: string;
|
|
@@ -4463,7 +4727,11 @@ interface PermissionStatusEventMap {
|
|
|
4463
4727
|
"change": Event;
|
|
4464
4728
|
}
|
|
4465
4729
|
|
|
4466
|
-
/**
|
|
4730
|
+
/**
|
|
4731
|
+
* The **`PermissionStatus`** interface of the Permissions API provides the state of an object and an event handler for monitoring changes to said state.
|
|
4732
|
+
*
|
|
4733
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus)
|
|
4734
|
+
*/
|
|
4467
4735
|
interface PermissionStatus extends EventTarget {
|
|
4468
4736
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/name) */
|
|
4469
4737
|
readonly name: string;
|
|
@@ -4482,7 +4750,11 @@ declare var PermissionStatus: {
|
|
|
4482
4750
|
new(): PermissionStatus;
|
|
4483
4751
|
};
|
|
4484
4752
|
|
|
4485
|
-
/**
|
|
4753
|
+
/**
|
|
4754
|
+
* 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.
|
|
4755
|
+
*
|
|
4756
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions)
|
|
4757
|
+
*/
|
|
4486
4758
|
interface Permissions {
|
|
4487
4759
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions/query) */
|
|
4488
4760
|
query(permissionDesc: PermissionDescriptor): Promise<PermissionStatus>;
|
|
@@ -4494,7 +4766,7 @@ declare var Permissions: {
|
|
|
4494
4766
|
};
|
|
4495
4767
|
|
|
4496
4768
|
/**
|
|
4497
|
-
*
|
|
4769
|
+
* 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).
|
|
4498
4770
|
*
|
|
4499
4771
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent)
|
|
4500
4772
|
*/
|
|
@@ -4513,7 +4785,11 @@ declare var ProgressEvent: {
|
|
|
4513
4785
|
new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent;
|
|
4514
4786
|
};
|
|
4515
4787
|
|
|
4516
|
-
/**
|
|
4788
|
+
/**
|
|
4789
|
+
* The **`PromiseRejectionEvent`** interface represents events which are sent to the global script context when JavaScript Promises are rejected.
|
|
4790
|
+
*
|
|
4791
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent)
|
|
4792
|
+
*/
|
|
4517
4793
|
interface PromiseRejectionEvent extends Event {
|
|
4518
4794
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise) */
|
|
4519
4795
|
readonly promise: Promise<any>;
|
|
@@ -4527,7 +4803,7 @@ declare var PromiseRejectionEvent: {
|
|
|
4527
4803
|
};
|
|
4528
4804
|
|
|
4529
4805
|
/**
|
|
4530
|
-
*
|
|
4806
|
+
* The **`PushEvent`** interface of the Push API represents a push message that has been received.
|
|
4531
4807
|
* Available only in secure contexts.
|
|
4532
4808
|
*
|
|
4533
4809
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushEvent)
|
|
@@ -4543,7 +4819,7 @@ declare var PushEvent: {
|
|
|
4543
4819
|
};
|
|
4544
4820
|
|
|
4545
4821
|
/**
|
|
4546
|
-
*
|
|
4822
|
+
* 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.
|
|
4547
4823
|
* Available only in secure contexts.
|
|
4548
4824
|
*
|
|
4549
4825
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager)
|
|
@@ -4565,7 +4841,7 @@ declare var PushManager: {
|
|
|
4565
4841
|
};
|
|
4566
4842
|
|
|
4567
4843
|
/**
|
|
4568
|
-
*
|
|
4844
|
+
* The **`PushMessageData`** interface of the Push API provides methods which let you retrieve the push data sent by a server in various formats.
|
|
4569
4845
|
* Available only in secure contexts.
|
|
4570
4846
|
*
|
|
4571
4847
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData)
|
|
@@ -4589,7 +4865,7 @@ declare var PushMessageData: {
|
|
|
4589
4865
|
};
|
|
4590
4866
|
|
|
4591
4867
|
/**
|
|
4592
|
-
*
|
|
4868
|
+
* 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.
|
|
4593
4869
|
* Available only in secure contexts.
|
|
4594
4870
|
*
|
|
4595
4871
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription)
|
|
@@ -4615,6 +4891,7 @@ declare var PushSubscription: {
|
|
|
4615
4891
|
};
|
|
4616
4892
|
|
|
4617
4893
|
/**
|
|
4894
|
+
* The **`PushSubscriptionOptions`** interface of the Push API represents the options associated with a push subscription.
|
|
4618
4895
|
* Available only in secure contexts.
|
|
4619
4896
|
*
|
|
4620
4897
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscriptionOptions)
|
|
@@ -4631,7 +4908,11 @@ declare var PushSubscriptionOptions: {
|
|
|
4631
4908
|
new(): PushSubscriptionOptions;
|
|
4632
4909
|
};
|
|
4633
4910
|
|
|
4634
|
-
/**
|
|
4911
|
+
/**
|
|
4912
|
+
* The **`ReadableByteStreamController`** interface of the Streams API represents a controller for a readable byte stream.
|
|
4913
|
+
*
|
|
4914
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController)
|
|
4915
|
+
*/
|
|
4635
4916
|
interface ReadableByteStreamController {
|
|
4636
4917
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/byobRequest) */
|
|
4637
4918
|
readonly byobRequest: ReadableStreamBYOBRequest | null;
|
|
@@ -4651,7 +4932,7 @@ declare var ReadableByteStreamController: {
|
|
|
4651
4932
|
};
|
|
4652
4933
|
|
|
4653
4934
|
/**
|
|
4654
|
-
*
|
|
4935
|
+
* The `ReadableStream` interface of the Streams API represents a readable stream of byte data.
|
|
4655
4936
|
*
|
|
4656
4937
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream)
|
|
4657
4938
|
*/
|
|
@@ -4679,7 +4960,11 @@ declare var ReadableStream: {
|
|
|
4679
4960
|
new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;
|
|
4680
4961
|
};
|
|
4681
4962
|
|
|
4682
|
-
/**
|
|
4963
|
+
/**
|
|
4964
|
+
* The `ReadableStreamBYOBReader` interface of the Streams API defines a reader for a ReadableStream that supports zero-copy reading from an underlying byte source.
|
|
4965
|
+
*
|
|
4966
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader)
|
|
4967
|
+
*/
|
|
4683
4968
|
interface ReadableStreamBYOBReader extends ReadableStreamGenericReader {
|
|
4684
4969
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/read) */
|
|
4685
4970
|
read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>;
|
|
@@ -4692,7 +4977,11 @@ declare var ReadableStreamBYOBReader: {
|
|
|
4692
4977
|
new(stream: ReadableStream<Uint8Array>): ReadableStreamBYOBReader;
|
|
4693
4978
|
};
|
|
4694
4979
|
|
|
4695
|
-
/**
|
|
4980
|
+
/**
|
|
4981
|
+
* 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).
|
|
4982
|
+
*
|
|
4983
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest)
|
|
4984
|
+
*/
|
|
4696
4985
|
interface ReadableStreamBYOBRequest {
|
|
4697
4986
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view) */
|
|
4698
4987
|
readonly view: ArrayBufferView | null;
|
|
@@ -4707,7 +4996,11 @@ declare var ReadableStreamBYOBRequest: {
|
|
|
4707
4996
|
new(): ReadableStreamBYOBRequest;
|
|
4708
4997
|
};
|
|
4709
4998
|
|
|
4710
|
-
/**
|
|
4999
|
+
/**
|
|
5000
|
+
* The **`ReadableStreamDefaultController`** interface of the Streams API represents a controller allowing control of a ReadableStream's state and internal queue.
|
|
5001
|
+
*
|
|
5002
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController)
|
|
5003
|
+
*/
|
|
4711
5004
|
interface ReadableStreamDefaultController<R = any> {
|
|
4712
5005
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize) */
|
|
4713
5006
|
readonly desiredSize: number | null;
|
|
@@ -4724,7 +5017,11 @@ declare var ReadableStreamDefaultController: {
|
|
|
4724
5017
|
new(): ReadableStreamDefaultController;
|
|
4725
5018
|
};
|
|
4726
5019
|
|
|
4727
|
-
/**
|
|
5020
|
+
/**
|
|
5021
|
+
* 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).
|
|
5022
|
+
*
|
|
5023
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader)
|
|
5024
|
+
*/
|
|
4728
5025
|
interface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader {
|
|
4729
5026
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader/read) */
|
|
4730
5027
|
read(): Promise<ReadableStreamReadResult<R>>;
|
|
@@ -4744,7 +5041,11 @@ interface ReadableStreamGenericReader {
|
|
|
4744
5041
|
cancel(reason?: any): Promise<void>;
|
|
4745
5042
|
}
|
|
4746
5043
|
|
|
4747
|
-
/**
|
|
5044
|
+
/**
|
|
5045
|
+
* The `Report` interface of the Reporting API represents a single report.
|
|
5046
|
+
*
|
|
5047
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report)
|
|
5048
|
+
*/
|
|
4748
5049
|
interface Report {
|
|
4749
5050
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body) */
|
|
4750
5051
|
readonly body: ReportBody | null;
|
|
@@ -4760,7 +5061,11 @@ declare var Report: {
|
|
|
4760
5061
|
new(): Report;
|
|
4761
5062
|
};
|
|
4762
5063
|
|
|
4763
|
-
/**
|
|
5064
|
+
/**
|
|
5065
|
+
* The **`ReportBody`** interface of the Reporting API represents the body of a report.
|
|
5066
|
+
*
|
|
5067
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody)
|
|
5068
|
+
*/
|
|
4764
5069
|
interface ReportBody {
|
|
4765
5070
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON) */
|
|
4766
5071
|
toJSON(): any;
|
|
@@ -4771,7 +5076,11 @@ declare var ReportBody: {
|
|
|
4771
5076
|
new(): ReportBody;
|
|
4772
5077
|
};
|
|
4773
5078
|
|
|
4774
|
-
/**
|
|
5079
|
+
/**
|
|
5080
|
+
* The `ReportingObserver` interface of the Reporting API allows you to collect and access reports.
|
|
5081
|
+
*
|
|
5082
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver)
|
|
5083
|
+
*/
|
|
4775
5084
|
interface ReportingObserver {
|
|
4776
5085
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/disconnect) */
|
|
4777
5086
|
disconnect(): void;
|
|
@@ -4787,7 +5096,7 @@ declare var ReportingObserver: {
|
|
|
4787
5096
|
};
|
|
4788
5097
|
|
|
4789
5098
|
/**
|
|
4790
|
-
*
|
|
5099
|
+
* The **`Request`** interface of the Fetch API represents a resource request.
|
|
4791
5100
|
*
|
|
4792
5101
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request)
|
|
4793
5102
|
*/
|
|
@@ -4880,7 +5189,7 @@ declare var Request: {
|
|
|
4880
5189
|
};
|
|
4881
5190
|
|
|
4882
5191
|
/**
|
|
4883
|
-
*
|
|
5192
|
+
* The **`Response`** interface of the Fetch API represents the response to a request.
|
|
4884
5193
|
*
|
|
4885
5194
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
4886
5195
|
*/
|
|
@@ -4915,7 +5224,7 @@ declare var Response: {
|
|
|
4915
5224
|
};
|
|
4916
5225
|
|
|
4917
5226
|
/**
|
|
4918
|
-
*
|
|
5227
|
+
* 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.
|
|
4919
5228
|
*
|
|
4920
5229
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent)
|
|
4921
5230
|
*/
|
|
@@ -4956,7 +5265,7 @@ interface ServiceWorkerEventMap extends AbstractWorkerEventMap {
|
|
|
4956
5265
|
}
|
|
4957
5266
|
|
|
4958
5267
|
/**
|
|
4959
|
-
*
|
|
5268
|
+
* The **`ServiceWorker`** interface of the Service Worker API provides a reference to a service worker.
|
|
4960
5269
|
* Available only in secure contexts.
|
|
4961
5270
|
*
|
|
4962
5271
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker)
|
|
@@ -4989,7 +5298,7 @@ interface ServiceWorkerContainerEventMap {
|
|
|
4989
5298
|
}
|
|
4990
5299
|
|
|
4991
5300
|
/**
|
|
4992
|
-
* The
|
|
5301
|
+
* 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.
|
|
4993
5302
|
* Available only in secure contexts.
|
|
4994
5303
|
*
|
|
4995
5304
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer)
|
|
@@ -5037,7 +5346,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
|
|
|
5037
5346
|
}
|
|
5038
5347
|
|
|
5039
5348
|
/**
|
|
5040
|
-
*
|
|
5349
|
+
* The **`ServiceWorkerGlobalScope`** interface of the Service Worker API represents the global execution context of a service worker.
|
|
5041
5350
|
* Available only in secure contexts.
|
|
5042
5351
|
*
|
|
5043
5352
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope)
|
|
@@ -5087,7 +5396,7 @@ interface ServiceWorkerRegistrationEventMap {
|
|
|
5087
5396
|
}
|
|
5088
5397
|
|
|
5089
5398
|
/**
|
|
5090
|
-
*
|
|
5399
|
+
* The **`ServiceWorkerRegistration`** interface of the Service Worker API represents the service worker registration.
|
|
5091
5400
|
* Available only in secure contexts.
|
|
5092
5401
|
*
|
|
5093
5402
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration)
|
|
@@ -5129,6 +5438,7 @@ declare var ServiceWorkerRegistration: {
|
|
|
5129
5438
|
};
|
|
5130
5439
|
|
|
5131
5440
|
/**
|
|
5441
|
+
* The **`StorageManager`** interface of the Storage API provides an interface for managing persistence permissions and estimating available storage.
|
|
5132
5442
|
* Available only in secure contexts.
|
|
5133
5443
|
*
|
|
5134
5444
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageManager)
|
|
@@ -5147,7 +5457,11 @@ declare var StorageManager: {
|
|
|
5147
5457
|
new(): StorageManager;
|
|
5148
5458
|
};
|
|
5149
5459
|
|
|
5150
|
-
/**
|
|
5460
|
+
/**
|
|
5461
|
+
* 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.
|
|
5462
|
+
*
|
|
5463
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly)
|
|
5464
|
+
*/
|
|
5151
5465
|
interface StylePropertyMapReadOnly {
|
|
5152
5466
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/size) */
|
|
5153
5467
|
readonly size: number;
|
|
@@ -5166,7 +5480,7 @@ declare var StylePropertyMapReadOnly: {
|
|
|
5166
5480
|
};
|
|
5167
5481
|
|
|
5168
5482
|
/**
|
|
5169
|
-
*
|
|
5483
|
+
* The **`SubtleCrypto`** interface of the Web Crypto API provides a number of low-level cryptographic functions.
|
|
5170
5484
|
* Available only in secure contexts.
|
|
5171
5485
|
*
|
|
5172
5486
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto)
|
|
@@ -5210,7 +5524,7 @@ declare var SubtleCrypto: {
|
|
|
5210
5524
|
};
|
|
5211
5525
|
|
|
5212
5526
|
/**
|
|
5213
|
-
*
|
|
5527
|
+
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, `KOI8-R`, `GBK`, etc.
|
|
5214
5528
|
*
|
|
5215
5529
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)
|
|
5216
5530
|
*/
|
|
@@ -5259,7 +5573,11 @@ interface TextDecoderCommon {
|
|
|
5259
5573
|
readonly ignoreBOM: boolean;
|
|
5260
5574
|
}
|
|
5261
5575
|
|
|
5262
|
-
/**
|
|
5576
|
+
/**
|
|
5577
|
+
* 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.
|
|
5578
|
+
*
|
|
5579
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
|
|
5580
|
+
*/
|
|
5263
5581
|
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
|
|
5264
5582
|
readonly readable: ReadableStream<string>;
|
|
5265
5583
|
readonly writable: WritableStream<BufferSource>;
|
|
@@ -5271,7 +5589,7 @@ declare var TextDecoderStream: {
|
|
|
5271
5589
|
};
|
|
5272
5590
|
|
|
5273
5591
|
/**
|
|
5274
|
-
* TextEncoder takes a stream of code points as input and emits a stream of
|
|
5592
|
+
* The **`TextEncoder`** interface takes a stream of code points as input and emits a stream of UTF-8 bytes.
|
|
5275
5593
|
*
|
|
5276
5594
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)
|
|
5277
5595
|
*/
|
|
@@ -5304,7 +5622,11 @@ interface TextEncoderCommon {
|
|
|
5304
5622
|
readonly encoding: string;
|
|
5305
5623
|
}
|
|
5306
5624
|
|
|
5307
|
-
/**
|
|
5625
|
+
/**
|
|
5626
|
+
* The **`TextEncoderStream`** interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding.
|
|
5627
|
+
*
|
|
5628
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
|
|
5629
|
+
*/
|
|
5308
5630
|
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
|
|
5309
5631
|
readonly readable: ReadableStream<Uint8Array>;
|
|
5310
5632
|
readonly writable: WritableStream<string>;
|
|
@@ -5316,7 +5638,7 @@ declare var TextEncoderStream: {
|
|
|
5316
5638
|
};
|
|
5317
5639
|
|
|
5318
5640
|
/**
|
|
5319
|
-
* The dimensions of a piece of text in the canvas
|
|
5641
|
+
* 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.
|
|
5320
5642
|
*
|
|
5321
5643
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics)
|
|
5322
5644
|
*/
|
|
@@ -5400,7 +5722,11 @@ declare var TextMetrics: {
|
|
|
5400
5722
|
new(): TextMetrics;
|
|
5401
5723
|
};
|
|
5402
5724
|
|
|
5403
|
-
/**
|
|
5725
|
+
/**
|
|
5726
|
+
* The **`TransformStream`** interface of the Streams API represents a concrete implementation of the pipe chain _transform stream_ concept.
|
|
5727
|
+
*
|
|
5728
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream)
|
|
5729
|
+
*/
|
|
5404
5730
|
interface TransformStream<I = any, O = any> {
|
|
5405
5731
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable) */
|
|
5406
5732
|
readonly readable: ReadableStream<O>;
|
|
@@ -5413,7 +5739,11 @@ declare var TransformStream: {
|
|
|
5413
5739
|
new<I = any, O = any>(transformer?: Transformer<I, O>, writableStrategy?: QueuingStrategy<I>, readableStrategy?: QueuingStrategy<O>): TransformStream<I, O>;
|
|
5414
5740
|
};
|
|
5415
5741
|
|
|
5416
|
-
/**
|
|
5742
|
+
/**
|
|
5743
|
+
* The **`TransformStreamDefaultController`** interface of the Streams API provides methods to manipulate the associated ReadableStream and WritableStream.
|
|
5744
|
+
*
|
|
5745
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController)
|
|
5746
|
+
*/
|
|
5417
5747
|
interface TransformStreamDefaultController<O = any> {
|
|
5418
5748
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize) */
|
|
5419
5749
|
readonly desiredSize: number | null;
|
|
@@ -5431,7 +5761,7 @@ declare var TransformStreamDefaultController: {
|
|
|
5431
5761
|
};
|
|
5432
5762
|
|
|
5433
5763
|
/**
|
|
5434
|
-
* The URL
|
|
5764
|
+
* The **`URL`** interface is used to parse, construct, normalize, and encode URL.
|
|
5435
5765
|
*
|
|
5436
5766
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL)
|
|
5437
5767
|
*/
|
|
@@ -5474,7 +5804,11 @@ declare var URL: {
|
|
|
5474
5804
|
parse(url: string | URL, base?: string | URL): URL | null;
|
|
5475
5805
|
};
|
|
5476
5806
|
|
|
5477
|
-
/**
|
|
5807
|
+
/**
|
|
5808
|
+
* The **`URLSearchParams`** interface defines utility methods to work with the query string of a URL.
|
|
5809
|
+
*
|
|
5810
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams)
|
|
5811
|
+
*/
|
|
5478
5812
|
interface URLSearchParams {
|
|
5479
5813
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/size) */
|
|
5480
5814
|
readonly size: number;
|
|
@@ -5526,14 +5860,22 @@ declare var URLSearchParams: {
|
|
|
5526
5860
|
new(init?: string[][] | Record<string, string> | string | URLSearchParams): URLSearchParams;
|
|
5527
5861
|
};
|
|
5528
5862
|
|
|
5529
|
-
/**
|
|
5863
|
+
/**
|
|
5864
|
+
* 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.
|
|
5865
|
+
*
|
|
5866
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_color_buffer_float)
|
|
5867
|
+
*/
|
|
5530
5868
|
interface WEBGL_color_buffer_float {
|
|
5531
5869
|
readonly RGBA32F_EXT: 0x8814;
|
|
5532
5870
|
readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: 0x8211;
|
|
5533
5871
|
readonly UNSIGNED_NORMALIZED_EXT: 0x8C17;
|
|
5534
5872
|
}
|
|
5535
5873
|
|
|
5536
|
-
/**
|
|
5874
|
+
/**
|
|
5875
|
+
* The **`WEBGL_compressed_texture_astc`** extension is part of the WebGL API and exposes Adaptive Scalable Texture Compression (ASTC) compressed texture formats to WebGL.
|
|
5876
|
+
*
|
|
5877
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_astc)
|
|
5878
|
+
*/
|
|
5537
5879
|
interface WEBGL_compressed_texture_astc {
|
|
5538
5880
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_astc/getSupportedProfiles) */
|
|
5539
5881
|
getSupportedProfiles(): string[];
|
|
@@ -5567,7 +5909,11 @@ interface WEBGL_compressed_texture_astc {
|
|
|
5567
5909
|
readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: 0x93DD;
|
|
5568
5910
|
}
|
|
5569
5911
|
|
|
5570
|
-
/**
|
|
5912
|
+
/**
|
|
5913
|
+
* The **`WEBGL_compressed_texture_etc`** extension is part of the WebGL API and exposes 10 ETC/EAC compressed texture formats.
|
|
5914
|
+
*
|
|
5915
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_etc)
|
|
5916
|
+
*/
|
|
5571
5917
|
interface WEBGL_compressed_texture_etc {
|
|
5572
5918
|
readonly COMPRESSED_R11_EAC: 0x9270;
|
|
5573
5919
|
readonly COMPRESSED_SIGNED_R11_EAC: 0x9271;
|
|
@@ -5581,12 +5927,20 @@ interface WEBGL_compressed_texture_etc {
|
|
|
5581
5927
|
readonly COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: 0x9279;
|
|
5582
5928
|
}
|
|
5583
5929
|
|
|
5584
|
-
/**
|
|
5930
|
+
/**
|
|
5931
|
+
* The **`WEBGL_compressed_texture_etc1`** extension is part of the WebGL API and exposes the ETC1 compressed texture format.
|
|
5932
|
+
*
|
|
5933
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_etc1)
|
|
5934
|
+
*/
|
|
5585
5935
|
interface WEBGL_compressed_texture_etc1 {
|
|
5586
5936
|
readonly COMPRESSED_RGB_ETC1_WEBGL: 0x8D64;
|
|
5587
5937
|
}
|
|
5588
5938
|
|
|
5589
|
-
/**
|
|
5939
|
+
/**
|
|
5940
|
+
* The **`WEBGL_compressed_texture_pvrtc`** extension is part of the WebGL API and exposes four PVRTC compressed texture formats.
|
|
5941
|
+
*
|
|
5942
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_pvrtc)
|
|
5943
|
+
*/
|
|
5590
5944
|
interface WEBGL_compressed_texture_pvrtc {
|
|
5591
5945
|
readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: 0x8C00;
|
|
5592
5946
|
readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: 0x8C01;
|
|
@@ -5595,7 +5949,7 @@ interface WEBGL_compressed_texture_pvrtc {
|
|
|
5595
5949
|
}
|
|
5596
5950
|
|
|
5597
5951
|
/**
|
|
5598
|
-
* The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats.
|
|
5952
|
+
* The **`WEBGL_compressed_texture_s3tc`** extension is part of the WebGL API and exposes four S3TC compressed texture formats.
|
|
5599
5953
|
*
|
|
5600
5954
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_s3tc)
|
|
5601
5955
|
*/
|
|
@@ -5606,7 +5960,11 @@ interface WEBGL_compressed_texture_s3tc {
|
|
|
5606
5960
|
readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: 0x83F3;
|
|
5607
5961
|
}
|
|
5608
5962
|
|
|
5609
|
-
/**
|
|
5963
|
+
/**
|
|
5964
|
+
* The **`WEBGL_compressed_texture_s3tc_srgb`** extension is part of the WebGL API and exposes four S3TC compressed texture formats for the sRGB colorspace.
|
|
5965
|
+
*
|
|
5966
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_s3tc_srgb)
|
|
5967
|
+
*/
|
|
5610
5968
|
interface WEBGL_compressed_texture_s3tc_srgb {
|
|
5611
5969
|
readonly COMPRESSED_SRGB_S3TC_DXT1_EXT: 0x8C4C;
|
|
5612
5970
|
readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: 0x8C4D;
|
|
@@ -5615,7 +5973,7 @@ interface WEBGL_compressed_texture_s3tc_srgb {
|
|
|
5615
5973
|
}
|
|
5616
5974
|
|
|
5617
5975
|
/**
|
|
5618
|
-
* 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.
|
|
5976
|
+
* 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.
|
|
5619
5977
|
*
|
|
5620
5978
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_debug_renderer_info)
|
|
5621
5979
|
*/
|
|
@@ -5624,14 +5982,18 @@ interface WEBGL_debug_renderer_info {
|
|
|
5624
5982
|
readonly UNMASKED_RENDERER_WEBGL: 0x9246;
|
|
5625
5983
|
}
|
|
5626
5984
|
|
|
5627
|
-
/**
|
|
5985
|
+
/**
|
|
5986
|
+
* The **`WEBGL_debug_shaders`** extension is part of the WebGL API and exposes a method to debug shaders from privileged contexts.
|
|
5987
|
+
*
|
|
5988
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_debug_shaders)
|
|
5989
|
+
*/
|
|
5628
5990
|
interface WEBGL_debug_shaders {
|
|
5629
5991
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_debug_shaders/getTranslatedShaderSource) */
|
|
5630
5992
|
getTranslatedShaderSource(shader: WebGLShader): string;
|
|
5631
5993
|
}
|
|
5632
5994
|
|
|
5633
5995
|
/**
|
|
5634
|
-
* The WEBGL_depth_texture extension is part of the WebGL API and defines 2D depth and depth-stencil textures.
|
|
5996
|
+
* The **`WEBGL_depth_texture`** extension is part of the WebGL API and defines 2D depth and depth-stencil textures.
|
|
5635
5997
|
*
|
|
5636
5998
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_depth_texture)
|
|
5637
5999
|
*/
|
|
@@ -5639,7 +6001,11 @@ interface WEBGL_depth_texture {
|
|
|
5639
6001
|
readonly UNSIGNED_INT_24_8_WEBGL: 0x84FA;
|
|
5640
6002
|
}
|
|
5641
6003
|
|
|
5642
|
-
/**
|
|
6004
|
+
/**
|
|
6005
|
+
* 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.
|
|
6006
|
+
*
|
|
6007
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers)
|
|
6008
|
+
*/
|
|
5643
6009
|
interface WEBGL_draw_buffers {
|
|
5644
6010
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */
|
|
5645
6011
|
drawBuffersWEBGL(buffers: GLenum[]): void;
|
|
@@ -5679,7 +6045,11 @@ interface WEBGL_draw_buffers {
|
|
|
5679
6045
|
readonly MAX_DRAW_BUFFERS_WEBGL: 0x8824;
|
|
5680
6046
|
}
|
|
5681
6047
|
|
|
5682
|
-
/**
|
|
6048
|
+
/**
|
|
6049
|
+
* The **WEBGL_lose_context** extension is part of the WebGL API and exposes functions to simulate losing and restoring a WebGLRenderingContext.
|
|
6050
|
+
*
|
|
6051
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context)
|
|
6052
|
+
*/
|
|
5683
6053
|
interface WEBGL_lose_context {
|
|
5684
6054
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/loseContext) */
|
|
5685
6055
|
loseContext(): void;
|
|
@@ -5687,7 +6057,11 @@ interface WEBGL_lose_context {
|
|
|
5687
6057
|
restoreContext(): void;
|
|
5688
6058
|
}
|
|
5689
6059
|
|
|
5690
|
-
/**
|
|
6060
|
+
/**
|
|
6061
|
+
* The **`WEBGL_multi_draw`** extension is part of the WebGL API and allows to render more than one primitive with a single function call.
|
|
6062
|
+
*
|
|
6063
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw)
|
|
6064
|
+
*/
|
|
5691
6065
|
interface WEBGL_multi_draw {
|
|
5692
6066
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */
|
|
5693
6067
|
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: number, countsList: Int32Array | GLsizei[], countsOffset: number, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: number, drawcount: GLsizei): void;
|
|
@@ -5699,7 +6073,11 @@ interface WEBGL_multi_draw {
|
|
|
5699
6073
|
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: number, drawcount: GLsizei): void;
|
|
5700
6074
|
}
|
|
5701
6075
|
|
|
5702
|
-
/**
|
|
6076
|
+
/**
|
|
6077
|
+
* The **WebGL2RenderingContext** interface provides the OpenGL ES 3.0 rendering context for the drawing surface of an HTML canvas element.
|
|
6078
|
+
*
|
|
6079
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext)
|
|
6080
|
+
*/
|
|
5703
6081
|
interface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {
|
|
5704
6082
|
}
|
|
5705
6083
|
|
|
@@ -6770,7 +7148,7 @@ interface WebGL2RenderingContextOverloads {
|
|
|
6770
7148
|
}
|
|
6771
7149
|
|
|
6772
7150
|
/**
|
|
6773
|
-
*
|
|
7151
|
+
* The **WebGLActiveInfo** interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods.
|
|
6774
7152
|
*
|
|
6775
7153
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLActiveInfo)
|
|
6776
7154
|
*/
|
|
@@ -6789,7 +7167,7 @@ declare var WebGLActiveInfo: {
|
|
|
6789
7167
|
};
|
|
6790
7168
|
|
|
6791
7169
|
/**
|
|
6792
|
-
*
|
|
7170
|
+
* The **WebGLBuffer** interface is part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors.
|
|
6793
7171
|
*
|
|
6794
7172
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLBuffer)
|
|
6795
7173
|
*/
|
|
@@ -6802,7 +7180,7 @@ declare var WebGLBuffer: {
|
|
|
6802
7180
|
};
|
|
6803
7181
|
|
|
6804
7182
|
/**
|
|
6805
|
-
* The
|
|
7183
|
+
* 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.
|
|
6806
7184
|
*
|
|
6807
7185
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLContextEvent)
|
|
6808
7186
|
*/
|
|
@@ -6817,7 +7195,7 @@ declare var WebGLContextEvent: {
|
|
|
6817
7195
|
};
|
|
6818
7196
|
|
|
6819
7197
|
/**
|
|
6820
|
-
*
|
|
7198
|
+
* The **WebGLFramebuffer** interface is part of the WebGL API and represents a collection of buffers that serve as a rendering destination.
|
|
6821
7199
|
*
|
|
6822
7200
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLFramebuffer)
|
|
6823
7201
|
*/
|
|
@@ -6830,7 +7208,7 @@ declare var WebGLFramebuffer: {
|
|
|
6830
7208
|
};
|
|
6831
7209
|
|
|
6832
7210
|
/**
|
|
6833
|
-
* 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).
|
|
7211
|
+
* 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).
|
|
6834
7212
|
*
|
|
6835
7213
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLProgram)
|
|
6836
7214
|
*/
|
|
@@ -6842,7 +7220,11 @@ declare var WebGLProgram: {
|
|
|
6842
7220
|
new(): WebGLProgram;
|
|
6843
7221
|
};
|
|
6844
7222
|
|
|
6845
|
-
/**
|
|
7223
|
+
/**
|
|
7224
|
+
* The **`WebGLQuery`** interface is part of the WebGL 2 API and provides ways to asynchronously query for information.
|
|
7225
|
+
*
|
|
7226
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLQuery)
|
|
7227
|
+
*/
|
|
6846
7228
|
interface WebGLQuery {
|
|
6847
7229
|
}
|
|
6848
7230
|
|
|
@@ -6852,7 +7234,7 @@ declare var WebGLQuery: {
|
|
|
6852
7234
|
};
|
|
6853
7235
|
|
|
6854
7236
|
/**
|
|
6855
|
-
*
|
|
7237
|
+
* 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.
|
|
6856
7238
|
*
|
|
6857
7239
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderbuffer)
|
|
6858
7240
|
*/
|
|
@@ -6865,7 +7247,7 @@ declare var WebGLRenderbuffer: {
|
|
|
6865
7247
|
};
|
|
6866
7248
|
|
|
6867
7249
|
/**
|
|
6868
|
-
*
|
|
7250
|
+
* The **`WebGLRenderingContext`** interface provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML canvas element.
|
|
6869
7251
|
*
|
|
6870
7252
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext)
|
|
6871
7253
|
*/
|
|
@@ -7794,7 +8176,11 @@ interface WebGLRenderingContextOverloads {
|
|
|
7794
8176
|
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;
|
|
7795
8177
|
}
|
|
7796
8178
|
|
|
7797
|
-
/**
|
|
8179
|
+
/**
|
|
8180
|
+
* The **`WebGLSampler`** interface is part of the WebGL 2 API and stores sampling parameters for WebGLTexture access inside of a shader.
|
|
8181
|
+
*
|
|
8182
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLSampler)
|
|
8183
|
+
*/
|
|
7798
8184
|
interface WebGLSampler {
|
|
7799
8185
|
}
|
|
7800
8186
|
|
|
@@ -7804,7 +8190,7 @@ declare var WebGLSampler: {
|
|
|
7804
8190
|
};
|
|
7805
8191
|
|
|
7806
8192
|
/**
|
|
7807
|
-
* The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader.
|
|
8193
|
+
* The **WebGLShader** is part of the WebGL API and can either be a vertex or a fragment shader.
|
|
7808
8194
|
*
|
|
7809
8195
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLShader)
|
|
7810
8196
|
*/
|
|
@@ -7817,7 +8203,7 @@ declare var WebGLShader: {
|
|
|
7817
8203
|
};
|
|
7818
8204
|
|
|
7819
8205
|
/**
|
|
7820
|
-
*
|
|
8206
|
+
* The **WebGLShaderPrecisionFormat** interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() method.
|
|
7821
8207
|
*
|
|
7822
8208
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLShaderPrecisionFormat)
|
|
7823
8209
|
*/
|
|
@@ -7835,7 +8221,11 @@ declare var WebGLShaderPrecisionFormat: {
|
|
|
7835
8221
|
new(): WebGLShaderPrecisionFormat;
|
|
7836
8222
|
};
|
|
7837
8223
|
|
|
7838
|
-
/**
|
|
8224
|
+
/**
|
|
8225
|
+
* The **`WebGLSync`** interface is part of the WebGL 2 API and is used to synchronize activities between the GPU and the application.
|
|
8226
|
+
*
|
|
8227
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLSync)
|
|
8228
|
+
*/
|
|
7839
8229
|
interface WebGLSync {
|
|
7840
8230
|
}
|
|
7841
8231
|
|
|
@@ -7845,7 +8235,7 @@ declare var WebGLSync: {
|
|
|
7845
8235
|
};
|
|
7846
8236
|
|
|
7847
8237
|
/**
|
|
7848
|
-
*
|
|
8238
|
+
* The **WebGLTexture** interface is part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations.
|
|
7849
8239
|
*
|
|
7850
8240
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLTexture)
|
|
7851
8241
|
*/
|
|
@@ -7857,7 +8247,11 @@ declare var WebGLTexture: {
|
|
|
7857
8247
|
new(): WebGLTexture;
|
|
7858
8248
|
};
|
|
7859
8249
|
|
|
7860
|
-
/**
|
|
8250
|
+
/**
|
|
8251
|
+
* 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.
|
|
8252
|
+
*
|
|
8253
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLTransformFeedback)
|
|
8254
|
+
*/
|
|
7861
8255
|
interface WebGLTransformFeedback {
|
|
7862
8256
|
}
|
|
7863
8257
|
|
|
@@ -7867,7 +8261,7 @@ declare var WebGLTransformFeedback: {
|
|
|
7867
8261
|
};
|
|
7868
8262
|
|
|
7869
8263
|
/**
|
|
7870
|
-
*
|
|
8264
|
+
* The **WebGLUniformLocation** interface is part of the WebGL API and represents the location of a uniform variable in a shader program.
|
|
7871
8265
|
*
|
|
7872
8266
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLUniformLocation)
|
|
7873
8267
|
*/
|
|
@@ -7879,7 +8273,11 @@ declare var WebGLUniformLocation: {
|
|
|
7879
8273
|
new(): WebGLUniformLocation;
|
|
7880
8274
|
};
|
|
7881
8275
|
|
|
7882
|
-
/**
|
|
8276
|
+
/**
|
|
8277
|
+
* 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.
|
|
8278
|
+
*
|
|
8279
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject)
|
|
8280
|
+
*/
|
|
7883
8281
|
interface WebGLVertexArrayObject {
|
|
7884
8282
|
}
|
|
7885
8283
|
|
|
@@ -7900,7 +8298,7 @@ interface WebSocketEventMap {
|
|
|
7900
8298
|
}
|
|
7901
8299
|
|
|
7902
8300
|
/**
|
|
7903
|
-
*
|
|
8301
|
+
* 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.
|
|
7904
8302
|
*
|
|
7905
8303
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket)
|
|
7906
8304
|
*/
|
|
@@ -7985,6 +8383,7 @@ declare var WebSocket: {
|
|
|
7985
8383
|
};
|
|
7986
8384
|
|
|
7987
8385
|
/**
|
|
8386
|
+
* 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.
|
|
7988
8387
|
* Available only in secure contexts.
|
|
7989
8388
|
*
|
|
7990
8389
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport)
|
|
@@ -8014,6 +8413,7 @@ declare var WebTransport: {
|
|
|
8014
8413
|
};
|
|
8015
8414
|
|
|
8016
8415
|
/**
|
|
8416
|
+
* 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.
|
|
8017
8417
|
* Available only in secure contexts.
|
|
8018
8418
|
*
|
|
8019
8419
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportBidirectionalStream)
|
|
@@ -8031,6 +8431,7 @@ declare var WebTransportBidirectionalStream: {
|
|
|
8031
8431
|
};
|
|
8032
8432
|
|
|
8033
8433
|
/**
|
|
8434
|
+
* The **`WebTransportDatagramDuplexStream`** interface of the WebTransport API represents a duplex stream that can be used for unreliable transport of datagrams between client and server.
|
|
8034
8435
|
* Available only in secure contexts.
|
|
8035
8436
|
*
|
|
8036
8437
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream)
|
|
@@ -8058,6 +8459,7 @@ declare var WebTransportDatagramDuplexStream: {
|
|
|
8058
8459
|
};
|
|
8059
8460
|
|
|
8060
8461
|
/**
|
|
8462
|
+
* 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).
|
|
8061
8463
|
* Available only in secure contexts.
|
|
8062
8464
|
*
|
|
8063
8465
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportError)
|
|
@@ -8075,7 +8477,7 @@ declare var WebTransportError: {
|
|
|
8075
8477
|
};
|
|
8076
8478
|
|
|
8077
8479
|
/**
|
|
8078
|
-
*
|
|
8480
|
+
* The `WindowClient` interface of the ServiceWorker API represents the scope of a service worker client that is a document in a browsing context, controlled by an active worker.
|
|
8079
8481
|
*
|
|
8080
8482
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient)
|
|
8081
8483
|
*/
|
|
@@ -8149,7 +8551,7 @@ interface WorkerGlobalScopeEventMap {
|
|
|
8149
8551
|
}
|
|
8150
8552
|
|
|
8151
8553
|
/**
|
|
8152
|
-
*
|
|
8554
|
+
* The **`WorkerGlobalScope`** interface of the Web Workers API is an interface representing the scope of any worker.
|
|
8153
8555
|
*
|
|
8154
8556
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope)
|
|
8155
8557
|
*/
|
|
@@ -8202,7 +8604,7 @@ declare var WorkerGlobalScope: {
|
|
|
8202
8604
|
};
|
|
8203
8605
|
|
|
8204
8606
|
/**
|
|
8205
|
-
* The absolute location of the script executed by the Worker.
|
|
8607
|
+
* The **`WorkerLocation`** interface defines the absolute location of the script executed by the Worker.
|
|
8206
8608
|
*
|
|
8207
8609
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerLocation)
|
|
8208
8610
|
*/
|
|
@@ -8234,7 +8636,7 @@ declare var WorkerLocation: {
|
|
|
8234
8636
|
};
|
|
8235
8637
|
|
|
8236
8638
|
/**
|
|
8237
|
-
*
|
|
8639
|
+
* The **`WorkerNavigator`** interface represents a subset of the Navigator interface allowed to be accessed from a Worker.
|
|
8238
8640
|
*
|
|
8239
8641
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerNavigator)
|
|
8240
8642
|
*/
|
|
@@ -8257,7 +8659,7 @@ declare var WorkerNavigator: {
|
|
|
8257
8659
|
};
|
|
8258
8660
|
|
|
8259
8661
|
/**
|
|
8260
|
-
*
|
|
8662
|
+
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
|
8261
8663
|
*
|
|
8262
8664
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream)
|
|
8263
8665
|
*/
|
|
@@ -8278,7 +8680,7 @@ declare var WritableStream: {
|
|
|
8278
8680
|
};
|
|
8279
8681
|
|
|
8280
8682
|
/**
|
|
8281
|
-
*
|
|
8683
|
+
* The **`WritableStreamDefaultController`** interface of the Streams API represents a controller allowing control of a WritableStream's state.
|
|
8282
8684
|
*
|
|
8283
8685
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController)
|
|
8284
8686
|
*/
|
|
@@ -8295,7 +8697,7 @@ declare var WritableStreamDefaultController: {
|
|
|
8295
8697
|
};
|
|
8296
8698
|
|
|
8297
8699
|
/**
|
|
8298
|
-
*
|
|
8700
|
+
* 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.
|
|
8299
8701
|
*
|
|
8300
8702
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter)
|
|
8301
8703
|
*/
|
|
@@ -8480,7 +8882,12 @@ declare namespace WebAssembly {
|
|
|
8480
8882
|
function validate(bytes: BufferSource): boolean;
|
|
8481
8883
|
}
|
|
8482
8884
|
|
|
8483
|
-
/**
|
|
8885
|
+
/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */
|
|
8886
|
+
/**
|
|
8887
|
+
* The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox).
|
|
8888
|
+
*
|
|
8889
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/console)
|
|
8890
|
+
*/
|
|
8484
8891
|
interface Console {
|
|
8485
8892
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/assert_static) */
|
|
8486
8893
|
assert(condition?: boolean, ...data: any[]): void;
|