@stencil/core 3.0.0-alpha.1 → 3.0.0-beta.0
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 +16 -16
- package/cli/index.cjs +5 -4
- package/cli/index.js +5 -4
- package/cli/package.json +1 -1
- package/compiler/lib.dom.d.ts +308 -70
- package/compiler/lib.dom.iterable.d.ts +6 -2
- package/compiler/lib.es2015.promise.d.ts +9 -4
- package/compiler/lib.es2015.proxy.d.ts +1 -1
- package/compiler/lib.es2015.reflect.d.ts +25 -2
- package/compiler/lib.es2015.symbol.wellknown.d.ts +3 -3
- package/compiler/lib.es2019.d.ts +1 -0
- package/compiler/lib.es2019.intl.d.ts +25 -0
- package/compiler/lib.es2020.intl.d.ts +1 -1
- package/compiler/lib.es5.d.ts +26 -13
- package/compiler/lib.webworker.d.ts +266 -30
- package/compiler/lib.webworker.iterable.d.ts +10 -2
- package/compiler/package.json +1 -1
- package/compiler/stencil.d.ts +1 -23
- package/compiler/stencil.js +1413 -323
- package/compiler/stencil.min.js +2 -2
- package/compiler/sys/in-memory-fs.d.ts +3 -3
- package/compiler/transpile.d.ts +32 -0
- package/dependencies.json +2 -1
- package/dev-server/client/app-error.d.ts +1 -1
- package/dev-server/client/index.js +1 -1
- package/dev-server/client/package.json +1 -1
- package/dev-server/connector.html +2 -2
- package/dev-server/index.js +1 -1
- package/dev-server/open-in-editor-api.js +1 -1
- package/dev-server/package.json +1 -1
- package/dev-server/server-process.js +2 -2
- package/internal/app-data/index.cjs +4 -0
- package/internal/app-data/index.js +4 -0
- 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 +20 -3
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +15 -2
- package/internal/client/patch-esm.js +3 -1
- package/internal/client/polyfills/css-shim.js +1 -1
- package/internal/client/shadow-css.js +1 -1
- package/internal/hydrate/index.js +2 -2
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.js +4 -4
- package/internal/package.json +1 -1
- package/internal/stencil-private.d.ts +37 -37
- package/internal/stencil-public-compiler.d.ts +43 -35
- package/internal/stencil-public-runtime.d.ts +3 -3
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +1 -1
- package/mock-doc/index.d.ts +2 -2
- package/mock-doc/index.js +1 -1
- package/mock-doc/package.json +1 -1
- package/package.json +8 -8
- package/screenshot/package.json +1 -1
- package/sys/node/autoprefixer.js +1 -1
- package/sys/node/glob.js +1 -1
- package/sys/node/index.js +29 -42
- package/sys/node/package.json +1 -1
- package/sys/node/prompts.js +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +19 -13
- package/testing/jest/jest-preprocessor.d.ts +3 -3
- package/testing/package.json +1 -1
- package/testing/puppeteer/puppeteer-declarations.d.ts +4 -4
- package/testing/testing-utils.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 {
|
|
@@ -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
|
}
|
|
@@ -806,10 +805,6 @@ interface MediaQueryListEventInit extends EventInit {
|
|
|
806
805
|
media?: string;
|
|
807
806
|
}
|
|
808
807
|
|
|
809
|
-
interface MediaRecorderErrorEventInit extends EventInit {
|
|
810
|
-
error: DOMException;
|
|
811
|
-
}
|
|
812
|
-
|
|
813
808
|
interface MediaRecorderOptions {
|
|
814
809
|
audioBitsPerSecond?: number;
|
|
815
810
|
bitsPerSecond?: number;
|
|
@@ -819,9 +814,9 @@ interface MediaRecorderOptions {
|
|
|
819
814
|
|
|
820
815
|
interface MediaSessionActionDetails {
|
|
821
816
|
action: MediaSessionAction;
|
|
822
|
-
fastSeek?: boolean
|
|
823
|
-
seekOffset?: number
|
|
824
|
-
seekTime?: number
|
|
817
|
+
fastSeek?: boolean;
|
|
818
|
+
seekOffset?: number;
|
|
819
|
+
seekTime?: number;
|
|
825
820
|
}
|
|
826
821
|
|
|
827
822
|
interface MediaStreamAudioSourceOptions {
|
|
@@ -1121,6 +1116,10 @@ interface PermissionDescriptor {
|
|
|
1121
1116
|
name: PermissionName;
|
|
1122
1117
|
}
|
|
1123
1118
|
|
|
1119
|
+
interface PictureInPictureEventInit extends EventInit {
|
|
1120
|
+
pictureInPictureWindow: PictureInPictureWindow;
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1124
1123
|
interface PointerEventInit extends MouseEventInit {
|
|
1125
1124
|
coalescedEvents?: PointerEvent[];
|
|
1126
1125
|
height?: number;
|
|
@@ -1314,6 +1313,8 @@ interface RTCIceCandidatePairStats extends RTCStats {
|
|
|
1314
1313
|
bytesReceived?: number;
|
|
1315
1314
|
bytesSent?: number;
|
|
1316
1315
|
currentRoundTripTime?: number;
|
|
1316
|
+
lastPacketReceivedTimestamp?: DOMHighResTimeStamp;
|
|
1317
|
+
lastPacketSentTimestamp?: DOMHighResTimeStamp;
|
|
1317
1318
|
localCandidateId: string;
|
|
1318
1319
|
nominated?: boolean;
|
|
1319
1320
|
remoteCandidateId: string;
|
|
@@ -1328,18 +1329,47 @@ interface RTCIceCandidatePairStats extends RTCStats {
|
|
|
1328
1329
|
|
|
1329
1330
|
interface RTCIceServer {
|
|
1330
1331
|
credential?: string;
|
|
1331
|
-
credentialType?: RTCIceCredentialType;
|
|
1332
1332
|
urls: string | string[];
|
|
1333
1333
|
username?: string;
|
|
1334
1334
|
}
|
|
1335
1335
|
|
|
1336
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;
|
|
1337
1345
|
firCount?: number;
|
|
1346
|
+
frameHeight?: number;
|
|
1347
|
+
frameWidth?: number;
|
|
1338
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;
|
|
1339
1359
|
nackCount?: number;
|
|
1360
|
+
packetsDiscarded?: number;
|
|
1340
1361
|
pliCount?: number;
|
|
1341
1362
|
qpSum?: number;
|
|
1342
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;
|
|
1343
1373
|
}
|
|
1344
1374
|
|
|
1345
1375
|
interface RTCLocalSessionDescriptionInit {
|
|
@@ -1358,11 +1388,27 @@ interface RTCOfferOptions extends RTCOfferAnswerOptions {
|
|
|
1358
1388
|
|
|
1359
1389
|
interface RTCOutboundRtpStreamStats extends RTCSentRtpStreamStats {
|
|
1360
1390
|
firCount?: number;
|
|
1391
|
+
frameHeight?: number;
|
|
1392
|
+
frameWidth?: number;
|
|
1361
1393
|
framesEncoded?: number;
|
|
1394
|
+
framesPerSecond?: number;
|
|
1395
|
+
framesSent?: number;
|
|
1396
|
+
headerBytesSent?: number;
|
|
1397
|
+
hugeFramesSent?: number;
|
|
1398
|
+
keyFramesEncoded?: number;
|
|
1399
|
+
mediaSourceId?: string;
|
|
1362
1400
|
nackCount?: number;
|
|
1363
1401
|
pliCount?: number;
|
|
1364
1402
|
qpSum?: number;
|
|
1403
|
+
qualityLimitationResolutionChanges?: number;
|
|
1365
1404
|
remoteId?: string;
|
|
1405
|
+
retransmittedBytesSent?: number;
|
|
1406
|
+
retransmittedPacketsSent?: number;
|
|
1407
|
+
rid?: string;
|
|
1408
|
+
targetBitrate?: number;
|
|
1409
|
+
totalEncodeTime?: number;
|
|
1410
|
+
totalEncodedBytesTarget?: number;
|
|
1411
|
+
totalPacketSendDelay?: number;
|
|
1366
1412
|
}
|
|
1367
1413
|
|
|
1368
1414
|
interface RTCPeerConnectionIceErrorEventInit extends EventInit {
|
|
@@ -1380,7 +1426,6 @@ interface RTCPeerConnectionIceEventInit extends EventInit {
|
|
|
1380
1426
|
|
|
1381
1427
|
interface RTCReceivedRtpStreamStats extends RTCRtpStreamStats {
|
|
1382
1428
|
jitter?: number;
|
|
1383
|
-
packetsDiscarded?: number;
|
|
1384
1429
|
packetsLost?: number;
|
|
1385
1430
|
packetsReceived?: number;
|
|
1386
1431
|
}
|
|
@@ -1424,6 +1469,8 @@ interface RTCRtpContributingSource {
|
|
|
1424
1469
|
interface RTCRtpEncodingParameters extends RTCRtpCodingParameters {
|
|
1425
1470
|
active?: boolean;
|
|
1426
1471
|
maxBitrate?: number;
|
|
1472
|
+
maxFramerate?: number;
|
|
1473
|
+
networkPriority?: RTCPriorityType;
|
|
1427
1474
|
priority?: RTCPriorityType;
|
|
1428
1475
|
scaleResolutionDownBy?: number;
|
|
1429
1476
|
}
|
|
@@ -1499,15 +1546,23 @@ interface RTCTransportStats extends RTCStats {
|
|
|
1499
1546
|
dtlsState: RTCDtlsTransportState;
|
|
1500
1547
|
localCertificateId?: string;
|
|
1501
1548
|
remoteCertificateId?: string;
|
|
1502
|
-
rtcpTransportStatsId?: string;
|
|
1503
1549
|
selectedCandidatePairId?: string;
|
|
1504
1550
|
srtpCipher?: string;
|
|
1505
1551
|
tlsVersion?: string;
|
|
1506
1552
|
}
|
|
1507
1553
|
|
|
1508
|
-
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> {
|
|
1509
1564
|
done: true;
|
|
1510
|
-
value?:
|
|
1565
|
+
value?: T;
|
|
1511
1566
|
}
|
|
1512
1567
|
|
|
1513
1568
|
interface ReadableStreamReadValueResult<T> {
|
|
@@ -1791,6 +1846,21 @@ interface ULongRange {
|
|
|
1791
1846
|
min?: number;
|
|
1792
1847
|
}
|
|
1793
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
|
+
|
|
1794
1864
|
interface UnderlyingSink<W = any> {
|
|
1795
1865
|
abort?: UnderlyingSinkAbortCallback;
|
|
1796
1866
|
close?: UnderlyingSinkCloseCallback;
|
|
@@ -1800,10 +1870,11 @@ interface UnderlyingSink<W = any> {
|
|
|
1800
1870
|
}
|
|
1801
1871
|
|
|
1802
1872
|
interface UnderlyingSource<R = any> {
|
|
1873
|
+
autoAllocateChunkSize?: number;
|
|
1803
1874
|
cancel?: UnderlyingSourceCancelCallback;
|
|
1804
1875
|
pull?: UnderlyingSourcePullCallback<R>;
|
|
1805
1876
|
start?: UnderlyingSourceStartCallback<R>;
|
|
1806
|
-
type?:
|
|
1877
|
+
type?: ReadableStreamType;
|
|
1807
1878
|
}
|
|
1808
1879
|
|
|
1809
1880
|
interface ValidityStateFlags {
|
|
@@ -1820,10 +1891,10 @@ interface ValidityStateFlags {
|
|
|
1820
1891
|
}
|
|
1821
1892
|
|
|
1822
1893
|
interface VideoColorSpaceInit {
|
|
1823
|
-
fullRange?: boolean;
|
|
1824
|
-
matrix?: VideoMatrixCoefficients;
|
|
1825
|
-
primaries?: VideoColorPrimaries;
|
|
1826
|
-
transfer?: VideoTransferCharacteristics;
|
|
1894
|
+
fullRange?: boolean | null;
|
|
1895
|
+
matrix?: VideoMatrixCoefficients | null;
|
|
1896
|
+
primaries?: VideoColorPrimaries | null;
|
|
1897
|
+
transfer?: VideoTransferCharacteristics | null;
|
|
1827
1898
|
}
|
|
1828
1899
|
|
|
1829
1900
|
interface VideoConfiguration {
|
|
@@ -1838,7 +1909,7 @@ interface VideoConfiguration {
|
|
|
1838
1909
|
width: number;
|
|
1839
1910
|
}
|
|
1840
1911
|
|
|
1841
|
-
interface
|
|
1912
|
+
interface VideoFrameCallbackMetadata {
|
|
1842
1913
|
captureTime?: DOMHighResTimeStamp;
|
|
1843
1914
|
expectedDisplayTime: DOMHighResTimeStamp;
|
|
1844
1915
|
height: number;
|
|
@@ -1931,12 +2002,14 @@ interface ARIAMixin {
|
|
|
1931
2002
|
ariaChecked: string | null;
|
|
1932
2003
|
ariaColCount: string | null;
|
|
1933
2004
|
ariaColIndex: string | null;
|
|
2005
|
+
ariaColIndexText: string | null;
|
|
1934
2006
|
ariaColSpan: string | null;
|
|
1935
2007
|
ariaCurrent: string | null;
|
|
1936
2008
|
ariaDisabled: string | null;
|
|
1937
2009
|
ariaExpanded: string | null;
|
|
1938
2010
|
ariaHasPopup: string | null;
|
|
1939
2011
|
ariaHidden: string | null;
|
|
2012
|
+
ariaInvalid: string | null;
|
|
1940
2013
|
ariaKeyShortcuts: string | null;
|
|
1941
2014
|
ariaLabel: string | null;
|
|
1942
2015
|
ariaLevel: string | null;
|
|
@@ -1953,6 +2026,7 @@ interface ARIAMixin {
|
|
|
1953
2026
|
ariaRoleDescription: string | null;
|
|
1954
2027
|
ariaRowCount: string | null;
|
|
1955
2028
|
ariaRowIndex: string | null;
|
|
2029
|
+
ariaRowIndexText: string | null;
|
|
1956
2030
|
ariaRowSpan: string | null;
|
|
1957
2031
|
ariaSelected: string | null;
|
|
1958
2032
|
ariaSetSize: string | null;
|
|
@@ -1961,6 +2035,7 @@ interface ARIAMixin {
|
|
|
1961
2035
|
ariaValueMin: string | null;
|
|
1962
2036
|
ariaValueNow: string | null;
|
|
1963
2037
|
ariaValueText: string | null;
|
|
2038
|
+
role: string | null;
|
|
1964
2039
|
}
|
|
1965
2040
|
|
|
1966
2041
|
/** A controller object that allows you to abort one or more DOM requests as and when desired. */
|
|
@@ -1996,7 +2071,8 @@ interface AbortSignal extends EventTarget {
|
|
|
1996
2071
|
declare var AbortSignal: {
|
|
1997
2072
|
prototype: AbortSignal;
|
|
1998
2073
|
new(): AbortSignal;
|
|
1999
|
-
|
|
2074
|
+
abort(reason?: any): AbortSignal;
|
|
2075
|
+
timeout(milliseconds: number): AbortSignal;
|
|
2000
2076
|
};
|
|
2001
2077
|
|
|
2002
2078
|
interface AbstractRange {
|
|
@@ -2131,7 +2207,7 @@ declare var AnimationPlaybackEvent: {
|
|
|
2131
2207
|
};
|
|
2132
2208
|
|
|
2133
2209
|
interface AnimationTimeline {
|
|
2134
|
-
readonly currentTime:
|
|
2210
|
+
readonly currentTime: CSSNumberish | null;
|
|
2135
2211
|
}
|
|
2136
2212
|
|
|
2137
2213
|
declare var AnimationTimeline: {
|
|
@@ -2147,6 +2223,7 @@ interface Attr extends Node {
|
|
|
2147
2223
|
readonly ownerDocument: Document;
|
|
2148
2224
|
readonly ownerElement: Element | null;
|
|
2149
2225
|
readonly prefix: string | null;
|
|
2226
|
+
/** @deprecated */
|
|
2150
2227
|
readonly specified: boolean;
|
|
2151
2228
|
value: string;
|
|
2152
2229
|
}
|
|
@@ -2382,6 +2459,10 @@ declare var AuthenticatorAssertionResponse: {
|
|
|
2382
2459
|
/** Available only in secure contexts. */
|
|
2383
2460
|
interface AuthenticatorAttestationResponse extends AuthenticatorResponse {
|
|
2384
2461
|
readonly attestationObject: ArrayBuffer;
|
|
2462
|
+
getAuthenticatorData(): ArrayBuffer;
|
|
2463
|
+
getPublicKey(): ArrayBuffer | null;
|
|
2464
|
+
getPublicKeyAlgorithm(): COSEAlgorithmIdentifier;
|
|
2465
|
+
getTransports(): string[];
|
|
2385
2466
|
}
|
|
2386
2467
|
|
|
2387
2468
|
declare var AuthenticatorAttestationResponse: {
|
|
@@ -2580,6 +2661,14 @@ declare var CSSConditionRule: {
|
|
|
2580
2661
|
new(): CSSConditionRule;
|
|
2581
2662
|
};
|
|
2582
2663
|
|
|
2664
|
+
interface CSSContainerRule extends CSSConditionRule {
|
|
2665
|
+
}
|
|
2666
|
+
|
|
2667
|
+
declare var CSSContainerRule: {
|
|
2668
|
+
prototype: CSSContainerRule;
|
|
2669
|
+
new(): CSSContainerRule;
|
|
2670
|
+
};
|
|
2671
|
+
|
|
2583
2672
|
interface CSSCounterStyleRule extends CSSRule {
|
|
2584
2673
|
additiveSymbols: string;
|
|
2585
2674
|
fallback: string;
|
|
@@ -2608,6 +2697,18 @@ declare var CSSFontFaceRule: {
|
|
|
2608
2697
|
new(): CSSFontFaceRule;
|
|
2609
2698
|
};
|
|
2610
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
|
+
|
|
2611
2712
|
/** Any CSS at-rule that contains other rules nested within it. */
|
|
2612
2713
|
interface CSSGroupingRule extends CSSRule {
|
|
2613
2714
|
readonly cssRules: CSSRuleList;
|
|
@@ -2622,6 +2723,7 @@ declare var CSSGroupingRule: {
|
|
|
2622
2723
|
|
|
2623
2724
|
interface CSSImportRule extends CSSRule {
|
|
2624
2725
|
readonly href: string;
|
|
2726
|
+
readonly layerName: string | null;
|
|
2625
2727
|
readonly media: MediaList;
|
|
2626
2728
|
readonly styleSheet: CSSStyleSheet;
|
|
2627
2729
|
}
|
|
@@ -2656,6 +2758,24 @@ declare var CSSKeyframesRule: {
|
|
|
2656
2758
|
new(): CSSKeyframesRule;
|
|
2657
2759
|
};
|
|
2658
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
|
+
|
|
2659
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). */
|
|
2660
2780
|
interface CSSMediaRule extends CSSConditionRule {
|
|
2661
2781
|
readonly media: MediaList;
|
|
@@ -2753,6 +2873,7 @@ interface CSSStyleDeclaration {
|
|
|
2753
2873
|
animationTimingFunction: string;
|
|
2754
2874
|
appearance: string;
|
|
2755
2875
|
aspectRatio: string;
|
|
2876
|
+
backdropFilter: string;
|
|
2756
2877
|
backfaceVisibility: string;
|
|
2757
2878
|
background: string;
|
|
2758
2879
|
backgroundAttachment: string;
|
|
@@ -2857,6 +2978,9 @@ interface CSSStyleDeclaration {
|
|
|
2857
2978
|
columnWidth: string;
|
|
2858
2979
|
columns: string;
|
|
2859
2980
|
contain: string;
|
|
2981
|
+
container: string;
|
|
2982
|
+
containerName: string;
|
|
2983
|
+
containerType: string;
|
|
2860
2984
|
content: string;
|
|
2861
2985
|
counterIncrement: string;
|
|
2862
2986
|
counterReset: string;
|
|
@@ -2887,6 +3011,7 @@ interface CSSStyleDeclaration {
|
|
|
2887
3011
|
fontFeatureSettings: string;
|
|
2888
3012
|
fontKerning: string;
|
|
2889
3013
|
fontOpticalSizing: string;
|
|
3014
|
+
fontPalette: string;
|
|
2890
3015
|
fontSize: string;
|
|
2891
3016
|
fontSizeAdjust: string;
|
|
2892
3017
|
fontStretch: string;
|
|
@@ -2924,6 +3049,7 @@ interface CSSStyleDeclaration {
|
|
|
2924
3049
|
gridTemplateColumns: string;
|
|
2925
3050
|
gridTemplateRows: string;
|
|
2926
3051
|
height: string;
|
|
3052
|
+
hyphenateCharacter: string;
|
|
2927
3053
|
hyphens: string;
|
|
2928
3054
|
/** @deprecated */
|
|
2929
3055
|
imageOrientation: string;
|
|
@@ -3000,6 +3126,7 @@ interface CSSStyleDeclaration {
|
|
|
3000
3126
|
outlineWidth: string;
|
|
3001
3127
|
overflow: string;
|
|
3002
3128
|
overflowAnchor: string;
|
|
3129
|
+
overflowClipMargin: string;
|
|
3003
3130
|
overflowWrap: string;
|
|
3004
3131
|
overflowX: string;
|
|
3005
3132
|
overflowY: string;
|
|
@@ -3457,6 +3584,7 @@ interface CanvasPath {
|
|
|
3457
3584
|
moveTo(x: number, y: number): void;
|
|
3458
3585
|
quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;
|
|
3459
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;
|
|
3460
3588
|
}
|
|
3461
3589
|
|
|
3462
3590
|
interface CanvasPathDrawingStyles {
|
|
@@ -3518,6 +3646,7 @@ interface CanvasText {
|
|
|
3518
3646
|
interface CanvasTextDrawingStyles {
|
|
3519
3647
|
direction: CanvasDirection;
|
|
3520
3648
|
font: string;
|
|
3649
|
+
fontKerning: CanvasFontKerning;
|
|
3521
3650
|
textAlign: CanvasTextAlign;
|
|
3522
3651
|
textBaseline: CanvasTextBaseline;
|
|
3523
3652
|
}
|
|
@@ -4379,7 +4508,10 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4379
4508
|
readonly documentElement: HTMLElement;
|
|
4380
4509
|
/** Returns document's URL. */
|
|
4381
4510
|
readonly documentURI: string;
|
|
4382
|
-
/**
|
|
4511
|
+
/**
|
|
4512
|
+
* Sets or gets the security domain of the document.
|
|
4513
|
+
* @deprecated
|
|
4514
|
+
*/
|
|
4383
4515
|
domain: string;
|
|
4384
4516
|
/** Retrieves a collection of all embed objects in the document. */
|
|
4385
4517
|
readonly embeds: HTMLCollectionOf<HTMLEmbedElement>;
|
|
@@ -4533,7 +4665,6 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4533
4665
|
createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;
|
|
4534
4666
|
createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;
|
|
4535
4667
|
createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent;
|
|
4536
|
-
createEvent(eventInterface: "MediaRecorderErrorEvent"): MediaRecorderErrorEvent;
|
|
4537
4668
|
createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent;
|
|
4538
4669
|
createEvent(eventInterface: "MessageEvent"): MessageEvent;
|
|
4539
4670
|
createEvent(eventInterface: "MouseEvent"): MouseEvent;
|
|
@@ -4544,6 +4675,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4544
4675
|
createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent;
|
|
4545
4676
|
createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent;
|
|
4546
4677
|
createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent;
|
|
4678
|
+
createEvent(eventInterface: "PictureInPictureEvent"): PictureInPictureEvent;
|
|
4547
4679
|
createEvent(eventInterface: "PointerEvent"): PointerEvent;
|
|
4548
4680
|
createEvent(eventInterface: "PopStateEvent"): PopStateEvent;
|
|
4549
4681
|
createEvent(eventInterface: "ProgressEvent"): ProgressEvent;
|
|
@@ -4662,6 +4794,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4662
4794
|
/**
|
|
4663
4795
|
* Returns a Boolean value that indicates whether the specified command is in the indeterminate state.
|
|
4664
4796
|
* @param commandId String that specifies a command identifier.
|
|
4797
|
+
* @deprecated
|
|
4665
4798
|
*/
|
|
4666
4799
|
queryCommandIndeterm(commandId: string): boolean;
|
|
4667
4800
|
/**
|
|
@@ -4679,6 +4812,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4679
4812
|
/**
|
|
4680
4813
|
* Returns the current value of the document, range, or current selection for the given command.
|
|
4681
4814
|
* @param commandId String that specifies a command identifier.
|
|
4815
|
+
* @deprecated
|
|
4682
4816
|
*/
|
|
4683
4817
|
queryCommandValue(commandId: string): string;
|
|
4684
4818
|
/** @deprecated */
|
|
@@ -4837,6 +4971,13 @@ interface EXT_sRGB {
|
|
|
4837
4971
|
interface EXT_shader_texture_lod {
|
|
4838
4972
|
}
|
|
4839
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
|
+
|
|
4840
4981
|
interface EXT_texture_compression_rgtc {
|
|
4841
4982
|
readonly COMPRESSED_RED_GREEN_RGTC2_EXT: GLenum;
|
|
4842
4983
|
readonly COMPRESSED_RED_RGTC1_EXT: GLenum;
|
|
@@ -4850,6 +4991,17 @@ interface EXT_texture_filter_anisotropic {
|
|
|
4850
4991
|
readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum;
|
|
4851
4992
|
}
|
|
4852
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
|
+
|
|
4853
5005
|
interface ElementEventMap {
|
|
4854
5006
|
"fullscreenchange": Event;
|
|
4855
5007
|
"fullscreenerror": Event;
|
|
@@ -5032,6 +5184,7 @@ declare var ErrorEvent: {
|
|
|
5032
5184
|
interface Event {
|
|
5033
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. */
|
|
5034
5186
|
readonly bubbles: boolean;
|
|
5187
|
+
/** @deprecated */
|
|
5035
5188
|
cancelBubble: boolean;
|
|
5036
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. */
|
|
5037
5190
|
readonly cancelable: boolean;
|
|
@@ -5568,6 +5721,7 @@ interface GlobalEventHandlersEventMap {
|
|
|
5568
5721
|
"auxclick": MouseEvent;
|
|
5569
5722
|
"beforeinput": InputEvent;
|
|
5570
5723
|
"blur": FocusEvent;
|
|
5724
|
+
"cancel": Event;
|
|
5571
5725
|
"canplay": Event;
|
|
5572
5726
|
"canplaythrough": Event;
|
|
5573
5727
|
"change": Event;
|
|
@@ -5668,11 +5822,13 @@ interface GlobalEventHandlers {
|
|
|
5668
5822
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
5669
5823
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
5670
5824
|
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
5825
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
5671
5826
|
/**
|
|
5672
5827
|
* Fires when the object loses the input focus.
|
|
5673
5828
|
* @param ev The focus event.
|
|
5674
5829
|
*/
|
|
5675
5830
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
5831
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5676
5832
|
/**
|
|
5677
5833
|
* Occurs when playback is possible, but would require further buffering.
|
|
5678
5834
|
* @param ev The event.
|
|
@@ -6186,6 +6342,7 @@ interface HTMLCanvasElement extends HTMLElement {
|
|
|
6186
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.
|
|
6187
6343
|
*/
|
|
6188
6344
|
toDataURL(type?: string, quality?: any): string;
|
|
6345
|
+
transferControlToOffscreen(): OffscreenCanvas;
|
|
6189
6346
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
6190
6347
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
6191
6348
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -8769,13 +8926,13 @@ declare var IDBObjectStore: {
|
|
|
8769
8926
|
};
|
|
8770
8927
|
|
|
8771
8928
|
interface IDBOpenDBRequestEventMap extends IDBRequestEventMap {
|
|
8772
|
-
"blocked":
|
|
8929
|
+
"blocked": IDBVersionChangeEvent;
|
|
8773
8930
|
"upgradeneeded": IDBVersionChangeEvent;
|
|
8774
8931
|
}
|
|
8775
8932
|
|
|
8776
8933
|
/** Also inherits methods from its parents IDBRequest and EventTarget. */
|
|
8777
8934
|
interface IDBOpenDBRequest extends IDBRequest<IDBDatabase> {
|
|
8778
|
-
onblocked: ((this: IDBOpenDBRequest, ev:
|
|
8935
|
+
onblocked: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;
|
|
8779
8936
|
onupgradeneeded: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;
|
|
8780
8937
|
addEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
8781
8938
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -8900,7 +9057,7 @@ declare var ImageBitmap: {
|
|
|
8900
9057
|
|
|
8901
9058
|
interface ImageBitmapRenderingContext {
|
|
8902
9059
|
/** Returns the canvas element that the context is bound to. */
|
|
8903
|
-
readonly canvas: HTMLCanvasElement;
|
|
9060
|
+
readonly canvas: HTMLCanvasElement | OffscreenCanvas;
|
|
8904
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. */
|
|
8905
9062
|
transferFromImageBitmap(bitmap: ImageBitmap | null): void;
|
|
8906
9063
|
}
|
|
@@ -8931,6 +9088,7 @@ interface InnerHTML {
|
|
|
8931
9088
|
innerHTML: string;
|
|
8932
9089
|
}
|
|
8933
9090
|
|
|
9091
|
+
/** Available only in secure contexts. */
|
|
8934
9092
|
interface InputDeviceInfo extends MediaDeviceInfo {
|
|
8935
9093
|
}
|
|
8936
9094
|
|
|
@@ -9184,7 +9342,7 @@ interface MediaDevicesEventMap {
|
|
|
9184
9342
|
interface MediaDevices extends EventTarget {
|
|
9185
9343
|
ondevicechange: ((this: MediaDevices, ev: Event) => any) | null;
|
|
9186
9344
|
enumerateDevices(): Promise<MediaDeviceInfo[]>;
|
|
9187
|
-
getDisplayMedia(
|
|
9345
|
+
getDisplayMedia(options?: DisplayMediaStreamOptions): Promise<MediaStream>;
|
|
9188
9346
|
getSupportedConstraints(): MediaTrackSupportedConstraints;
|
|
9189
9347
|
getUserMedia(constraints?: MediaStreamConstraints): Promise<MediaStream>;
|
|
9190
9348
|
addEventListener<K extends keyof MediaDevicesEventMap>(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -9391,7 +9549,7 @@ declare var MediaQueryListEvent: {
|
|
|
9391
9549
|
|
|
9392
9550
|
interface MediaRecorderEventMap {
|
|
9393
9551
|
"dataavailable": BlobEvent;
|
|
9394
|
-
"error":
|
|
9552
|
+
"error": Event;
|
|
9395
9553
|
"pause": Event;
|
|
9396
9554
|
"resume": Event;
|
|
9397
9555
|
"start": Event;
|
|
@@ -9402,7 +9560,7 @@ interface MediaRecorder extends EventTarget {
|
|
|
9402
9560
|
readonly audioBitsPerSecond: number;
|
|
9403
9561
|
readonly mimeType: string;
|
|
9404
9562
|
ondataavailable: ((this: MediaRecorder, ev: BlobEvent) => any) | null;
|
|
9405
|
-
onerror: ((this: MediaRecorder, ev:
|
|
9563
|
+
onerror: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
9406
9564
|
onpause: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
9407
9565
|
onresume: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
9408
9566
|
onstart: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
@@ -9427,15 +9585,6 @@ declare var MediaRecorder: {
|
|
|
9427
9585
|
isTypeSupported(type: string): boolean;
|
|
9428
9586
|
};
|
|
9429
9587
|
|
|
9430
|
-
interface MediaRecorderErrorEvent extends Event {
|
|
9431
|
-
readonly error: DOMException;
|
|
9432
|
-
}
|
|
9433
|
-
|
|
9434
|
-
declare var MediaRecorderErrorEvent: {
|
|
9435
|
-
prototype: MediaRecorderErrorEvent;
|
|
9436
|
-
new(type: string, eventInitDict: MediaRecorderErrorEventInit): MediaRecorderErrorEvent;
|
|
9437
|
-
};
|
|
9438
|
-
|
|
9439
9588
|
interface MediaSession {
|
|
9440
9589
|
metadata: MediaMetadata | null;
|
|
9441
9590
|
playbackState: MediaSessionPlaybackState;
|
|
@@ -9888,12 +10037,14 @@ interface NavigatorID {
|
|
|
9888
10037
|
readonly appName: string;
|
|
9889
10038
|
/** @deprecated */
|
|
9890
10039
|
readonly appVersion: string;
|
|
10040
|
+
/** @deprecated */
|
|
9891
10041
|
readonly platform: string;
|
|
9892
10042
|
/** @deprecated */
|
|
9893
10043
|
readonly product: string;
|
|
9894
10044
|
/** @deprecated */
|
|
9895
10045
|
readonly productSub: string;
|
|
9896
10046
|
readonly userAgent: string;
|
|
10047
|
+
/** @deprecated */
|
|
9897
10048
|
readonly vendor: string;
|
|
9898
10049
|
/** @deprecated */
|
|
9899
10050
|
readonly vendorSub: string;
|
|
@@ -10142,6 +10293,16 @@ declare var Notification: {
|
|
|
10142
10293
|
requestPermission(deprecatedCallback?: NotificationPermissionCallback): Promise<NotificationPermission>;
|
|
10143
10294
|
};
|
|
10144
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
|
+
|
|
10145
10306
|
/** The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). */
|
|
10146
10307
|
interface OES_element_index_uint {
|
|
10147
10308
|
}
|
|
@@ -10220,6 +10381,57 @@ declare var OfflineAudioContext: {
|
|
|
10220
10381
|
new(numberOfChannels: number, length: number, sampleRate: number): OfflineAudioContext;
|
|
10221
10382
|
};
|
|
10222
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
|
+
|
|
10223
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. */
|
|
10224
10436
|
interface OscillatorNode extends AudioScheduledSourceNode {
|
|
10225
10437
|
readonly detune: AudioParam;
|
|
@@ -10680,6 +10892,7 @@ interface PermissionStatusEventMap {
|
|
|
10680
10892
|
}
|
|
10681
10893
|
|
|
10682
10894
|
interface PermissionStatus extends EventTarget {
|
|
10895
|
+
readonly name: string;
|
|
10683
10896
|
onchange: ((this: PermissionStatus, ev: Event) => any) | null;
|
|
10684
10897
|
readonly state: PermissionState;
|
|
10685
10898
|
addEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -10702,6 +10915,15 @@ declare var Permissions: {
|
|
|
10702
10915
|
new(): Permissions;
|
|
10703
10916
|
};
|
|
10704
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
|
+
|
|
10705
10927
|
interface PictureInPictureWindowEventMap {
|
|
10706
10928
|
"resize": Event;
|
|
10707
10929
|
}
|
|
@@ -10853,6 +11075,7 @@ declare var PromiseRejectionEvent: {
|
|
|
10853
11075
|
|
|
10854
11076
|
/** Available only in secure contexts. */
|
|
10855
11077
|
interface PublicKeyCredential extends Credential {
|
|
11078
|
+
readonly authenticatorAttachment: string | null;
|
|
10856
11079
|
readonly rawId: ArrayBuffer;
|
|
10857
11080
|
readonly response: AuthenticatorResponse;
|
|
10858
11081
|
getClientExtensionResults(): AuthenticationExtensionsClientOutputs;
|
|
@@ -10901,6 +11124,7 @@ declare var PushSubscription: {
|
|
|
10901
11124
|
/** Available only in secure contexts. */
|
|
10902
11125
|
interface PushSubscriptionOptions {
|
|
10903
11126
|
readonly applicationServerKey: ArrayBuffer | null;
|
|
11127
|
+
readonly userVisibleOnly: boolean;
|
|
10904
11128
|
}
|
|
10905
11129
|
|
|
10906
11130
|
declare var PushSubscriptionOptions: {
|
|
@@ -11385,7 +11609,9 @@ declare var ReadableByteStreamController: {
|
|
|
11385
11609
|
interface ReadableStream<R = any> {
|
|
11386
11610
|
readonly locked: boolean;
|
|
11387
11611
|
cancel(reason?: any): Promise<void>;
|
|
11612
|
+
getReader(options: { mode: "byob" }): ReadableStreamBYOBReader;
|
|
11388
11613
|
getReader(): ReadableStreamDefaultReader<R>;
|
|
11614
|
+
getReader(options?: ReadableStreamGetReaderOptions): ReadableStreamReader<R>;
|
|
11389
11615
|
pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>;
|
|
11390
11616
|
pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
|
|
11391
11617
|
tee(): [ReadableStream<R>, ReadableStream<R>];
|
|
@@ -11393,11 +11619,13 @@ interface ReadableStream<R = any> {
|
|
|
11393
11619
|
|
|
11394
11620
|
declare var ReadableStream: {
|
|
11395
11621
|
prototype: ReadableStream;
|
|
11622
|
+
new(underlyingSource: UnderlyingByteSource, strategy?: { highWaterMark?: number }): ReadableStream<Uint8Array>;
|
|
11623
|
+
new<R = any>(underlyingSource: UnderlyingDefaultSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;
|
|
11396
11624
|
new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;
|
|
11397
11625
|
};
|
|
11398
11626
|
|
|
11399
11627
|
interface ReadableStreamBYOBReader extends ReadableStreamGenericReader {
|
|
11400
|
-
read(view:
|
|
11628
|
+
read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>;
|
|
11401
11629
|
releaseLock(): void;
|
|
11402
11630
|
}
|
|
11403
11631
|
|
|
@@ -13018,6 +13246,7 @@ interface SVGStyleElement extends SVGElement, LinkStyle {
|
|
|
13018
13246
|
disabled: boolean;
|
|
13019
13247
|
media: string;
|
|
13020
13248
|
title: string;
|
|
13249
|
+
/** @deprecated */
|
|
13021
13250
|
type: string;
|
|
13022
13251
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
13023
13252
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -13380,6 +13609,7 @@ interface Selection {
|
|
|
13380
13609
|
empty(): void;
|
|
13381
13610
|
extend(node: Node, offset?: number): void;
|
|
13382
13611
|
getRangeAt(index: number): Range;
|
|
13612
|
+
modify(alter?: string, direction?: string, granularity?: string): void;
|
|
13383
13613
|
removeAllRanges(): void;
|
|
13384
13614
|
removeRange(range: Range): void;
|
|
13385
13615
|
selectAllChildren(node: Node): void;
|
|
@@ -13778,6 +14008,7 @@ interface StorageEvent extends Event {
|
|
|
13778
14008
|
readonly storageArea: Storage | null;
|
|
13779
14009
|
/** Returns the URL of the document whose storage item changed. */
|
|
13780
14010
|
readonly url: string;
|
|
14011
|
+
/** @deprecated */
|
|
13781
14012
|
initStorageEvent(type: string, bubbles?: boolean, cancelable?: boolean, key?: string | null, oldValue?: string | null, newValue?: string | null, url?: string | URL, storageArea?: Storage | null): void;
|
|
13782
14013
|
}
|
|
13783
14014
|
|
|
@@ -14560,8 +14791,8 @@ interface WEBGL_lose_context {
|
|
|
14560
14791
|
interface WEBGL_multi_draw {
|
|
14561
14792
|
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
14562
14793
|
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, drawcount: GLsizei): void;
|
|
14563
|
-
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array |
|
|
14564
|
-
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array |
|
|
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;
|
|
14565
14796
|
}
|
|
14566
14797
|
|
|
14567
14798
|
/** A WaveShaperNode always has exactly one input and one output. */
|
|
@@ -15911,7 +16142,7 @@ declare var WebGLRenderingContext: {
|
|
|
15911
16142
|
};
|
|
15912
16143
|
|
|
15913
16144
|
interface WebGLRenderingContextBase {
|
|
15914
|
-
readonly canvas: HTMLCanvasElement;
|
|
16145
|
+
readonly canvas: HTMLCanvasElement | OffscreenCanvas;
|
|
15915
16146
|
readonly drawingBufferHeight: GLsizei;
|
|
15916
16147
|
readonly drawingBufferWidth: GLsizei;
|
|
15917
16148
|
activeTexture(texture: GLenum): void;
|
|
@@ -15971,35 +16202,39 @@ interface WebGLRenderingContextBase {
|
|
|
15971
16202
|
getBufferParameter(target: GLenum, pname: GLenum): any;
|
|
15972
16203
|
getContextAttributes(): WebGLContextAttributes | null;
|
|
15973
16204
|
getError(): GLenum;
|
|
16205
|
+
getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
|
|
15974
16206
|
getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;
|
|
15975
16207
|
getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null;
|
|
15976
16208
|
getExtension(extensionName: "EXT_color_buffer_half_float"): EXT_color_buffer_half_float | null;
|
|
15977
16209
|
getExtension(extensionName: "EXT_float_blend"): EXT_float_blend | null;
|
|
15978
|
-
getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null;
|
|
15979
16210
|
getExtension(extensionName: "EXT_frag_depth"): EXT_frag_depth | null;
|
|
15980
|
-
getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null;
|
|
15981
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;
|
|
15982
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;
|
|
15983
16224
|
getExtension(extensionName: "OES_vertex_array_object"): OES_vertex_array_object | null;
|
|
15984
16225
|
getExtension(extensionName: "OVR_multiview2"): OVR_multiview2 | null;
|
|
15985
16226
|
getExtension(extensionName: "WEBGL_color_buffer_float"): WEBGL_color_buffer_float | null;
|
|
15986
16227
|
getExtension(extensionName: "WEBGL_compressed_texture_astc"): WEBGL_compressed_texture_astc | null;
|
|
15987
16228
|
getExtension(extensionName: "WEBGL_compressed_texture_etc"): WEBGL_compressed_texture_etc | null;
|
|
15988
16229
|
getExtension(extensionName: "WEBGL_compressed_texture_etc1"): WEBGL_compressed_texture_etc1 | null;
|
|
16230
|
+
getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null;
|
|
15989
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;
|
|
15990
16233
|
getExtension(extensionName: "WEBGL_debug_shaders"): WEBGL_debug_shaders | null;
|
|
16234
|
+
getExtension(extensionName: "WEBGL_depth_texture"): WEBGL_depth_texture | null;
|
|
15991
16235
|
getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
|
|
15992
16236
|
getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;
|
|
15993
|
-
getExtension(extensionName: "
|
|
15994
|
-
getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null;
|
|
15995
|
-
getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null;
|
|
15996
|
-
getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | null;
|
|
15997
|
-
getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null;
|
|
15998
|
-
getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null;
|
|
15999
|
-
getExtension(extensionName: "OES_texture_float"): OES_texture_float | null;
|
|
16000
|
-
getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null;
|
|
16001
|
-
getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null;
|
|
16002
|
-
getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
|
|
16237
|
+
getExtension(extensionName: "WEBGL_multi_draw"): WEBGL_multi_draw | null;
|
|
16003
16238
|
getExtension(name: string): any;
|
|
16004
16239
|
getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;
|
|
16005
16240
|
getParameter(pname: GLenum): any;
|
|
@@ -17385,7 +17620,7 @@ interface UnderlyingSourceStartCallback<R> {
|
|
|
17385
17620
|
}
|
|
17386
17621
|
|
|
17387
17622
|
interface VideoFrameRequestCallback {
|
|
17388
|
-
(now: DOMHighResTimeStamp, metadata:
|
|
17623
|
+
(now: DOMHighResTimeStamp, metadata: VideoFrameCallbackMetadata): void;
|
|
17389
17624
|
}
|
|
17390
17625
|
|
|
17391
17626
|
interface VoidFunction {
|
|
@@ -17744,11 +17979,13 @@ declare var onanimationend: ((this: Window, ev: AnimationEvent) => any) | null;
|
|
|
17744
17979
|
declare var onanimationiteration: ((this: Window, ev: AnimationEvent) => any) | null;
|
|
17745
17980
|
declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null;
|
|
17746
17981
|
declare var onauxclick: ((this: Window, ev: MouseEvent) => any) | null;
|
|
17982
|
+
declare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null;
|
|
17747
17983
|
/**
|
|
17748
17984
|
* Fires when the object loses the input focus.
|
|
17749
17985
|
* @param ev The focus event.
|
|
17750
17986
|
*/
|
|
17751
17987
|
declare var onblur: ((this: Window, ev: FocusEvent) => any) | null;
|
|
17988
|
+
declare var oncancel: ((this: Window, ev: Event) => any) | null;
|
|
17752
17989
|
/**
|
|
17753
17990
|
* Occurs when playback is possible, but would require further buffering.
|
|
17754
17991
|
* @param ev The event.
|
|
@@ -18060,7 +18297,7 @@ type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
|
|
|
18060
18297
|
type BufferSource = ArrayBufferView | ArrayBuffer;
|
|
18061
18298
|
type COSEAlgorithmIdentifier = number;
|
|
18062
18299
|
type CSSNumberish = number;
|
|
18063
|
-
type CanvasImageSource = HTMLOrSVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap;
|
|
18300
|
+
type CanvasImageSource = HTMLOrSVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | OffscreenCanvas;
|
|
18064
18301
|
type ClipboardItemData = Promise<string | Blob>;
|
|
18065
18302
|
type ClipboardItems = ClipboardItem[];
|
|
18066
18303
|
type ConstrainBoolean = boolean | ConstrainBooleanParameters;
|
|
@@ -18097,20 +18334,19 @@ type MediaProvider = MediaStream | MediaSource | Blob;
|
|
|
18097
18334
|
type MessageEventSource = WindowProxy | MessagePort | ServiceWorker;
|
|
18098
18335
|
type MutationRecordType = "attributes" | "characterData" | "childList";
|
|
18099
18336
|
type NamedCurve = string;
|
|
18337
|
+
type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
18100
18338
|
type OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null;
|
|
18101
18339
|
type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
|
|
18102
18340
|
type PerformanceEntryList = PerformanceEntry[];
|
|
18103
|
-
type ReadableStreamController<T> = ReadableStreamDefaultController<T
|
|
18104
|
-
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult
|
|
18105
|
-
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;
|
|
18106
18344
|
type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
18107
18345
|
type RequestInfo = Request | string;
|
|
18108
|
-
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement;
|
|
18346
|
+
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas;
|
|
18109
18347
|
type TimerHandler = string | Function;
|
|
18110
|
-
type Transferable =
|
|
18348
|
+
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
18111
18349
|
type Uint32List = Uint32Array | GLuint[];
|
|
18112
|
-
type UvmEntries = UvmEntry[];
|
|
18113
|
-
type UvmEntry = number[];
|
|
18114
18350
|
type VibratePattern = number | number[];
|
|
18115
18351
|
type WindowProxy = Window;
|
|
18116
18352
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
@@ -18122,7 +18358,7 @@ type AttestationConveyancePreference = "direct" | "enterprise" | "indirect" | "n
|
|
|
18122
18358
|
type AudioContextLatencyCategory = "balanced" | "interactive" | "playback";
|
|
18123
18359
|
type AudioContextState = "closed" | "running" | "suspended";
|
|
18124
18360
|
type AuthenticatorAttachment = "cross-platform" | "platform";
|
|
18125
|
-
type AuthenticatorTransport = "ble" | "internal" | "nfc" | "usb";
|
|
18361
|
+
type AuthenticatorTransport = "ble" | "hybrid" | "internal" | "nfc" | "usb";
|
|
18126
18362
|
type AutoKeyword = "auto";
|
|
18127
18363
|
type AutomationRate = "a-rate" | "k-rate";
|
|
18128
18364
|
type BinaryType = "arraybuffer" | "blob";
|
|
@@ -18183,12 +18419,13 @@ type MediaKeySessionClosedReason = "closed-by-application" | "hardware-context-r
|
|
|
18183
18419
|
type MediaKeySessionType = "persistent-license" | "temporary";
|
|
18184
18420
|
type MediaKeyStatus = "expired" | "internal-error" | "output-downscaled" | "output-restricted" | "released" | "status-pending" | "usable" | "usable-in-future";
|
|
18185
18421
|
type MediaKeysRequirement = "not-allowed" | "optional" | "required";
|
|
18186
|
-
type MediaSessionAction = "
|
|
18422
|
+
type MediaSessionAction = "nexttrack" | "pause" | "play" | "previoustrack" | "seekbackward" | "seekforward" | "seekto" | "skipad" | "stop";
|
|
18187
18423
|
type MediaSessionPlaybackState = "none" | "paused" | "playing";
|
|
18188
18424
|
type MediaStreamTrackState = "ended" | "live";
|
|
18189
18425
|
type NavigationTimingType = "back_forward" | "navigate" | "prerender" | "reload";
|
|
18190
18426
|
type NotificationDirection = "auto" | "ltr" | "rtl";
|
|
18191
18427
|
type NotificationPermission = "default" | "denied" | "granted";
|
|
18428
|
+
type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
|
|
18192
18429
|
type OrientationLockType = "any" | "landscape" | "landscape-primary" | "landscape-secondary" | "natural" | "portrait" | "portrait-primary" | "portrait-secondary";
|
|
18193
18430
|
type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary";
|
|
18194
18431
|
type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
|
|
@@ -18213,7 +18450,6 @@ type RTCErrorDetailType = "data-channel-failure" | "dtls-failure" | "fingerprint
|
|
|
18213
18450
|
type RTCIceCandidateType = "host" | "prflx" | "relay" | "srflx";
|
|
18214
18451
|
type RTCIceComponent = "rtcp" | "rtp";
|
|
18215
18452
|
type RTCIceConnectionState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new";
|
|
18216
|
-
type RTCIceCredentialType = "password";
|
|
18217
18453
|
type RTCIceGathererState = "complete" | "gathering" | "new";
|
|
18218
18454
|
type RTCIceGatheringState = "complete" | "gathering" | "new";
|
|
18219
18455
|
type RTCIceProtocol = "tcp" | "udp";
|
|
@@ -18228,7 +18464,9 @@ type RTCSctpTransportState = "closed" | "connected" | "connecting";
|
|
|
18228
18464
|
type RTCSdpType = "answer" | "offer" | "pranswer" | "rollback";
|
|
18229
18465
|
type RTCSignalingState = "closed" | "have-local-offer" | "have-local-pranswer" | "have-remote-offer" | "have-remote-pranswer" | "stable";
|
|
18230
18466
|
type RTCStatsIceCandidatePairState = "failed" | "frozen" | "in-progress" | "inprogress" | "succeeded" | "waiting";
|
|
18231
|
-
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";
|
|
18232
18470
|
type ReadyState = "closed" | "ended" | "open";
|
|
18233
18471
|
type RecordingState = "inactive" | "paused" | "recording";
|
|
18234
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";
|