@rindo/core 2.17.4 → 2.22.2
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/cli/config-flags.d.ts +33 -21
- package/cli/index.cjs +693 -401
- package/cli/index.d.ts +3 -0
- package/cli/index.js +693 -401
- package/cli/package.json +1 -1
- package/compiler/lib.dom.d.ts +898 -184
- package/compiler/lib.dom.iterable.d.ts +22 -4
- package/compiler/lib.es2015.collection.d.ts +62 -1
- package/compiler/lib.es2015.core.d.ts +3 -3
- package/compiler/lib.es2015.iterable.d.ts +2 -1
- package/compiler/lib.es2015.promise.d.ts +9 -4
- package/compiler/lib.es2015.proxy.d.ts +91 -2
- package/compiler/lib.es2015.reflect.d.ts +26 -3
- package/compiler/lib.es2015.symbol.wellknown.d.ts +3 -3
- package/compiler/lib.es2017.intl.d.ts +16 -1
- package/compiler/lib.es2019.d.ts +1 -0
- package/compiler/lib.es2019.intl.d.ts +25 -0
- package/compiler/lib.es2020.bigint.d.ts +7 -5
- package/compiler/lib.es2020.d.ts +2 -0
- package/compiler/lib.es2020.date.d.ts +44 -0
- package/compiler/lib.es2020.intl.d.ts +81 -16
- package/compiler/lib.es2020.number.d.ts +30 -0
- package/compiler/lib.es2021.intl.d.ts +116 -6
- package/compiler/lib.es2022.array.d.ts +123 -0
- package/compiler/lib.es2022.d.ts +27 -0
- package/compiler/lib.es2022.error.d.ts +75 -0
- package/compiler/lib.es2022.full.d.ts +25 -0
- package/compiler/lib.es2022.intl.d.ts +111 -0
- package/compiler/lib.es2022.object.d.ts +28 -0
- package/compiler/lib.es2022.sharedmemory.d.ts +27 -0
- package/compiler/lib.es2022.string.d.ts +27 -0
- package/compiler/lib.es5.d.ts +62 -31
- package/compiler/lib.esnext.d.ts +1 -1
- package/compiler/lib.esnext.intl.d.ts +8 -1
- package/compiler/lib.webworker.d.ts +540 -81
- package/compiler/lib.webworker.iterable.d.ts +19 -4
- package/compiler/package.json +1 -1
- package/compiler/rindo.d.ts +3 -25
- package/compiler/rindo.js +54678 -52205
- package/compiler/rindo.min.js +2 -2
- package/compiler/sys/in-memory-fs.d.ts +218 -0
- package/compiler/transpile.d.ts +32 -0
- package/dependencies.json +12 -1
- package/dev-server/client/app-error.d.ts +1 -1
- package/dev-server/client/index.d.ts +2 -2
- package/dev-server/client/index.js +241 -241
- package/dev-server/client/package.json +1 -1
- package/dev-server/connector.html +3 -3
- package/dev-server/index.d.ts +1 -1
- package/dev-server/index.js +2 -2
- package/dev-server/open-in-editor-api.js +1 -1
- package/dev-server/package.json +1 -1
- package/dev-server/server-process.js +1192 -1158
- package/dev-server/ws.js +1 -1
- package/internal/app-data/package.json +1 -1
- package/internal/client/css-shim.js +2 -2
- package/internal/client/dom.js +1 -1
- package/internal/client/index.js +1130 -823
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +19 -1
- package/internal/client/patch-esm.js +1 -1
- package/internal/client/polyfills/css-shim.js +1 -1
- package/internal/client/shadow-css.js +1 -1
- package/internal/hydrate/index.js +154 -143
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.d.ts +1 -1
- package/internal/hydrate/runner.js +106 -106
- package/internal/package.json +1 -1
- package/internal/rindo-core/index.d.ts +9 -10
- package/internal/rindo-private.d.ts +149 -184
- package/internal/rindo-public-compiler.d.ts +83 -38
- package/internal/rindo-public-docs.d.ts +24 -0
- package/internal/rindo-public-runtime.d.ts +79 -7
- package/internal/testing/index.js +187 -175
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +526 -501
- package/mock-doc/index.d.ts +15 -14
- package/mock-doc/index.js +526 -501
- package/mock-doc/package.json +1 -1
- package/package.json +48 -59
- package/readme.md +44 -31
- package/screenshot/compare/build/p-f4745c2f.entry.js +1 -1
- package/screenshot/index.d.ts +1 -1
- package/screenshot/index.js +13 -13
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +983 -849
- package/sys/node/autoprefixer.js +2 -2
- package/sys/node/glob.js +1 -1
- package/sys/node/index.d.ts +4 -0
- package/sys/node/index.js +399 -413
- package/sys/node/package.json +1 -1
- package/sys/node/prompts.js +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.d.ts +6 -6
- package/testing/index.js +684 -839
- package/testing/jest/jest-config.d.ts +1 -1
- package/testing/jest/jest-preprocessor.d.ts +3 -3
- package/testing/jest/jest-serializer.d.ts +1 -2
- package/testing/matchers/index.d.ts +3 -3
- package/testing/mock-fetch.d.ts +1 -1
- package/testing/mocks.d.ts +2 -2
- package/testing/package.json +1 -1
- package/testing/puppeteer/puppeteer-declarations.d.ts +5 -5
- package/testing/puppeteer/puppeteer-element.d.ts +2 -2
- package/testing/puppeteer/puppeteer-events.d.ts +1 -1
- package/testing/testing-logger.d.ts +1 -1
- package/testing/testing-utils.d.ts +6 -5
- package/testing/testing.d.ts +1 -1
package/compiler/lib.dom.d.ts
CHANGED
|
@@ -136,15 +136,14 @@ interface AudioWorkletNodeOptions extends AudioNodeOptions {
|
|
|
136
136
|
|
|
137
137
|
interface AuthenticationExtensionsClientInputs {
|
|
138
138
|
appid?: string;
|
|
139
|
-
appidExclude?: string;
|
|
140
139
|
credProps?: boolean;
|
|
141
|
-
|
|
140
|
+
hmacCreateSecret?: boolean;
|
|
142
141
|
}
|
|
143
142
|
|
|
144
143
|
interface AuthenticationExtensionsClientOutputs {
|
|
145
144
|
appid?: boolean;
|
|
146
145
|
credProps?: CredentialPropertiesOutput;
|
|
147
|
-
|
|
146
|
+
hmacCreateSecret?: boolean;
|
|
148
147
|
}
|
|
149
148
|
|
|
150
149
|
interface AuthenticatorSelectionCriteria {
|
|
@@ -227,7 +226,7 @@ interface ComputedEffectTiming extends EffectTiming {
|
|
|
227
226
|
currentIteration?: number | null;
|
|
228
227
|
endTime?: CSSNumberish;
|
|
229
228
|
localTime?: CSSNumberish | null;
|
|
230
|
-
progress?:
|
|
229
|
+
progress?: number | null;
|
|
231
230
|
startTime?: CSSNumberish;
|
|
232
231
|
}
|
|
233
232
|
|
|
@@ -284,8 +283,8 @@ interface CredentialRequestOptions {
|
|
|
284
283
|
}
|
|
285
284
|
|
|
286
285
|
interface CryptoKeyPair {
|
|
287
|
-
privateKey
|
|
288
|
-
publicKey
|
|
286
|
+
privateKey: CryptoKey;
|
|
287
|
+
publicKey: CryptoKey;
|
|
289
288
|
}
|
|
290
289
|
|
|
291
290
|
interface CustomEventInit<T = any> extends EventInit {
|
|
@@ -373,7 +372,7 @@ interface DeviceOrientationEventInit extends EventInit {
|
|
|
373
372
|
gamma?: number | null;
|
|
374
373
|
}
|
|
375
374
|
|
|
376
|
-
interface
|
|
375
|
+
interface DisplayMediaStreamOptions {
|
|
377
376
|
audio?: boolean | MediaTrackConstraints;
|
|
378
377
|
video?: boolean | MediaTrackConstraints;
|
|
379
378
|
}
|
|
@@ -487,6 +486,18 @@ interface FileSystemFlags {
|
|
|
487
486
|
exclusive?: boolean;
|
|
488
487
|
}
|
|
489
488
|
|
|
489
|
+
interface FileSystemGetDirectoryOptions {
|
|
490
|
+
create?: boolean;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
interface FileSystemGetFileOptions {
|
|
494
|
+
create?: boolean;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
interface FileSystemRemoveOptions {
|
|
498
|
+
recursive?: boolean;
|
|
499
|
+
}
|
|
500
|
+
|
|
490
501
|
interface FocusEventInit extends UIEventInit {
|
|
491
502
|
relatedTarget?: EventTarget | null;
|
|
492
503
|
}
|
|
@@ -578,6 +589,10 @@ interface IDBObjectStoreParameters {
|
|
|
578
589
|
keyPath?: string | string[] | null;
|
|
579
590
|
}
|
|
580
591
|
|
|
592
|
+
interface IDBTransactionOptions {
|
|
593
|
+
durability?: IDBTransactionDurability;
|
|
594
|
+
}
|
|
595
|
+
|
|
581
596
|
interface IDBVersionChangeEventInit extends EventInit {
|
|
582
597
|
newVersion?: number | null;
|
|
583
598
|
oldVersion?: number;
|
|
@@ -691,6 +706,24 @@ interface KeyframeEffectOptions extends EffectTiming {
|
|
|
691
706
|
pseudoElement?: string | null;
|
|
692
707
|
}
|
|
693
708
|
|
|
709
|
+
interface LockInfo {
|
|
710
|
+
clientId?: string;
|
|
711
|
+
mode?: LockMode;
|
|
712
|
+
name?: string;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
interface LockManagerSnapshot {
|
|
716
|
+
held?: LockInfo[];
|
|
717
|
+
pending?: LockInfo[];
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
interface LockOptions {
|
|
721
|
+
ifAvailable?: boolean;
|
|
722
|
+
mode?: LockMode;
|
|
723
|
+
signal?: AbortSignal;
|
|
724
|
+
steal?: boolean;
|
|
725
|
+
}
|
|
726
|
+
|
|
694
727
|
interface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo {
|
|
695
728
|
configuration?: MediaDecodingConfiguration;
|
|
696
729
|
}
|
|
@@ -772,10 +805,6 @@ interface MediaQueryListEventInit extends EventInit {
|
|
|
772
805
|
media?: string;
|
|
773
806
|
}
|
|
774
807
|
|
|
775
|
-
interface MediaRecorderErrorEventInit extends EventInit {
|
|
776
|
-
error: DOMException;
|
|
777
|
-
}
|
|
778
|
-
|
|
779
808
|
interface MediaRecorderOptions {
|
|
780
809
|
audioBitsPerSecond?: number;
|
|
781
810
|
bitsPerSecond?: number;
|
|
@@ -785,9 +814,9 @@ interface MediaRecorderOptions {
|
|
|
785
814
|
|
|
786
815
|
interface MediaSessionActionDetails {
|
|
787
816
|
action: MediaSessionAction;
|
|
788
|
-
fastSeek?: boolean
|
|
789
|
-
seekOffset?: number
|
|
790
|
-
seekTime?: number
|
|
817
|
+
fastSeek?: boolean;
|
|
818
|
+
seekOffset?: number;
|
|
819
|
+
seekTime?: number;
|
|
791
820
|
}
|
|
792
821
|
|
|
793
822
|
interface MediaStreamAudioSourceOptions {
|
|
@@ -921,6 +950,11 @@ interface MutationObserverInit {
|
|
|
921
950
|
subtree?: boolean;
|
|
922
951
|
}
|
|
923
952
|
|
|
953
|
+
interface NavigationPreloadState {
|
|
954
|
+
enabled?: boolean;
|
|
955
|
+
headerValue?: string;
|
|
956
|
+
}
|
|
957
|
+
|
|
924
958
|
interface NotificationAction {
|
|
925
959
|
action: string;
|
|
926
960
|
icon?: string;
|
|
@@ -940,7 +974,7 @@ interface NotificationOptions {
|
|
|
940
974
|
requireInteraction?: boolean;
|
|
941
975
|
silent?: boolean;
|
|
942
976
|
tag?: string;
|
|
943
|
-
timestamp?:
|
|
977
|
+
timestamp?: EpochTimeStamp;
|
|
944
978
|
vibrate?: VibratePattern;
|
|
945
979
|
}
|
|
946
980
|
|
|
@@ -1082,6 +1116,10 @@ interface PermissionDescriptor {
|
|
|
1082
1116
|
name: PermissionName;
|
|
1083
1117
|
}
|
|
1084
1118
|
|
|
1119
|
+
interface PictureInPictureEventInit extends EventInit {
|
|
1120
|
+
pictureInPictureWindow: PictureInPictureWindow;
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1085
1123
|
interface PointerEventInit extends MouseEventInit {
|
|
1086
1124
|
coalescedEvents?: PointerEvent[];
|
|
1087
1125
|
height?: number;
|
|
@@ -1172,7 +1210,7 @@ interface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity {
|
|
|
1172
1210
|
|
|
1173
1211
|
interface PushSubscriptionJSON {
|
|
1174
1212
|
endpoint?: string;
|
|
1175
|
-
expirationTime?:
|
|
1213
|
+
expirationTime?: EpochTimeStamp | null;
|
|
1176
1214
|
keys?: Record<string, string>;
|
|
1177
1215
|
}
|
|
1178
1216
|
|
|
@@ -1199,7 +1237,7 @@ interface RTCAnswerOptions extends RTCOfferAnswerOptions {
|
|
|
1199
1237
|
}
|
|
1200
1238
|
|
|
1201
1239
|
interface RTCCertificateExpiration {
|
|
1202
|
-
expires?:
|
|
1240
|
+
expires?: number;
|
|
1203
1241
|
}
|
|
1204
1242
|
|
|
1205
1243
|
interface RTCConfiguration {
|
|
@@ -1233,6 +1271,35 @@ interface RTCDtlsFingerprint {
|
|
|
1233
1271
|
value?: string;
|
|
1234
1272
|
}
|
|
1235
1273
|
|
|
1274
|
+
interface RTCEncodedAudioFrameMetadata {
|
|
1275
|
+
contributingSources?: number[];
|
|
1276
|
+
synchronizationSource?: number;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
interface RTCEncodedVideoFrameMetadata {
|
|
1280
|
+
contributingSources?: number[];
|
|
1281
|
+
dependencies?: number[];
|
|
1282
|
+
frameId?: number;
|
|
1283
|
+
height?: number;
|
|
1284
|
+
spatialIndex?: number;
|
|
1285
|
+
synchronizationSource?: number;
|
|
1286
|
+
temporalIndex?: number;
|
|
1287
|
+
width?: number;
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
interface RTCErrorEventInit extends EventInit {
|
|
1291
|
+
error: RTCError;
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
interface RTCErrorInit {
|
|
1295
|
+
errorDetail: RTCErrorDetailType;
|
|
1296
|
+
httpRequestStatusCode?: number;
|
|
1297
|
+
receivedAlert?: number;
|
|
1298
|
+
sctpCauseCode?: number;
|
|
1299
|
+
sdpLineNumber?: number;
|
|
1300
|
+
sentAlert?: number;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1236
1303
|
interface RTCIceCandidateInit {
|
|
1237
1304
|
candidate?: string;
|
|
1238
1305
|
sdpMLineIndex?: number | null;
|
|
@@ -1246,6 +1313,8 @@ interface RTCIceCandidatePairStats extends RTCStats {
|
|
|
1246
1313
|
bytesReceived?: number;
|
|
1247
1314
|
bytesSent?: number;
|
|
1248
1315
|
currentRoundTripTime?: number;
|
|
1316
|
+
lastPacketReceivedTimestamp?: DOMHighResTimeStamp;
|
|
1317
|
+
lastPacketSentTimestamp?: DOMHighResTimeStamp;
|
|
1249
1318
|
localCandidateId: string;
|
|
1250
1319
|
nominated?: boolean;
|
|
1251
1320
|
remoteCandidateId: string;
|
|
@@ -1260,18 +1329,47 @@ interface RTCIceCandidatePairStats extends RTCStats {
|
|
|
1260
1329
|
|
|
1261
1330
|
interface RTCIceServer {
|
|
1262
1331
|
credential?: string;
|
|
1263
|
-
credentialType?: RTCIceCredentialType;
|
|
1264
1332
|
urls: string | string[];
|
|
1265
1333
|
username?: string;
|
|
1266
1334
|
}
|
|
1267
1335
|
|
|
1268
1336
|
interface RTCInboundRtpStreamStats extends RTCReceivedRtpStreamStats {
|
|
1337
|
+
audioLevel?: number;
|
|
1338
|
+
bytesReceived?: number;
|
|
1339
|
+
concealedSamples?: number;
|
|
1340
|
+
concealmentEvents?: number;
|
|
1341
|
+
decoderImplementation?: string;
|
|
1342
|
+
estimatedPlayoutTimestamp?: DOMHighResTimeStamp;
|
|
1343
|
+
fecPacketsDiscarded?: number;
|
|
1344
|
+
fecPacketsReceived?: number;
|
|
1269
1345
|
firCount?: number;
|
|
1346
|
+
frameHeight?: number;
|
|
1347
|
+
frameWidth?: number;
|
|
1270
1348
|
framesDecoded?: number;
|
|
1349
|
+
framesDropped?: number;
|
|
1350
|
+
framesPerSecond?: number;
|
|
1351
|
+
framesReceived?: number;
|
|
1352
|
+
headerBytesReceived?: number;
|
|
1353
|
+
insertedSamplesForDeceleration?: number;
|
|
1354
|
+
jitterBufferDelay?: number;
|
|
1355
|
+
jitterBufferEmittedCount?: number;
|
|
1356
|
+
keyFramesDecoded?: number;
|
|
1357
|
+
kind: string;
|
|
1358
|
+
lastPacketReceivedTimestamp?: DOMHighResTimeStamp;
|
|
1271
1359
|
nackCount?: number;
|
|
1360
|
+
packetsDiscarded?: number;
|
|
1272
1361
|
pliCount?: number;
|
|
1273
1362
|
qpSum?: number;
|
|
1274
1363
|
remoteId?: string;
|
|
1364
|
+
removedSamplesForAcceleration?: number;
|
|
1365
|
+
silentConcealedSamples?: number;
|
|
1366
|
+
totalAudioEnergy?: number;
|
|
1367
|
+
totalDecodeTime?: number;
|
|
1368
|
+
totalInterFrameDelay?: number;
|
|
1369
|
+
totalProcessingDelay?: number;
|
|
1370
|
+
totalSamplesDuration?: number;
|
|
1371
|
+
totalSamplesReceived?: number;
|
|
1372
|
+
totalSquaredInterFrameDelay?: number;
|
|
1275
1373
|
}
|
|
1276
1374
|
|
|
1277
1375
|
interface RTCLocalSessionDescriptionInit {
|
|
@@ -1290,11 +1388,27 @@ interface RTCOfferOptions extends RTCOfferAnswerOptions {
|
|
|
1290
1388
|
|
|
1291
1389
|
interface RTCOutboundRtpStreamStats extends RTCSentRtpStreamStats {
|
|
1292
1390
|
firCount?: number;
|
|
1391
|
+
frameHeight?: number;
|
|
1392
|
+
frameWidth?: number;
|
|
1293
1393
|
framesEncoded?: number;
|
|
1394
|
+
framesPerSecond?: number;
|
|
1395
|
+
framesSent?: number;
|
|
1396
|
+
headerBytesSent?: number;
|
|
1397
|
+
hugeFramesSent?: number;
|
|
1398
|
+
keyFramesEncoded?: number;
|
|
1399
|
+
mediaSourceId?: string;
|
|
1294
1400
|
nackCount?: number;
|
|
1295
1401
|
pliCount?: number;
|
|
1296
1402
|
qpSum?: number;
|
|
1403
|
+
qualityLimitationResolutionChanges?: number;
|
|
1297
1404
|
remoteId?: string;
|
|
1405
|
+
retransmittedBytesSent?: number;
|
|
1406
|
+
retransmittedPacketsSent?: number;
|
|
1407
|
+
rid?: string;
|
|
1408
|
+
targetBitrate?: number;
|
|
1409
|
+
totalEncodeTime?: number;
|
|
1410
|
+
totalEncodedBytesTarget?: number;
|
|
1411
|
+
totalPacketSendDelay?: number;
|
|
1298
1412
|
}
|
|
1299
1413
|
|
|
1300
1414
|
interface RTCPeerConnectionIceErrorEventInit extends EventInit {
|
|
@@ -1312,7 +1426,6 @@ interface RTCPeerConnectionIceEventInit extends EventInit {
|
|
|
1312
1426
|
|
|
1313
1427
|
interface RTCReceivedRtpStreamStats extends RTCRtpStreamStats {
|
|
1314
1428
|
jitter?: number;
|
|
1315
|
-
packetsDiscarded?: number;
|
|
1316
1429
|
packetsLost?: number;
|
|
1317
1430
|
packetsReceived?: number;
|
|
1318
1431
|
}
|
|
@@ -1356,6 +1469,8 @@ interface RTCRtpContributingSource {
|
|
|
1356
1469
|
interface RTCRtpEncodingParameters extends RTCRtpCodingParameters {
|
|
1357
1470
|
active?: boolean;
|
|
1358
1471
|
maxBitrate?: number;
|
|
1472
|
+
maxFramerate?: number;
|
|
1473
|
+
networkPriority?: RTCPriorityType;
|
|
1359
1474
|
priority?: RTCPriorityType;
|
|
1360
1475
|
scaleResolutionDownBy?: number;
|
|
1361
1476
|
}
|
|
@@ -1431,18 +1546,26 @@ interface RTCTransportStats extends RTCStats {
|
|
|
1431
1546
|
dtlsState: RTCDtlsTransportState;
|
|
1432
1547
|
localCertificateId?: string;
|
|
1433
1548
|
remoteCertificateId?: string;
|
|
1434
|
-
rtcpTransportStatsId?: string;
|
|
1435
1549
|
selectedCandidatePairId?: string;
|
|
1436
1550
|
srtpCipher?: string;
|
|
1437
1551
|
tlsVersion?: string;
|
|
1438
1552
|
}
|
|
1439
1553
|
|
|
1440
|
-
interface
|
|
1554
|
+
interface ReadableStreamGetReaderOptions {
|
|
1555
|
+
/**
|
|
1556
|
+
* Creates a ReadableStreamBYOBReader and locks the stream to the new reader.
|
|
1557
|
+
*
|
|
1558
|
+
* This call behaves the same way as the no-argument variant, except that it only works on readable byte streams, i.e. streams which were constructed specifically with the ability to handle "bring your own buffer" reading. The returned BYOB reader provides the ability to directly read individual chunks from the stream via its read() method, into developer-supplied buffers, allowing more precise control over allocation.
|
|
1559
|
+
*/
|
|
1560
|
+
mode?: ReadableStreamReaderMode;
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
interface ReadableStreamReadDoneResult<T> {
|
|
1441
1564
|
done: true;
|
|
1442
|
-
value?:
|
|
1565
|
+
value?: T;
|
|
1443
1566
|
}
|
|
1444
1567
|
|
|
1445
|
-
interface
|
|
1568
|
+
interface ReadableStreamReadValueResult<T> {
|
|
1446
1569
|
done: false;
|
|
1447
1570
|
value: T;
|
|
1448
1571
|
}
|
|
@@ -1648,7 +1771,7 @@ interface StreamPipeOptions {
|
|
|
1648
1771
|
}
|
|
1649
1772
|
|
|
1650
1773
|
interface StructuredSerializeOptions {
|
|
1651
|
-
transfer?:
|
|
1774
|
+
transfer?: Transferable[];
|
|
1652
1775
|
}
|
|
1653
1776
|
|
|
1654
1777
|
interface SubmitEventInit extends EventInit {
|
|
@@ -1723,6 +1846,21 @@ interface ULongRange {
|
|
|
1723
1846
|
min?: number;
|
|
1724
1847
|
}
|
|
1725
1848
|
|
|
1849
|
+
interface UnderlyingByteSource {
|
|
1850
|
+
autoAllocateChunkSize?: number;
|
|
1851
|
+
cancel?: UnderlyingSourceCancelCallback;
|
|
1852
|
+
pull?: (controller: ReadableByteStreamController) => void | PromiseLike<void>;
|
|
1853
|
+
start?: (controller: ReadableByteStreamController) => any;
|
|
1854
|
+
type: "bytes";
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
interface UnderlyingDefaultSource<R = any> {
|
|
1858
|
+
cancel?: UnderlyingSourceCancelCallback;
|
|
1859
|
+
pull?: (controller: ReadableStreamDefaultController<R>) => void | PromiseLike<void>;
|
|
1860
|
+
start?: (controller: ReadableStreamDefaultController<R>) => any;
|
|
1861
|
+
type?: undefined;
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1726
1864
|
interface UnderlyingSink<W = any> {
|
|
1727
1865
|
abort?: UnderlyingSinkAbortCallback;
|
|
1728
1866
|
close?: UnderlyingSinkCloseCallback;
|
|
@@ -1732,10 +1870,31 @@ interface UnderlyingSink<W = any> {
|
|
|
1732
1870
|
}
|
|
1733
1871
|
|
|
1734
1872
|
interface UnderlyingSource<R = any> {
|
|
1873
|
+
autoAllocateChunkSize?: number;
|
|
1735
1874
|
cancel?: UnderlyingSourceCancelCallback;
|
|
1736
1875
|
pull?: UnderlyingSourcePullCallback<R>;
|
|
1737
1876
|
start?: UnderlyingSourceStartCallback<R>;
|
|
1738
|
-
type?:
|
|
1877
|
+
type?: ReadableStreamType;
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1880
|
+
interface ValidityStateFlags {
|
|
1881
|
+
badInput?: boolean;
|
|
1882
|
+
customError?: boolean;
|
|
1883
|
+
patternMismatch?: boolean;
|
|
1884
|
+
rangeOverflow?: boolean;
|
|
1885
|
+
rangeUnderflow?: boolean;
|
|
1886
|
+
stepMismatch?: boolean;
|
|
1887
|
+
tooLong?: boolean;
|
|
1888
|
+
tooShort?: boolean;
|
|
1889
|
+
typeMismatch?: boolean;
|
|
1890
|
+
valueMissing?: boolean;
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
interface VideoColorSpaceInit {
|
|
1894
|
+
fullRange?: boolean | null;
|
|
1895
|
+
matrix?: VideoMatrixCoefficients | null;
|
|
1896
|
+
primaries?: VideoColorPrimaries | null;
|
|
1897
|
+
transfer?: VideoTransferCharacteristics | null;
|
|
1739
1898
|
}
|
|
1740
1899
|
|
|
1741
1900
|
interface VideoConfiguration {
|
|
@@ -1750,6 +1909,19 @@ interface VideoConfiguration {
|
|
|
1750
1909
|
width: number;
|
|
1751
1910
|
}
|
|
1752
1911
|
|
|
1912
|
+
interface VideoFrameCallbackMetadata {
|
|
1913
|
+
captureTime?: DOMHighResTimeStamp;
|
|
1914
|
+
expectedDisplayTime: DOMHighResTimeStamp;
|
|
1915
|
+
height: number;
|
|
1916
|
+
mediaTime: number;
|
|
1917
|
+
presentationTime: DOMHighResTimeStamp;
|
|
1918
|
+
presentedFrames: number;
|
|
1919
|
+
processingDuration?: number;
|
|
1920
|
+
receiveTime?: DOMHighResTimeStamp;
|
|
1921
|
+
rtpTimestamp?: number;
|
|
1922
|
+
width: number;
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1753
1925
|
interface WaveShaperOptions extends AudioNodeOptions {
|
|
1754
1926
|
curve?: number[] | Float32Array;
|
|
1755
1927
|
oversample?: OverSampleType;
|
|
@@ -1824,42 +1996,46 @@ interface ANGLE_instanced_arrays {
|
|
|
1824
1996
|
}
|
|
1825
1997
|
|
|
1826
1998
|
interface ARIAMixin {
|
|
1827
|
-
ariaAtomic: string;
|
|
1828
|
-
ariaAutoComplete: string;
|
|
1829
|
-
ariaBusy: string;
|
|
1830
|
-
ariaChecked: string;
|
|
1831
|
-
ariaColCount: string;
|
|
1832
|
-
ariaColIndex: string;
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1999
|
+
ariaAtomic: string | null;
|
|
2000
|
+
ariaAutoComplete: string | null;
|
|
2001
|
+
ariaBusy: string | null;
|
|
2002
|
+
ariaChecked: string | null;
|
|
2003
|
+
ariaColCount: string | null;
|
|
2004
|
+
ariaColIndex: string | null;
|
|
2005
|
+
ariaColIndexText: string | null;
|
|
2006
|
+
ariaColSpan: string | null;
|
|
2007
|
+
ariaCurrent: string | null;
|
|
2008
|
+
ariaDisabled: string | null;
|
|
2009
|
+
ariaExpanded: string | null;
|
|
2010
|
+
ariaHasPopup: string | null;
|
|
2011
|
+
ariaHidden: string | null;
|
|
2012
|
+
ariaInvalid: string | null;
|
|
2013
|
+
ariaKeyShortcuts: string | null;
|
|
2014
|
+
ariaLabel: string | null;
|
|
2015
|
+
ariaLevel: string | null;
|
|
2016
|
+
ariaLive: string | null;
|
|
2017
|
+
ariaModal: string | null;
|
|
2018
|
+
ariaMultiLine: string | null;
|
|
2019
|
+
ariaMultiSelectable: string | null;
|
|
2020
|
+
ariaOrientation: string | null;
|
|
2021
|
+
ariaPlaceholder: string | null;
|
|
2022
|
+
ariaPosInSet: string | null;
|
|
2023
|
+
ariaPressed: string | null;
|
|
2024
|
+
ariaReadOnly: string | null;
|
|
2025
|
+
ariaRequired: string | null;
|
|
2026
|
+
ariaRoleDescription: string | null;
|
|
2027
|
+
ariaRowCount: string | null;
|
|
2028
|
+
ariaRowIndex: string | null;
|
|
2029
|
+
ariaRowIndexText: string | null;
|
|
2030
|
+
ariaRowSpan: string | null;
|
|
2031
|
+
ariaSelected: string | null;
|
|
2032
|
+
ariaSetSize: string | null;
|
|
2033
|
+
ariaSort: string | null;
|
|
2034
|
+
ariaValueMax: string | null;
|
|
2035
|
+
ariaValueMin: string | null;
|
|
2036
|
+
ariaValueNow: string | null;
|
|
2037
|
+
ariaValueText: string | null;
|
|
2038
|
+
role: string | null;
|
|
1863
2039
|
}
|
|
1864
2040
|
|
|
1865
2041
|
/** A controller object that allows you to abort one or more DOM requests as and when desired. */
|
|
@@ -1867,7 +2043,7 @@ interface AbortController {
|
|
|
1867
2043
|
/** Returns the AbortSignal object associated with this object. */
|
|
1868
2044
|
readonly signal: AbortSignal;
|
|
1869
2045
|
/** Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. */
|
|
1870
|
-
abort(): void;
|
|
2046
|
+
abort(reason?: any): void;
|
|
1871
2047
|
}
|
|
1872
2048
|
|
|
1873
2049
|
declare var AbortController: {
|
|
@@ -1884,6 +2060,8 @@ interface AbortSignal extends EventTarget {
|
|
|
1884
2060
|
/** Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. */
|
|
1885
2061
|
readonly aborted: boolean;
|
|
1886
2062
|
onabort: ((this: AbortSignal, ev: Event) => any) | null;
|
|
2063
|
+
readonly reason: any;
|
|
2064
|
+
throwIfAborted(): void;
|
|
1887
2065
|
addEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1888
2066
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1889
2067
|
removeEventListener<K extends keyof AbortSignalEventMap>(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -1893,7 +2071,8 @@ interface AbortSignal extends EventTarget {
|
|
|
1893
2071
|
declare var AbortSignal: {
|
|
1894
2072
|
prototype: AbortSignal;
|
|
1895
2073
|
new(): AbortSignal;
|
|
1896
|
-
|
|
2074
|
+
abort(reason?: any): AbortSignal;
|
|
2075
|
+
timeout(milliseconds: number): AbortSignal;
|
|
1897
2076
|
};
|
|
1898
2077
|
|
|
1899
2078
|
interface AbstractRange {
|
|
@@ -2028,7 +2207,7 @@ declare var AnimationPlaybackEvent: {
|
|
|
2028
2207
|
};
|
|
2029
2208
|
|
|
2030
2209
|
interface AnimationTimeline {
|
|
2031
|
-
readonly currentTime:
|
|
2210
|
+
readonly currentTime: CSSNumberish | null;
|
|
2032
2211
|
}
|
|
2033
2212
|
|
|
2034
2213
|
declare var AnimationTimeline: {
|
|
@@ -2044,6 +2223,7 @@ interface Attr extends Node {
|
|
|
2044
2223
|
readonly ownerDocument: Document;
|
|
2045
2224
|
readonly ownerElement: Element | null;
|
|
2046
2225
|
readonly prefix: string | null;
|
|
2226
|
+
/** @deprecated */
|
|
2047
2227
|
readonly specified: boolean;
|
|
2048
2228
|
value: string;
|
|
2049
2229
|
}
|
|
@@ -2092,6 +2272,7 @@ declare var AudioBufferSourceNode: {
|
|
|
2092
2272
|
/** An audio-processing graph built from audio modules linked together, each represented by an AudioNode. */
|
|
2093
2273
|
interface AudioContext extends BaseAudioContext {
|
|
2094
2274
|
readonly baseLatency: number;
|
|
2275
|
+
readonly outputLatency: number;
|
|
2095
2276
|
close(): Promise<void>;
|
|
2096
2277
|
createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode;
|
|
2097
2278
|
createMediaStreamDestination(): MediaStreamAudioDestinationNode;
|
|
@@ -2278,6 +2459,10 @@ declare var AuthenticatorAssertionResponse: {
|
|
|
2278
2459
|
/** Available only in secure contexts. */
|
|
2279
2460
|
interface AuthenticatorAttestationResponse extends AuthenticatorResponse {
|
|
2280
2461
|
readonly attestationObject: ArrayBuffer;
|
|
2462
|
+
getAuthenticatorData(): ArrayBuffer;
|
|
2463
|
+
getPublicKey(): ArrayBuffer | null;
|
|
2464
|
+
getPublicKeyAlgorithm(): COSEAlgorithmIdentifier;
|
|
2465
|
+
getTransports(): string[];
|
|
2281
2466
|
}
|
|
2282
2467
|
|
|
2283
2468
|
declare var AuthenticatorAttestationResponse: {
|
|
@@ -2379,7 +2564,7 @@ interface Blob {
|
|
|
2379
2564
|
readonly type: string;
|
|
2380
2565
|
arrayBuffer(): Promise<ArrayBuffer>;
|
|
2381
2566
|
slice(start?: number, end?: number, contentType?: string): Blob;
|
|
2382
|
-
stream(): ReadableStream
|
|
2567
|
+
stream(): ReadableStream<Uint8Array>;
|
|
2383
2568
|
text(): Promise<string>;
|
|
2384
2569
|
}
|
|
2385
2570
|
|
|
@@ -2468,7 +2653,7 @@ declare var CSSAnimation: {
|
|
|
2468
2653
|
|
|
2469
2654
|
/** A single condition CSS at-rule, which consists of a condition and a statement block. It is a child of CSSGroupingRule. */
|
|
2470
2655
|
interface CSSConditionRule extends CSSGroupingRule {
|
|
2471
|
-
conditionText: string;
|
|
2656
|
+
readonly conditionText: string;
|
|
2472
2657
|
}
|
|
2473
2658
|
|
|
2474
2659
|
declare var CSSConditionRule: {
|
|
@@ -2476,6 +2661,14 @@ declare var CSSConditionRule: {
|
|
|
2476
2661
|
new(): CSSConditionRule;
|
|
2477
2662
|
};
|
|
2478
2663
|
|
|
2664
|
+
interface CSSContainerRule extends CSSConditionRule {
|
|
2665
|
+
}
|
|
2666
|
+
|
|
2667
|
+
declare var CSSContainerRule: {
|
|
2668
|
+
prototype: CSSContainerRule;
|
|
2669
|
+
new(): CSSContainerRule;
|
|
2670
|
+
};
|
|
2671
|
+
|
|
2479
2672
|
interface CSSCounterStyleRule extends CSSRule {
|
|
2480
2673
|
additiveSymbols: string;
|
|
2481
2674
|
fallback: string;
|
|
@@ -2504,6 +2697,18 @@ declare var CSSFontFaceRule: {
|
|
|
2504
2697
|
new(): CSSFontFaceRule;
|
|
2505
2698
|
};
|
|
2506
2699
|
|
|
2700
|
+
interface CSSFontPaletteValuesRule extends CSSRule {
|
|
2701
|
+
readonly basePalette: string;
|
|
2702
|
+
readonly fontFamily: string;
|
|
2703
|
+
readonly name: string;
|
|
2704
|
+
readonly overrideColors: string;
|
|
2705
|
+
}
|
|
2706
|
+
|
|
2707
|
+
declare var CSSFontPaletteValuesRule: {
|
|
2708
|
+
prototype: CSSFontPaletteValuesRule;
|
|
2709
|
+
new(): CSSFontPaletteValuesRule;
|
|
2710
|
+
};
|
|
2711
|
+
|
|
2507
2712
|
/** Any CSS at-rule that contains other rules nested within it. */
|
|
2508
2713
|
interface CSSGroupingRule extends CSSRule {
|
|
2509
2714
|
readonly cssRules: CSSRuleList;
|
|
@@ -2518,6 +2723,7 @@ declare var CSSGroupingRule: {
|
|
|
2518
2723
|
|
|
2519
2724
|
interface CSSImportRule extends CSSRule {
|
|
2520
2725
|
readonly href: string;
|
|
2726
|
+
readonly layerName: string | null;
|
|
2521
2727
|
readonly media: MediaList;
|
|
2522
2728
|
readonly styleSheet: CSSStyleSheet;
|
|
2523
2729
|
}
|
|
@@ -2552,6 +2758,24 @@ declare var CSSKeyframesRule: {
|
|
|
2552
2758
|
new(): CSSKeyframesRule;
|
|
2553
2759
|
};
|
|
2554
2760
|
|
|
2761
|
+
interface CSSLayerBlockRule extends CSSGroupingRule {
|
|
2762
|
+
readonly name: string;
|
|
2763
|
+
}
|
|
2764
|
+
|
|
2765
|
+
declare var CSSLayerBlockRule: {
|
|
2766
|
+
prototype: CSSLayerBlockRule;
|
|
2767
|
+
new(): CSSLayerBlockRule;
|
|
2768
|
+
};
|
|
2769
|
+
|
|
2770
|
+
interface CSSLayerStatementRule extends CSSRule {
|
|
2771
|
+
readonly nameList: ReadonlyArray<string>;
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
declare var CSSLayerStatementRule: {
|
|
2775
|
+
prototype: CSSLayerStatementRule;
|
|
2776
|
+
new(): CSSLayerStatementRule;
|
|
2777
|
+
};
|
|
2778
|
+
|
|
2555
2779
|
/** A single CSS @media rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE). */
|
|
2556
2780
|
interface CSSMediaRule extends CSSConditionRule {
|
|
2557
2781
|
readonly media: MediaList;
|
|
@@ -2649,6 +2873,7 @@ interface CSSStyleDeclaration {
|
|
|
2649
2873
|
animationTimingFunction: string;
|
|
2650
2874
|
appearance: string;
|
|
2651
2875
|
aspectRatio: string;
|
|
2876
|
+
backdropFilter: string;
|
|
2652
2877
|
backfaceVisibility: string;
|
|
2653
2878
|
background: string;
|
|
2654
2879
|
backgroundAttachment: string;
|
|
@@ -2753,6 +2978,9 @@ interface CSSStyleDeclaration {
|
|
|
2753
2978
|
columnWidth: string;
|
|
2754
2979
|
columns: string;
|
|
2755
2980
|
contain: string;
|
|
2981
|
+
container: string;
|
|
2982
|
+
containerName: string;
|
|
2983
|
+
containerType: string;
|
|
2756
2984
|
content: string;
|
|
2757
2985
|
counterIncrement: string;
|
|
2758
2986
|
counterReset: string;
|
|
@@ -2783,13 +3011,13 @@ interface CSSStyleDeclaration {
|
|
|
2783
3011
|
fontFeatureSettings: string;
|
|
2784
3012
|
fontKerning: string;
|
|
2785
3013
|
fontOpticalSizing: string;
|
|
3014
|
+
fontPalette: string;
|
|
2786
3015
|
fontSize: string;
|
|
2787
3016
|
fontSizeAdjust: string;
|
|
2788
3017
|
fontStretch: string;
|
|
2789
3018
|
fontStyle: string;
|
|
2790
3019
|
fontSynthesis: string;
|
|
2791
3020
|
fontVariant: string;
|
|
2792
|
-
/** @deprecated */
|
|
2793
3021
|
fontVariantAlternates: string;
|
|
2794
3022
|
fontVariantCaps: string;
|
|
2795
3023
|
fontVariantEastAsian: string;
|
|
@@ -2821,6 +3049,7 @@ interface CSSStyleDeclaration {
|
|
|
2821
3049
|
gridTemplateColumns: string;
|
|
2822
3050
|
gridTemplateRows: string;
|
|
2823
3051
|
height: string;
|
|
3052
|
+
hyphenateCharacter: string;
|
|
2824
3053
|
hyphens: string;
|
|
2825
3054
|
/** @deprecated */
|
|
2826
3055
|
imageOrientation: string;
|
|
@@ -2863,6 +3092,14 @@ interface CSSStyleDeclaration {
|
|
|
2863
3092
|
markerMid: string;
|
|
2864
3093
|
markerStart: string;
|
|
2865
3094
|
mask: string;
|
|
3095
|
+
maskClip: string;
|
|
3096
|
+
maskComposite: string;
|
|
3097
|
+
maskImage: string;
|
|
3098
|
+
maskMode: string;
|
|
3099
|
+
maskOrigin: string;
|
|
3100
|
+
maskPosition: string;
|
|
3101
|
+
maskRepeat: string;
|
|
3102
|
+
maskSize: string;
|
|
2866
3103
|
maskType: string;
|
|
2867
3104
|
maxBlockSize: string;
|
|
2868
3105
|
maxHeight: string;
|
|
@@ -2876,7 +3113,6 @@ interface CSSStyleDeclaration {
|
|
|
2876
3113
|
objectFit: string;
|
|
2877
3114
|
objectPosition: string;
|
|
2878
3115
|
offset: string;
|
|
2879
|
-
offsetAnchor: string;
|
|
2880
3116
|
offsetDistance: string;
|
|
2881
3117
|
offsetPath: string;
|
|
2882
3118
|
offsetRotate: string;
|
|
@@ -2890,6 +3126,7 @@ interface CSSStyleDeclaration {
|
|
|
2890
3126
|
outlineWidth: string;
|
|
2891
3127
|
overflow: string;
|
|
2892
3128
|
overflowAnchor: string;
|
|
3129
|
+
overflowClipMargin: string;
|
|
2893
3130
|
overflowWrap: string;
|
|
2894
3131
|
overflowX: string;
|
|
2895
3132
|
overflowY: string;
|
|
@@ -2921,6 +3158,7 @@ interface CSSStyleDeclaration {
|
|
|
2921
3158
|
placeSelf: string;
|
|
2922
3159
|
pointerEvents: string;
|
|
2923
3160
|
position: string;
|
|
3161
|
+
printColorAdjust: string;
|
|
2924
3162
|
quotes: string;
|
|
2925
3163
|
resize: string;
|
|
2926
3164
|
right: string;
|
|
@@ -2954,6 +3192,7 @@ interface CSSStyleDeclaration {
|
|
|
2954
3192
|
scrollSnapAlign: string;
|
|
2955
3193
|
scrollSnapStop: string;
|
|
2956
3194
|
scrollSnapType: string;
|
|
3195
|
+
scrollbarGutter: string;
|
|
2957
3196
|
shapeImageThreshold: string;
|
|
2958
3197
|
shapeMargin: string;
|
|
2959
3198
|
shapeOutside: string;
|
|
@@ -3119,6 +3358,8 @@ interface CSSStyleDeclaration {
|
|
|
3119
3358
|
/** @deprecated This is a legacy alias of `perspectiveOrigin`. */
|
|
3120
3359
|
webkitPerspectiveOrigin: string;
|
|
3121
3360
|
webkitTextFillColor: string;
|
|
3361
|
+
/** @deprecated This is a legacy alias of `textSizeAdjust`. */
|
|
3362
|
+
webkitTextSizeAdjust: string;
|
|
3122
3363
|
webkitTextStroke: string;
|
|
3123
3364
|
webkitTextStrokeColor: string;
|
|
3124
3365
|
webkitTextStrokeWidth: string;
|
|
@@ -3186,6 +3427,8 @@ interface CSSStyleSheet extends StyleSheet {
|
|
|
3186
3427
|
insertRule(rule: string, index?: number): number;
|
|
3187
3428
|
/** @deprecated */
|
|
3188
3429
|
removeRule(index?: number): void;
|
|
3430
|
+
replace(text: string): Promise<CSSStyleSheet>;
|
|
3431
|
+
replaceSync(text: string): void;
|
|
3189
3432
|
}
|
|
3190
3433
|
|
|
3191
3434
|
declare var CSSStyleSheet: {
|
|
@@ -3220,13 +3463,13 @@ declare var CSSTransition: {
|
|
|
3220
3463
|
* Available only in secure contexts.
|
|
3221
3464
|
*/
|
|
3222
3465
|
interface Cache {
|
|
3223
|
-
add(request: RequestInfo): Promise<void>;
|
|
3466
|
+
add(request: RequestInfo | URL): Promise<void>;
|
|
3224
3467
|
addAll(requests: RequestInfo[]): Promise<void>;
|
|
3225
|
-
delete(request: RequestInfo, options?: CacheQueryOptions): Promise<boolean>;
|
|
3226
|
-
keys(request?: RequestInfo, options?: CacheQueryOptions): Promise<ReadonlyArray<Request>>;
|
|
3227
|
-
match(request: RequestInfo, options?: CacheQueryOptions): Promise<Response | undefined>;
|
|
3228
|
-
matchAll(request?: RequestInfo, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;
|
|
3229
|
-
put(request: RequestInfo, response: Response): Promise<void>;
|
|
3468
|
+
delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<boolean>;
|
|
3469
|
+
keys(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Request>>;
|
|
3470
|
+
match(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<Response | undefined>;
|
|
3471
|
+
matchAll(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;
|
|
3472
|
+
put(request: RequestInfo | URL, response: Response): Promise<void>;
|
|
3230
3473
|
}
|
|
3231
3474
|
|
|
3232
3475
|
declare var Cache: {
|
|
@@ -3242,7 +3485,7 @@ interface CacheStorage {
|
|
|
3242
3485
|
delete(cacheName: string): Promise<boolean>;
|
|
3243
3486
|
has(cacheName: string): Promise<boolean>;
|
|
3244
3487
|
keys(): Promise<string[]>;
|
|
3245
|
-
match(request: RequestInfo, options?: MultiCacheQueryOptions): Promise<Response | undefined>;
|
|
3488
|
+
match(request: RequestInfo | URL, options?: MultiCacheQueryOptions): Promise<Response | undefined>;
|
|
3246
3489
|
open(cacheName: string): Promise<Cache>;
|
|
3247
3490
|
}
|
|
3248
3491
|
|
|
@@ -3251,9 +3494,23 @@ declare var CacheStorage: {
|
|
|
3251
3494
|
new(): CacheStorage;
|
|
3252
3495
|
};
|
|
3253
3496
|
|
|
3497
|
+
interface CanvasCaptureMediaStreamTrack extends MediaStreamTrack {
|
|
3498
|
+
readonly canvas: HTMLCanvasElement;
|
|
3499
|
+
requestFrame(): void;
|
|
3500
|
+
addEventListener<K extends keyof MediaStreamTrackEventMap>(type: K, listener: (this: CanvasCaptureMediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3501
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3502
|
+
removeEventListener<K extends keyof MediaStreamTrackEventMap>(type: K, listener: (this: CanvasCaptureMediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3503
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3504
|
+
}
|
|
3505
|
+
|
|
3506
|
+
declare var CanvasCaptureMediaStreamTrack: {
|
|
3507
|
+
prototype: CanvasCaptureMediaStreamTrack;
|
|
3508
|
+
new(): CanvasCaptureMediaStreamTrack;
|
|
3509
|
+
};
|
|
3510
|
+
|
|
3254
3511
|
interface CanvasCompositing {
|
|
3255
3512
|
globalAlpha: number;
|
|
3256
|
-
globalCompositeOperation:
|
|
3513
|
+
globalCompositeOperation: GlobalCompositeOperation;
|
|
3257
3514
|
}
|
|
3258
3515
|
|
|
3259
3516
|
interface CanvasDrawImage {
|
|
@@ -3279,6 +3536,7 @@ interface CanvasDrawPath {
|
|
|
3279
3536
|
interface CanvasFillStrokeStyles {
|
|
3280
3537
|
fillStyle: string | CanvasGradient | CanvasPattern;
|
|
3281
3538
|
strokeStyle: string | CanvasGradient | CanvasPattern;
|
|
3539
|
+
createConicGradient(startAngle: number, x: number, y: number): CanvasGradient;
|
|
3282
3540
|
createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient;
|
|
3283
3541
|
createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null;
|
|
3284
3542
|
createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient;
|
|
@@ -3326,6 +3584,7 @@ interface CanvasPath {
|
|
|
3326
3584
|
moveTo(x: number, y: number): void;
|
|
3327
3585
|
quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;
|
|
3328
3586
|
rect(x: number, y: number, w: number, h: number): void;
|
|
3587
|
+
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): void;
|
|
3329
3588
|
}
|
|
3330
3589
|
|
|
3331
3590
|
interface CanvasPathDrawingStyles {
|
|
@@ -3387,6 +3646,7 @@ interface CanvasText {
|
|
|
3387
3646
|
interface CanvasTextDrawingStyles {
|
|
3388
3647
|
direction: CanvasDirection;
|
|
3389
3648
|
font: string;
|
|
3649
|
+
fontKerning: CanvasFontKerning;
|
|
3390
3650
|
textAlign: CanvasTextAlign;
|
|
3391
3651
|
textBaseline: CanvasTextBaseline;
|
|
3392
3652
|
}
|
|
@@ -3492,6 +3752,7 @@ declare var ClipboardEvent: {
|
|
|
3492
3752
|
new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent;
|
|
3493
3753
|
};
|
|
3494
3754
|
|
|
3755
|
+
/** Available only in secure contexts. */
|
|
3495
3756
|
interface ClipboardItem {
|
|
3496
3757
|
readonly types: ReadonlyArray<string>;
|
|
3497
3758
|
getType(type: string): Promise<Blob>;
|
|
@@ -3499,7 +3760,7 @@ interface ClipboardItem {
|
|
|
3499
3760
|
|
|
3500
3761
|
declare var ClipboardItem: {
|
|
3501
3762
|
prototype: ClipboardItem;
|
|
3502
|
-
new(items: Record<string,
|
|
3763
|
+
new(items: Record<string, string | Blob | PromiseLike<string | Blob>>, options?: ClipboardItemOptions): ClipboardItem;
|
|
3503
3764
|
};
|
|
3504
3765
|
|
|
3505
3766
|
/** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute. */
|
|
@@ -3602,6 +3863,8 @@ interface Crypto {
|
|
|
3602
3863
|
/** Available only in secure contexts. */
|
|
3603
3864
|
readonly subtle: SubtleCrypto;
|
|
3604
3865
|
getRandomValues<T extends ArrayBufferView | null>(array: T): T;
|
|
3866
|
+
/** Available only in secure contexts. */
|
|
3867
|
+
randomUUID(): string;
|
|
3605
3868
|
}
|
|
3606
3869
|
|
|
3607
3870
|
declare var Crypto: {
|
|
@@ -3651,6 +3914,7 @@ declare var CustomEvent: {
|
|
|
3651
3914
|
|
|
3652
3915
|
/** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */
|
|
3653
3916
|
interface DOMException extends Error {
|
|
3917
|
+
/** @deprecated */
|
|
3654
3918
|
readonly code: number;
|
|
3655
3919
|
readonly message: string;
|
|
3656
3920
|
readonly name: string;
|
|
@@ -4167,6 +4431,7 @@ declare var DeviceOrientationEvent: {
|
|
|
4167
4431
|
};
|
|
4168
4432
|
|
|
4169
4433
|
interface DocumentEventMap extends DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
|
|
4434
|
+
"DOMContentLoaded": Event;
|
|
4170
4435
|
"fullscreenchange": Event;
|
|
4171
4436
|
"fullscreenerror": Event;
|
|
4172
4437
|
"pointerlockchange": Event;
|
|
@@ -4243,7 +4508,10 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4243
4508
|
readonly documentElement: HTMLElement;
|
|
4244
4509
|
/** Returns document's URL. */
|
|
4245
4510
|
readonly documentURI: string;
|
|
4246
|
-
/**
|
|
4511
|
+
/**
|
|
4512
|
+
* Sets or gets the security domain of the document.
|
|
4513
|
+
* @deprecated
|
|
4514
|
+
*/
|
|
4247
4515
|
domain: string;
|
|
4248
4516
|
/** Retrieves a collection of all embed objects in the document. */
|
|
4249
4517
|
readonly embeds: HTMLCollectionOf<HTMLEmbedElement>;
|
|
@@ -4308,7 +4576,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4308
4576
|
readonly timeline: DocumentTimeline;
|
|
4309
4577
|
/** Contains the title of the document. */
|
|
4310
4578
|
title: string;
|
|
4311
|
-
readonly visibilityState:
|
|
4579
|
+
readonly visibilityState: DocumentVisibilityState;
|
|
4312
4580
|
/**
|
|
4313
4581
|
* Sets or gets the color of the links that the user has visited.
|
|
4314
4582
|
* @deprecated
|
|
@@ -4384,6 +4652,8 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4384
4652
|
createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent;
|
|
4385
4653
|
createEvent(eventInterface: "DragEvent"): DragEvent;
|
|
4386
4654
|
createEvent(eventInterface: "ErrorEvent"): ErrorEvent;
|
|
4655
|
+
createEvent(eventInterface: "Event"): Event;
|
|
4656
|
+
createEvent(eventInterface: "Events"): Event;
|
|
4387
4657
|
createEvent(eventInterface: "FocusEvent"): FocusEvent;
|
|
4388
4658
|
createEvent(eventInterface: "FontFaceSetLoadEvent"): FontFaceSetLoadEvent;
|
|
4389
4659
|
createEvent(eventInterface: "FormDataEvent"): FormDataEvent;
|
|
@@ -4395,7 +4665,6 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4395
4665
|
createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;
|
|
4396
4666
|
createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;
|
|
4397
4667
|
createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent;
|
|
4398
|
-
createEvent(eventInterface: "MediaRecorderErrorEvent"): MediaRecorderErrorEvent;
|
|
4399
4668
|
createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent;
|
|
4400
4669
|
createEvent(eventInterface: "MessageEvent"): MessageEvent;
|
|
4401
4670
|
createEvent(eventInterface: "MouseEvent"): MouseEvent;
|
|
@@ -4406,12 +4675,14 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4406
4675
|
createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent;
|
|
4407
4676
|
createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent;
|
|
4408
4677
|
createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent;
|
|
4678
|
+
createEvent(eventInterface: "PictureInPictureEvent"): PictureInPictureEvent;
|
|
4409
4679
|
createEvent(eventInterface: "PointerEvent"): PointerEvent;
|
|
4410
4680
|
createEvent(eventInterface: "PopStateEvent"): PopStateEvent;
|
|
4411
4681
|
createEvent(eventInterface: "ProgressEvent"): ProgressEvent;
|
|
4412
4682
|
createEvent(eventInterface: "PromiseRejectionEvent"): PromiseRejectionEvent;
|
|
4413
4683
|
createEvent(eventInterface: "RTCDTMFToneChangeEvent"): RTCDTMFToneChangeEvent;
|
|
4414
4684
|
createEvent(eventInterface: "RTCDataChannelEvent"): RTCDataChannelEvent;
|
|
4685
|
+
createEvent(eventInterface: "RTCErrorEvent"): RTCErrorEvent;
|
|
4415
4686
|
createEvent(eventInterface: "RTCPeerConnectionIceErrorEvent"): RTCPeerConnectionIceErrorEvent;
|
|
4416
4687
|
createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent;
|
|
4417
4688
|
createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent;
|
|
@@ -4523,6 +4794,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4523
4794
|
/**
|
|
4524
4795
|
* Returns a Boolean value that indicates whether the specified command is in the indeterminate state.
|
|
4525
4796
|
* @param commandId String that specifies a command identifier.
|
|
4797
|
+
* @deprecated
|
|
4526
4798
|
*/
|
|
4527
4799
|
queryCommandIndeterm(commandId: string): boolean;
|
|
4528
4800
|
/**
|
|
@@ -4540,6 +4812,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4540
4812
|
/**
|
|
4541
4813
|
* Returns the current value of the document, range, or current selection for the given command.
|
|
4542
4814
|
* @param commandId String that specifies a command identifier.
|
|
4815
|
+
* @deprecated
|
|
4543
4816
|
*/
|
|
4544
4817
|
queryCommandValue(commandId: string): string;
|
|
4545
4818
|
/** @deprecated */
|
|
@@ -4602,6 +4875,7 @@ interface DocumentOrShadowRoot {
|
|
|
4602
4875
|
* Similarly, when the focused element is in a different node tree than documentOrShadowRoot, the element returned will be the host that's located in the same node tree as documentOrShadowRoot if documentOrShadowRoot is a shadow-including inclusive ancestor of the focused element, and null if not.
|
|
4603
4876
|
*/
|
|
4604
4877
|
readonly activeElement: Element | null;
|
|
4878
|
+
adoptedStyleSheets: CSSStyleSheet[];
|
|
4605
4879
|
/** Returns document's fullscreen element. */
|
|
4606
4880
|
readonly fullscreenElement: Element | null;
|
|
4607
4881
|
readonly pictureInPictureElement: Element | null;
|
|
@@ -4697,6 +4971,13 @@ interface EXT_sRGB {
|
|
|
4697
4971
|
interface EXT_shader_texture_lod {
|
|
4698
4972
|
}
|
|
4699
4973
|
|
|
4974
|
+
interface EXT_texture_compression_bptc {
|
|
4975
|
+
readonly COMPRESSED_RGBA_BPTC_UNORM_EXT: GLenum;
|
|
4976
|
+
readonly COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT: GLenum;
|
|
4977
|
+
readonly COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: GLenum;
|
|
4978
|
+
readonly COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: GLenum;
|
|
4979
|
+
}
|
|
4980
|
+
|
|
4700
4981
|
interface EXT_texture_compression_rgtc {
|
|
4701
4982
|
readonly COMPRESSED_RED_GREEN_RGTC2_EXT: GLenum;
|
|
4702
4983
|
readonly COMPRESSED_RED_RGTC1_EXT: GLenum;
|
|
@@ -4710,6 +4991,17 @@ interface EXT_texture_filter_anisotropic {
|
|
|
4710
4991
|
readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum;
|
|
4711
4992
|
}
|
|
4712
4993
|
|
|
4994
|
+
interface EXT_texture_norm16 {
|
|
4995
|
+
readonly R16_EXT: GLenum;
|
|
4996
|
+
readonly R16_SNORM_EXT: GLenum;
|
|
4997
|
+
readonly RG16_EXT: GLenum;
|
|
4998
|
+
readonly RG16_SNORM_EXT: GLenum;
|
|
4999
|
+
readonly RGB16_EXT: GLenum;
|
|
5000
|
+
readonly RGB16_SNORM_EXT: GLenum;
|
|
5001
|
+
readonly RGBA16_EXT: GLenum;
|
|
5002
|
+
readonly RGBA16_SNORM_EXT: GLenum;
|
|
5003
|
+
}
|
|
5004
|
+
|
|
4713
5005
|
interface ElementEventMap {
|
|
4714
5006
|
"fullscreenchange": Event;
|
|
4715
5007
|
"fullscreenerror": Event;
|
|
@@ -4843,8 +5135,30 @@ interface ElementContentEditable {
|
|
|
4843
5135
|
}
|
|
4844
5136
|
|
|
4845
5137
|
interface ElementInternals extends ARIAMixin {
|
|
5138
|
+
/** Returns the form owner of internals's target element. */
|
|
5139
|
+
readonly form: HTMLFormElement | null;
|
|
5140
|
+
/** Returns a NodeList of all the label elements that internals's target element is associated with. */
|
|
5141
|
+
readonly labels: NodeList;
|
|
4846
5142
|
/** Returns the ShadowRoot for internals's target element, if the target element is a shadow host, or null otherwise. */
|
|
4847
5143
|
readonly shadowRoot: ShadowRoot | null;
|
|
5144
|
+
/** Returns the error message that would be shown to the user if internals's target element was to be checked for validity. */
|
|
5145
|
+
readonly validationMessage: string;
|
|
5146
|
+
/** Returns the ValidityState object for internals's target element. */
|
|
5147
|
+
readonly validity: ValidityState;
|
|
5148
|
+
/** Returns true if internals's target element will be validated when the form is submitted; false otherwise. */
|
|
5149
|
+
readonly willValidate: boolean;
|
|
5150
|
+
/** Returns true if internals's target element has no validity problems; false otherwise. Fires an invalid event at the element in the latter case. */
|
|
5151
|
+
checkValidity(): boolean;
|
|
5152
|
+
/** Returns true if internals's target element has no validity problems; otherwise, returns false, fires an invalid event at the element, and (if the event isn't canceled) reports the problem to the user. */
|
|
5153
|
+
reportValidity(): boolean;
|
|
5154
|
+
/**
|
|
5155
|
+
* Sets both the state and submission value of internals's target element to value.
|
|
5156
|
+
*
|
|
5157
|
+
* If value is null, the element won't participate in form submission.
|
|
5158
|
+
*/
|
|
5159
|
+
setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;
|
|
5160
|
+
/** Marks internals's target element as suffering from the constraints indicated by the flags argument, and sets the element's validation message to message. If anchor is specified, the user agent might use it to indicate problems with the constraints of internals's target element when the form owner is validated interactively or reportValidity() is called. */
|
|
5161
|
+
setValidity(flags?: ValidityStateFlags, message?: string, anchor?: HTMLElement): void;
|
|
4848
5162
|
}
|
|
4849
5163
|
|
|
4850
5164
|
declare var ElementInternals: {
|
|
@@ -4870,6 +5184,7 @@ declare var ErrorEvent: {
|
|
|
4870
5184
|
interface Event {
|
|
4871
5185
|
/** Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise. */
|
|
4872
5186
|
readonly bubbles: boolean;
|
|
5187
|
+
/** @deprecated */
|
|
4873
5188
|
cancelBubble: boolean;
|
|
4874
5189
|
/** Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method. */
|
|
4875
5190
|
readonly cancelable: boolean;
|
|
@@ -4918,6 +5233,15 @@ declare var Event: {
|
|
|
4918
5233
|
readonly NONE: number;
|
|
4919
5234
|
};
|
|
4920
5235
|
|
|
5236
|
+
interface EventCounts {
|
|
5237
|
+
forEach(callbackfn: (value: number, key: string, parent: EventCounts) => void, thisArg?: any): void;
|
|
5238
|
+
}
|
|
5239
|
+
|
|
5240
|
+
declare var EventCounts: {
|
|
5241
|
+
prototype: EventCounts;
|
|
5242
|
+
new(): EventCounts;
|
|
5243
|
+
};
|
|
5244
|
+
|
|
4921
5245
|
interface EventListener {
|
|
4922
5246
|
(evt: Event): void;
|
|
4923
5247
|
}
|
|
@@ -4948,8 +5272,10 @@ interface EventSource extends EventTarget {
|
|
|
4948
5272
|
readonly CONNECTING: number;
|
|
4949
5273
|
readonly OPEN: number;
|
|
4950
5274
|
addEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5275
|
+
addEventListener(type: string, listener: (this: EventSource, event: MessageEvent) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4951
5276
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4952
5277
|
removeEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
5278
|
+
removeEventListener(type: string, listener: (this: EventSource, event: MessageEvent) => any, options?: boolean | EventListenerOptions): void;
|
|
4953
5279
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4954
5280
|
}
|
|
4955
5281
|
|
|
@@ -5091,6 +5417,20 @@ declare var FileSystemDirectoryEntry: {
|
|
|
5091
5417
|
new(): FileSystemDirectoryEntry;
|
|
5092
5418
|
};
|
|
5093
5419
|
|
|
5420
|
+
/** Available only in secure contexts. */
|
|
5421
|
+
interface FileSystemDirectoryHandle extends FileSystemHandle {
|
|
5422
|
+
readonly kind: "directory";
|
|
5423
|
+
getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
|
|
5424
|
+
getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
|
|
5425
|
+
removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
|
|
5426
|
+
resolve(possibleDescendant: FileSystemHandle): Promise<string[] | null>;
|
|
5427
|
+
}
|
|
5428
|
+
|
|
5429
|
+
declare var FileSystemDirectoryHandle: {
|
|
5430
|
+
prototype: FileSystemDirectoryHandle;
|
|
5431
|
+
new(): FileSystemDirectoryHandle;
|
|
5432
|
+
};
|
|
5433
|
+
|
|
5094
5434
|
interface FileSystemDirectoryReader {
|
|
5095
5435
|
readEntries(successCallback: FileSystemEntriesCallback, errorCallback?: ErrorCallback): void;
|
|
5096
5436
|
}
|
|
@@ -5123,6 +5463,29 @@ declare var FileSystemFileEntry: {
|
|
|
5123
5463
|
new(): FileSystemFileEntry;
|
|
5124
5464
|
};
|
|
5125
5465
|
|
|
5466
|
+
/** Available only in secure contexts. */
|
|
5467
|
+
interface FileSystemFileHandle extends FileSystemHandle {
|
|
5468
|
+
readonly kind: "file";
|
|
5469
|
+
getFile(): Promise<File>;
|
|
5470
|
+
}
|
|
5471
|
+
|
|
5472
|
+
declare var FileSystemFileHandle: {
|
|
5473
|
+
prototype: FileSystemFileHandle;
|
|
5474
|
+
new(): FileSystemFileHandle;
|
|
5475
|
+
};
|
|
5476
|
+
|
|
5477
|
+
/** Available only in secure contexts. */
|
|
5478
|
+
interface FileSystemHandle {
|
|
5479
|
+
readonly kind: FileSystemHandleKind;
|
|
5480
|
+
readonly name: string;
|
|
5481
|
+
isSameEntry(other: FileSystemHandle): Promise<boolean>;
|
|
5482
|
+
}
|
|
5483
|
+
|
|
5484
|
+
declare var FileSystemHandle: {
|
|
5485
|
+
prototype: FileSystemHandle;
|
|
5486
|
+
new(): FileSystemHandle;
|
|
5487
|
+
};
|
|
5488
|
+
|
|
5126
5489
|
/** Focus-related events like focus, blur, focusin, or focusout. */
|
|
5127
5490
|
interface FocusEvent extends UIEvent {
|
|
5128
5491
|
readonly relatedTarget: EventTarget | null;
|
|
@@ -5325,7 +5688,7 @@ declare var GeolocationCoordinates: {
|
|
|
5325
5688
|
/** Available only in secure contexts. */
|
|
5326
5689
|
interface GeolocationPosition {
|
|
5327
5690
|
readonly coords: GeolocationCoordinates;
|
|
5328
|
-
readonly timestamp:
|
|
5691
|
+
readonly timestamp: EpochTimeStamp;
|
|
5329
5692
|
}
|
|
5330
5693
|
|
|
5331
5694
|
declare var GeolocationPosition: {
|
|
@@ -5358,6 +5721,7 @@ interface GlobalEventHandlersEventMap {
|
|
|
5358
5721
|
"auxclick": MouseEvent;
|
|
5359
5722
|
"beforeinput": InputEvent;
|
|
5360
5723
|
"blur": FocusEvent;
|
|
5724
|
+
"cancel": Event;
|
|
5361
5725
|
"canplay": Event;
|
|
5362
5726
|
"canplaythrough": Event;
|
|
5363
5727
|
"change": Event;
|
|
@@ -5424,6 +5788,7 @@ interface GlobalEventHandlersEventMap {
|
|
|
5424
5788
|
"select": Event;
|
|
5425
5789
|
"selectionchange": Event;
|
|
5426
5790
|
"selectstart": Event;
|
|
5791
|
+
"slotchange": Event;
|
|
5427
5792
|
"stalled": Event;
|
|
5428
5793
|
"submit": SubmitEvent;
|
|
5429
5794
|
"suspend": Event;
|
|
@@ -5457,11 +5822,13 @@ interface GlobalEventHandlers {
|
|
|
5457
5822
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
5458
5823
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
5459
5824
|
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
5825
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
5460
5826
|
/**
|
|
5461
5827
|
* Fires when the object loses the input focus.
|
|
5462
5828
|
* @param ev The focus event.
|
|
5463
5829
|
*/
|
|
5464
5830
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
5831
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5465
5832
|
/**
|
|
5466
5833
|
* Occurs when playback is possible, but would require further buffering.
|
|
5467
5834
|
* @param ev The event.
|
|
@@ -5658,6 +6025,7 @@ interface GlobalEventHandlers {
|
|
|
5658
6025
|
* @param ev The event.
|
|
5659
6026
|
*/
|
|
5660
6027
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
6028
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
5661
6029
|
/**
|
|
5662
6030
|
* Occurs when the seek operation ends.
|
|
5663
6031
|
* @param ev The event.
|
|
@@ -5675,6 +6043,7 @@ interface GlobalEventHandlers {
|
|
|
5675
6043
|
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5676
6044
|
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5677
6045
|
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
6046
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5678
6047
|
/**
|
|
5679
6048
|
* Occurs when the download has stopped.
|
|
5680
6049
|
* @param ev The event.
|
|
@@ -5877,7 +6246,6 @@ declare var HTMLBaseElement: {
|
|
|
5877
6246
|
};
|
|
5878
6247
|
|
|
5879
6248
|
interface HTMLBodyElementEventMap extends HTMLElementEventMap, WindowEventHandlersEventMap {
|
|
5880
|
-
"orientationchange": Event;
|
|
5881
6249
|
}
|
|
5882
6250
|
|
|
5883
6251
|
/** Provides special properties (beyond those inherited from the regular HTMLElement interface) for manipulating <body> elements. */
|
|
@@ -5891,8 +6259,6 @@ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers {
|
|
|
5891
6259
|
/** @deprecated */
|
|
5892
6260
|
link: string;
|
|
5893
6261
|
/** @deprecated */
|
|
5894
|
-
onorientationchange: ((this: HTMLBodyElement, ev: Event) => any) | null;
|
|
5895
|
-
/** @deprecated */
|
|
5896
6262
|
text: string;
|
|
5897
6263
|
/** @deprecated */
|
|
5898
6264
|
vLink: string;
|
|
@@ -5976,6 +6342,7 @@ interface HTMLCanvasElement extends HTMLElement {
|
|
|
5976
6342
|
* @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image.
|
|
5977
6343
|
*/
|
|
5978
6344
|
toDataURL(type?: string, quality?: any): string;
|
|
6345
|
+
transferControlToOffscreen(): OffscreenCanvas;
|
|
5979
6346
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5980
6347
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
5981
6348
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -6069,14 +6436,29 @@ declare var HTMLDetailsElement: {
|
|
|
6069
6436
|
new(): HTMLDetailsElement;
|
|
6070
6437
|
};
|
|
6071
6438
|
|
|
6072
|
-
/** @deprecated this is not available in most browsers */
|
|
6073
6439
|
interface HTMLDialogElement extends HTMLElement {
|
|
6440
|
+
open: boolean;
|
|
6441
|
+
returnValue: string;
|
|
6442
|
+
/**
|
|
6443
|
+
* Closes the dialog element.
|
|
6444
|
+
*
|
|
6445
|
+
* The argument, if provided, provides a return value.
|
|
6446
|
+
*/
|
|
6447
|
+
close(returnValue?: string): void;
|
|
6448
|
+
/** Displays the dialog element. */
|
|
6449
|
+
show(): void;
|
|
6450
|
+
showModal(): void;
|
|
6074
6451
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
6075
6452
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
6076
6453
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDialogElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
6077
6454
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
6078
6455
|
}
|
|
6079
6456
|
|
|
6457
|
+
declare var HTMLDialogElement: {
|
|
6458
|
+
prototype: HTMLDialogElement;
|
|
6459
|
+
new(): HTMLDialogElement;
|
|
6460
|
+
};
|
|
6461
|
+
|
|
6080
6462
|
/** @deprecated */
|
|
6081
6463
|
interface HTMLDirectoryElement extends HTMLElement {
|
|
6082
6464
|
/** @deprecated */
|
|
@@ -6136,6 +6518,7 @@ interface HTMLElement extends Element, DocumentAndElementEventHandlers, ElementC
|
|
|
6136
6518
|
dir: string;
|
|
6137
6519
|
draggable: boolean;
|
|
6138
6520
|
hidden: boolean;
|
|
6521
|
+
inert: boolean;
|
|
6139
6522
|
innerText: string;
|
|
6140
6523
|
lang: string;
|
|
6141
6524
|
readonly offsetHeight: number;
|
|
@@ -6640,7 +7023,8 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
6640
7023
|
hspace: number;
|
|
6641
7024
|
/** Sets or retrieves whether the image is a server-side image map. */
|
|
6642
7025
|
isMap: boolean;
|
|
6643
|
-
loading
|
|
7026
|
+
/** Sets or retrieves the policy for loading image elements that are outside the viewport. */
|
|
7027
|
+
loading: "eager" | "lazy";
|
|
6644
7028
|
/**
|
|
6645
7029
|
* Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.
|
|
6646
7030
|
* @deprecated
|
|
@@ -6798,6 +7182,7 @@ interface HTMLInputElement extends HTMLElement {
|
|
|
6798
7182
|
* @param direction The direction in which the selection is performed.
|
|
6799
7183
|
*/
|
|
6800
7184
|
setSelectionRange(start: number | null, end: number | null, direction?: "forward" | "backward" | "none"): void;
|
|
7185
|
+
showPicker(): void;
|
|
6801
7186
|
/**
|
|
6802
7187
|
* Decrements a range input control's value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control's step value multiplied by the parameter's value.
|
|
6803
7188
|
* @param n Value to decrement the value by.
|
|
@@ -7025,6 +7410,7 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
7025
7410
|
readonly played: TimeRanges;
|
|
7026
7411
|
/** Gets or sets a value indicating what data should be preloaded, if any. */
|
|
7027
7412
|
preload: "none" | "metadata" | "auto" | "";
|
|
7413
|
+
preservesPitch: boolean;
|
|
7028
7414
|
readonly readyState: number;
|
|
7029
7415
|
readonly remote: RemotePlayback;
|
|
7030
7416
|
/** Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked. */
|
|
@@ -7098,6 +7484,7 @@ interface HTMLMetaElement extends HTMLElement {
|
|
|
7098
7484
|
content: string;
|
|
7099
7485
|
/** Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header. */
|
|
7100
7486
|
httpEquiv: string;
|
|
7487
|
+
media: string;
|
|
7101
7488
|
/** Sets or retrieves the value specified in the content attribute of the meta object. */
|
|
7102
7489
|
name: string;
|
|
7103
7490
|
/**
|
|
@@ -7390,16 +7777,25 @@ declare var HTMLParagraphElement: {
|
|
|
7390
7777
|
new(): HTMLParagraphElement;
|
|
7391
7778
|
};
|
|
7392
7779
|
|
|
7393
|
-
/**
|
|
7780
|
+
/**
|
|
7781
|
+
* Provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating <param> elements, representing a pair of a key and a value that acts as a parameter for an <object> element.
|
|
7782
|
+
* @deprecated
|
|
7783
|
+
*/
|
|
7394
7784
|
interface HTMLParamElement extends HTMLElement {
|
|
7395
|
-
/**
|
|
7785
|
+
/**
|
|
7786
|
+
* Sets or retrieves the name of an input parameter for an element.
|
|
7787
|
+
* @deprecated
|
|
7788
|
+
*/
|
|
7396
7789
|
name: string;
|
|
7397
7790
|
/**
|
|
7398
7791
|
* Sets or retrieves the content type of the resource designated by the value attribute.
|
|
7399
7792
|
* @deprecated
|
|
7400
7793
|
*/
|
|
7401
7794
|
type: string;
|
|
7402
|
-
/**
|
|
7795
|
+
/**
|
|
7796
|
+
* Sets or retrieves the value of an input parameter for an element.
|
|
7797
|
+
* @deprecated
|
|
7798
|
+
*/
|
|
7403
7799
|
value: string;
|
|
7404
7800
|
/**
|
|
7405
7801
|
* Sets or retrieves the data type of the value attribute.
|
|
@@ -7412,6 +7808,7 @@ interface HTMLParamElement extends HTMLElement {
|
|
|
7412
7808
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
7413
7809
|
}
|
|
7414
7810
|
|
|
7811
|
+
/** @deprecated */
|
|
7415
7812
|
declare var HTMLParamElement: {
|
|
7416
7813
|
prototype: HTMLParamElement;
|
|
7417
7814
|
new(): HTMLParamElement;
|
|
@@ -7522,6 +7919,7 @@ interface HTMLScriptElement extends HTMLElement {
|
|
|
7522
7919
|
declare var HTMLScriptElement: {
|
|
7523
7920
|
prototype: HTMLScriptElement;
|
|
7524
7921
|
new(): HTMLScriptElement;
|
|
7922
|
+
supports(type: string): boolean;
|
|
7525
7923
|
};
|
|
7526
7924
|
|
|
7527
7925
|
/** A <select> HTML Element. These elements also share all of the properties and methods of other HTML elements via the HTMLElement interface. */
|
|
@@ -7617,6 +8015,7 @@ declare var HTMLSlotElement: {
|
|
|
7617
8015
|
|
|
7618
8016
|
/** Provides special properties (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating <source> elements. */
|
|
7619
8017
|
interface HTMLSourceElement extends HTMLElement {
|
|
8018
|
+
height: number;
|
|
7620
8019
|
/** Gets or sets the intended media type of the media source. */
|
|
7621
8020
|
media: string;
|
|
7622
8021
|
sizes: string;
|
|
@@ -7625,6 +8024,7 @@ interface HTMLSourceElement extends HTMLElement {
|
|
|
7625
8024
|
srcset: string;
|
|
7626
8025
|
/** Gets or sets the MIME type of a media resource. */
|
|
7627
8026
|
type: string;
|
|
8027
|
+
width: number;
|
|
7628
8028
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
7629
8029
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
7630
8030
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -7651,6 +8051,8 @@ declare var HTMLSpanElement: {
|
|
|
7651
8051
|
|
|
7652
8052
|
/** A <style> element. It inherits properties and methods from its parent, HTMLElement, and from LinkStyle. */
|
|
7653
8053
|
interface HTMLStyleElement extends HTMLElement, LinkStyle {
|
|
8054
|
+
/** Enables or disables the style sheet. */
|
|
8055
|
+
disabled: boolean;
|
|
7654
8056
|
/** Sets or retrieves the media type. */
|
|
7655
8057
|
media: string;
|
|
7656
8058
|
/**
|
|
@@ -8157,8 +8559,10 @@ interface HTMLVideoElement extends HTMLMediaElement {
|
|
|
8157
8559
|
readonly videoWidth: number;
|
|
8158
8560
|
/** Gets or sets the width of the video element. */
|
|
8159
8561
|
width: number;
|
|
8562
|
+
cancelVideoFrameCallback(handle: number): void;
|
|
8160
8563
|
getVideoPlaybackQuality(): VideoPlaybackQuality;
|
|
8161
8564
|
requestPictureInPicture(): Promise<PictureInPictureWindow>;
|
|
8565
|
+
requestVideoFrameCallback(callback: VideoFrameRequestCallback): number;
|
|
8162
8566
|
addEventListener<K extends keyof HTMLVideoElementEventMap>(type: K, listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
8163
8567
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
8164
8568
|
removeEventListener<K extends keyof HTMLVideoElementEventMap>(type: K, listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -8298,7 +8702,7 @@ interface IDBDatabase extends EventTarget {
|
|
|
8298
8702
|
*/
|
|
8299
8703
|
deleteObjectStore(name: string): void;
|
|
8300
8704
|
/** Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names. */
|
|
8301
|
-
transaction(storeNames: string | string[], mode?: IDBTransactionMode): IDBTransaction;
|
|
8705
|
+
transaction(storeNames: string | string[], mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction;
|
|
8302
8706
|
addEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
8303
8707
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
8304
8708
|
removeEventListener<K extends keyof IDBDatabaseEventMap>(type: K, listener: (this: IDBDatabase, ev: IDBDatabaseEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -8522,13 +8926,13 @@ declare var IDBObjectStore: {
|
|
|
8522
8926
|
};
|
|
8523
8927
|
|
|
8524
8928
|
interface IDBOpenDBRequestEventMap extends IDBRequestEventMap {
|
|
8525
|
-
"blocked":
|
|
8929
|
+
"blocked": IDBVersionChangeEvent;
|
|
8526
8930
|
"upgradeneeded": IDBVersionChangeEvent;
|
|
8527
8931
|
}
|
|
8528
8932
|
|
|
8529
8933
|
/** Also inherits methods from its parents IDBRequest and EventTarget. */
|
|
8530
8934
|
interface IDBOpenDBRequest extends IDBRequest<IDBDatabase> {
|
|
8531
|
-
onblocked: ((this: IDBOpenDBRequest, ev:
|
|
8935
|
+
onblocked: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;
|
|
8532
8936
|
onupgradeneeded: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;
|
|
8533
8937
|
addEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
8534
8938
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -8580,6 +8984,7 @@ interface IDBTransactionEventMap {
|
|
|
8580
8984
|
interface IDBTransaction extends EventTarget {
|
|
8581
8985
|
/** Returns the transaction's connection. */
|
|
8582
8986
|
readonly db: IDBDatabase;
|
|
8987
|
+
readonly durability: IDBTransactionDurability;
|
|
8583
8988
|
/** If the transaction was aborted, returns the error (a DOMException) providing the reason. */
|
|
8584
8989
|
readonly error: DOMException | null;
|
|
8585
8990
|
/** Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction. */
|
|
@@ -8652,7 +9057,7 @@ declare var ImageBitmap: {
|
|
|
8652
9057
|
|
|
8653
9058
|
interface ImageBitmapRenderingContext {
|
|
8654
9059
|
/** Returns the canvas element that the context is bound to. */
|
|
8655
|
-
readonly canvas: HTMLCanvasElement;
|
|
9060
|
+
readonly canvas: HTMLCanvasElement | OffscreenCanvas;
|
|
8656
9061
|
/** Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound. */
|
|
8657
9062
|
transferFromImageBitmap(bitmap: ImageBitmap | null): void;
|
|
8658
9063
|
}
|
|
@@ -8664,6 +9069,7 @@ declare var ImageBitmapRenderingContext: {
|
|
|
8664
9069
|
|
|
8665
9070
|
/** The underlying pixel data of an area of a <canvas> element. It is created using the ImageData() constructor or creator methods on the CanvasRenderingContext2D object associated with a canvas: createImageData() and getImageData(). It can also be used to set a part of the canvas by using putImageData(). */
|
|
8666
9071
|
interface ImageData {
|
|
9072
|
+
readonly colorSpace: PredefinedColorSpace;
|
|
8667
9073
|
/** Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255. */
|
|
8668
9074
|
readonly data: Uint8ClampedArray;
|
|
8669
9075
|
/** Returns the actual dimensions of the data in the ImageData object, in pixels. */
|
|
@@ -8682,6 +9088,15 @@ interface InnerHTML {
|
|
|
8682
9088
|
innerHTML: string;
|
|
8683
9089
|
}
|
|
8684
9090
|
|
|
9091
|
+
/** Available only in secure contexts. */
|
|
9092
|
+
interface InputDeviceInfo extends MediaDeviceInfo {
|
|
9093
|
+
}
|
|
9094
|
+
|
|
9095
|
+
declare var InputDeviceInfo: {
|
|
9096
|
+
prototype: InputDeviceInfo;
|
|
9097
|
+
new(): InputDeviceInfo;
|
|
9098
|
+
};
|
|
9099
|
+
|
|
8685
9100
|
interface InputEvent extends UIEvent {
|
|
8686
9101
|
readonly data: string | null;
|
|
8687
9102
|
readonly dataTransfer: DataTransfer | null;
|
|
@@ -8851,6 +9266,29 @@ declare var Location: {
|
|
|
8851
9266
|
new(): Location;
|
|
8852
9267
|
};
|
|
8853
9268
|
|
|
9269
|
+
/** Available only in secure contexts. */
|
|
9270
|
+
interface Lock {
|
|
9271
|
+
readonly mode: LockMode;
|
|
9272
|
+
readonly name: string;
|
|
9273
|
+
}
|
|
9274
|
+
|
|
9275
|
+
declare var Lock: {
|
|
9276
|
+
prototype: Lock;
|
|
9277
|
+
new(): Lock;
|
|
9278
|
+
};
|
|
9279
|
+
|
|
9280
|
+
/** Available only in secure contexts. */
|
|
9281
|
+
interface LockManager {
|
|
9282
|
+
query(): Promise<LockManagerSnapshot>;
|
|
9283
|
+
request(name: string, callback: LockGrantedCallback): Promise<any>;
|
|
9284
|
+
request(name: string, options: LockOptions, callback: LockGrantedCallback): Promise<any>;
|
|
9285
|
+
}
|
|
9286
|
+
|
|
9287
|
+
declare var LockManager: {
|
|
9288
|
+
prototype: LockManager;
|
|
9289
|
+
new(): LockManager;
|
|
9290
|
+
};
|
|
9291
|
+
|
|
8854
9292
|
interface MathMLElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
|
|
8855
9293
|
}
|
|
8856
9294
|
|
|
@@ -8904,7 +9342,7 @@ interface MediaDevicesEventMap {
|
|
|
8904
9342
|
interface MediaDevices extends EventTarget {
|
|
8905
9343
|
ondevicechange: ((this: MediaDevices, ev: Event) => any) | null;
|
|
8906
9344
|
enumerateDevices(): Promise<MediaDeviceInfo[]>;
|
|
8907
|
-
getDisplayMedia(
|
|
9345
|
+
getDisplayMedia(options?: DisplayMediaStreamOptions): Promise<MediaStream>;
|
|
8908
9346
|
getSupportedConstraints(): MediaTrackSupportedConstraints;
|
|
8909
9347
|
getUserMedia(constraints?: MediaStreamConstraints): Promise<MediaStream>;
|
|
8910
9348
|
addEventListener<K extends keyof MediaDevicesEventMap>(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -9111,7 +9549,7 @@ declare var MediaQueryListEvent: {
|
|
|
9111
9549
|
|
|
9112
9550
|
interface MediaRecorderEventMap {
|
|
9113
9551
|
"dataavailable": BlobEvent;
|
|
9114
|
-
"error":
|
|
9552
|
+
"error": Event;
|
|
9115
9553
|
"pause": Event;
|
|
9116
9554
|
"resume": Event;
|
|
9117
9555
|
"start": Event;
|
|
@@ -9122,7 +9560,7 @@ interface MediaRecorder extends EventTarget {
|
|
|
9122
9560
|
readonly audioBitsPerSecond: number;
|
|
9123
9561
|
readonly mimeType: string;
|
|
9124
9562
|
ondataavailable: ((this: MediaRecorder, ev: BlobEvent) => any) | null;
|
|
9125
|
-
onerror: ((this: MediaRecorder, ev:
|
|
9563
|
+
onerror: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
9126
9564
|
onpause: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
9127
9565
|
onresume: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
9128
9566
|
onstart: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
@@ -9147,15 +9585,6 @@ declare var MediaRecorder: {
|
|
|
9147
9585
|
isTypeSupported(type: string): boolean;
|
|
9148
9586
|
};
|
|
9149
9587
|
|
|
9150
|
-
interface MediaRecorderErrorEvent extends Event {
|
|
9151
|
-
readonly error: DOMException;
|
|
9152
|
-
}
|
|
9153
|
-
|
|
9154
|
-
declare var MediaRecorderErrorEvent: {
|
|
9155
|
-
prototype: MediaRecorderErrorEvent;
|
|
9156
|
-
new(type: string, eventInitDict: MediaRecorderErrorEventInit): MediaRecorderErrorEvent;
|
|
9157
|
-
};
|
|
9158
|
-
|
|
9159
9588
|
interface MediaSession {
|
|
9160
9589
|
metadata: MediaMetadata | null;
|
|
9161
9590
|
playbackState: MediaSessionPlaybackState;
|
|
@@ -9539,8 +9968,21 @@ declare var NamedNodeMap: {
|
|
|
9539
9968
|
new(): NamedNodeMap;
|
|
9540
9969
|
};
|
|
9541
9970
|
|
|
9971
|
+
/** Available only in secure contexts. */
|
|
9972
|
+
interface NavigationPreloadManager {
|
|
9973
|
+
disable(): Promise<void>;
|
|
9974
|
+
enable(): Promise<void>;
|
|
9975
|
+
getState(): Promise<NavigationPreloadState>;
|
|
9976
|
+
setHeaderValue(value: string): Promise<void>;
|
|
9977
|
+
}
|
|
9978
|
+
|
|
9979
|
+
declare var NavigationPreloadManager: {
|
|
9980
|
+
prototype: NavigationPreloadManager;
|
|
9981
|
+
new(): NavigationPreloadManager;
|
|
9982
|
+
};
|
|
9983
|
+
|
|
9542
9984
|
/** The state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities. */
|
|
9543
|
-
interface Navigator extends NavigatorAutomationInformation, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage,
|
|
9985
|
+
interface Navigator extends NavigatorAutomationInformation, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {
|
|
9544
9986
|
/** Available only in secure contexts. */
|
|
9545
9987
|
readonly clipboard: Clipboard;
|
|
9546
9988
|
/** Available only in secure contexts. */
|
|
@@ -9602,6 +10044,7 @@ interface NavigatorID {
|
|
|
9602
10044
|
/** @deprecated */
|
|
9603
10045
|
readonly productSub: string;
|
|
9604
10046
|
readonly userAgent: string;
|
|
10047
|
+
/** @deprecated */
|
|
9605
10048
|
readonly vendor: string;
|
|
9606
10049
|
/** @deprecated */
|
|
9607
10050
|
readonly vendorSub: string;
|
|
@@ -9612,8 +10055,9 @@ interface NavigatorLanguage {
|
|
|
9612
10055
|
readonly languages: ReadonlyArray<string>;
|
|
9613
10056
|
}
|
|
9614
10057
|
|
|
9615
|
-
|
|
9616
|
-
|
|
10058
|
+
/** Available only in secure contexts. */
|
|
10059
|
+
interface NavigatorLocks {
|
|
10060
|
+
readonly locks: LockManager;
|
|
9617
10061
|
}
|
|
9618
10062
|
|
|
9619
10063
|
interface NavigatorOnLine {
|
|
@@ -9623,6 +10067,7 @@ interface NavigatorOnLine {
|
|
|
9623
10067
|
interface NavigatorPlugins {
|
|
9624
10068
|
/** @deprecated */
|
|
9625
10069
|
readonly mimeTypes: MimeTypeArray;
|
|
10070
|
+
readonly pdfViewerEnabled: boolean;
|
|
9626
10071
|
/** @deprecated */
|
|
9627
10072
|
readonly plugins: PluginArray;
|
|
9628
10073
|
/** @deprecated */
|
|
@@ -9634,15 +10079,6 @@ interface NavigatorStorage {
|
|
|
9634
10079
|
readonly storage: StorageManager;
|
|
9635
10080
|
}
|
|
9636
10081
|
|
|
9637
|
-
interface NetworkInformation extends EventTarget {
|
|
9638
|
-
readonly type: ConnectionType;
|
|
9639
|
-
}
|
|
9640
|
-
|
|
9641
|
-
declare var NetworkInformation: {
|
|
9642
|
-
prototype: NetworkInformation;
|
|
9643
|
-
new(): NetworkInformation;
|
|
9644
|
-
};
|
|
9645
|
-
|
|
9646
10082
|
/** Node is an interface from which a number of DOM API object types inherit. It allows those types to be treated similarly; for example, inheriting the same set of methods, or being tested in the same way. */
|
|
9647
10083
|
interface Node extends EventTarget {
|
|
9648
10084
|
/** Returns node's node document's document base URL. */
|
|
@@ -9857,6 +10293,16 @@ declare var Notification: {
|
|
|
9857
10293
|
requestPermission(deprecatedCallback?: NotificationPermissionCallback): Promise<NotificationPermission>;
|
|
9858
10294
|
};
|
|
9859
10295
|
|
|
10296
|
+
interface OES_draw_buffers_indexed {
|
|
10297
|
+
blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void;
|
|
10298
|
+
blendEquationiOES(buf: GLuint, mode: GLenum): void;
|
|
10299
|
+
blendFuncSeparateiOES(buf: GLuint, srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;
|
|
10300
|
+
blendFunciOES(buf: GLuint, src: GLenum, dst: GLenum): void;
|
|
10301
|
+
colorMaskiOES(buf: GLuint, r: GLboolean, g: GLboolean, b: GLboolean, a: GLboolean): void;
|
|
10302
|
+
disableiOES(target: GLenum, index: GLuint): void;
|
|
10303
|
+
enableiOES(target: GLenum, index: GLuint): void;
|
|
10304
|
+
}
|
|
10305
|
+
|
|
9860
10306
|
/** The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). */
|
|
9861
10307
|
interface OES_element_index_uint {
|
|
9862
10308
|
}
|
|
@@ -9935,6 +10381,57 @@ declare var OfflineAudioContext: {
|
|
|
9935
10381
|
new(numberOfChannels: number, length: number, sampleRate: number): OfflineAudioContext;
|
|
9936
10382
|
};
|
|
9937
10383
|
|
|
10384
|
+
interface OffscreenCanvasEventMap {
|
|
10385
|
+
"contextlost": Event;
|
|
10386
|
+
"contextrestored": Event;
|
|
10387
|
+
}
|
|
10388
|
+
|
|
10389
|
+
interface OffscreenCanvas extends EventTarget {
|
|
10390
|
+
/**
|
|
10391
|
+
* These attributes return the dimensions of the OffscreenCanvas object's bitmap.
|
|
10392
|
+
*
|
|
10393
|
+
* They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).
|
|
10394
|
+
*/
|
|
10395
|
+
height: number;
|
|
10396
|
+
oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null;
|
|
10397
|
+
oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null;
|
|
10398
|
+
/**
|
|
10399
|
+
* These attributes return the dimensions of the OffscreenCanvas object's bitmap.
|
|
10400
|
+
*
|
|
10401
|
+
* They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).
|
|
10402
|
+
*/
|
|
10403
|
+
width: number;
|
|
10404
|
+
/**
|
|
10405
|
+
* Returns an object that exposes an API for drawing on the OffscreenCanvas object. contextId specifies the desired API: "2d", "bitmaprenderer", "webgl", or "webgl2". options is handled by that API.
|
|
10406
|
+
*
|
|
10407
|
+
* This specification defines the "2d" context below, which is similar but distinct from the "2d" context that is created from a canvas element. The WebGL specifications define the "webgl" and "webgl2" contexts. [WEBGL]
|
|
10408
|
+
*
|
|
10409
|
+
* Returns null if the canvas has already been initialized with another context type (e.g., trying to get a "2d" context after getting a "webgl" context).
|
|
10410
|
+
*/
|
|
10411
|
+
getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;
|
|
10412
|
+
/** Returns a newly created ImageBitmap object with the image in the OffscreenCanvas object. The image in the OffscreenCanvas object is replaced with a new blank image. */
|
|
10413
|
+
transferToImageBitmap(): ImageBitmap;
|
|
10414
|
+
addEventListener<K extends keyof OffscreenCanvasEventMap>(type: K, listener: (this: OffscreenCanvas, ev: OffscreenCanvasEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
10415
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
10416
|
+
removeEventListener<K extends keyof OffscreenCanvasEventMap>(type: K, listener: (this: OffscreenCanvas, ev: OffscreenCanvasEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
10417
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
10418
|
+
}
|
|
10419
|
+
|
|
10420
|
+
declare var OffscreenCanvas: {
|
|
10421
|
+
prototype: OffscreenCanvas;
|
|
10422
|
+
new(width: number, height: number): OffscreenCanvas;
|
|
10423
|
+
};
|
|
10424
|
+
|
|
10425
|
+
interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {
|
|
10426
|
+
readonly canvas: OffscreenCanvas;
|
|
10427
|
+
commit(): void;
|
|
10428
|
+
}
|
|
10429
|
+
|
|
10430
|
+
declare var OffscreenCanvasRenderingContext2D: {
|
|
10431
|
+
prototype: OffscreenCanvasRenderingContext2D;
|
|
10432
|
+
new(): OffscreenCanvasRenderingContext2D;
|
|
10433
|
+
};
|
|
10434
|
+
|
|
9938
10435
|
/** The OscillatorNode interface represents a periodic waveform, such as a sine wave. It is an AudioScheduledSourceNode audio-processing module that causes a specified frequency of a given wave to be created—in effect, a constant tone. */
|
|
9939
10436
|
interface OscillatorNode extends AudioScheduledSourceNode {
|
|
9940
10437
|
readonly detune: AudioParam;
|
|
@@ -10130,6 +10627,7 @@ interface PerformanceEventMap {
|
|
|
10130
10627
|
|
|
10131
10628
|
/** Provides access to performance-related information for the current page. It's part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API. */
|
|
10132
10629
|
interface Performance extends EventTarget {
|
|
10630
|
+
readonly eventCounts: EventCounts;
|
|
10133
10631
|
/** @deprecated */
|
|
10134
10632
|
readonly navigation: PerformanceNavigation;
|
|
10135
10633
|
onresourcetimingbufferfull: ((this: Performance, ev: Event) => any) | null;
|
|
@@ -10177,6 +10675,7 @@ interface PerformanceEventTiming extends PerformanceEntry {
|
|
|
10177
10675
|
readonly processingEnd: DOMHighResTimeStamp;
|
|
10178
10676
|
readonly processingStart: DOMHighResTimeStamp;
|
|
10179
10677
|
readonly target: Node | null;
|
|
10678
|
+
toJSON(): any;
|
|
10180
10679
|
}
|
|
10181
10680
|
|
|
10182
10681
|
declare var PerformanceEventTiming: {
|
|
@@ -10240,7 +10739,7 @@ interface PerformanceNavigationTiming extends PerformanceResourceTiming {
|
|
|
10240
10739
|
readonly loadEventEnd: DOMHighResTimeStamp;
|
|
10241
10740
|
readonly loadEventStart: DOMHighResTimeStamp;
|
|
10242
10741
|
readonly redirectCount: number;
|
|
10243
|
-
readonly type:
|
|
10742
|
+
readonly type: NavigationTimingType;
|
|
10244
10743
|
readonly unloadEventEnd: DOMHighResTimeStamp;
|
|
10245
10744
|
readonly unloadEventStart: DOMHighResTimeStamp;
|
|
10246
10745
|
toJSON(): any;
|
|
@@ -10393,6 +10892,7 @@ interface PermissionStatusEventMap {
|
|
|
10393
10892
|
}
|
|
10394
10893
|
|
|
10395
10894
|
interface PermissionStatus extends EventTarget {
|
|
10895
|
+
readonly name: string;
|
|
10396
10896
|
onchange: ((this: PermissionStatus, ev: Event) => any) | null;
|
|
10397
10897
|
readonly state: PermissionState;
|
|
10398
10898
|
addEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -10415,6 +10915,15 @@ declare var Permissions: {
|
|
|
10415
10915
|
new(): Permissions;
|
|
10416
10916
|
};
|
|
10417
10917
|
|
|
10918
|
+
interface PictureInPictureEvent extends Event {
|
|
10919
|
+
readonly pictureInPictureWindow: PictureInPictureWindow;
|
|
10920
|
+
}
|
|
10921
|
+
|
|
10922
|
+
declare var PictureInPictureEvent: {
|
|
10923
|
+
prototype: PictureInPictureEvent;
|
|
10924
|
+
new(type: string, eventInitDict: PictureInPictureEventInit): PictureInPictureEvent;
|
|
10925
|
+
};
|
|
10926
|
+
|
|
10418
10927
|
interface PictureInPictureWindowEventMap {
|
|
10419
10928
|
"resize": Event;
|
|
10420
10929
|
}
|
|
@@ -10566,6 +11075,7 @@ declare var PromiseRejectionEvent: {
|
|
|
10566
11075
|
|
|
10567
11076
|
/** Available only in secure contexts. */
|
|
10568
11077
|
interface PublicKeyCredential extends Credential {
|
|
11078
|
+
readonly authenticatorAttachment: string | null;
|
|
10569
11079
|
readonly rawId: ArrayBuffer;
|
|
10570
11080
|
readonly response: AuthenticatorResponse;
|
|
10571
11081
|
getClientExtensionResults(): AuthenticationExtensionsClientOutputs;
|
|
@@ -10583,7 +11093,7 @@ declare var PublicKeyCredential: {
|
|
|
10583
11093
|
*/
|
|
10584
11094
|
interface PushManager {
|
|
10585
11095
|
getSubscription(): Promise<PushSubscription | null>;
|
|
10586
|
-
permissionState(options?: PushSubscriptionOptionsInit): Promise<
|
|
11096
|
+
permissionState(options?: PushSubscriptionOptionsInit): Promise<PermissionState>;
|
|
10587
11097
|
subscribe(options?: PushSubscriptionOptionsInit): Promise<PushSubscription>;
|
|
10588
11098
|
}
|
|
10589
11099
|
|
|
@@ -10599,6 +11109,7 @@ declare var PushManager: {
|
|
|
10599
11109
|
*/
|
|
10600
11110
|
interface PushSubscription {
|
|
10601
11111
|
readonly endpoint: string;
|
|
11112
|
+
readonly expirationTime: EpochTimeStamp | null;
|
|
10602
11113
|
readonly options: PushSubscriptionOptions;
|
|
10603
11114
|
getKey(name: PushEncryptionKeyName): ArrayBuffer | null;
|
|
10604
11115
|
toJSON(): PushSubscriptionJSON;
|
|
@@ -10613,6 +11124,7 @@ declare var PushSubscription: {
|
|
|
10613
11124
|
/** Available only in secure contexts. */
|
|
10614
11125
|
interface PushSubscriptionOptions {
|
|
10615
11126
|
readonly applicationServerKey: ArrayBuffer | null;
|
|
11127
|
+
readonly userVisibleOnly: boolean;
|
|
10616
11128
|
}
|
|
10617
11129
|
|
|
10618
11130
|
declare var PushSubscriptionOptions: {
|
|
@@ -10621,7 +11133,7 @@ declare var PushSubscriptionOptions: {
|
|
|
10621
11133
|
};
|
|
10622
11134
|
|
|
10623
11135
|
interface RTCCertificate {
|
|
10624
|
-
readonly expires:
|
|
11136
|
+
readonly expires: EpochTimeStamp;
|
|
10625
11137
|
getFingerprints(): RTCDtlsFingerprint[];
|
|
10626
11138
|
}
|
|
10627
11139
|
|
|
@@ -10663,6 +11175,7 @@ declare var RTCDTMFToneChangeEvent: {
|
|
|
10663
11175
|
interface RTCDataChannelEventMap {
|
|
10664
11176
|
"bufferedamountlow": Event;
|
|
10665
11177
|
"close": Event;
|
|
11178
|
+
"closing": Event;
|
|
10666
11179
|
"error": Event;
|
|
10667
11180
|
"message": MessageEvent;
|
|
10668
11181
|
"open": Event;
|
|
@@ -10679,6 +11192,7 @@ interface RTCDataChannel extends EventTarget {
|
|
|
10679
11192
|
readonly negotiated: boolean;
|
|
10680
11193
|
onbufferedamountlow: ((this: RTCDataChannel, ev: Event) => any) | null;
|
|
10681
11194
|
onclose: ((this: RTCDataChannel, ev: Event) => any) | null;
|
|
11195
|
+
onclosing: ((this: RTCDataChannel, ev: Event) => any) | null;
|
|
10682
11196
|
onerror: ((this: RTCDataChannel, ev: Event) => any) | null;
|
|
10683
11197
|
onmessage: ((this: RTCDataChannel, ev: MessageEvent) => any) | null;
|
|
10684
11198
|
onopen: ((this: RTCDataChannel, ev: Event) => any) | null;
|
|
@@ -10711,12 +11225,16 @@ declare var RTCDataChannelEvent: {
|
|
|
10711
11225
|
};
|
|
10712
11226
|
|
|
10713
11227
|
interface RTCDtlsTransportEventMap {
|
|
11228
|
+
"error": Event;
|
|
10714
11229
|
"statechange": Event;
|
|
10715
11230
|
}
|
|
10716
11231
|
|
|
10717
11232
|
interface RTCDtlsTransport extends EventTarget {
|
|
11233
|
+
readonly iceTransport: RTCIceTransport;
|
|
11234
|
+
onerror: ((this: RTCDtlsTransport, ev: Event) => any) | null;
|
|
10718
11235
|
onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null;
|
|
10719
11236
|
readonly state: RTCDtlsTransportState;
|
|
11237
|
+
getRemoteCertificates(): ArrayBuffer[];
|
|
10720
11238
|
addEventListener<K extends keyof RTCDtlsTransportEventMap>(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
10721
11239
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
10722
11240
|
removeEventListener<K extends keyof RTCDtlsTransportEventMap>(type: K, listener: (this: RTCDtlsTransport, ev: RTCDtlsTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -10728,6 +11246,51 @@ declare var RTCDtlsTransport: {
|
|
|
10728
11246
|
new(): RTCDtlsTransport;
|
|
10729
11247
|
};
|
|
10730
11248
|
|
|
11249
|
+
interface RTCEncodedAudioFrame {
|
|
11250
|
+
data: ArrayBuffer;
|
|
11251
|
+
readonly timestamp: number;
|
|
11252
|
+
getMetadata(): RTCEncodedAudioFrameMetadata;
|
|
11253
|
+
}
|
|
11254
|
+
|
|
11255
|
+
declare var RTCEncodedAudioFrame: {
|
|
11256
|
+
prototype: RTCEncodedAudioFrame;
|
|
11257
|
+
new(): RTCEncodedAudioFrame;
|
|
11258
|
+
};
|
|
11259
|
+
|
|
11260
|
+
interface RTCEncodedVideoFrame {
|
|
11261
|
+
data: ArrayBuffer;
|
|
11262
|
+
readonly timestamp: number;
|
|
11263
|
+
readonly type: RTCEncodedVideoFrameType;
|
|
11264
|
+
getMetadata(): RTCEncodedVideoFrameMetadata;
|
|
11265
|
+
}
|
|
11266
|
+
|
|
11267
|
+
declare var RTCEncodedVideoFrame: {
|
|
11268
|
+
prototype: RTCEncodedVideoFrame;
|
|
11269
|
+
new(): RTCEncodedVideoFrame;
|
|
11270
|
+
};
|
|
11271
|
+
|
|
11272
|
+
interface RTCError extends DOMException {
|
|
11273
|
+
readonly errorDetail: RTCErrorDetailType;
|
|
11274
|
+
readonly receivedAlert: number | null;
|
|
11275
|
+
readonly sctpCauseCode: number | null;
|
|
11276
|
+
readonly sdpLineNumber: number | null;
|
|
11277
|
+
readonly sentAlert: number | null;
|
|
11278
|
+
}
|
|
11279
|
+
|
|
11280
|
+
declare var RTCError: {
|
|
11281
|
+
prototype: RTCError;
|
|
11282
|
+
new(init: RTCErrorInit, message?: string): RTCError;
|
|
11283
|
+
};
|
|
11284
|
+
|
|
11285
|
+
interface RTCErrorEvent extends Event {
|
|
11286
|
+
readonly error: RTCError;
|
|
11287
|
+
}
|
|
11288
|
+
|
|
11289
|
+
declare var RTCErrorEvent: {
|
|
11290
|
+
prototype: RTCErrorEvent;
|
|
11291
|
+
new(type: string, eventInitDict: RTCErrorEventInit): RTCErrorEvent;
|
|
11292
|
+
};
|
|
11293
|
+
|
|
10731
11294
|
/** The RTCIceCandidate interface—part of the WebRTC API—represents a candidate Internet Connectivity Establishment (ICE) configuration which may be used to establish an RTCPeerConnection. */
|
|
10732
11295
|
interface RTCIceCandidate {
|
|
10733
11296
|
readonly address: string | null;
|
|
@@ -10752,10 +11315,21 @@ declare var RTCIceCandidate: {
|
|
|
10752
11315
|
new(candidateInitDict?: RTCIceCandidateInit): RTCIceCandidate;
|
|
10753
11316
|
};
|
|
10754
11317
|
|
|
11318
|
+
interface RTCIceTransportEventMap {
|
|
11319
|
+
"gatheringstatechange": Event;
|
|
11320
|
+
"statechange": Event;
|
|
11321
|
+
}
|
|
11322
|
+
|
|
10755
11323
|
/** Provides access to information about the ICE transport layer over which the data is being sent and received. */
|
|
10756
11324
|
interface RTCIceTransport extends EventTarget {
|
|
10757
11325
|
readonly gatheringState: RTCIceGathererState;
|
|
11326
|
+
ongatheringstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;
|
|
11327
|
+
onstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;
|
|
10758
11328
|
readonly state: RTCIceTransportState;
|
|
11329
|
+
addEventListener<K extends keyof RTCIceTransportEventMap>(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11330
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
11331
|
+
removeEventListener<K extends keyof RTCIceTransportEventMap>(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
11332
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
10759
11333
|
}
|
|
10760
11334
|
|
|
10761
11335
|
declare var RTCIceTransport: {
|
|
@@ -10796,6 +11370,7 @@ interface RTCPeerConnection extends EventTarget {
|
|
|
10796
11370
|
readonly pendingLocalDescription: RTCSessionDescription | null;
|
|
10797
11371
|
readonly pendingRemoteDescription: RTCSessionDescription | null;
|
|
10798
11372
|
readonly remoteDescription: RTCSessionDescription | null;
|
|
11373
|
+
readonly sctp: RTCSctpTransport | null;
|
|
10799
11374
|
readonly signalingState: RTCSignalingState;
|
|
10800
11375
|
addIceCandidate(candidate?: RTCIceCandidateInit): Promise<void>;
|
|
10801
11376
|
/** @deprecated */
|
|
@@ -10899,6 +11474,7 @@ interface RTCRtpTransceiver {
|
|
|
10899
11474
|
readonly mid: string | null;
|
|
10900
11475
|
readonly receiver: RTCRtpReceiver;
|
|
10901
11476
|
readonly sender: RTCRtpSender;
|
|
11477
|
+
setCodecPreferences(codecs: RTCRtpCodecCapability[]): void;
|
|
10902
11478
|
stop(): void;
|
|
10903
11479
|
}
|
|
10904
11480
|
|
|
@@ -10907,6 +11483,27 @@ declare var RTCRtpTransceiver: {
|
|
|
10907
11483
|
new(): RTCRtpTransceiver;
|
|
10908
11484
|
};
|
|
10909
11485
|
|
|
11486
|
+
interface RTCSctpTransportEventMap {
|
|
11487
|
+
"statechange": Event;
|
|
11488
|
+
}
|
|
11489
|
+
|
|
11490
|
+
interface RTCSctpTransport extends EventTarget {
|
|
11491
|
+
readonly maxChannels: number | null;
|
|
11492
|
+
readonly maxMessageSize: number;
|
|
11493
|
+
onstatechange: ((this: RTCSctpTransport, ev: Event) => any) | null;
|
|
11494
|
+
readonly state: RTCSctpTransportState;
|
|
11495
|
+
readonly transport: RTCDtlsTransport;
|
|
11496
|
+
addEventListener<K extends keyof RTCSctpTransportEventMap>(type: K, listener: (this: RTCSctpTransport, ev: RTCSctpTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11497
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
11498
|
+
removeEventListener<K extends keyof RTCSctpTransportEventMap>(type: K, listener: (this: RTCSctpTransport, ev: RTCSctpTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
11499
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
11500
|
+
}
|
|
11501
|
+
|
|
11502
|
+
declare var RTCSctpTransport: {
|
|
11503
|
+
prototype: RTCSctpTransport;
|
|
11504
|
+
new(): RTCSctpTransport;
|
|
11505
|
+
};
|
|
11506
|
+
|
|
10910
11507
|
/** One end of a connection—or potential connection—and how it's configured. Each RTCSessionDescription consists of a description type indicating which part of the offer/answer negotiation process it describes and of the SDP descriptor of the session. */
|
|
10911
11508
|
interface RTCSessionDescription {
|
|
10912
11509
|
readonly sdp: string;
|
|
@@ -10995,11 +11592,26 @@ declare var Range: {
|
|
|
10995
11592
|
toString(): string;
|
|
10996
11593
|
};
|
|
10997
11594
|
|
|
11595
|
+
interface ReadableByteStreamController {
|
|
11596
|
+
readonly byobRequest: ReadableStreamBYOBRequest | null;
|
|
11597
|
+
readonly desiredSize: number | null;
|
|
11598
|
+
close(): void;
|
|
11599
|
+
enqueue(chunk: ArrayBufferView): void;
|
|
11600
|
+
error(e?: any): void;
|
|
11601
|
+
}
|
|
11602
|
+
|
|
11603
|
+
declare var ReadableByteStreamController: {
|
|
11604
|
+
prototype: ReadableByteStreamController;
|
|
11605
|
+
new(): ReadableByteStreamController;
|
|
11606
|
+
};
|
|
11607
|
+
|
|
10998
11608
|
/** This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object. */
|
|
10999
11609
|
interface ReadableStream<R = any> {
|
|
11000
11610
|
readonly locked: boolean;
|
|
11001
11611
|
cancel(reason?: any): Promise<void>;
|
|
11612
|
+
getReader(options: { mode: "byob" }): ReadableStreamBYOBReader;
|
|
11002
11613
|
getReader(): ReadableStreamDefaultReader<R>;
|
|
11614
|
+
getReader(options?: ReadableStreamGetReaderOptions): ReadableStreamReader<R>;
|
|
11003
11615
|
pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>;
|
|
11004
11616
|
pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
|
|
11005
11617
|
tee(): [ReadableStream<R>, ReadableStream<R>];
|
|
@@ -11007,9 +11619,32 @@ interface ReadableStream<R = any> {
|
|
|
11007
11619
|
|
|
11008
11620
|
declare var ReadableStream: {
|
|
11009
11621
|
prototype: ReadableStream;
|
|
11622
|
+
new(underlyingSource: UnderlyingByteSource, strategy?: { highWaterMark?: number }): ReadableStream<Uint8Array>;
|
|
11623
|
+
new<R = any>(underlyingSource: UnderlyingDefaultSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;
|
|
11010
11624
|
new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;
|
|
11011
11625
|
};
|
|
11012
11626
|
|
|
11627
|
+
interface ReadableStreamBYOBReader extends ReadableStreamGenericReader {
|
|
11628
|
+
read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>;
|
|
11629
|
+
releaseLock(): void;
|
|
11630
|
+
}
|
|
11631
|
+
|
|
11632
|
+
declare var ReadableStreamBYOBReader: {
|
|
11633
|
+
prototype: ReadableStreamBYOBReader;
|
|
11634
|
+
new(stream: ReadableStream): ReadableStreamBYOBReader;
|
|
11635
|
+
};
|
|
11636
|
+
|
|
11637
|
+
interface ReadableStreamBYOBRequest {
|
|
11638
|
+
readonly view: ArrayBufferView | null;
|
|
11639
|
+
respond(bytesWritten: number): void;
|
|
11640
|
+
respondWithNewView(view: ArrayBufferView): void;
|
|
11641
|
+
}
|
|
11642
|
+
|
|
11643
|
+
declare var ReadableStreamBYOBRequest: {
|
|
11644
|
+
prototype: ReadableStreamBYOBRequest;
|
|
11645
|
+
new(): ReadableStreamBYOBRequest;
|
|
11646
|
+
};
|
|
11647
|
+
|
|
11013
11648
|
interface ReadableStreamDefaultController<R = any> {
|
|
11014
11649
|
readonly desiredSize: number | null;
|
|
11015
11650
|
close(): void;
|
|
@@ -11023,7 +11658,7 @@ declare var ReadableStreamDefaultController: {
|
|
|
11023
11658
|
};
|
|
11024
11659
|
|
|
11025
11660
|
interface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader {
|
|
11026
|
-
read(): Promise<
|
|
11661
|
+
read(): Promise<ReadableStreamReadResult<R>>;
|
|
11027
11662
|
releaseLock(): void;
|
|
11028
11663
|
}
|
|
11029
11664
|
|
|
@@ -11095,7 +11730,7 @@ interface Request extends Body {
|
|
|
11095
11730
|
|
|
11096
11731
|
declare var Request: {
|
|
11097
11732
|
prototype: Request;
|
|
11098
|
-
new(input: RequestInfo, init?: RequestInit): Request;
|
|
11733
|
+
new(input: RequestInfo | URL, init?: RequestInit): Request;
|
|
11099
11734
|
};
|
|
11100
11735
|
|
|
11101
11736
|
interface ResizeObserver {
|
|
@@ -11113,6 +11748,7 @@ interface ResizeObserverEntry {
|
|
|
11113
11748
|
readonly borderBoxSize: ReadonlyArray<ResizeObserverSize>;
|
|
11114
11749
|
readonly contentBoxSize: ReadonlyArray<ResizeObserverSize>;
|
|
11115
11750
|
readonly contentRect: DOMRectReadOnly;
|
|
11751
|
+
readonly devicePixelContentBoxSize: ReadonlyArray<ResizeObserverSize>;
|
|
11116
11752
|
readonly target: Element;
|
|
11117
11753
|
}
|
|
11118
11754
|
|
|
@@ -12610,6 +13246,7 @@ interface SVGStyleElement extends SVGElement, LinkStyle {
|
|
|
12610
13246
|
disabled: boolean;
|
|
12611
13247
|
media: string;
|
|
12612
13248
|
title: string;
|
|
13249
|
+
/** @deprecated */
|
|
12613
13250
|
type: string;
|
|
12614
13251
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
12615
13252
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -12972,6 +13609,7 @@ interface Selection {
|
|
|
12972
13609
|
empty(): void;
|
|
12973
13610
|
extend(node: Node, offset?: number): void;
|
|
12974
13611
|
getRangeAt(index: number): Range;
|
|
13612
|
+
modify(alter?: string, direction?: string, granularity?: string): void;
|
|
12975
13613
|
removeAllRanges(): void;
|
|
12976
13614
|
removeRange(range: Range): void;
|
|
12977
13615
|
selectAllChildren(node: Node): void;
|
|
@@ -13053,6 +13691,7 @@ interface ServiceWorkerRegistrationEventMap {
|
|
|
13053
13691
|
interface ServiceWorkerRegistration extends EventTarget {
|
|
13054
13692
|
readonly active: ServiceWorker | null;
|
|
13055
13693
|
readonly installing: ServiceWorker | null;
|
|
13694
|
+
readonly navigationPreload: NavigationPreloadManager;
|
|
13056
13695
|
onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;
|
|
13057
13696
|
readonly pushManager: PushManager;
|
|
13058
13697
|
readonly scope: string;
|
|
@@ -13073,11 +13712,21 @@ declare var ServiceWorkerRegistration: {
|
|
|
13073
13712
|
new(): ServiceWorkerRegistration;
|
|
13074
13713
|
};
|
|
13075
13714
|
|
|
13715
|
+
interface ShadowRootEventMap {
|
|
13716
|
+
"slotchange": Event;
|
|
13717
|
+
}
|
|
13718
|
+
|
|
13076
13719
|
interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML {
|
|
13077
13720
|
readonly delegatesFocus: boolean;
|
|
13078
13721
|
readonly host: Element;
|
|
13079
13722
|
readonly mode: ShadowRootMode;
|
|
13723
|
+
onslotchange: ((this: ShadowRoot, ev: Event) => any) | null;
|
|
13724
|
+
readonly slotAssignment: SlotAssignmentMode;
|
|
13080
13725
|
/** Throws a "NotSupportedError" DOMException if context object is a shadow root. */
|
|
13726
|
+
addEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
13727
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
13728
|
+
removeEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
13729
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
13081
13730
|
}
|
|
13082
13731
|
|
|
13083
13732
|
declare var ShadowRoot: {
|
|
@@ -13359,6 +14008,7 @@ interface StorageEvent extends Event {
|
|
|
13359
14008
|
readonly storageArea: Storage | null;
|
|
13360
14009
|
/** Returns the URL of the document whose storage item changed. */
|
|
13361
14010
|
readonly url: string;
|
|
14011
|
+
/** @deprecated */
|
|
13362
14012
|
initStorageEvent(type: string, bubbles?: boolean, cancelable?: boolean, key?: string | null, oldValue?: string | null, newValue?: string | null, url?: string | URL, storageArea?: Storage | null): void;
|
|
13363
14013
|
}
|
|
13364
14014
|
|
|
@@ -13370,6 +14020,7 @@ declare var StorageEvent: {
|
|
|
13370
14020
|
/** Available only in secure contexts. */
|
|
13371
14021
|
interface StorageManager {
|
|
13372
14022
|
estimate(): Promise<StorageEstimate>;
|
|
14023
|
+
getDirectory(): Promise<FileSystemDirectoryHandle>;
|
|
13373
14024
|
persist(): Promise<boolean>;
|
|
13374
14025
|
persisted(): Promise<boolean>;
|
|
13375
14026
|
}
|
|
@@ -13428,17 +14079,17 @@ declare var SubmitEvent: {
|
|
|
13428
14079
|
* Available only in secure contexts.
|
|
13429
14080
|
*/
|
|
13430
14081
|
interface SubtleCrypto {
|
|
13431
|
-
decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<
|
|
14082
|
+
decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;
|
|
13432
14083
|
deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, length: number): Promise<ArrayBuffer>;
|
|
13433
14084
|
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;
|
|
13434
14085
|
digest(algorithm: AlgorithmIdentifier, data: BufferSource): Promise<ArrayBuffer>;
|
|
13435
|
-
encrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<
|
|
14086
|
+
encrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;
|
|
13436
14087
|
exportKey(format: "jwk", key: CryptoKey): Promise<JsonWebKey>;
|
|
13437
14088
|
exportKey(format: Exclude<KeyFormat, "jwk">, key: CryptoKey): Promise<ArrayBuffer>;
|
|
13438
|
-
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: KeyUsage
|
|
13439
|
-
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage
|
|
14089
|
+
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
14090
|
+
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
13440
14091
|
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKeyPair | CryptoKey>;
|
|
13441
|
-
importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage
|
|
14092
|
+
importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
13442
14093
|
importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;
|
|
13443
14094
|
sign(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;
|
|
13444
14095
|
unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;
|
|
@@ -13956,6 +14607,19 @@ declare var ValidityState: {
|
|
|
13956
14607
|
new(): ValidityState;
|
|
13957
14608
|
};
|
|
13958
14609
|
|
|
14610
|
+
interface VideoColorSpace {
|
|
14611
|
+
readonly fullRange: boolean | null;
|
|
14612
|
+
readonly matrix: VideoMatrixCoefficients | null;
|
|
14613
|
+
readonly primaries: VideoColorPrimaries | null;
|
|
14614
|
+
readonly transfer: VideoTransferCharacteristics | null;
|
|
14615
|
+
toJSON(): VideoColorSpaceInit;
|
|
14616
|
+
}
|
|
14617
|
+
|
|
14618
|
+
declare var VideoColorSpace: {
|
|
14619
|
+
prototype: VideoColorSpace;
|
|
14620
|
+
new(init?: VideoColorSpaceInit): VideoColorSpace;
|
|
14621
|
+
};
|
|
14622
|
+
|
|
13959
14623
|
/** Returned by the HTMLVideoElement.getVideoPlaybackQuality() method and contains metrics that can be used to determine the playback quality of a video. */
|
|
13960
14624
|
interface VideoPlaybackQuality {
|
|
13961
14625
|
/** @deprecated */
|
|
@@ -14051,13 +14715,6 @@ interface WEBGL_compressed_texture_etc1 {
|
|
|
14051
14715
|
readonly COMPRESSED_RGB_ETC1_WEBGL: GLenum;
|
|
14052
14716
|
}
|
|
14053
14717
|
|
|
14054
|
-
interface WEBGL_compressed_texture_pvrtc {
|
|
14055
|
-
readonly COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: GLenum;
|
|
14056
|
-
readonly COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: GLenum;
|
|
14057
|
-
readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: GLenum;
|
|
14058
|
-
readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: GLenum;
|
|
14059
|
-
}
|
|
14060
|
-
|
|
14061
14718
|
/** The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats. */
|
|
14062
14719
|
interface WEBGL_compressed_texture_s3tc {
|
|
14063
14720
|
readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: GLenum;
|
|
@@ -14131,6 +14788,13 @@ interface WEBGL_lose_context {
|
|
|
14131
14788
|
restoreContext(): void;
|
|
14132
14789
|
}
|
|
14133
14790
|
|
|
14791
|
+
interface WEBGL_multi_draw {
|
|
14792
|
+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
14793
|
+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, drawcount: GLsizei): void;
|
|
14794
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
14795
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, drawcount: GLsizei): void;
|
|
14796
|
+
}
|
|
14797
|
+
|
|
14134
14798
|
/** A WaveShaperNode always has exactly one input and one output. */
|
|
14135
14799
|
interface WaveShaperNode extends AudioNode {
|
|
14136
14800
|
curve: Float32Array | null;
|
|
@@ -15478,7 +16142,7 @@ declare var WebGLRenderingContext: {
|
|
|
15478
16142
|
};
|
|
15479
16143
|
|
|
15480
16144
|
interface WebGLRenderingContextBase {
|
|
15481
|
-
readonly canvas: HTMLCanvasElement;
|
|
16145
|
+
readonly canvas: HTMLCanvasElement | OffscreenCanvas;
|
|
15482
16146
|
readonly drawingBufferHeight: GLsizei;
|
|
15483
16147
|
readonly drawingBufferWidth: GLsizei;
|
|
15484
16148
|
activeTexture(texture: GLenum): void;
|
|
@@ -15538,36 +16202,39 @@ interface WebGLRenderingContextBase {
|
|
|
15538
16202
|
getBufferParameter(target: GLenum, pname: GLenum): any;
|
|
15539
16203
|
getContextAttributes(): WebGLContextAttributes | null;
|
|
15540
16204
|
getError(): GLenum;
|
|
16205
|
+
getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
|
|
15541
16206
|
getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;
|
|
15542
16207
|
getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null;
|
|
15543
16208
|
getExtension(extensionName: "EXT_color_buffer_half_float"): EXT_color_buffer_half_float | null;
|
|
15544
16209
|
getExtension(extensionName: "EXT_float_blend"): EXT_float_blend | null;
|
|
15545
|
-
getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null;
|
|
15546
16210
|
getExtension(extensionName: "EXT_frag_depth"): EXT_frag_depth | null;
|
|
15547
|
-
getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null;
|
|
15548
16211
|
getExtension(extensionName: "EXT_sRGB"): EXT_sRGB | null;
|
|
16212
|
+
getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null;
|
|
16213
|
+
getExtension(extensionName: "EXT_texture_compression_bptc"): EXT_texture_compression_bptc | null;
|
|
16214
|
+
getExtension(extensionName: "EXT_texture_compression_rgtc"): EXT_texture_compression_rgtc | null;
|
|
16215
|
+
getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null;
|
|
15549
16216
|
getExtension(extensionName: "KHR_parallel_shader_compile"): KHR_parallel_shader_compile | null;
|
|
16217
|
+
getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null;
|
|
16218
|
+
getExtension(extensionName: "OES_fbo_render_mipmap"): OES_fbo_render_mipmap | null;
|
|
16219
|
+
getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null;
|
|
16220
|
+
getExtension(extensionName: "OES_texture_float"): OES_texture_float | null;
|
|
16221
|
+
getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null;
|
|
16222
|
+
getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null;
|
|
16223
|
+
getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | null;
|
|
15550
16224
|
getExtension(extensionName: "OES_vertex_array_object"): OES_vertex_array_object | null;
|
|
15551
16225
|
getExtension(extensionName: "OVR_multiview2"): OVR_multiview2 | null;
|
|
15552
16226
|
getExtension(extensionName: "WEBGL_color_buffer_float"): WEBGL_color_buffer_float | null;
|
|
15553
16227
|
getExtension(extensionName: "WEBGL_compressed_texture_astc"): WEBGL_compressed_texture_astc | null;
|
|
15554
16228
|
getExtension(extensionName: "WEBGL_compressed_texture_etc"): WEBGL_compressed_texture_etc | null;
|
|
15555
16229
|
getExtension(extensionName: "WEBGL_compressed_texture_etc1"): WEBGL_compressed_texture_etc1 | null;
|
|
15556
|
-
getExtension(extensionName: "
|
|
16230
|
+
getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null;
|
|
15557
16231
|
getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null;
|
|
16232
|
+
getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null;
|
|
15558
16233
|
getExtension(extensionName: "WEBGL_debug_shaders"): WEBGL_debug_shaders | null;
|
|
16234
|
+
getExtension(extensionName: "WEBGL_depth_texture"): WEBGL_depth_texture | null;
|
|
15559
16235
|
getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
|
|
15560
16236
|
getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;
|
|
15561
|
-
getExtension(extensionName: "
|
|
15562
|
-
getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null;
|
|
15563
|
-
getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null;
|
|
15564
|
-
getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | null;
|
|
15565
|
-
getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null;
|
|
15566
|
-
getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null;
|
|
15567
|
-
getExtension(extensionName: "OES_texture_float"): OES_texture_float | null;
|
|
15568
|
-
getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null;
|
|
15569
|
-
getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null;
|
|
15570
|
-
getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
|
|
16237
|
+
getExtension(extensionName: "WEBGL_multi_draw"): WEBGL_multi_draw | null;
|
|
15571
16238
|
getExtension(name: string): any;
|
|
15572
16239
|
getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;
|
|
15573
16240
|
getParameter(pname: GLenum): any;
|
|
@@ -16101,6 +16768,7 @@ declare var WheelEvent: {
|
|
|
16101
16768
|
};
|
|
16102
16769
|
|
|
16103
16770
|
interface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandlersEventMap {
|
|
16771
|
+
"DOMContentLoaded": Event;
|
|
16104
16772
|
"devicemotion": DeviceMotionEvent;
|
|
16105
16773
|
"deviceorientation": DeviceOrientationEvent;
|
|
16106
16774
|
"gamepadconnected": GamepadEvent;
|
|
@@ -16177,7 +16845,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
16177
16845
|
/** Returns true if the toolbar is visible; otherwise, returns false. */
|
|
16178
16846
|
readonly toolbar: BarProp;
|
|
16179
16847
|
readonly top: WindowProxy | null;
|
|
16180
|
-
readonly visualViewport: VisualViewport;
|
|
16848
|
+
readonly visualViewport: VisualViewport | null;
|
|
16181
16849
|
readonly window: Window & typeof globalThis;
|
|
16182
16850
|
alert(message?: any): void;
|
|
16183
16851
|
blur(): void;
|
|
@@ -16296,14 +16964,16 @@ interface WindowOrWorkerGlobalScope {
|
|
|
16296
16964
|
readonly performance: Performance;
|
|
16297
16965
|
atob(data: string): string;
|
|
16298
16966
|
btoa(data: string): string;
|
|
16299
|
-
clearInterval(
|
|
16300
|
-
clearTimeout(
|
|
16967
|
+
clearInterval(id: number | undefined): void;
|
|
16968
|
+
clearTimeout(id: number | undefined): void;
|
|
16301
16969
|
createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
16302
16970
|
createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
16303
|
-
fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
16971
|
+
fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
|
|
16304
16972
|
queueMicrotask(callback: VoidFunction): void;
|
|
16973
|
+
reportError(e: any): void;
|
|
16305
16974
|
setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
16306
16975
|
setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
16976
|
+
structuredClone(value: any, options?: StructuredSerializeOptions): any;
|
|
16307
16977
|
}
|
|
16308
16978
|
|
|
16309
16979
|
interface WindowSessionStorage {
|
|
@@ -16367,6 +17037,7 @@ declare var WritableStream: {
|
|
|
16367
17037
|
|
|
16368
17038
|
/** This Streams API interface represents a controller allowing control of a WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate. */
|
|
16369
17039
|
interface WritableStreamDefaultController {
|
|
17040
|
+
readonly signal: AbortSignal;
|
|
16370
17041
|
error(e?: any): void;
|
|
16371
17042
|
}
|
|
16372
17043
|
|
|
@@ -16790,7 +17461,7 @@ declare namespace WebAssembly {
|
|
|
16790
17461
|
|
|
16791
17462
|
type ImportExportKind = "function" | "global" | "memory" | "table";
|
|
16792
17463
|
type TableKind = "anyfunc" | "externref";
|
|
16793
|
-
type ValueType = "anyfunc" | "externref" | "f32" | "f64" | "i32" | "i64";
|
|
17464
|
+
type ValueType = "anyfunc" | "externref" | "f32" | "f64" | "i32" | "i64" | "v128";
|
|
16794
17465
|
type ExportValue = Function | Global | Memory | Table;
|
|
16795
17466
|
type Exports = Record<string, ExportValue>;
|
|
16796
17467
|
type ImportValue = ExportValue | number;
|
|
@@ -16852,6 +17523,10 @@ interface IntersectionObserverCallback {
|
|
|
16852
17523
|
(entries: IntersectionObserverEntry[], observer: IntersectionObserver): void;
|
|
16853
17524
|
}
|
|
16854
17525
|
|
|
17526
|
+
interface LockGrantedCallback {
|
|
17527
|
+
(lock: Lock | null): any;
|
|
17528
|
+
}
|
|
17529
|
+
|
|
16855
17530
|
interface MediaSessionActionHandler {
|
|
16856
17531
|
(details: MediaSessionActionDetails): void;
|
|
16857
17532
|
}
|
|
@@ -16944,6 +17619,10 @@ interface UnderlyingSourceStartCallback<R> {
|
|
|
16944
17619
|
(controller: ReadableStreamController<R>): any;
|
|
16945
17620
|
}
|
|
16946
17621
|
|
|
17622
|
+
interface VideoFrameRequestCallback {
|
|
17623
|
+
(now: DOMHighResTimeStamp, metadata: VideoFrameCallbackMetadata): void;
|
|
17624
|
+
}
|
|
17625
|
+
|
|
16947
17626
|
interface VoidFunction {
|
|
16948
17627
|
(): void;
|
|
16949
17628
|
}
|
|
@@ -16977,7 +17656,6 @@ interface HTMLElementTagNameMap {
|
|
|
16977
17656
|
"details": HTMLDetailsElement;
|
|
16978
17657
|
"dfn": HTMLElement;
|
|
16979
17658
|
"dialog": HTMLDialogElement;
|
|
16980
|
-
"dir": HTMLDirectoryElement;
|
|
16981
17659
|
"div": HTMLDivElement;
|
|
16982
17660
|
"dl": HTMLDListElement;
|
|
16983
17661
|
"dt": HTMLElement;
|
|
@@ -16986,11 +17664,8 @@ interface HTMLElementTagNameMap {
|
|
|
16986
17664
|
"fieldset": HTMLFieldSetElement;
|
|
16987
17665
|
"figcaption": HTMLElement;
|
|
16988
17666
|
"figure": HTMLElement;
|
|
16989
|
-
"font": HTMLFontElement;
|
|
16990
17667
|
"footer": HTMLElement;
|
|
16991
17668
|
"form": HTMLFormElement;
|
|
16992
|
-
"frame": HTMLFrameElement;
|
|
16993
|
-
"frameset": HTMLFrameSetElement;
|
|
16994
17669
|
"h1": HTMLHeadingElement;
|
|
16995
17670
|
"h2": HTMLHeadingElement;
|
|
16996
17671
|
"h3": HTMLHeadingElement;
|
|
@@ -17015,7 +17690,6 @@ interface HTMLElementTagNameMap {
|
|
|
17015
17690
|
"main": HTMLElement;
|
|
17016
17691
|
"map": HTMLMapElement;
|
|
17017
17692
|
"mark": HTMLElement;
|
|
17018
|
-
"marquee": HTMLMarqueeElement;
|
|
17019
17693
|
"menu": HTMLMenuElement;
|
|
17020
17694
|
"meta": HTMLMetaElement;
|
|
17021
17695
|
"meter": HTMLMeterElement;
|
|
@@ -17027,7 +17701,6 @@ interface HTMLElementTagNameMap {
|
|
|
17027
17701
|
"option": HTMLOptionElement;
|
|
17028
17702
|
"output": HTMLOutputElement;
|
|
17029
17703
|
"p": HTMLParagraphElement;
|
|
17030
|
-
"param": HTMLParamElement;
|
|
17031
17704
|
"picture": HTMLPictureElement;
|
|
17032
17705
|
"pre": HTMLPreElement;
|
|
17033
17706
|
"progress": HTMLProgressElement;
|
|
@@ -17069,7 +17742,34 @@ interface HTMLElementTagNameMap {
|
|
|
17069
17742
|
}
|
|
17070
17743
|
|
|
17071
17744
|
interface HTMLElementDeprecatedTagNameMap {
|
|
17745
|
+
"acronym": HTMLElement;
|
|
17746
|
+
"applet": HTMLUnknownElement;
|
|
17747
|
+
"basefont": HTMLElement;
|
|
17748
|
+
"bgsound": HTMLUnknownElement;
|
|
17749
|
+
"big": HTMLElement;
|
|
17750
|
+
"blink": HTMLUnknownElement;
|
|
17751
|
+
"center": HTMLElement;
|
|
17752
|
+
"dir": HTMLDirectoryElement;
|
|
17753
|
+
"font": HTMLFontElement;
|
|
17754
|
+
"frame": HTMLFrameElement;
|
|
17755
|
+
"frameset": HTMLFrameSetElement;
|
|
17756
|
+
"isindex": HTMLUnknownElement;
|
|
17757
|
+
"keygen": HTMLUnknownElement;
|
|
17072
17758
|
"listing": HTMLPreElement;
|
|
17759
|
+
"marquee": HTMLMarqueeElement;
|
|
17760
|
+
"menuitem": HTMLElement;
|
|
17761
|
+
"multicol": HTMLUnknownElement;
|
|
17762
|
+
"nextid": HTMLUnknownElement;
|
|
17763
|
+
"nobr": HTMLElement;
|
|
17764
|
+
"noembed": HTMLElement;
|
|
17765
|
+
"noframes": HTMLElement;
|
|
17766
|
+
"param": HTMLParamElement;
|
|
17767
|
+
"plaintext": HTMLElement;
|
|
17768
|
+
"rb": HTMLElement;
|
|
17769
|
+
"rtc": HTMLElement;
|
|
17770
|
+
"spacer": HTMLUnknownElement;
|
|
17771
|
+
"strike": HTMLElement;
|
|
17772
|
+
"tt": HTMLElement;
|
|
17073
17773
|
"xmp": HTMLPreElement;
|
|
17074
17774
|
}
|
|
17075
17775
|
|
|
@@ -17218,7 +17918,7 @@ declare var statusbar: BarProp;
|
|
|
17218
17918
|
/** Returns true if the toolbar is visible; otherwise, returns false. */
|
|
17219
17919
|
declare var toolbar: BarProp;
|
|
17220
17920
|
declare var top: WindowProxy | null;
|
|
17221
|
-
declare var visualViewport: VisualViewport;
|
|
17921
|
+
declare var visualViewport: VisualViewport | null;
|
|
17222
17922
|
declare var window: Window & typeof globalThis;
|
|
17223
17923
|
declare function alert(message?: any): void;
|
|
17224
17924
|
declare function blur(): void;
|
|
@@ -17279,11 +17979,13 @@ declare var onanimationend: ((this: Window, ev: AnimationEvent) => any) | null;
|
|
|
17279
17979
|
declare var onanimationiteration: ((this: Window, ev: AnimationEvent) => any) | null;
|
|
17280
17980
|
declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null;
|
|
17281
17981
|
declare var onauxclick: ((this: Window, ev: MouseEvent) => any) | null;
|
|
17982
|
+
declare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null;
|
|
17282
17983
|
/**
|
|
17283
17984
|
* Fires when the object loses the input focus.
|
|
17284
17985
|
* @param ev The focus event.
|
|
17285
17986
|
*/
|
|
17286
17987
|
declare var onblur: ((this: Window, ev: FocusEvent) => any) | null;
|
|
17988
|
+
declare var oncancel: ((this: Window, ev: Event) => any) | null;
|
|
17287
17989
|
/**
|
|
17288
17990
|
* Occurs when playback is possible, but would require further buffering.
|
|
17289
17991
|
* @param ev The event.
|
|
@@ -17480,6 +18182,7 @@ declare var onresize: ((this: Window, ev: UIEvent) => any) | null;
|
|
|
17480
18182
|
* @param ev The event.
|
|
17481
18183
|
*/
|
|
17482
18184
|
declare var onscroll: ((this: Window, ev: Event) => any) | null;
|
|
18185
|
+
declare var onsecuritypolicyviolation: ((this: Window, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
17483
18186
|
/**
|
|
17484
18187
|
* Occurs when the seek operation ends.
|
|
17485
18188
|
* @param ev The event.
|
|
@@ -17497,6 +18200,7 @@ declare var onseeking: ((this: Window, ev: Event) => any) | null;
|
|
|
17497
18200
|
declare var onselect: ((this: Window, ev: Event) => any) | null;
|
|
17498
18201
|
declare var onselectionchange: ((this: Window, ev: Event) => any) | null;
|
|
17499
18202
|
declare var onselectstart: ((this: Window, ev: Event) => any) | null;
|
|
18203
|
+
declare var onslotchange: ((this: Window, ev: Event) => any) | null;
|
|
17500
18204
|
/**
|
|
17501
18205
|
* Occurs when the download has stopped.
|
|
17502
18206
|
* @param ev The event.
|
|
@@ -17570,14 +18274,16 @@ declare var origin: string;
|
|
|
17570
18274
|
declare var performance: Performance;
|
|
17571
18275
|
declare function atob(data: string): string;
|
|
17572
18276
|
declare function btoa(data: string): string;
|
|
17573
|
-
declare function clearInterval(
|
|
17574
|
-
declare function clearTimeout(
|
|
18277
|
+
declare function clearInterval(id: number | undefined): void;
|
|
18278
|
+
declare function clearTimeout(id: number | undefined): void;
|
|
17575
18279
|
declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
17576
18280
|
declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
17577
|
-
declare function fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
18281
|
+
declare function fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
|
|
17578
18282
|
declare function queueMicrotask(callback: VoidFunction): void;
|
|
18283
|
+
declare function reportError(e: any): void;
|
|
17579
18284
|
declare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
17580
18285
|
declare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
18286
|
+
declare function structuredClone(value: any, options?: StructuredSerializeOptions): any;
|
|
17581
18287
|
declare var sessionStorage: Storage;
|
|
17582
18288
|
declare function addEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
17583
18289
|
declare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -17591,16 +18297,15 @@ type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
|
|
|
17591
18297
|
type BufferSource = ArrayBufferView | ArrayBuffer;
|
|
17592
18298
|
type COSEAlgorithmIdentifier = number;
|
|
17593
18299
|
type CSSNumberish = number;
|
|
17594
|
-
type CanvasImageSource = HTMLOrSVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap;
|
|
17595
|
-
type ClipboardItemData = Promise<
|
|
17596
|
-
type ClipboardItemDataType = string | Blob;
|
|
18300
|
+
type CanvasImageSource = HTMLOrSVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | OffscreenCanvas;
|
|
18301
|
+
type ClipboardItemData = Promise<string | Blob>;
|
|
17597
18302
|
type ClipboardItems = ClipboardItem[];
|
|
17598
18303
|
type ConstrainBoolean = boolean | ConstrainBooleanParameters;
|
|
17599
18304
|
type ConstrainDOMString = string | string[] | ConstrainDOMStringParameters;
|
|
17600
18305
|
type ConstrainDouble = number | ConstrainDoubleRange;
|
|
17601
18306
|
type ConstrainULong = number | ConstrainULongRange;
|
|
17602
18307
|
type DOMHighResTimeStamp = number;
|
|
17603
|
-
type
|
|
18308
|
+
type EpochTimeStamp = number;
|
|
17604
18309
|
type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
|
|
17605
18310
|
type Float32List = Float32Array | GLfloat[];
|
|
17606
18311
|
type FormDataEntryValue = File | string;
|
|
@@ -17619,7 +18324,7 @@ type GLuint64 = number;
|
|
|
17619
18324
|
type HTMLOrSVGImageElement = HTMLImageElement | SVGImageElement;
|
|
17620
18325
|
type HTMLOrSVGScriptElement = HTMLScriptElement | SVGScriptElement;
|
|
17621
18326
|
type HashAlgorithmIdentifier = AlgorithmIdentifier;
|
|
17622
|
-
type HeadersInit = string
|
|
18327
|
+
type HeadersInit = [string, string][] | Record<string, string> | Headers;
|
|
17623
18328
|
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
|
|
17624
18329
|
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
|
|
17625
18330
|
type InsertPosition = "beforebegin" | "afterbegin" | "beforeend" | "afterend";
|
|
@@ -17629,20 +18334,19 @@ type MediaProvider = MediaStream | MediaSource | Blob;
|
|
|
17629
18334
|
type MessageEventSource = WindowProxy | MessagePort | ServiceWorker;
|
|
17630
18335
|
type MutationRecordType = "attributes" | "characterData" | "childList";
|
|
17631
18336
|
type NamedCurve = string;
|
|
18337
|
+
type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
17632
18338
|
type OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null;
|
|
17633
18339
|
type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
|
|
17634
18340
|
type PerformanceEntryList = PerformanceEntry[];
|
|
17635
|
-
type ReadableStreamController<T> = ReadableStreamDefaultController<T
|
|
17636
|
-
type
|
|
17637
|
-
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T
|
|
18341
|
+
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
18342
|
+
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
18343
|
+
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
|
|
17638
18344
|
type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
17639
18345
|
type RequestInfo = Request | string;
|
|
17640
|
-
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement;
|
|
18346
|
+
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas;
|
|
17641
18347
|
type TimerHandler = string | Function;
|
|
17642
|
-
type Transferable =
|
|
18348
|
+
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
17643
18349
|
type Uint32List = Uint32Array | GLuint[];
|
|
17644
|
-
type UvmEntries = UvmEntry[];
|
|
17645
|
-
type UvmEntry = number[];
|
|
17646
18350
|
type VibratePattern = number | number[];
|
|
17647
18351
|
type WindowProxy = Window;
|
|
17648
18352
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
@@ -17654,7 +18358,7 @@ type AttestationConveyancePreference = "direct" | "enterprise" | "indirect" | "n
|
|
|
17654
18358
|
type AudioContextLatencyCategory = "balanced" | "interactive" | "playback";
|
|
17655
18359
|
type AudioContextState = "closed" | "running" | "suspended";
|
|
17656
18360
|
type AuthenticatorAttachment = "cross-platform" | "platform";
|
|
17657
|
-
type AuthenticatorTransport = "ble" | "internal" | "nfc" | "usb";
|
|
18361
|
+
type AuthenticatorTransport = "ble" | "hybrid" | "internal" | "nfc" | "usb";
|
|
17658
18362
|
type AutoKeyword = "auto";
|
|
17659
18363
|
type AutomationRate = "a-rate" | "k-rate";
|
|
17660
18364
|
type BinaryType = "arraybuffer" | "blob";
|
|
@@ -17677,24 +18381,27 @@ type ColorGamut = "p3" | "rec2020" | "srgb";
|
|
|
17677
18381
|
type ColorSpaceConversion = "default" | "none";
|
|
17678
18382
|
type CompositeOperation = "accumulate" | "add" | "replace";
|
|
17679
18383
|
type CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace";
|
|
17680
|
-
type ConnectionType = "bluetooth" | "cellular" | "ethernet" | "mixed" | "none" | "other" | "unknown" | "wifi";
|
|
17681
18384
|
type CredentialMediationRequirement = "optional" | "required" | "silent";
|
|
17682
18385
|
type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";
|
|
17683
18386
|
type DirectionSetting = "" | "lr" | "rl";
|
|
17684
|
-
type DisplayCaptureSurfaceType = "
|
|
18387
|
+
type DisplayCaptureSurfaceType = "browser" | "monitor" | "window";
|
|
17685
18388
|
type DistanceModelType = "exponential" | "inverse" | "linear";
|
|
17686
18389
|
type DocumentReadyState = "complete" | "interactive" | "loading";
|
|
18390
|
+
type DocumentVisibilityState = "hidden" | "visible";
|
|
17687
18391
|
type EndOfStreamError = "decode" | "network";
|
|
17688
18392
|
type EndingType = "native" | "transparent";
|
|
18393
|
+
type FileSystemHandleKind = "directory" | "file";
|
|
17689
18394
|
type FillMode = "auto" | "backwards" | "both" | "forwards" | "none";
|
|
17690
18395
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
17691
18396
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
17692
18397
|
type FullscreenNavigationUI = "auto" | "hide" | "show";
|
|
17693
18398
|
type GamepadHapticActuatorType = "vibration";
|
|
17694
18399
|
type GamepadMappingType = "" | "standard" | "xr-standard";
|
|
18400
|
+
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
|
|
17695
18401
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|
|
17696
18402
|
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
17697
18403
|
type IDBRequestReadyState = "done" | "pending";
|
|
18404
|
+
type IDBTransactionDurability = "default" | "relaxed" | "strict";
|
|
17698
18405
|
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
|
|
17699
18406
|
type ImageOrientation = "flipY" | "none";
|
|
17700
18407
|
type ImageSmoothingQuality = "high" | "low" | "medium";
|
|
@@ -17703,6 +18410,7 @@ type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
|
|
|
17703
18410
|
type KeyType = "private" | "public" | "secret";
|
|
17704
18411
|
type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";
|
|
17705
18412
|
type LineAlignSetting = "center" | "end" | "start";
|
|
18413
|
+
type LockMode = "exclusive" | "shared";
|
|
17706
18414
|
type MediaDecodingType = "file" | "media-source" | "webrtc";
|
|
17707
18415
|
type MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput";
|
|
17708
18416
|
type MediaEncodingType = "record" | "webrtc";
|
|
@@ -17711,12 +18419,13 @@ type MediaKeySessionClosedReason = "closed-by-application" | "hardware-context-r
|
|
|
17711
18419
|
type MediaKeySessionType = "persistent-license" | "temporary";
|
|
17712
18420
|
type MediaKeyStatus = "expired" | "internal-error" | "output-downscaled" | "output-restricted" | "released" | "status-pending" | "usable" | "usable-in-future";
|
|
17713
18421
|
type MediaKeysRequirement = "not-allowed" | "optional" | "required";
|
|
17714
|
-
type MediaSessionAction = "
|
|
18422
|
+
type MediaSessionAction = "nexttrack" | "pause" | "play" | "previoustrack" | "seekbackward" | "seekforward" | "seekto" | "skipad" | "stop";
|
|
17715
18423
|
type MediaSessionPlaybackState = "none" | "paused" | "playing";
|
|
17716
18424
|
type MediaStreamTrackState = "ended" | "live";
|
|
17717
|
-
type
|
|
18425
|
+
type NavigationTimingType = "back_forward" | "navigate" | "prerender" | "reload";
|
|
17718
18426
|
type NotificationDirection = "auto" | "ltr" | "rtl";
|
|
17719
18427
|
type NotificationPermission = "default" | "denied" | "granted";
|
|
18428
|
+
type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
|
|
17720
18429
|
type OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary";
|
|
17721
18430
|
type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary";
|
|
17722
18431
|
type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
|
|
@@ -17732,15 +18441,15 @@ type PremultiplyAlpha = "default" | "none" | "premultiply";
|
|
|
17732
18441
|
type PresentationStyle = "attachment" | "inline" | "unspecified";
|
|
17733
18442
|
type PublicKeyCredentialType = "public-key";
|
|
17734
18443
|
type PushEncryptionKeyName = "auth" | "p256dh";
|
|
17735
|
-
type PushPermissionState = "denied" | "granted" | "prompt";
|
|
17736
18444
|
type RTCBundlePolicy = "balanced" | "max-bundle" | "max-compat";
|
|
17737
18445
|
type RTCDataChannelState = "closed" | "closing" | "connecting" | "open";
|
|
17738
18446
|
type RTCDegradationPreference = "balanced" | "maintain-framerate" | "maintain-resolution";
|
|
17739
18447
|
type RTCDtlsTransportState = "closed" | "connected" | "connecting" | "failed" | "new";
|
|
18448
|
+
type RTCEncodedVideoFrameType = "delta" | "empty" | "key";
|
|
18449
|
+
type RTCErrorDetailType = "data-channel-failure" | "dtls-failure" | "fingerprint-failure" | "hardware-encoder-error" | "hardware-encoder-not-available" | "sctp-failure" | "sdp-syntax-error";
|
|
17740
18450
|
type RTCIceCandidateType = "host" | "prflx" | "relay" | "srflx";
|
|
17741
18451
|
type RTCIceComponent = "rtcp" | "rtp";
|
|
17742
18452
|
type RTCIceConnectionState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new";
|
|
17743
|
-
type RTCIceCredentialType = "password";
|
|
17744
18453
|
type RTCIceGathererState = "complete" | "gathering" | "new";
|
|
17745
18454
|
type RTCIceGatheringState = "complete" | "gathering" | "new";
|
|
17746
18455
|
type RTCIceProtocol = "tcp" | "udp";
|
|
@@ -17751,10 +18460,13 @@ type RTCPeerConnectionState = "closed" | "connected" | "connecting" | "disconnec
|
|
|
17751
18460
|
type RTCPriorityType = "high" | "low" | "medium" | "very-low";
|
|
17752
18461
|
type RTCRtcpMuxPolicy = "require";
|
|
17753
18462
|
type RTCRtpTransceiverDirection = "inactive" | "recvonly" | "sendonly" | "sendrecv" | "stopped";
|
|
18463
|
+
type RTCSctpTransportState = "closed" | "connected" | "connecting";
|
|
17754
18464
|
type RTCSdpType = "answer" | "offer" | "pranswer" | "rollback";
|
|
17755
18465
|
type RTCSignalingState = "closed" | "have-local-offer" | "have-local-pranswer" | "have-remote-offer" | "have-remote-pranswer" | "stable";
|
|
17756
18466
|
type RTCStatsIceCandidatePairState = "failed" | "frozen" | "in-progress" | "inprogress" | "succeeded" | "waiting";
|
|
17757
|
-
type RTCStatsType = "candidate-pair" | "certificate" | "codec" | "
|
|
18467
|
+
type RTCStatsType = "candidate-pair" | "certificate" | "codec" | "data-channel" | "inbound-rtp" | "local-candidate" | "media-source" | "outbound-rtp" | "peer-connection" | "remote-candidate" | "remote-inbound-rtp" | "remote-outbound-rtp" | "track" | "transport";
|
|
18468
|
+
type ReadableStreamReaderMode = "byob";
|
|
18469
|
+
type ReadableStreamType = "bytes";
|
|
17758
18470
|
type ReadyState = "closed" | "ended" | "open";
|
|
17759
18471
|
type RecordingState = "inactive" | "paused" | "recording";
|
|
17760
18472
|
type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
|
|
@@ -17784,8 +18496,10 @@ type TextTrackMode = "disabled" | "hidden" | "showing";
|
|
|
17784
18496
|
type TouchType = "direct" | "stylus";
|
|
17785
18497
|
type TransferFunction = "hlg" | "pq" | "srgb";
|
|
17786
18498
|
type UserVerificationRequirement = "discouraged" | "preferred" | "required";
|
|
18499
|
+
type VideoColorPrimaries = "bt470bg" | "bt709" | "smpte170m";
|
|
17787
18500
|
type VideoFacingModeEnum = "environment" | "left" | "right" | "user";
|
|
17788
|
-
type
|
|
18501
|
+
type VideoMatrixCoefficients = "bt470bg" | "bt709" | "rgb" | "smpte170m";
|
|
18502
|
+
type VideoTransferCharacteristics = "bt709" | "iec61966-2-1" | "smpte170m";
|
|
17789
18503
|
type WebGLPowerPreference = "default" | "high-performance" | "low-power";
|
|
17790
18504
|
type WorkerType = "classic" | "module";
|
|
17791
18505
|
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
|