@stencil/core 2.9.0 → 2.12.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/index.cjs +16 -5
- package/cli/index.js +16 -5
- package/cli/package.json +1 -1
- package/compiler/lib.dom.d.ts +263 -648
- package/compiler/lib.dom.iterable.d.ts +1 -5
- package/compiler/lib.es2015.core.d.ts +2 -2
- package/compiler/lib.es2015.iterable.d.ts +1 -1
- package/compiler/lib.es2015.symbol.wellknown.d.ts +10 -10
- package/compiler/lib.es2018.asynciterable.d.ts +1 -1
- package/compiler/lib.es2020.bigint.d.ts +1 -1
- package/compiler/lib.es2020.intl.d.ts +6 -7
- package/compiler/lib.es2020.symbol.wellknown.d.ts +1 -1
- package/compiler/lib.es2021.d.ts +24 -0
- package/compiler/lib.es2021.full.d.ts +25 -0
- package/compiler/lib.es2021.promise.d.ts +43 -0
- package/compiler/lib.es2021.string.d.ts +35 -0
- package/compiler/lib.es2021.weakref.d.ts +75 -0
- package/compiler/lib.es5.d.ts +9 -9
- package/compiler/lib.esnext.d.ts +1 -4
- package/compiler/lib.esnext.promise.d.ts +26 -26
- package/compiler/lib.esnext.string.d.ts +18 -18
- package/compiler/lib.esnext.weakref.d.ts +58 -58
- package/compiler/lib.webworker.d.ts +98 -153
- package/compiler/lib.webworker.iterable.d.ts +1 -1
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +497 -725
- package/compiler/stencil.min.js +2 -2
- package/dependencies.json +6 -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/package.json +1 -1
- package/dev-server/server-process.js +2 -2
- package/internal/app-data/package.json +1 -1
- package/internal/client/css-shim.js +1 -1
- package/internal/client/dom.js +1 -1
- package/internal/client/index.js +119 -102
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/client/patch-esm.js +1 -1
- package/internal/client/shadow-css.js +9 -10
- package/internal/hydrate/index.js +44 -40
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/shadow-css.js +59 -62
- package/internal/index.js +1 -0
- package/internal/package.json +1 -1
- package/internal/stencil-public-compiler.d.ts +1 -1
- package/internal/testing/index.js +54 -47
- package/internal/testing/package.json +1 -1
- package/internal/testing/shadow-css.js +54 -57
- package/mock-doc/index.cjs +5 -2
- package/mock-doc/index.d.ts +6 -6
- package/mock-doc/index.js +5 -2
- package/mock-doc/package.json +1 -1
- package/package.json +17 -9
- package/screenshot/index.js +1 -1
- package/screenshot/package.json +1 -1
- package/sys/node/autoprefixer.js +2 -2
- package/sys/node/index.js +1 -1
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +84 -73
- package/testing/jest/jest-environment.d.ts +1 -0
- package/testing/jest/jest-preprocessor.d.ts +56 -8
- package/testing/jest-preset.js +5 -0
- package/testing/mocks.d.ts +1 -5
- package/testing/package.json +1 -1
- package/testing/testing-sys.d.ts +6 -1
- package/screenshot/index.js.map +0 -1
package/compiler/lib.dom.d.ts
CHANGED
|
@@ -22,19 +22,24 @@ and limitations under the License.
|
|
|
22
22
|
/// DOM APIs
|
|
23
23
|
/////////////////////////////
|
|
24
24
|
|
|
25
|
-
interface Account {
|
|
26
|
-
displayName: string;
|
|
27
|
-
id: string;
|
|
28
|
-
imageURL?: string;
|
|
29
|
-
name?: string;
|
|
30
|
-
rpDisplayName: string;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
25
|
interface AddEventListenerOptions extends EventListenerOptions {
|
|
34
26
|
once?: boolean;
|
|
35
27
|
passive?: boolean;
|
|
36
28
|
}
|
|
37
29
|
|
|
30
|
+
interface AddressErrors {
|
|
31
|
+
addressLine?: string;
|
|
32
|
+
city?: string;
|
|
33
|
+
country?: string;
|
|
34
|
+
dependentLocality?: string;
|
|
35
|
+
organization?: string;
|
|
36
|
+
phone?: string;
|
|
37
|
+
postalCode?: string;
|
|
38
|
+
recipient?: string;
|
|
39
|
+
region?: string;
|
|
40
|
+
sortingCode?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
38
43
|
interface AesCbcParams extends Algorithm {
|
|
39
44
|
iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;
|
|
40
45
|
}
|
|
@@ -84,13 +89,6 @@ interface AnimationPlaybackEventInit extends EventInit {
|
|
|
84
89
|
timelineTime?: number | null;
|
|
85
90
|
}
|
|
86
91
|
|
|
87
|
-
interface AssertionOptions {
|
|
88
|
-
allowList?: ScopedCredentialDescriptor[];
|
|
89
|
-
extensions?: WebAuthnExtensions;
|
|
90
|
-
rpId?: string;
|
|
91
|
-
timeoutSeconds?: number;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
92
|
interface AssignedNodesOptions {
|
|
95
93
|
flatten?: boolean;
|
|
96
94
|
}
|
|
@@ -209,15 +207,6 @@ interface ChannelSplitterOptions extends AudioNodeOptions {
|
|
|
209
207
|
numberOfOutputs?: number;
|
|
210
208
|
}
|
|
211
209
|
|
|
212
|
-
interface ClientData {
|
|
213
|
-
challenge: string;
|
|
214
|
-
extensions?: WebAuthnExtensions;
|
|
215
|
-
hashAlg: string | Algorithm;
|
|
216
|
-
origin: string;
|
|
217
|
-
rpId: string;
|
|
218
|
-
tokenBinding?: string;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
210
|
interface ClientQueryOptions {
|
|
222
211
|
includeUncontrolled?: boolean;
|
|
223
212
|
type?: ClientTypes;
|
|
@@ -365,10 +354,6 @@ interface DelayOptions extends AudioNodeOptions {
|
|
|
365
354
|
maxDelayTime?: number;
|
|
366
355
|
}
|
|
367
356
|
|
|
368
|
-
interface DeviceLightEventInit extends EventInit {
|
|
369
|
-
value?: number;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
357
|
interface DeviceMotionEventAccelerationInit {
|
|
373
358
|
x?: number | null;
|
|
374
359
|
y?: number | null;
|
|
@@ -966,9 +951,14 @@ interface PannerOptions extends AudioNodeOptions {
|
|
|
966
951
|
rolloffFactor?: number;
|
|
967
952
|
}
|
|
968
953
|
|
|
954
|
+
interface PayerErrors {
|
|
955
|
+
email?: string;
|
|
956
|
+
name?: string;
|
|
957
|
+
phone?: string;
|
|
958
|
+
}
|
|
959
|
+
|
|
969
960
|
interface PaymentCurrencyAmount {
|
|
970
961
|
currency: string;
|
|
971
|
-
currencySystem?: string;
|
|
972
962
|
value: string;
|
|
973
963
|
}
|
|
974
964
|
|
|
@@ -992,6 +982,9 @@ interface PaymentDetailsModifier {
|
|
|
992
982
|
|
|
993
983
|
interface PaymentDetailsUpdate extends PaymentDetailsBase {
|
|
994
984
|
error?: string;
|
|
985
|
+
payerErrors?: PayerErrors;
|
|
986
|
+
paymentMethodErrors?: any;
|
|
987
|
+
shippingAddressErrors?: AddressErrors;
|
|
995
988
|
total?: PaymentItem;
|
|
996
989
|
}
|
|
997
990
|
|
|
@@ -1001,17 +994,23 @@ interface PaymentItem {
|
|
|
1001
994
|
pending?: boolean;
|
|
1002
995
|
}
|
|
1003
996
|
|
|
997
|
+
interface PaymentMethodChangeEventInit extends PaymentRequestUpdateEventInit {
|
|
998
|
+
methodDetails?: any;
|
|
999
|
+
methodName?: string;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1004
1002
|
interface PaymentMethodData {
|
|
1005
1003
|
data?: any;
|
|
1006
1004
|
supportedMethods: string | string[];
|
|
1007
1005
|
}
|
|
1008
1006
|
|
|
1009
1007
|
interface PaymentOptions {
|
|
1008
|
+
requestBillingAddress?: boolean;
|
|
1010
1009
|
requestPayerEmail?: boolean;
|
|
1011
1010
|
requestPayerName?: boolean;
|
|
1012
1011
|
requestPayerPhone?: boolean;
|
|
1013
1012
|
requestShipping?: boolean;
|
|
1014
|
-
shippingType?:
|
|
1013
|
+
shippingType?: PaymentShippingType;
|
|
1015
1014
|
}
|
|
1016
1015
|
|
|
1017
1016
|
interface PaymentRequestUpdateEventInit extends EventInit {
|
|
@@ -1024,6 +1023,13 @@ interface PaymentShippingOption {
|
|
|
1024
1023
|
selected?: boolean;
|
|
1025
1024
|
}
|
|
1026
1025
|
|
|
1026
|
+
interface PaymentValidationErrors {
|
|
1027
|
+
error?: string;
|
|
1028
|
+
payer?: PayerErrors;
|
|
1029
|
+
paymentMethod?: any;
|
|
1030
|
+
shippingAddress?: AddressErrors;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1027
1033
|
interface Pbkdf2Params extends Algorithm {
|
|
1028
1034
|
hash: HashAlgorithmIdentifier;
|
|
1029
1035
|
iterations: number;
|
|
@@ -1165,7 +1171,7 @@ interface QueuingStrategy<T = any> {
|
|
|
1165
1171
|
interface QueuingStrategyInit {
|
|
1166
1172
|
/**
|
|
1167
1173
|
* Creates a new ByteLengthQueuingStrategy with the provided high water mark.
|
|
1168
|
-
*
|
|
1174
|
+
*
|
|
1169
1175
|
* Note that the provided high water mark will not be validated ahead of time. Instead, if it is negative, NaN, or not a number, the resulting ByteLengthQueuingStrategy will cause the corresponding stream constructor to throw.
|
|
1170
1176
|
*/
|
|
1171
1177
|
highWaterMark: number;
|
|
@@ -1184,12 +1190,11 @@ interface RTCConfiguration {
|
|
|
1184
1190
|
iceCandidatePoolSize?: number;
|
|
1185
1191
|
iceServers?: RTCIceServer[];
|
|
1186
1192
|
iceTransportPolicy?: RTCIceTransportPolicy;
|
|
1187
|
-
peerIdentity?: string;
|
|
1188
1193
|
rtcpMuxPolicy?: RTCRtcpMuxPolicy;
|
|
1189
1194
|
}
|
|
1190
1195
|
|
|
1191
1196
|
interface RTCDTMFToneChangeEventInit extends EventInit {
|
|
1192
|
-
tone
|
|
1197
|
+
tone?: string;
|
|
1193
1198
|
}
|
|
1194
1199
|
|
|
1195
1200
|
interface RTCDataChannelEventInit extends EventInit {
|
|
@@ -1202,7 +1207,6 @@ interface RTCDataChannelInit {
|
|
|
1202
1207
|
maxRetransmits?: number;
|
|
1203
1208
|
negotiated?: boolean;
|
|
1204
1209
|
ordered?: boolean;
|
|
1205
|
-
priority?: RTCPriorityType;
|
|
1206
1210
|
protocol?: string;
|
|
1207
1211
|
}
|
|
1208
1212
|
|
|
@@ -1222,7 +1226,6 @@ interface RTCErrorEventInit extends EventInit {
|
|
|
1222
1226
|
|
|
1223
1227
|
interface RTCErrorInit {
|
|
1224
1228
|
errorDetail: RTCErrorDetailType;
|
|
1225
|
-
httpRequestStatusCode?: number;
|
|
1226
1229
|
receivedAlert?: number;
|
|
1227
1230
|
sctpCauseCode?: number;
|
|
1228
1231
|
sdpLineNumber?: number;
|
|
@@ -1312,7 +1315,7 @@ interface RTCIceParameters {
|
|
|
1312
1315
|
}
|
|
1313
1316
|
|
|
1314
1317
|
interface RTCIceServer {
|
|
1315
|
-
credential?: string
|
|
1318
|
+
credential?: string;
|
|
1316
1319
|
credentialType?: RTCIceCredentialType;
|
|
1317
1320
|
urls: string | string[];
|
|
1318
1321
|
username?: string;
|
|
@@ -1332,6 +1335,11 @@ interface RTCInboundRTPStreamStats extends RTCRTPStreamStats {
|
|
|
1332
1335
|
packetsReceived?: number;
|
|
1333
1336
|
}
|
|
1334
1337
|
|
|
1338
|
+
interface RTCLocalSessionDescriptionInit {
|
|
1339
|
+
sdp?: string;
|
|
1340
|
+
type?: RTCSdpType;
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1335
1343
|
interface RTCMediaStreamTrackStats extends RTCStats {
|
|
1336
1344
|
audioLevel?: number;
|
|
1337
1345
|
echoReturnLoss?: number;
|
|
@@ -1349,13 +1357,7 @@ interface RTCMediaStreamTrackStats extends RTCStats {
|
|
|
1349
1357
|
trackIdentifier?: string;
|
|
1350
1358
|
}
|
|
1351
1359
|
|
|
1352
|
-
interface RTCOAuthCredential {
|
|
1353
|
-
accessToken: string;
|
|
1354
|
-
macKey: string;
|
|
1355
|
-
}
|
|
1356
|
-
|
|
1357
1360
|
interface RTCOfferAnswerOptions {
|
|
1358
|
-
voiceActivityDetection?: boolean;
|
|
1359
1361
|
}
|
|
1360
1362
|
|
|
1361
1363
|
interface RTCOfferOptions extends RTCOfferAnswerOptions {
|
|
@@ -1372,8 +1374,9 @@ interface RTCOutboundRTPStreamStats extends RTCRTPStreamStats {
|
|
|
1372
1374
|
}
|
|
1373
1375
|
|
|
1374
1376
|
interface RTCPeerConnectionIceErrorEventInit extends EventInit {
|
|
1377
|
+
address?: string | null;
|
|
1375
1378
|
errorCode: number;
|
|
1376
|
-
|
|
1379
|
+
port?: number | null;
|
|
1377
1380
|
statusText?: string;
|
|
1378
1381
|
url?: string;
|
|
1379
1382
|
}
|
|
@@ -1438,16 +1441,9 @@ interface RTCRtpContributingSource {
|
|
|
1438
1441
|
timestamp: number;
|
|
1439
1442
|
}
|
|
1440
1443
|
|
|
1441
|
-
interface RTCRtpDecodingParameters extends RTCRtpCodingParameters {
|
|
1442
|
-
}
|
|
1443
|
-
|
|
1444
1444
|
interface RTCRtpEncodingParameters extends RTCRtpCodingParameters {
|
|
1445
1445
|
active?: boolean;
|
|
1446
|
-
codecPayloadType?: number;
|
|
1447
|
-
dtx?: RTCDtxStatus;
|
|
1448
1446
|
maxBitrate?: number;
|
|
1449
|
-
maxFramerate?: number;
|
|
1450
|
-
ptime?: number;
|
|
1451
1447
|
scaleResolutionDownBy?: number;
|
|
1452
1448
|
}
|
|
1453
1449
|
|
|
@@ -1480,7 +1476,6 @@ interface RTCRtpParameters {
|
|
|
1480
1476
|
}
|
|
1481
1477
|
|
|
1482
1478
|
interface RTCRtpReceiveParameters extends RTCRtpParameters {
|
|
1483
|
-
encodings: RTCRtpDecodingParameters[];
|
|
1484
1479
|
}
|
|
1485
1480
|
|
|
1486
1481
|
interface RTCRtpRtxParameters {
|
|
@@ -1488,9 +1483,7 @@ interface RTCRtpRtxParameters {
|
|
|
1488
1483
|
}
|
|
1489
1484
|
|
|
1490
1485
|
interface RTCRtpSendParameters extends RTCRtpParameters {
|
|
1491
|
-
degradationPreference?: RTCDegradationPreference;
|
|
1492
1486
|
encodings: RTCRtpEncodingParameters[];
|
|
1493
|
-
priority?: RTCPriorityType;
|
|
1494
1487
|
transactionId: string;
|
|
1495
1488
|
}
|
|
1496
1489
|
|
|
@@ -1512,7 +1505,7 @@ interface RTCRtpUnhandled {
|
|
|
1512
1505
|
|
|
1513
1506
|
interface RTCSessionDescriptionInit {
|
|
1514
1507
|
sdp?: string;
|
|
1515
|
-
type
|
|
1508
|
+
type: RTCSdpType;
|
|
1516
1509
|
}
|
|
1517
1510
|
|
|
1518
1511
|
interface RTCSrtpKeyParam {
|
|
@@ -1541,10 +1534,6 @@ interface RTCStats {
|
|
|
1541
1534
|
type?: RTCStatsType;
|
|
1542
1535
|
}
|
|
1543
1536
|
|
|
1544
|
-
interface RTCStatsEventInit extends EventInit {
|
|
1545
|
-
report: RTCStatsReport;
|
|
1546
|
-
}
|
|
1547
|
-
|
|
1548
1537
|
interface RTCStatsReport {
|
|
1549
1538
|
}
|
|
1550
1539
|
|
|
@@ -1587,7 +1576,7 @@ interface ReadableWritablePair<R = any, W = any> {
|
|
|
1587
1576
|
readable: ReadableStream<R>;
|
|
1588
1577
|
/**
|
|
1589
1578
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
1590
|
-
*
|
|
1579
|
+
*
|
|
1591
1580
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
1592
1581
|
*/
|
|
1593
1582
|
writable: WritableStream<W>;
|
|
@@ -1707,24 +1696,6 @@ interface SVGBoundingBoxOptions {
|
|
|
1707
1696
|
stroke?: boolean;
|
|
1708
1697
|
}
|
|
1709
1698
|
|
|
1710
|
-
interface ScopedCredentialDescriptor {
|
|
1711
|
-
id: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null;
|
|
1712
|
-
transports?: Transport[];
|
|
1713
|
-
type: ScopedCredentialType;
|
|
1714
|
-
}
|
|
1715
|
-
|
|
1716
|
-
interface ScopedCredentialOptions {
|
|
1717
|
-
excludeList?: ScopedCredentialDescriptor[];
|
|
1718
|
-
extensions?: WebAuthnExtensions;
|
|
1719
|
-
rpId?: string;
|
|
1720
|
-
timeoutSeconds?: number;
|
|
1721
|
-
}
|
|
1722
|
-
|
|
1723
|
-
interface ScopedCredentialParameters {
|
|
1724
|
-
algorithm: string | Algorithm;
|
|
1725
|
-
type: ScopedCredentialType;
|
|
1726
|
-
}
|
|
1727
|
-
|
|
1728
1699
|
interface ScrollIntoViewOptions extends ScrollOptions {
|
|
1729
1700
|
block?: ScrollLogicalPosition;
|
|
1730
1701
|
inline?: ScrollLogicalPosition;
|
|
@@ -1752,14 +1723,6 @@ interface SecurityPolicyViolationEventInit extends EventInit {
|
|
|
1752
1723
|
violatedDirective?: string;
|
|
1753
1724
|
}
|
|
1754
1725
|
|
|
1755
|
-
interface ServiceWorkerMessageEventInit extends EventInit {
|
|
1756
|
-
data?: any;
|
|
1757
|
-
lastEventId?: string;
|
|
1758
|
-
origin?: string;
|
|
1759
|
-
ports?: MessagePort[] | null;
|
|
1760
|
-
source?: ServiceWorker | MessagePort | null;
|
|
1761
|
-
}
|
|
1762
|
-
|
|
1763
1726
|
interface ShadowRootInit {
|
|
1764
1727
|
delegatesFocus?: boolean;
|
|
1765
1728
|
mode: ShadowRootMode;
|
|
@@ -1832,19 +1795,19 @@ interface StreamPipeOptions {
|
|
|
1832
1795
|
preventCancel?: boolean;
|
|
1833
1796
|
/**
|
|
1834
1797
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
1835
|
-
*
|
|
1798
|
+
*
|
|
1836
1799
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
1837
|
-
*
|
|
1800
|
+
*
|
|
1838
1801
|
* Errors and closures of the source and destination streams propagate as follows:
|
|
1839
|
-
*
|
|
1802
|
+
*
|
|
1840
1803
|
* An error in this source readable stream will abort destination, unless preventAbort is truthy. The returned promise will be rejected with the source's error, or with any error that occurs during aborting the destination.
|
|
1841
|
-
*
|
|
1804
|
+
*
|
|
1842
1805
|
* An error in destination will cancel this source readable stream, unless preventCancel is truthy. The returned promise will be rejected with the destination's error, or with any error that occurs during canceling the source.
|
|
1843
|
-
*
|
|
1806
|
+
*
|
|
1844
1807
|
* When this source readable stream closes, destination will be closed, unless preventClose is truthy. The returned promise will be fulfilled once this process completes, unless an error is encountered while closing the destination, in which case it will be rejected with that error.
|
|
1845
|
-
*
|
|
1808
|
+
*
|
|
1846
1809
|
* If destination starts out closed or closing, this source readable stream will be canceled, unless preventCancel is true. The returned promise will be rejected with an error indicating piping to a closed stream failed, or with any error that occurs during canceling the source.
|
|
1847
|
-
*
|
|
1810
|
+
*
|
|
1848
1811
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
1849
1812
|
*/
|
|
1850
1813
|
preventClose?: boolean;
|
|
@@ -1954,9 +1917,6 @@ interface WaveShaperOptions extends AudioNodeOptions {
|
|
|
1954
1917
|
oversample?: OverSampleType;
|
|
1955
1918
|
}
|
|
1956
1919
|
|
|
1957
|
-
interface WebAuthnExtensions {
|
|
1958
|
-
}
|
|
1959
|
-
|
|
1960
1920
|
interface WebGLContextAttributes {
|
|
1961
1921
|
alpha?: boolean;
|
|
1962
1922
|
antialias?: boolean;
|
|
@@ -3404,7 +3364,7 @@ interface CanvasFilters {
|
|
|
3404
3364
|
interface CanvasGradient {
|
|
3405
3365
|
/**
|
|
3406
3366
|
* Adds a color stop with the given color to the gradient at the given offset. 0.0 is the offset at one end of the gradient, 1.0 is the offset at the other end.
|
|
3407
|
-
*
|
|
3367
|
+
*
|
|
3408
3368
|
* Throws an "IndexSizeError" DOMException if the offset is out of range. Throws a "SyntaxError" DOMException if the color cannot be parsed.
|
|
3409
3369
|
*/
|
|
3410
3370
|
addColorStop(offset: number, color: string): void;
|
|
@@ -3571,13 +3531,13 @@ declare var CharacterData: {
|
|
|
3571
3531
|
interface ChildNode extends Node {
|
|
3572
3532
|
/**
|
|
3573
3533
|
* Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.
|
|
3574
|
-
*
|
|
3534
|
+
*
|
|
3575
3535
|
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
3576
3536
|
*/
|
|
3577
3537
|
after(...nodes: (Node | string)[]): void;
|
|
3578
3538
|
/**
|
|
3579
3539
|
* Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.
|
|
3580
|
-
*
|
|
3540
|
+
*
|
|
3581
3541
|
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
3582
3542
|
*/
|
|
3583
3543
|
before(...nodes: (Node | string)[]): void;
|
|
@@ -3587,7 +3547,7 @@ interface ChildNode extends Node {
|
|
|
3587
3547
|
remove(): void;
|
|
3588
3548
|
/**
|
|
3589
3549
|
* Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.
|
|
3590
|
-
*
|
|
3550
|
+
*
|
|
3591
3551
|
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
3592
3552
|
*/
|
|
3593
3553
|
replaceWith(...nodes: (Node | string)[]): void;
|
|
@@ -3891,10 +3851,6 @@ declare var DOMImplementation: {
|
|
|
3891
3851
|
new(): DOMImplementation;
|
|
3892
3852
|
};
|
|
3893
3853
|
|
|
3894
|
-
interface DOML2DeprecatedColorProperty {
|
|
3895
|
-
color: string;
|
|
3896
|
-
}
|
|
3897
|
-
|
|
3898
3854
|
interface DOMMatrix extends DOMMatrixReadOnly {
|
|
3899
3855
|
a: number;
|
|
3900
3856
|
b: number;
|
|
@@ -4005,11 +3961,11 @@ declare var DOMMatrixReadOnly: {
|
|
|
4005
3961
|
interface DOMParser {
|
|
4006
3962
|
/**
|
|
4007
3963
|
* Parses string using either the HTML or XML parser, according to type, and returns the resulting Document. type can be "text/html" (which will invoke the HTML parser), or any of "text/xml", "application/xml", "application/xhtml+xml", or "image/svg+xml" (which will invoke the XML parser).
|
|
4008
|
-
*
|
|
3964
|
+
*
|
|
4009
3965
|
* For the XML parser, if string cannot be parsed, then the returned Document will contain elements describing the resulting error.
|
|
4010
|
-
*
|
|
3966
|
+
*
|
|
4011
3967
|
* Note that script elements are not evaluated during parsing, and the resulting document's encoding will always be UTF-8.
|
|
4012
|
-
*
|
|
3968
|
+
*
|
|
4013
3969
|
* Values other than the above for type will cause a TypeError exception to be thrown.
|
|
4014
3970
|
*/
|
|
4015
3971
|
parseFromString(string: string, type: DOMParserSupportedType): Document;
|
|
@@ -4161,16 +4117,16 @@ interface DOMTokenList {
|
|
|
4161
4117
|
readonly length: number;
|
|
4162
4118
|
/**
|
|
4163
4119
|
* Returns the associated set as string.
|
|
4164
|
-
*
|
|
4120
|
+
*
|
|
4165
4121
|
* Can be set, to change the associated attribute.
|
|
4166
4122
|
*/
|
|
4167
4123
|
value: string;
|
|
4168
4124
|
toString(): string;
|
|
4169
4125
|
/**
|
|
4170
4126
|
* Adds all arguments passed, except those already present.
|
|
4171
|
-
*
|
|
4127
|
+
*
|
|
4172
4128
|
* Throws a "SyntaxError" DOMException if one of the arguments is the empty string.
|
|
4173
|
-
*
|
|
4129
|
+
*
|
|
4174
4130
|
* Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace.
|
|
4175
4131
|
*/
|
|
4176
4132
|
add(...tokens: string[]): void;
|
|
@@ -4184,35 +4140,35 @@ interface DOMTokenList {
|
|
|
4184
4140
|
item(index: number): string | null;
|
|
4185
4141
|
/**
|
|
4186
4142
|
* Removes arguments passed, if they are present.
|
|
4187
|
-
*
|
|
4143
|
+
*
|
|
4188
4144
|
* Throws a "SyntaxError" DOMException if one of the arguments is the empty string.
|
|
4189
|
-
*
|
|
4145
|
+
*
|
|
4190
4146
|
* Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace.
|
|
4191
4147
|
*/
|
|
4192
4148
|
remove(...tokens: string[]): void;
|
|
4193
4149
|
/**
|
|
4194
4150
|
* Replaces token with newToken.
|
|
4195
|
-
*
|
|
4151
|
+
*
|
|
4196
4152
|
* Returns true if token was replaced with newToken, and false otherwise.
|
|
4197
|
-
*
|
|
4153
|
+
*
|
|
4198
4154
|
* Throws a "SyntaxError" DOMException if one of the arguments is the empty string.
|
|
4199
|
-
*
|
|
4155
|
+
*
|
|
4200
4156
|
* Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace.
|
|
4201
4157
|
*/
|
|
4202
4158
|
replace(oldToken: string, newToken: string): void;
|
|
4203
4159
|
/**
|
|
4204
4160
|
* Returns true if token is in the associated attribute's supported tokens. Returns false otherwise.
|
|
4205
|
-
*
|
|
4161
|
+
*
|
|
4206
4162
|
* Throws a TypeError if the associated attribute has no supported tokens defined.
|
|
4207
4163
|
*/
|
|
4208
4164
|
supports(token: string): boolean;
|
|
4209
4165
|
/**
|
|
4210
4166
|
* If force is not given, "toggles" token, removing it if it's present and adding it if it's not present. If force is true, adds token (same as add()). If force is false, removes token (same as remove()).
|
|
4211
|
-
*
|
|
4167
|
+
*
|
|
4212
4168
|
* Returns true if token is now present, and false otherwise.
|
|
4213
|
-
*
|
|
4169
|
+
*
|
|
4214
4170
|
* Throws a "SyntaxError" DOMException if token is empty.
|
|
4215
|
-
*
|
|
4171
|
+
*
|
|
4216
4172
|
* Throws an "InvalidCharacterError" DOMException if token contains any spaces.
|
|
4217
4173
|
*/
|
|
4218
4174
|
toggle(token: string, force?: boolean): boolean;
|
|
@@ -4242,17 +4198,17 @@ declare var DataCue: {
|
|
|
4242
4198
|
interface DataTransfer {
|
|
4243
4199
|
/**
|
|
4244
4200
|
* Returns the kind of operation that is currently selected. If the kind of operation isn't one of those that is allowed by the effectAllowed attribute, then the operation will fail.
|
|
4245
|
-
*
|
|
4201
|
+
*
|
|
4246
4202
|
* Can be set, to change the selected operation.
|
|
4247
|
-
*
|
|
4203
|
+
*
|
|
4248
4204
|
* The possible values are "none", "copy", "link", and "move".
|
|
4249
4205
|
*/
|
|
4250
4206
|
dropEffect: "none" | "copy" | "link" | "move";
|
|
4251
4207
|
/**
|
|
4252
4208
|
* Returns the kinds of operations that are to be allowed.
|
|
4253
|
-
*
|
|
4209
|
+
*
|
|
4254
4210
|
* Can be set (during the dragstart event), to change the allowed operations.
|
|
4255
|
-
*
|
|
4211
|
+
*
|
|
4256
4212
|
* The possible values are "none", "copy", "copyLink", "copyMove", "link", "linkMove", "move", "all", and "uninitialized",
|
|
4257
4213
|
*/
|
|
4258
4214
|
effectAllowed: "none" | "copy" | "copyLink" | "copyMove" | "link" | "linkMove" | "move" | "all" | "uninitialized";
|
|
@@ -4380,16 +4336,6 @@ declare var DeviceAcceleration: {
|
|
|
4380
4336
|
new(): DeviceAcceleration;
|
|
4381
4337
|
};
|
|
4382
4338
|
|
|
4383
|
-
/** The DeviceLightEvent provides web developers with information from photo sensors or similiar detectors about ambient light levels near the device. For example this may be useful to adjust the screen's brightness based on the current ambient light level in order to save energy or provide better readability. */
|
|
4384
|
-
interface DeviceLightEvent extends Event {
|
|
4385
|
-
readonly value: number;
|
|
4386
|
-
}
|
|
4387
|
-
|
|
4388
|
-
declare var DeviceLightEvent: {
|
|
4389
|
-
prototype: DeviceLightEvent;
|
|
4390
|
-
new(typeArg: string, eventInitDict?: DeviceLightEventInit): DeviceLightEvent;
|
|
4391
|
-
};
|
|
4392
|
-
|
|
4393
4339
|
/** The DeviceMotionEvent provides web developers with information about the speed of changes for the device's position and orientation. */
|
|
4394
4340
|
interface DeviceMotionEvent extends Event {
|
|
4395
4341
|
readonly acceleration: DeviceMotionEventAcceleration | null;
|
|
@@ -4523,15 +4469,15 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4523
4469
|
readonly contentType: string;
|
|
4524
4470
|
/**
|
|
4525
4471
|
* Returns the HTTP cookies that apply to the Document. If there are no cookies or cookies can't be applied to this resource, the empty string will be returned.
|
|
4526
|
-
*
|
|
4472
|
+
*
|
|
4527
4473
|
* Can be set, to add a new cookie to the element's set of HTTP cookies.
|
|
4528
|
-
*
|
|
4474
|
+
*
|
|
4529
4475
|
* If the contents are sandboxed into a unique origin (e.g. in an iframe with the sandbox attribute), a "SecurityError" DOMException will be thrown on getting and setting.
|
|
4530
4476
|
*/
|
|
4531
4477
|
cookie: string;
|
|
4532
4478
|
/**
|
|
4533
4479
|
* Returns the script element, or the SVG script element, that is currently executing, as long as the element represents a classic script. In the case of reentrant script execution, returns the one that most recently started executing amongst those that have not yet finished executing.
|
|
4534
|
-
*
|
|
4480
|
+
*
|
|
4535
4481
|
* Returns null if the Document is not currently executing a script or SVG script element (e.g., because the running script is an event handler, or a timeout), or if the currently executing script or SVG script element represents a module script.
|
|
4536
4482
|
*/
|
|
4537
4483
|
readonly currentScript: HTMLOrSVGScriptElement | null;
|
|
@@ -4654,7 +4600,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4654
4600
|
vlinkColor: string;
|
|
4655
4601
|
/**
|
|
4656
4602
|
* Moves node from another document and returns it.
|
|
4657
|
-
*
|
|
4603
|
+
*
|
|
4658
4604
|
* If node is a document, throws a "NotSupportedError" DOMException or, if node is a shadow root, throws a "HierarchyRequestError" DOMException.
|
|
4659
4605
|
*/
|
|
4660
4606
|
adoptNode<T extends Node>(source: T): T;
|
|
@@ -4698,17 +4644,17 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4698
4644
|
createElement(tagName: string, options?: ElementCreationOptions): HTMLElement;
|
|
4699
4645
|
/**
|
|
4700
4646
|
* Returns an element with namespace namespace. Its namespace prefix will be everything before ":" (U+003E) in qualifiedName or null. Its local name will be everything after ":" (U+003E) in qualifiedName or qualifiedName.
|
|
4701
|
-
*
|
|
4647
|
+
*
|
|
4702
4648
|
* If localName does not match the Name production an "InvalidCharacterError" DOMException will be thrown.
|
|
4703
|
-
*
|
|
4649
|
+
*
|
|
4704
4650
|
* If one of the following conditions is true a "NamespaceError" DOMException will be thrown:
|
|
4705
|
-
*
|
|
4651
|
+
*
|
|
4706
4652
|
* localName does not match the QName production.
|
|
4707
4653
|
* Namespace prefix is not null and namespace is the empty string.
|
|
4708
4654
|
* Namespace prefix is "xml" and namespace is not the XML namespace.
|
|
4709
4655
|
* qualifiedName or namespace prefix is "xmlns" and namespace is not the XMLNS namespace.
|
|
4710
4656
|
* namespace is the XMLNS namespace and neither qualifiedName nor namespace prefix is "xmlns".
|
|
4711
|
-
*
|
|
4657
|
+
*
|
|
4712
4658
|
* When supplied, options's is can be used to create a customized built-in element.
|
|
4713
4659
|
*/
|
|
4714
4660
|
createElementNS(namespaceURI: "http://www.w3.org/1999/xhtml", qualifiedName: string): HTMLElement;
|
|
@@ -4724,7 +4670,6 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4724
4670
|
createEvent(eventInterface: "CloseEvent"): CloseEvent;
|
|
4725
4671
|
createEvent(eventInterface: "CompositionEvent"): CompositionEvent;
|
|
4726
4672
|
createEvent(eventInterface: "CustomEvent"): CustomEvent;
|
|
4727
|
-
createEvent(eventInterface: "DeviceLightEvent"): DeviceLightEvent;
|
|
4728
4673
|
createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent;
|
|
4729
4674
|
createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent;
|
|
4730
4675
|
createEvent(eventInterface: "DragEvent"): DragEvent;
|
|
@@ -4739,10 +4684,6 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4739
4684
|
createEvent(eventInterface: "InputEvent"): InputEvent;
|
|
4740
4685
|
createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent;
|
|
4741
4686
|
createEvent(eventInterface: "ListeningStateChangedEvent"): ListeningStateChangedEvent;
|
|
4742
|
-
createEvent(eventInterface: "MSGestureEvent"): MSGestureEvent;
|
|
4743
|
-
createEvent(eventInterface: "MSMediaKeyMessageEvent"): MSMediaKeyMessageEvent;
|
|
4744
|
-
createEvent(eventInterface: "MSMediaKeyNeededEvent"): MSMediaKeyNeededEvent;
|
|
4745
|
-
createEvent(eventInterface: "MSPointerEvent"): MSPointerEvent;
|
|
4746
4687
|
createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;
|
|
4747
4688
|
createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;
|
|
4748
4689
|
createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent;
|
|
@@ -4757,6 +4698,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4757
4698
|
createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent;
|
|
4758
4699
|
createEvent(eventInterface: "OverflowEvent"): OverflowEvent;
|
|
4759
4700
|
createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent;
|
|
4701
|
+
createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent;
|
|
4760
4702
|
createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent;
|
|
4761
4703
|
createEvent(eventInterface: "PermissionRequestedEvent"): PermissionRequestedEvent;
|
|
4762
4704
|
createEvent(eventInterface: "PointerEvent"): PointerEvent;
|
|
@@ -4773,12 +4715,10 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4773
4715
|
createEvent(eventInterface: "RTCPeerConnectionIceErrorEvent"): RTCPeerConnectionIceErrorEvent;
|
|
4774
4716
|
createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent;
|
|
4775
4717
|
createEvent(eventInterface: "RTCSsrcConflictEvent"): RTCSsrcConflictEvent;
|
|
4776
|
-
createEvent(eventInterface: "RTCStatsEvent"): RTCStatsEvent;
|
|
4777
4718
|
createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent;
|
|
4778
4719
|
createEvent(eventInterface: "SVGZoomEvent"): SVGZoomEvent;
|
|
4779
4720
|
createEvent(eventInterface: "SVGZoomEvents"): SVGZoomEvent;
|
|
4780
4721
|
createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent;
|
|
4781
|
-
createEvent(eventInterface: "ServiceWorkerMessageEvent"): ServiceWorkerMessageEvent;
|
|
4782
4722
|
createEvent(eventInterface: "SpeechRecognitionErrorEvent"): SpeechRecognitionErrorEvent;
|
|
4783
4723
|
createEvent(eventInterface: "SpeechRecognitionEvent"): SpeechRecognitionEvent;
|
|
4784
4724
|
createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent;
|
|
@@ -4869,11 +4809,11 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4869
4809
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
4870
4810
|
/**
|
|
4871
4811
|
* If namespace and localName are "*" returns a HTMLCollection of all descendant elements.
|
|
4872
|
-
*
|
|
4812
|
+
*
|
|
4873
4813
|
* If only namespace is "*" returns a HTMLCollection of all descendant elements whose local name is localName.
|
|
4874
|
-
*
|
|
4814
|
+
*
|
|
4875
4815
|
* If only localName is "*" returns a HTMLCollection of all descendant elements whose namespace is namespace.
|
|
4876
|
-
*
|
|
4816
|
+
*
|
|
4877
4817
|
* Otherwise, returns a HTMLCollection of all descendant elements whose namespace is namespace and local name is localName.
|
|
4878
4818
|
*/
|
|
4879
4819
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
@@ -4889,7 +4829,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4889
4829
|
hasFocus(): boolean;
|
|
4890
4830
|
/**
|
|
4891
4831
|
* Returns a copy of node. If deep is true, the copy also includes the node's descendants.
|
|
4892
|
-
*
|
|
4832
|
+
*
|
|
4893
4833
|
* If node is a document or a shadow root, throws a "NotSupportedError" DOMException.
|
|
4894
4834
|
*/
|
|
4895
4835
|
importNode<T extends Node>(importedNode: T, deep: boolean): T;
|
|
@@ -4974,7 +4914,6 @@ interface DocumentEvent {
|
|
|
4974
4914
|
createEvent(eventInterface: "CloseEvent"): CloseEvent;
|
|
4975
4915
|
createEvent(eventInterface: "CompositionEvent"): CompositionEvent;
|
|
4976
4916
|
createEvent(eventInterface: "CustomEvent"): CustomEvent;
|
|
4977
|
-
createEvent(eventInterface: "DeviceLightEvent"): DeviceLightEvent;
|
|
4978
4917
|
createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent;
|
|
4979
4918
|
createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent;
|
|
4980
4919
|
createEvent(eventInterface: "DragEvent"): DragEvent;
|
|
@@ -4989,10 +4928,6 @@ interface DocumentEvent {
|
|
|
4989
4928
|
createEvent(eventInterface: "InputEvent"): InputEvent;
|
|
4990
4929
|
createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent;
|
|
4991
4930
|
createEvent(eventInterface: "ListeningStateChangedEvent"): ListeningStateChangedEvent;
|
|
4992
|
-
createEvent(eventInterface: "MSGestureEvent"): MSGestureEvent;
|
|
4993
|
-
createEvent(eventInterface: "MSMediaKeyMessageEvent"): MSMediaKeyMessageEvent;
|
|
4994
|
-
createEvent(eventInterface: "MSMediaKeyNeededEvent"): MSMediaKeyNeededEvent;
|
|
4995
|
-
createEvent(eventInterface: "MSPointerEvent"): MSPointerEvent;
|
|
4996
4931
|
createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;
|
|
4997
4932
|
createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;
|
|
4998
4933
|
createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent;
|
|
@@ -5007,6 +4942,7 @@ interface DocumentEvent {
|
|
|
5007
4942
|
createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent;
|
|
5008
4943
|
createEvent(eventInterface: "OverflowEvent"): OverflowEvent;
|
|
5009
4944
|
createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent;
|
|
4945
|
+
createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent;
|
|
5010
4946
|
createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent;
|
|
5011
4947
|
createEvent(eventInterface: "PermissionRequestedEvent"): PermissionRequestedEvent;
|
|
5012
4948
|
createEvent(eventInterface: "PointerEvent"): PointerEvent;
|
|
@@ -5023,12 +4959,10 @@ interface DocumentEvent {
|
|
|
5023
4959
|
createEvent(eventInterface: "RTCPeerConnectionIceErrorEvent"): RTCPeerConnectionIceErrorEvent;
|
|
5024
4960
|
createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent;
|
|
5025
4961
|
createEvent(eventInterface: "RTCSsrcConflictEvent"): RTCSsrcConflictEvent;
|
|
5026
|
-
createEvent(eventInterface: "RTCStatsEvent"): RTCStatsEvent;
|
|
5027
4962
|
createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent;
|
|
5028
4963
|
createEvent(eventInterface: "SVGZoomEvent"): SVGZoomEvent;
|
|
5029
4964
|
createEvent(eventInterface: "SVGZoomEvents"): SVGZoomEvent;
|
|
5030
4965
|
createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent;
|
|
5031
|
-
createEvent(eventInterface: "ServiceWorkerMessageEvent"): ServiceWorkerMessageEvent;
|
|
5032
4966
|
createEvent(eventInterface: "SpeechRecognitionErrorEvent"): SpeechRecognitionErrorEvent;
|
|
5033
4967
|
createEvent(eventInterface: "SpeechRecognitionEvent"): SpeechRecognitionEvent;
|
|
5034
4968
|
createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent;
|
|
@@ -5276,7 +5210,7 @@ interface Element extends Node, Animatable, ChildNode, InnerHTML, NonDocumentTyp
|
|
|
5276
5210
|
removeAttributeNode(attr: Attr): Attr;
|
|
5277
5211
|
/**
|
|
5278
5212
|
* Displays element fullscreen and resolves promise when done.
|
|
5279
|
-
*
|
|
5213
|
+
*
|
|
5280
5214
|
* When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference.
|
|
5281
5215
|
*/
|
|
5282
5216
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
@@ -5301,7 +5235,7 @@ interface Element extends Node, Animatable, ChildNode, InnerHTML, NonDocumentTyp
|
|
|
5301
5235
|
setPointerCapture(pointerId: number): void;
|
|
5302
5236
|
/**
|
|
5303
5237
|
* If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName.
|
|
5304
|
-
*
|
|
5238
|
+
*
|
|
5305
5239
|
* Returns true if qualifiedName is now present, and false otherwise.
|
|
5306
5240
|
*/
|
|
5307
5241
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
@@ -5471,15 +5405,15 @@ declare var EventSource: {
|
|
|
5471
5405
|
interface EventTarget {
|
|
5472
5406
|
/**
|
|
5473
5407
|
* Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
|
|
5474
|
-
*
|
|
5408
|
+
*
|
|
5475
5409
|
* The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
|
|
5476
|
-
*
|
|
5410
|
+
*
|
|
5477
5411
|
* When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
|
|
5478
|
-
*
|
|
5412
|
+
*
|
|
5479
5413
|
* When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
|
|
5480
|
-
*
|
|
5414
|
+
*
|
|
5481
5415
|
* When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
|
|
5482
|
-
*
|
|
5416
|
+
*
|
|
5483
5417
|
* The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
|
|
5484
5418
|
*/
|
|
5485
5419
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject | null, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -6146,9 +6080,9 @@ interface HTMLAllCollection {
|
|
|
6146
6080
|
item(nameOrIndex?: string): HTMLCollection | Element | null;
|
|
6147
6081
|
/**
|
|
6148
6082
|
* Returns the item with ID or name name from the collection.
|
|
6149
|
-
*
|
|
6083
|
+
*
|
|
6150
6084
|
* If there are multiple matching items, then an HTMLCollection object containing all those elements is returned.
|
|
6151
|
-
*
|
|
6085
|
+
*
|
|
6152
6086
|
* Only button, form, iframe, input, map, meta, object, select, and textarea elements can have a name for the purpose of this method; their name is given by the value of their name attribute.
|
|
6153
6087
|
*/
|
|
6154
6088
|
namedItem(name: string): HTMLCollection | Element | null;
|
|
@@ -6360,29 +6294,6 @@ declare var HTMLBaseElement: {
|
|
|
6360
6294
|
new(): HTMLBaseElement;
|
|
6361
6295
|
};
|
|
6362
6296
|
|
|
6363
|
-
/** Provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <basefont> elements. */
|
|
6364
|
-
interface HTMLBaseFontElement extends HTMLElement, DOML2DeprecatedColorProperty {
|
|
6365
|
-
/**
|
|
6366
|
-
* Sets or retrieves the current typeface family.
|
|
6367
|
-
*/
|
|
6368
|
-
/** @deprecated */
|
|
6369
|
-
face: string;
|
|
6370
|
-
/**
|
|
6371
|
-
* Sets or retrieves the font size of the object.
|
|
6372
|
-
*/
|
|
6373
|
-
/** @deprecated */
|
|
6374
|
-
size: number;
|
|
6375
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
6376
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
6377
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseFontElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
6378
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
6379
|
-
}
|
|
6380
|
-
|
|
6381
|
-
declare var HTMLBaseFontElement: {
|
|
6382
|
-
prototype: HTMLBaseFontElement;
|
|
6383
|
-
new(): HTMLBaseFontElement;
|
|
6384
|
-
};
|
|
6385
|
-
|
|
6386
6297
|
interface HTMLBodyElementEventMap extends HTMLElementEventMap, WindowEventHandlersEventMap {
|
|
6387
6298
|
"orientationchange": Event;
|
|
6388
6299
|
}
|
|
@@ -6809,7 +6720,7 @@ declare var HTMLFontElement: {
|
|
|
6809
6720
|
interface HTMLFormControlsCollection extends HTMLCollectionBase {
|
|
6810
6721
|
/**
|
|
6811
6722
|
* Returns the item with ID or name name from the collection.
|
|
6812
|
-
*
|
|
6723
|
+
*
|
|
6813
6724
|
* If there are multiple matching items, then a RadioNodeList object containing all those elements is returned.
|
|
6814
6725
|
*/
|
|
6815
6726
|
namedItem(name: string): RadioNodeList | Element | null;
|
|
@@ -8058,25 +7969,25 @@ declare var HTMLOptionElement: {
|
|
|
8058
7969
|
interface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {
|
|
8059
7970
|
/**
|
|
8060
7971
|
* Returns the number of elements in the collection.
|
|
8061
|
-
*
|
|
7972
|
+
*
|
|
8062
7973
|
* When set to a smaller number, truncates the number of option elements in the corresponding container.
|
|
8063
|
-
*
|
|
7974
|
+
*
|
|
8064
7975
|
* When set to a greater number, adds new blank option elements to that container.
|
|
8065
7976
|
*/
|
|
8066
7977
|
length: number;
|
|
8067
7978
|
/**
|
|
8068
7979
|
* Returns the index of the first selected item, if any, or −1 if there is no selected item.
|
|
8069
|
-
*
|
|
7980
|
+
*
|
|
8070
7981
|
* Can be set, to change the selection.
|
|
8071
7982
|
*/
|
|
8072
7983
|
selectedIndex: number;
|
|
8073
7984
|
/**
|
|
8074
7985
|
* Inserts element before the node given by before.
|
|
8075
|
-
*
|
|
7986
|
+
*
|
|
8076
7987
|
* The before argument can be a number, in which case element is inserted before the item with that number, or an element from the collection, in which case element is inserted before that element.
|
|
8077
|
-
*
|
|
7988
|
+
*
|
|
8078
7989
|
* If before is omitted, null, or a number out of range, then element will be added at the end of the list.
|
|
8079
|
-
*
|
|
7990
|
+
*
|
|
8080
7991
|
* This method will throw a "HierarchyRequestError" DOMException if element is an ancestor of the element into which it is to be inserted.
|
|
8081
7992
|
*/
|
|
8082
7993
|
add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;
|
|
@@ -9155,15 +9066,15 @@ interface IDBCursor {
|
|
|
9155
9066
|
continuePrimaryKey(key: IDBValidKey, primaryKey: IDBValidKey): void;
|
|
9156
9067
|
/**
|
|
9157
9068
|
* Delete the record pointed at by the cursor with a new value.
|
|
9158
|
-
*
|
|
9069
|
+
*
|
|
9159
9070
|
* If successful, request's result will be undefined.
|
|
9160
9071
|
*/
|
|
9161
9072
|
delete(): IDBRequest<undefined>;
|
|
9162
9073
|
/**
|
|
9163
9074
|
* Updated the record pointed at by the cursor with a new value.
|
|
9164
|
-
*
|
|
9075
|
+
*
|
|
9165
9076
|
* Throws a "DataError" DOMException if the effective object store uses in-line keys and the key would have changed.
|
|
9166
|
-
*
|
|
9077
|
+
*
|
|
9167
9078
|
* If successful, request's result will be the record's key.
|
|
9168
9079
|
*/
|
|
9169
9080
|
update(value: any): IDBRequest<IDBValidKey>;
|
|
@@ -9218,13 +9129,13 @@ interface IDBDatabase extends EventTarget {
|
|
|
9218
9129
|
close(): void;
|
|
9219
9130
|
/**
|
|
9220
9131
|
* Creates a new object store with the given name and options and returns a new IDBObjectStore.
|
|
9221
|
-
*
|
|
9132
|
+
*
|
|
9222
9133
|
* Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.
|
|
9223
9134
|
*/
|
|
9224
9135
|
createObjectStore(name: string, options?: IDBObjectStoreParameters): IDBObjectStore;
|
|
9225
9136
|
/**
|
|
9226
9137
|
* Deletes the object store with the given name.
|
|
9227
|
-
*
|
|
9138
|
+
*
|
|
9228
9139
|
* Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.
|
|
9229
9140
|
*/
|
|
9230
9141
|
deleteObjectStore(name: string): void;
|
|
@@ -9247,7 +9158,7 @@ declare var IDBDatabase: {
|
|
|
9247
9158
|
interface IDBFactory {
|
|
9248
9159
|
/**
|
|
9249
9160
|
* Compares two values as keys. Returns -1 if key1 precedes key2, 1 if key2 precedes key1, and 0 if the keys are equal.
|
|
9250
|
-
*
|
|
9161
|
+
*
|
|
9251
9162
|
* Throws a "DataError" DOMException if either input is not a valid key.
|
|
9252
9163
|
*/
|
|
9253
9164
|
cmp(first: any, second: any): number;
|
|
@@ -9281,43 +9192,43 @@ interface IDBIndex {
|
|
|
9281
9192
|
readonly unique: boolean;
|
|
9282
9193
|
/**
|
|
9283
9194
|
* Retrieves the number of records matching the given key or key range in query.
|
|
9284
|
-
*
|
|
9195
|
+
*
|
|
9285
9196
|
* If successful, request's result will be the count.
|
|
9286
9197
|
*/
|
|
9287
9198
|
count(key?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
|
9288
9199
|
/**
|
|
9289
9200
|
* Retrieves the value of the first record matching the given key or key range in query.
|
|
9290
|
-
*
|
|
9201
|
+
*
|
|
9291
9202
|
* If successful, request's result will be the value, or undefined if there was no matching record.
|
|
9292
9203
|
*/
|
|
9293
9204
|
get(key: IDBValidKey | IDBKeyRange): IDBRequest<any | undefined>;
|
|
9294
9205
|
/**
|
|
9295
9206
|
* Retrieves the values of the records matching the given key or key range in query (up to count if given).
|
|
9296
|
-
*
|
|
9207
|
+
*
|
|
9297
9208
|
* If successful, request's result will be an Array of the values.
|
|
9298
9209
|
*/
|
|
9299
9210
|
getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
|
|
9300
9211
|
/**
|
|
9301
9212
|
* Retrieves the keys of records matching the given key or key range in query (up to count if given).
|
|
9302
|
-
*
|
|
9213
|
+
*
|
|
9303
9214
|
* If successful, request's result will be an Array of the keys.
|
|
9304
9215
|
*/
|
|
9305
9216
|
getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
9306
9217
|
/**
|
|
9307
9218
|
* Retrieves the key of the first record matching the given key or key range in query.
|
|
9308
|
-
*
|
|
9219
|
+
*
|
|
9309
9220
|
* If successful, request's result will be the key, or undefined if there was no matching record.
|
|
9310
9221
|
*/
|
|
9311
9222
|
getKey(key: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;
|
|
9312
9223
|
/**
|
|
9313
9224
|
* Opens a cursor over the records matching query, ordered by direction. If query is null, all records in index are matched.
|
|
9314
|
-
*
|
|
9225
|
+
*
|
|
9315
9226
|
* If successful, request's result will be an IDBCursorWithValue, or null if there were no matching records.
|
|
9316
9227
|
*/
|
|
9317
9228
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
|
9318
9229
|
/**
|
|
9319
9230
|
* Opens a cursor with key only flag set over the records matching query, ordered by direction. If query is null, all records in index are matched.
|
|
9320
|
-
*
|
|
9231
|
+
*
|
|
9321
9232
|
* If successful, request's result will be an IDBCursor, or null if there were no matching records.
|
|
9322
9233
|
*/
|
|
9323
9234
|
openKeyCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursor | null>;
|
|
@@ -9397,88 +9308,88 @@ interface IDBObjectStore {
|
|
|
9397
9308
|
readonly transaction: IDBTransaction;
|
|
9398
9309
|
/**
|
|
9399
9310
|
* Adds or updates a record in store with the given value and key.
|
|
9400
|
-
*
|
|
9311
|
+
*
|
|
9401
9312
|
* If the store uses in-line keys and key is specified a "DataError" DOMException will be thrown.
|
|
9402
|
-
*
|
|
9313
|
+
*
|
|
9403
9314
|
* If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request's error set to a "ConstraintError" DOMException.
|
|
9404
|
-
*
|
|
9315
|
+
*
|
|
9405
9316
|
* If successful, request's result will be the record's key.
|
|
9406
9317
|
*/
|
|
9407
9318
|
add(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;
|
|
9408
9319
|
/**
|
|
9409
9320
|
* Deletes all records in store.
|
|
9410
|
-
*
|
|
9321
|
+
*
|
|
9411
9322
|
* If successful, request's result will be undefined.
|
|
9412
9323
|
*/
|
|
9413
9324
|
clear(): IDBRequest<undefined>;
|
|
9414
9325
|
/**
|
|
9415
9326
|
* Retrieves the number of records matching the given key or key range in query.
|
|
9416
|
-
*
|
|
9327
|
+
*
|
|
9417
9328
|
* If successful, request's result will be the count.
|
|
9418
9329
|
*/
|
|
9419
9330
|
count(key?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
|
|
9420
9331
|
/**
|
|
9421
9332
|
* Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.
|
|
9422
|
-
*
|
|
9333
|
+
*
|
|
9423
9334
|
* Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
|
|
9424
9335
|
*/
|
|
9425
9336
|
createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;
|
|
9426
9337
|
/**
|
|
9427
9338
|
* Deletes records in store with the given key or in the given key range in query.
|
|
9428
|
-
*
|
|
9339
|
+
*
|
|
9429
9340
|
* If successful, request's result will be undefined.
|
|
9430
9341
|
*/
|
|
9431
9342
|
delete(key: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;
|
|
9432
9343
|
/**
|
|
9433
9344
|
* Deletes the index in store with the given name.
|
|
9434
|
-
*
|
|
9345
|
+
*
|
|
9435
9346
|
* Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
|
|
9436
9347
|
*/
|
|
9437
9348
|
deleteIndex(name: string): void;
|
|
9438
9349
|
/**
|
|
9439
9350
|
* Retrieves the value of the first record matching the given key or key range in query.
|
|
9440
|
-
*
|
|
9351
|
+
*
|
|
9441
9352
|
* If successful, request's result will be the value, or undefined if there was no matching record.
|
|
9442
9353
|
*/
|
|
9443
9354
|
get(query: IDBValidKey | IDBKeyRange): IDBRequest<any | undefined>;
|
|
9444
9355
|
/**
|
|
9445
9356
|
* Retrieves the values of the records matching the given key or key range in query (up to count if given).
|
|
9446
|
-
*
|
|
9357
|
+
*
|
|
9447
9358
|
* If successful, request's result will be an Array of the values.
|
|
9448
9359
|
*/
|
|
9449
9360
|
getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
|
|
9450
9361
|
/**
|
|
9451
9362
|
* Retrieves the keys of records matching the given key or key range in query (up to count if given).
|
|
9452
|
-
*
|
|
9363
|
+
*
|
|
9453
9364
|
* If successful, request's result will be an Array of the keys.
|
|
9454
9365
|
*/
|
|
9455
9366
|
getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
9456
9367
|
/**
|
|
9457
9368
|
* Retrieves the key of the first record matching the given key or key range in query.
|
|
9458
|
-
*
|
|
9369
|
+
*
|
|
9459
9370
|
* If successful, request's result will be the key, or undefined if there was no matching record.
|
|
9460
9371
|
*/
|
|
9461
9372
|
getKey(query: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;
|
|
9462
9373
|
index(name: string): IDBIndex;
|
|
9463
9374
|
/**
|
|
9464
9375
|
* Opens a cursor over the records matching query, ordered by direction. If query is null, all records in store are matched.
|
|
9465
|
-
*
|
|
9376
|
+
*
|
|
9466
9377
|
* If successful, request's result will be an IDBCursorWithValue pointing at the first matching record, or null if there were no matching records.
|
|
9467
9378
|
*/
|
|
9468
9379
|
openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;
|
|
9469
9380
|
/**
|
|
9470
9381
|
* Opens a cursor with key only flag set over the records matching query, ordered by direction. If query is null, all records in store are matched.
|
|
9471
|
-
*
|
|
9382
|
+
*
|
|
9472
9383
|
* If successful, request's result will be an IDBCursor pointing at the first matching record, or null if there were no matching records.
|
|
9473
9384
|
*/
|
|
9474
9385
|
openKeyCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursor | null>;
|
|
9475
9386
|
/**
|
|
9476
9387
|
* Adds or updates a record in store with the given value and key.
|
|
9477
|
-
*
|
|
9388
|
+
*
|
|
9478
9389
|
* If the store uses in-line keys and key is specified a "DataError" DOMException will be thrown.
|
|
9479
|
-
*
|
|
9390
|
+
*
|
|
9480
9391
|
* If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request's error set to a "ConstraintError" DOMException.
|
|
9481
|
-
*
|
|
9392
|
+
*
|
|
9482
9393
|
* If successful, request's result will be the record's key.
|
|
9483
9394
|
*/
|
|
9484
9395
|
put(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;
|
|
@@ -9798,25 +9709,25 @@ interface Location {
|
|
|
9798
9709
|
readonly ancestorOrigins: DOMStringList;
|
|
9799
9710
|
/**
|
|
9800
9711
|
* Returns the Location object's URL's fragment (includes leading "#" if non-empty).
|
|
9801
|
-
*
|
|
9712
|
+
*
|
|
9802
9713
|
* Can be set, to navigate to the same URL with a changed fragment (ignores leading "#").
|
|
9803
9714
|
*/
|
|
9804
9715
|
hash: string;
|
|
9805
9716
|
/**
|
|
9806
9717
|
* Returns the Location object's URL's host and port (if different from the default port for the scheme).
|
|
9807
|
-
*
|
|
9718
|
+
*
|
|
9808
9719
|
* Can be set, to navigate to the same URL with a changed host and port.
|
|
9809
9720
|
*/
|
|
9810
9721
|
host: string;
|
|
9811
9722
|
/**
|
|
9812
9723
|
* Returns the Location object's URL's host.
|
|
9813
|
-
*
|
|
9724
|
+
*
|
|
9814
9725
|
* Can be set, to navigate to the same URL with a changed host.
|
|
9815
9726
|
*/
|
|
9816
9727
|
hostname: string;
|
|
9817
9728
|
/**
|
|
9818
9729
|
* Returns the Location object's URL.
|
|
9819
|
-
*
|
|
9730
|
+
*
|
|
9820
9731
|
* Can be set, to navigate to the given URL.
|
|
9821
9732
|
*/
|
|
9822
9733
|
href: string;
|
|
@@ -9827,25 +9738,25 @@ interface Location {
|
|
|
9827
9738
|
readonly origin: string;
|
|
9828
9739
|
/**
|
|
9829
9740
|
* Returns the Location object's URL's path.
|
|
9830
|
-
*
|
|
9741
|
+
*
|
|
9831
9742
|
* Can be set, to navigate to the same URL with a changed path.
|
|
9832
9743
|
*/
|
|
9833
9744
|
pathname: string;
|
|
9834
9745
|
/**
|
|
9835
9746
|
* Returns the Location object's URL's port.
|
|
9836
|
-
*
|
|
9747
|
+
*
|
|
9837
9748
|
* Can be set, to navigate to the same URL with a changed port.
|
|
9838
9749
|
*/
|
|
9839
9750
|
port: string;
|
|
9840
9751
|
/**
|
|
9841
9752
|
* Returns the Location object's URL's scheme.
|
|
9842
|
-
*
|
|
9753
|
+
*
|
|
9843
9754
|
* Can be set, to navigate to the same URL with a changed scheme.
|
|
9844
9755
|
*/
|
|
9845
9756
|
protocol: string;
|
|
9846
9757
|
/**
|
|
9847
9758
|
* Returns the Location object's URL's query (includes leading "?" if non-empty).
|
|
9848
|
-
*
|
|
9759
|
+
*
|
|
9849
9760
|
* Can be set, to navigate to the same URL with a changed query (ignores leading "?").
|
|
9850
9761
|
*/
|
|
9851
9762
|
search: string;
|
|
@@ -9938,43 +9849,6 @@ declare var MSGesture: {
|
|
|
9938
9849
|
new(): MSGesture;
|
|
9939
9850
|
};
|
|
9940
9851
|
|
|
9941
|
-
/** The MSGestureEvent is a proprietary interface specific to Internet Explorer and Microsoft Edge which represents events that occur due to touch gestures. Events using this interface include MSGestureStart, MSGestureEnd, MSGestureTap, MSGestureHold, MSGestureChange, and MSInertiaStart. */
|
|
9942
|
-
interface MSGestureEvent extends UIEvent {
|
|
9943
|
-
readonly clientX: number;
|
|
9944
|
-
readonly clientY: number;
|
|
9945
|
-
readonly expansion: number;
|
|
9946
|
-
readonly gestureObject: any;
|
|
9947
|
-
readonly hwTimestamp: number;
|
|
9948
|
-
readonly offsetX: number;
|
|
9949
|
-
readonly offsetY: number;
|
|
9950
|
-
readonly rotation: number;
|
|
9951
|
-
readonly scale: number;
|
|
9952
|
-
readonly screenX: number;
|
|
9953
|
-
readonly screenY: number;
|
|
9954
|
-
readonly translationX: number;
|
|
9955
|
-
readonly translationY: number;
|
|
9956
|
-
readonly velocityAngular: number;
|
|
9957
|
-
readonly velocityExpansion: number;
|
|
9958
|
-
readonly velocityX: number;
|
|
9959
|
-
readonly velocityY: number;
|
|
9960
|
-
initGestureEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, offsetXArg: number, offsetYArg: number, translationXArg: number, translationYArg: number, scaleArg: number, expansionArg: number, rotationArg: number, velocityXArg: number, velocityYArg: number, velocityExpansionArg: number, velocityAngularArg: number, hwTimestampArg: number): void;
|
|
9961
|
-
readonly MSGESTURE_FLAG_BEGIN: number;
|
|
9962
|
-
readonly MSGESTURE_FLAG_CANCEL: number;
|
|
9963
|
-
readonly MSGESTURE_FLAG_END: number;
|
|
9964
|
-
readonly MSGESTURE_FLAG_INERTIA: number;
|
|
9965
|
-
readonly MSGESTURE_FLAG_NONE: number;
|
|
9966
|
-
}
|
|
9967
|
-
|
|
9968
|
-
declare var MSGestureEvent: {
|
|
9969
|
-
prototype: MSGestureEvent;
|
|
9970
|
-
new(): MSGestureEvent;
|
|
9971
|
-
readonly MSGESTURE_FLAG_BEGIN: number;
|
|
9972
|
-
readonly MSGESTURE_FLAG_CANCEL: number;
|
|
9973
|
-
readonly MSGESTURE_FLAG_END: number;
|
|
9974
|
-
readonly MSGESTURE_FLAG_INERTIA: number;
|
|
9975
|
-
readonly MSGESTURE_FLAG_NONE: number;
|
|
9976
|
-
};
|
|
9977
|
-
|
|
9978
9852
|
/** The msGraphicsTrust() constructor returns an object that provides properties for info on protected video playback. */
|
|
9979
9853
|
interface MSGraphicsTrust {
|
|
9980
9854
|
readonly constrictionActive: boolean;
|
|
@@ -10036,25 +9910,6 @@ declare var MSMediaKeyError: {
|
|
|
10036
9910
|
readonly MS_MEDIA_KEYERR_UNKNOWN: number;
|
|
10037
9911
|
};
|
|
10038
9912
|
|
|
10039
|
-
interface MSMediaKeyMessageEvent extends Event {
|
|
10040
|
-
readonly destinationURL: string | null;
|
|
10041
|
-
readonly message: Uint8Array;
|
|
10042
|
-
}
|
|
10043
|
-
|
|
10044
|
-
declare var MSMediaKeyMessageEvent: {
|
|
10045
|
-
prototype: MSMediaKeyMessageEvent;
|
|
10046
|
-
new(): MSMediaKeyMessageEvent;
|
|
10047
|
-
};
|
|
10048
|
-
|
|
10049
|
-
interface MSMediaKeyNeededEvent extends Event {
|
|
10050
|
-
readonly initData: Uint8Array | null;
|
|
10051
|
-
}
|
|
10052
|
-
|
|
10053
|
-
declare var MSMediaKeyNeededEvent: {
|
|
10054
|
-
prototype: MSMediaKeyNeededEvent;
|
|
10055
|
-
new(): MSMediaKeyNeededEvent;
|
|
10056
|
-
};
|
|
10057
|
-
|
|
10058
9913
|
interface MSMediaKeySession extends EventTarget {
|
|
10059
9914
|
readonly error: MSMediaKeyError | null;
|
|
10060
9915
|
readonly keySystem: string;
|
|
@@ -10089,29 +9944,6 @@ interface MSNavigatorDoNotTrack {
|
|
|
10089
9944
|
storeWebWideTrackingException(args: StoreExceptionsInformation): void;
|
|
10090
9945
|
}
|
|
10091
9946
|
|
|
10092
|
-
interface MSPointerEvent extends MouseEvent {
|
|
10093
|
-
readonly currentPoint: any;
|
|
10094
|
-
readonly height: number;
|
|
10095
|
-
readonly hwTimestamp: number;
|
|
10096
|
-
readonly intermediatePoints: any;
|
|
10097
|
-
readonly isPrimary: boolean;
|
|
10098
|
-
readonly pointerId: number;
|
|
10099
|
-
readonly pointerType: any;
|
|
10100
|
-
readonly pressure: number;
|
|
10101
|
-
readonly rotation: number;
|
|
10102
|
-
readonly tiltX: number;
|
|
10103
|
-
readonly tiltY: number;
|
|
10104
|
-
readonly width: number;
|
|
10105
|
-
getCurrentPoint(element: Element): void;
|
|
10106
|
-
getIntermediatePoints(element: Element): void;
|
|
10107
|
-
initPointerEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, screenXArg: number, screenYArg: number, clientXArg: number, clientYArg: number, ctrlKeyArg: boolean, altKeyArg: boolean, shiftKeyArg: boolean, metaKeyArg: boolean, buttonArg: number, relatedTargetArg: EventTarget, offsetXArg: number, offsetYArg: number, widthArg: number, heightArg: number, pressure: number, rotation: number, tiltX: number, tiltY: number, pointerIdArg: number, pointerType: any, hwTimestampArg: number, isPrimary: boolean): void;
|
|
10108
|
-
}
|
|
10109
|
-
|
|
10110
|
-
declare var MSPointerEvent: {
|
|
10111
|
-
prototype: MSPointerEvent;
|
|
10112
|
-
new(typeArg: string, eventInitDict?: PointerEventInit): MSPointerEvent;
|
|
10113
|
-
};
|
|
10114
|
-
|
|
10115
9947
|
interface MSStream {
|
|
10116
9948
|
readonly type: string;
|
|
10117
9949
|
msClose(): void;
|
|
@@ -10436,7 +10268,6 @@ declare var MediaStreamEvent: {
|
|
|
10436
10268
|
|
|
10437
10269
|
interface MediaStreamTrackEventMap {
|
|
10438
10270
|
"ended": Event;
|
|
10439
|
-
"isolationchange": Event;
|
|
10440
10271
|
"mute": Event;
|
|
10441
10272
|
"unmute": Event;
|
|
10442
10273
|
}
|
|
@@ -10445,12 +10276,10 @@ interface MediaStreamTrackEventMap {
|
|
|
10445
10276
|
interface MediaStreamTrack extends EventTarget {
|
|
10446
10277
|
enabled: boolean;
|
|
10447
10278
|
readonly id: string;
|
|
10448
|
-
readonly isolated: boolean;
|
|
10449
10279
|
readonly kind: string;
|
|
10450
10280
|
readonly label: string;
|
|
10451
10281
|
readonly muted: boolean;
|
|
10452
10282
|
onended: ((this: MediaStreamTrack, ev: Event) => any) | null;
|
|
10453
|
-
onisolationchange: ((this: MediaStreamTrack, ev: Event) => any) | null;
|
|
10454
10283
|
onmute: ((this: MediaStreamTrack, ev: Event) => any) | null;
|
|
10455
10284
|
onunmute: ((this: MediaStreamTrack, ev: Event) => any) | null;
|
|
10456
10285
|
readonly readyState: MediaStreamTrackState;
|
|
@@ -10550,7 +10379,7 @@ interface MessagePort extends EventTarget {
|
|
|
10550
10379
|
close(): void;
|
|
10551
10380
|
/**
|
|
10552
10381
|
* Posts a message through the channel. Objects listed in transfer are transferred, not just cloned, meaning that they are no longer usable on the sending side.
|
|
10553
|
-
*
|
|
10382
|
+
*
|
|
10554
10383
|
* Throws a "DataCloneError" DOMException if transfer contains duplicate objects or port, or if message could not be cloned.
|
|
10555
10384
|
*/
|
|
10556
10385
|
postMessage(message: any, transfer: Transferable[]): void;
|
|
@@ -10668,7 +10497,7 @@ interface MutationObserver {
|
|
|
10668
10497
|
disconnect(): void;
|
|
10669
10498
|
/**
|
|
10670
10499
|
* Instructs the user agent to observe a given target (a node) and report any mutations based on the criteria given by options (an object).
|
|
10671
|
-
*
|
|
10500
|
+
*
|
|
10672
10501
|
* The options argument allows for setting mutation observation options via object members.
|
|
10673
10502
|
*/
|
|
10674
10503
|
observe(target: Node, options?: MutationObserverInit): void;
|
|
@@ -11258,27 +11087,27 @@ declare var OfflineAudioContext: {
|
|
|
11258
11087
|
interface OffscreenCanvas extends EventTarget {
|
|
11259
11088
|
/**
|
|
11260
11089
|
* These attributes return the dimensions of the OffscreenCanvas object's bitmap.
|
|
11261
|
-
*
|
|
11090
|
+
*
|
|
11262
11091
|
* They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).
|
|
11263
11092
|
*/
|
|
11264
11093
|
height: number;
|
|
11265
11094
|
/**
|
|
11266
11095
|
* These attributes return the dimensions of the OffscreenCanvas object's bitmap.
|
|
11267
|
-
*
|
|
11096
|
+
*
|
|
11268
11097
|
* They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).
|
|
11269
11098
|
*/
|
|
11270
11099
|
width: number;
|
|
11271
11100
|
/**
|
|
11272
11101
|
* Returns a promise that will fulfill with a new Blob object representing a file containing the image in the OffscreenCanvas object.
|
|
11273
|
-
*
|
|
11102
|
+
*
|
|
11274
11103
|
* The argument, if provided, is a dictionary that controls the encoding options of the image file to be created. The type field specifies the file format and has a default value of "image/png"; that type is also used if the requested type isn't supported. If the image format supports variable quality (such as "image/jpeg"), then the quality field is a number in the range 0.0 to 1.0 inclusive indicating the desired quality level for the resulting image.
|
|
11275
11104
|
*/
|
|
11276
11105
|
convertToBlob(options?: ImageEncodeOptions): Promise<Blob>;
|
|
11277
11106
|
/**
|
|
11278
11107
|
* 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.
|
|
11279
|
-
*
|
|
11108
|
+
*
|
|
11280
11109
|
* 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]
|
|
11281
|
-
*
|
|
11110
|
+
*
|
|
11282
11111
|
* 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).
|
|
11283
11112
|
*/
|
|
11284
11113
|
getContext(contextId: "2d", options?: CanvasRenderingContext2DSettings): OffscreenCanvasRenderingContext2D | null;
|
|
@@ -11354,11 +11183,11 @@ declare var OverflowEvent: {
|
|
|
11354
11183
|
interface PageTransitionEvent extends Event {
|
|
11355
11184
|
/**
|
|
11356
11185
|
* For the pageshow event, returns false if the page is newly being loaded (and the load event will fire). Otherwise, returns true.
|
|
11357
|
-
*
|
|
11186
|
+
*
|
|
11358
11187
|
* For the pagehide event, returns false if the page is going away for the last time. Otherwise, returns true, meaning that (if nothing conspires to make the page unsalvageable) the page might be reused if the user navigates back to this page.
|
|
11359
|
-
*
|
|
11188
|
+
*
|
|
11360
11189
|
* Things that can cause the page to be unsalvageable include:
|
|
11361
|
-
*
|
|
11190
|
+
*
|
|
11362
11191
|
* Listening for beforeunload events
|
|
11363
11192
|
* Listening for unload events
|
|
11364
11193
|
* Having iframes that are not salvageable
|
|
@@ -11416,13 +11245,13 @@ interface ParentNode {
|
|
|
11416
11245
|
readonly lastElementChild: Element | null;
|
|
11417
11246
|
/**
|
|
11418
11247
|
* Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.
|
|
11419
|
-
*
|
|
11248
|
+
*
|
|
11420
11249
|
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
11421
11250
|
*/
|
|
11422
11251
|
append(...nodes: (Node | string)[]): void;
|
|
11423
11252
|
/**
|
|
11424
11253
|
* Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
|
|
11425
|
-
*
|
|
11254
|
+
*
|
|
11426
11255
|
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
|
|
11427
11256
|
*/
|
|
11428
11257
|
prepend(...nodes: (Node | string)[]): void;
|
|
@@ -11455,11 +11284,10 @@ declare var Path2D: {
|
|
|
11455
11284
|
|
|
11456
11285
|
/** This Payment Request API interface is used to store shipping or payment address information. */
|
|
11457
11286
|
interface PaymentAddress {
|
|
11458
|
-
readonly addressLine: string
|
|
11287
|
+
readonly addressLine: ReadonlyArray<string>;
|
|
11459
11288
|
readonly city: string;
|
|
11460
11289
|
readonly country: string;
|
|
11461
11290
|
readonly dependentLocality: string;
|
|
11462
|
-
readonly languageCode: string;
|
|
11463
11291
|
readonly organization: string;
|
|
11464
11292
|
readonly phone: string;
|
|
11465
11293
|
readonly postalCode: string;
|
|
@@ -11474,7 +11302,18 @@ declare var PaymentAddress: {
|
|
|
11474
11302
|
new(): PaymentAddress;
|
|
11475
11303
|
};
|
|
11476
11304
|
|
|
11305
|
+
interface PaymentMethodChangeEvent extends PaymentRequestUpdateEvent {
|
|
11306
|
+
readonly methodDetails: any;
|
|
11307
|
+
readonly methodName: string;
|
|
11308
|
+
}
|
|
11309
|
+
|
|
11310
|
+
declare var PaymentMethodChangeEvent: {
|
|
11311
|
+
prototype: PaymentMethodChangeEvent;
|
|
11312
|
+
new(type: string, eventInitDict?: PaymentMethodChangeEventInit): PaymentMethodChangeEvent;
|
|
11313
|
+
};
|
|
11314
|
+
|
|
11477
11315
|
interface PaymentRequestEventMap {
|
|
11316
|
+
"paymentmethodchange": Event;
|
|
11478
11317
|
"shippingaddresschange": Event;
|
|
11479
11318
|
"shippingoptionchange": Event;
|
|
11480
11319
|
}
|
|
@@ -11482,6 +11321,7 @@ interface PaymentRequestEventMap {
|
|
|
11482
11321
|
/** This Payment Request API interface is the primary access point into the API, and lets web content and apps accept payments from the end user. */
|
|
11483
11322
|
interface PaymentRequest extends EventTarget {
|
|
11484
11323
|
readonly id: string;
|
|
11324
|
+
onpaymentmethodchange: ((this: PaymentRequest, ev: Event) => any) | null;
|
|
11485
11325
|
onshippingaddresschange: ((this: PaymentRequest, ev: Event) => any) | null;
|
|
11486
11326
|
onshippingoptionchange: ((this: PaymentRequest, ev: Event) => any) | null;
|
|
11487
11327
|
readonly shippingAddress: PaymentAddress | null;
|
|
@@ -11489,7 +11329,7 @@ interface PaymentRequest extends EventTarget {
|
|
|
11489
11329
|
readonly shippingType: PaymentShippingType | null;
|
|
11490
11330
|
abort(): Promise<void>;
|
|
11491
11331
|
canMakePayment(): Promise<boolean>;
|
|
11492
|
-
show(): Promise<PaymentResponse>;
|
|
11332
|
+
show(detailsPromise: PaymentDetailsUpdate | Promise<PaymentDetailsUpdate>): Promise<PaymentResponse>;
|
|
11493
11333
|
addEventListener<K extends keyof PaymentRequestEventMap>(type: K, listener: (this: PaymentRequest, ev: PaymentRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11494
11334
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
11495
11335
|
removeEventListener<K extends keyof PaymentRequestEventMap>(type: K, listener: (this: PaymentRequest, ev: PaymentRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -11511,10 +11351,15 @@ declare var PaymentRequestUpdateEvent: {
|
|
|
11511
11351
|
new(type: string, eventInitDict?: PaymentRequestUpdateEventInit): PaymentRequestUpdateEvent;
|
|
11512
11352
|
};
|
|
11513
11353
|
|
|
11354
|
+
interface PaymentResponseEventMap {
|
|
11355
|
+
"payerdetailchange": Event;
|
|
11356
|
+
}
|
|
11357
|
+
|
|
11514
11358
|
/** This Payment Request API interface is returned after a user selects a payment method and approves a payment request. */
|
|
11515
|
-
interface PaymentResponse {
|
|
11359
|
+
interface PaymentResponse extends EventTarget {
|
|
11516
11360
|
readonly details: any;
|
|
11517
11361
|
readonly methodName: string;
|
|
11362
|
+
onpayerdetailchange: ((this: PaymentResponse, ev: Event) => any) | null;
|
|
11518
11363
|
readonly payerEmail: string | null;
|
|
11519
11364
|
readonly payerName: string | null;
|
|
11520
11365
|
readonly payerPhone: string | null;
|
|
@@ -11522,7 +11367,12 @@ interface PaymentResponse {
|
|
|
11522
11367
|
readonly shippingAddress: PaymentAddress | null;
|
|
11523
11368
|
readonly shippingOption: string | null;
|
|
11524
11369
|
complete(result?: PaymentComplete): Promise<void>;
|
|
11370
|
+
retry(errorFields?: PaymentValidationErrors): Promise<void>;
|
|
11525
11371
|
toJSON(): any;
|
|
11372
|
+
addEventListener<K extends keyof PaymentResponseEventMap>(type: K, listener: (this: PaymentResponse, ev: PaymentResponseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11373
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
11374
|
+
removeEventListener<K extends keyof PaymentResponseEventMap>(type: K, listener: (this: PaymentResponse, ev: PaymentResponseEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
11375
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
11526
11376
|
}
|
|
11527
11377
|
|
|
11528
11378
|
declare var PaymentResponse: {
|
|
@@ -11976,7 +11826,6 @@ interface RTCCertificate {
|
|
|
11976
11826
|
declare var RTCCertificate: {
|
|
11977
11827
|
prototype: RTCCertificate;
|
|
11978
11828
|
new(): RTCCertificate;
|
|
11979
|
-
getSupportedAlgorithms(): AlgorithmIdentifier[];
|
|
11980
11829
|
};
|
|
11981
11830
|
|
|
11982
11831
|
interface RTCDTMFSenderEventMap {
|
|
@@ -12006,7 +11855,7 @@ interface RTCDTMFToneChangeEvent extends Event {
|
|
|
12006
11855
|
|
|
12007
11856
|
declare var RTCDTMFToneChangeEvent: {
|
|
12008
11857
|
prototype: RTCDTMFToneChangeEvent;
|
|
12009
|
-
new(type: string, eventInitDict
|
|
11858
|
+
new(type: string, eventInitDict?: RTCDTMFToneChangeEventInit): RTCDTMFToneChangeEvent;
|
|
12010
11859
|
};
|
|
12011
11860
|
|
|
12012
11861
|
interface RTCDataChannelEventMap {
|
|
@@ -12018,7 +11867,7 @@ interface RTCDataChannelEventMap {
|
|
|
12018
11867
|
}
|
|
12019
11868
|
|
|
12020
11869
|
interface RTCDataChannel extends EventTarget {
|
|
12021
|
-
binaryType:
|
|
11870
|
+
binaryType: BinaryType;
|
|
12022
11871
|
readonly bufferedAmount: number;
|
|
12023
11872
|
bufferedAmountLowThreshold: number;
|
|
12024
11873
|
readonly id: number | null;
|
|
@@ -12032,7 +11881,6 @@ interface RTCDataChannel extends EventTarget {
|
|
|
12032
11881
|
onmessage: ((this: RTCDataChannel, ev: MessageEvent) => any) | null;
|
|
12033
11882
|
onopen: ((this: RTCDataChannel, ev: Event) => any) | null;
|
|
12034
11883
|
readonly ordered: boolean;
|
|
12035
|
-
readonly priority: RTCPriorityType;
|
|
12036
11884
|
readonly protocol: string;
|
|
12037
11885
|
readonly readyState: RTCDataChannelState;
|
|
12038
11886
|
close(): void;
|
|
@@ -12116,7 +11964,6 @@ declare var RTCDtmfSender: {
|
|
|
12116
11964
|
|
|
12117
11965
|
interface RTCError extends DOMException {
|
|
12118
11966
|
readonly errorDetail: RTCErrorDetailType;
|
|
12119
|
-
readonly httpRequestStatusCode: number | null;
|
|
12120
11967
|
readonly receivedAlert: number | null;
|
|
12121
11968
|
readonly sctpCauseCode: number | null;
|
|
12122
11969
|
readonly sdpLineNumber: number | null;
|
|
@@ -12209,7 +12056,6 @@ interface RTCIceTransportEventMap {
|
|
|
12209
12056
|
|
|
12210
12057
|
/** Provides access to information about the ICE transport layer over which the data is being sent and received. */
|
|
12211
12058
|
interface RTCIceTransport extends EventTarget {
|
|
12212
|
-
readonly component: RTCIceComponent;
|
|
12213
12059
|
readonly gatheringState: RTCIceGathererState;
|
|
12214
12060
|
ongatheringstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;
|
|
12215
12061
|
onselectedcandidatepairchange: ((this: RTCIceTransport, ev: Event) => any) | null;
|
|
@@ -12260,7 +12106,6 @@ interface RTCPeerConnectionEventMap {
|
|
|
12260
12106
|
"icegatheringstatechange": Event;
|
|
12261
12107
|
"negotiationneeded": Event;
|
|
12262
12108
|
"signalingstatechange": Event;
|
|
12263
|
-
"statsended": RTCStatsEvent;
|
|
12264
12109
|
"track": RTCTrackEvent;
|
|
12265
12110
|
}
|
|
12266
12111
|
|
|
@@ -12283,7 +12128,6 @@ interface RTCPeerConnection extends EventTarget {
|
|
|
12283
12128
|
onicegatheringstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;
|
|
12284
12129
|
onnegotiationneeded: ((this: RTCPeerConnection, ev: Event) => any) | null;
|
|
12285
12130
|
onsignalingstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;
|
|
12286
|
-
onstatsended: ((this: RTCPeerConnection, ev: RTCStatsEvent) => any) | null;
|
|
12287
12131
|
ontrack: ((this: RTCPeerConnection, ev: RTCTrackEvent) => any) | null;
|
|
12288
12132
|
readonly peerIdentity: Promise<RTCIdentityAssertion>;
|
|
12289
12133
|
readonly pendingLocalDescription: RTCSessionDescription | null;
|
|
@@ -12305,9 +12149,10 @@ interface RTCPeerConnection extends EventTarget {
|
|
|
12305
12149
|
getStats(selector?: MediaStreamTrack | null): Promise<RTCStatsReport>;
|
|
12306
12150
|
getTransceivers(): RTCRtpTransceiver[];
|
|
12307
12151
|
removeTrack(sender: RTCRtpSender): void;
|
|
12308
|
-
|
|
12152
|
+
restartIce(): void;
|
|
12153
|
+
setConfiguration(configuration?: RTCConfiguration): void;
|
|
12309
12154
|
setIdentityProvider(provider: string, options?: RTCIdentityProviderOptions): void;
|
|
12310
|
-
setLocalDescription(description
|
|
12155
|
+
setLocalDescription(description?: RTCSessionDescriptionInit): Promise<void>;
|
|
12311
12156
|
setRemoteDescription(description: RTCSessionDescriptionInit): Promise<void>;
|
|
12312
12157
|
addEventListener<K extends keyof RTCPeerConnectionEventMap>(type: K, listener: (this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
12313
12158
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -12319,13 +12164,13 @@ declare var RTCPeerConnection: {
|
|
|
12319
12164
|
prototype: RTCPeerConnection;
|
|
12320
12165
|
new(configuration?: RTCConfiguration): RTCPeerConnection;
|
|
12321
12166
|
generateCertificate(keygenAlgorithm: AlgorithmIdentifier): Promise<RTCCertificate>;
|
|
12322
|
-
getDefaultIceServers(): RTCIceServer[];
|
|
12323
12167
|
};
|
|
12324
12168
|
|
|
12325
12169
|
interface RTCPeerConnectionIceErrorEvent extends Event {
|
|
12170
|
+
readonly address: string | null;
|
|
12326
12171
|
readonly errorCode: number;
|
|
12327
12172
|
readonly errorText: string;
|
|
12328
|
-
readonly
|
|
12173
|
+
readonly port: number | null;
|
|
12329
12174
|
readonly url: string;
|
|
12330
12175
|
}
|
|
12331
12176
|
|
|
@@ -12337,7 +12182,6 @@ declare var RTCPeerConnectionIceErrorEvent: {
|
|
|
12337
12182
|
/** Events that occurs in relation to ICE candidates with the target, usually an RTCPeerConnection. Only one event is of this type: icecandidate. */
|
|
12338
12183
|
interface RTCPeerConnectionIceEvent extends Event {
|
|
12339
12184
|
readonly candidate: RTCIceCandidate | null;
|
|
12340
|
-
readonly url: string | null;
|
|
12341
12185
|
}
|
|
12342
12186
|
|
|
12343
12187
|
declare var RTCPeerConnectionIceEvent: {
|
|
@@ -12347,7 +12191,6 @@ declare var RTCPeerConnectionIceEvent: {
|
|
|
12347
12191
|
|
|
12348
12192
|
/** This WebRTC API interface manages the reception and decoding of data for a MediaStreamTrack on an RTCPeerConnection. */
|
|
12349
12193
|
interface RTCRtpReceiver {
|
|
12350
|
-
readonly rtcpTransport: RTCDtlsTransport | null;
|
|
12351
12194
|
readonly track: MediaStreamTrack;
|
|
12352
12195
|
readonly transport: RTCDtlsTransport | null;
|
|
12353
12196
|
getContributingSources(): RTCRtpContributingSource[];
|
|
@@ -12365,7 +12208,6 @@ declare var RTCRtpReceiver: {
|
|
|
12365
12208
|
/** Provides the ability to control and obtain details about how a particular MediaStreamTrack is encoded and sent to a remote peer. */
|
|
12366
12209
|
interface RTCRtpSender {
|
|
12367
12210
|
readonly dtmf: RTCDTMFSender | null;
|
|
12368
|
-
readonly rtcpTransport: RTCDtlsTransport | null;
|
|
12369
12211
|
readonly track: MediaStreamTrack | null;
|
|
12370
12212
|
readonly transport: RTCDtlsTransport | null;
|
|
12371
12213
|
getParameters(): RTCRtpSendParameters;
|
|
@@ -12426,7 +12268,7 @@ interface RTCSessionDescription {
|
|
|
12426
12268
|
|
|
12427
12269
|
declare var RTCSessionDescription: {
|
|
12428
12270
|
prototype: RTCSessionDescription;
|
|
12429
|
-
new(descriptionInitDict
|
|
12271
|
+
new(descriptionInitDict: RTCSessionDescriptionInit): RTCSessionDescription;
|
|
12430
12272
|
};
|
|
12431
12273
|
|
|
12432
12274
|
interface RTCSrtpSdesTransportEventMap {
|
|
@@ -12457,15 +12299,6 @@ declare var RTCSsrcConflictEvent: {
|
|
|
12457
12299
|
new(): RTCSsrcConflictEvent;
|
|
12458
12300
|
};
|
|
12459
12301
|
|
|
12460
|
-
interface RTCStatsEvent extends Event {
|
|
12461
|
-
readonly report: RTCStatsReport;
|
|
12462
|
-
}
|
|
12463
|
-
|
|
12464
|
-
declare var RTCStatsEvent: {
|
|
12465
|
-
prototype: RTCStatsEvent;
|
|
12466
|
-
new(type: string, eventInitDict: RTCStatsEventInit): RTCStatsEvent;
|
|
12467
|
-
};
|
|
12468
|
-
|
|
12469
12302
|
interface RTCStatsProvider extends EventTarget {
|
|
12470
12303
|
getStats(): Promise<RTCStatsReport>;
|
|
12471
12304
|
msGetStats(): Promise<RTCStatsReport>;
|
|
@@ -13947,46 +13780,6 @@ declare var SVGNumberList: {
|
|
|
13947
13780
|
interface SVGPathElement extends SVGGraphicsElement {
|
|
13948
13781
|
/** @deprecated */
|
|
13949
13782
|
readonly pathSegList: SVGPathSegList;
|
|
13950
|
-
/** @deprecated */
|
|
13951
|
-
createSVGPathSegArcAbs(x: number, y: number, r1: number, r2: number, angle: number, largeArcFlag: boolean, sweepFlag: boolean): SVGPathSegArcAbs;
|
|
13952
|
-
/** @deprecated */
|
|
13953
|
-
createSVGPathSegArcRel(x: number, y: number, r1: number, r2: number, angle: number, largeArcFlag: boolean, sweepFlag: boolean): SVGPathSegArcRel;
|
|
13954
|
-
/** @deprecated */
|
|
13955
|
-
createSVGPathSegClosePath(): SVGPathSegClosePath;
|
|
13956
|
-
/** @deprecated */
|
|
13957
|
-
createSVGPathSegCurvetoCubicAbs(x: number, y: number, x1: number, y1: number, x2: number, y2: number): SVGPathSegCurvetoCubicAbs;
|
|
13958
|
-
/** @deprecated */
|
|
13959
|
-
createSVGPathSegCurvetoCubicRel(x: number, y: number, x1: number, y1: number, x2: number, y2: number): SVGPathSegCurvetoCubicRel;
|
|
13960
|
-
/** @deprecated */
|
|
13961
|
-
createSVGPathSegCurvetoCubicSmoothAbs(x: number, y: number, x2: number, y2: number): SVGPathSegCurvetoCubicSmoothAbs;
|
|
13962
|
-
/** @deprecated */
|
|
13963
|
-
createSVGPathSegCurvetoCubicSmoothRel(x: number, y: number, x2: number, y2: number): SVGPathSegCurvetoCubicSmoothRel;
|
|
13964
|
-
/** @deprecated */
|
|
13965
|
-
createSVGPathSegCurvetoQuadraticAbs(x: number, y: number, x1: number, y1: number): SVGPathSegCurvetoQuadraticAbs;
|
|
13966
|
-
/** @deprecated */
|
|
13967
|
-
createSVGPathSegCurvetoQuadraticRel(x: number, y: number, x1: number, y1: number): SVGPathSegCurvetoQuadraticRel;
|
|
13968
|
-
/** @deprecated */
|
|
13969
|
-
createSVGPathSegCurvetoQuadraticSmoothAbs(x: number, y: number): SVGPathSegCurvetoQuadraticSmoothAbs;
|
|
13970
|
-
/** @deprecated */
|
|
13971
|
-
createSVGPathSegCurvetoQuadraticSmoothRel(x: number, y: number): SVGPathSegCurvetoQuadraticSmoothRel;
|
|
13972
|
-
/** @deprecated */
|
|
13973
|
-
createSVGPathSegLinetoAbs(x: number, y: number): SVGPathSegLinetoAbs;
|
|
13974
|
-
/** @deprecated */
|
|
13975
|
-
createSVGPathSegLinetoHorizontalAbs(x: number): SVGPathSegLinetoHorizontalAbs;
|
|
13976
|
-
/** @deprecated */
|
|
13977
|
-
createSVGPathSegLinetoHorizontalRel(x: number): SVGPathSegLinetoHorizontalRel;
|
|
13978
|
-
/** @deprecated */
|
|
13979
|
-
createSVGPathSegLinetoRel(x: number, y: number): SVGPathSegLinetoRel;
|
|
13980
|
-
/** @deprecated */
|
|
13981
|
-
createSVGPathSegLinetoVerticalAbs(y: number): SVGPathSegLinetoVerticalAbs;
|
|
13982
|
-
/** @deprecated */
|
|
13983
|
-
createSVGPathSegLinetoVerticalRel(y: number): SVGPathSegLinetoVerticalRel;
|
|
13984
|
-
/** @deprecated */
|
|
13985
|
-
createSVGPathSegMovetoAbs(x: number, y: number): SVGPathSegMovetoAbs;
|
|
13986
|
-
/** @deprecated */
|
|
13987
|
-
createSVGPathSegMovetoRel(x: number, y: number): SVGPathSegMovetoRel;
|
|
13988
|
-
/** @deprecated */
|
|
13989
|
-
getPathSegAtLength(distance: number): number;
|
|
13990
13783
|
getPointAtLength(distance: number): SVGPoint;
|
|
13991
13784
|
getTotalLength(): number;
|
|
13992
13785
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGPathElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -14424,25 +14217,11 @@ interface SVGSVGElementEventMap extends SVGElementEventMap {
|
|
|
14424
14217
|
|
|
14425
14218
|
/** Provides access to the properties of <svg> elements, as well as methods to manipulate them. This interface contains also various miscellaneous commonly-used utility methods, such as matrix operations and the ability to control the time of redraw on visual rendering devices. */
|
|
14426
14219
|
interface SVGSVGElement extends SVGGraphicsElement, DocumentEvent, SVGFitToViewBox, SVGZoomAndPan {
|
|
14427
|
-
/** @deprecated */
|
|
14428
|
-
contentScriptType: string;
|
|
14429
|
-
/** @deprecated */
|
|
14430
|
-
contentStyleType: string;
|
|
14431
14220
|
currentScale: number;
|
|
14432
14221
|
readonly currentTranslate: SVGPoint;
|
|
14433
14222
|
readonly height: SVGAnimatedLength;
|
|
14434
14223
|
onunload: ((this: SVGSVGElement, ev: Event) => any) | null;
|
|
14435
14224
|
onzoom: ((this: SVGSVGElement, ev: SVGZoomEvent) => any) | null;
|
|
14436
|
-
/** @deprecated */
|
|
14437
|
-
readonly pixelUnitToMillimeterX: number;
|
|
14438
|
-
/** @deprecated */
|
|
14439
|
-
readonly pixelUnitToMillimeterY: number;
|
|
14440
|
-
/** @deprecated */
|
|
14441
|
-
readonly screenPixelToMillimeterX: number;
|
|
14442
|
-
/** @deprecated */
|
|
14443
|
-
readonly screenPixelToMillimeterY: number;
|
|
14444
|
-
/** @deprecated */
|
|
14445
|
-
readonly viewport: SVGRect;
|
|
14446
14225
|
readonly width: SVGAnimatedLength;
|
|
14447
14226
|
readonly x: SVGAnimatedLength;
|
|
14448
14227
|
readonly y: SVGAnimatedLength;
|
|
@@ -14770,9 +14549,7 @@ declare var SVGUnitTypes: {
|
|
|
14770
14549
|
|
|
14771
14550
|
/** Corresponds to the <use> element. */
|
|
14772
14551
|
interface SVGUseElement extends SVGGraphicsElement, SVGURIReference {
|
|
14773
|
-
readonly animatedInstanceRoot: SVGElementInstance | null;
|
|
14774
14552
|
readonly height: SVGAnimatedLength;
|
|
14775
|
-
readonly instanceRoot: SVGElementInstance | null;
|
|
14776
14553
|
readonly width: SVGAnimatedLength;
|
|
14777
14554
|
readonly x: SVGAnimatedLength;
|
|
14778
14555
|
readonly y: SVGAnimatedLength;
|
|
@@ -14805,16 +14582,12 @@ declare var SVGViewElement: {
|
|
|
14805
14582
|
readonly SVG_ZOOMANDPAN_UNKNOWN: number;
|
|
14806
14583
|
};
|
|
14807
14584
|
|
|
14808
|
-
/** Used to reflect the zoomAndPan attribute, and is mixed in to other interfaces for elements that support this attribute. */
|
|
14809
14585
|
interface SVGZoomAndPan {
|
|
14810
|
-
|
|
14811
|
-
}
|
|
14812
|
-
|
|
14813
|
-
declare var SVGZoomAndPan: {
|
|
14586
|
+
zoomAndPan: number;
|
|
14814
14587
|
readonly SVG_ZOOMANDPAN_DISABLE: number;
|
|
14815
14588
|
readonly SVG_ZOOMANDPAN_MAGNIFY: number;
|
|
14816
14589
|
readonly SVG_ZOOMANDPAN_UNKNOWN: number;
|
|
14817
|
-
}
|
|
14590
|
+
}
|
|
14818
14591
|
|
|
14819
14592
|
interface SVGZoomEvent extends UIEvent {
|
|
14820
14593
|
readonly newScale: number;
|
|
@@ -14829,26 +14602,6 @@ declare var SVGZoomEvent: {
|
|
|
14829
14602
|
new(): SVGZoomEvent;
|
|
14830
14603
|
};
|
|
14831
14604
|
|
|
14832
|
-
interface ScopedCredential {
|
|
14833
|
-
readonly id: ArrayBuffer;
|
|
14834
|
-
readonly type: ScopedCredentialType;
|
|
14835
|
-
}
|
|
14836
|
-
|
|
14837
|
-
declare var ScopedCredential: {
|
|
14838
|
-
prototype: ScopedCredential;
|
|
14839
|
-
new(): ScopedCredential;
|
|
14840
|
-
};
|
|
14841
|
-
|
|
14842
|
-
interface ScopedCredentialInfo {
|
|
14843
|
-
readonly credential: ScopedCredential;
|
|
14844
|
-
readonly publicKey: CryptoKey;
|
|
14845
|
-
}
|
|
14846
|
-
|
|
14847
|
-
declare var ScopedCredentialInfo: {
|
|
14848
|
-
prototype: ScopedCredentialInfo;
|
|
14849
|
-
new(): ScopedCredentialInfo;
|
|
14850
|
-
};
|
|
14851
|
-
|
|
14852
14605
|
/** A screen, usually the one on which the current window is being rendered, and is obtained using window.screen. */
|
|
14853
14606
|
interface Screen {
|
|
14854
14607
|
readonly availHeight: number;
|
|
@@ -15016,22 +14769,6 @@ declare var ServiceWorkerContainer: {
|
|
|
15016
14769
|
new(): ServiceWorkerContainer;
|
|
15017
14770
|
};
|
|
15018
14771
|
|
|
15019
|
-
/** This ServiceWorker API interface contains information about an event sent to a ServiceWorkerContainer target. This extends the default message event to allow setting a ServiceWorker object as the source of a message. The event object is accessed via the handler function of a message event, when fired by a message received from a service worker.
|
|
15020
|
-
* @deprecated In modern browsers, this interface has been deprecated. Service worker messages will now use the MessageEvent interface, for consistency with other web messaging features.
|
|
15021
|
-
*/
|
|
15022
|
-
interface ServiceWorkerMessageEvent extends Event {
|
|
15023
|
-
readonly data: any;
|
|
15024
|
-
readonly lastEventId: string;
|
|
15025
|
-
readonly origin: string;
|
|
15026
|
-
readonly ports: ReadonlyArray<MessagePort> | null;
|
|
15027
|
-
readonly source: ServiceWorker | MessagePort | null;
|
|
15028
|
-
}
|
|
15029
|
-
|
|
15030
|
-
declare var ServiceWorkerMessageEvent: {
|
|
15031
|
-
prototype: ServiceWorkerMessageEvent;
|
|
15032
|
-
new(type: string, eventInitDict?: ServiceWorkerMessageEventInit): ServiceWorkerMessageEvent;
|
|
15033
|
-
};
|
|
15034
|
-
|
|
15035
14772
|
interface ServiceWorkerRegistrationEventMap {
|
|
15036
14773
|
"updatefound": Event;
|
|
15037
14774
|
}
|
|
@@ -15414,7 +15151,7 @@ interface Storage {
|
|
|
15414
15151
|
removeItem(key: string): void;
|
|
15415
15152
|
/**
|
|
15416
15153
|
* Sets the value of the pair identified by key to value, creating a new key/value pair if none existed for key previously.
|
|
15417
|
-
*
|
|
15154
|
+
*
|
|
15418
15155
|
* Throws a "QuotaExceededError" DOMException exception if the new value couldn't be set. (Setting could fail if, e.g., the user has disabled storage for the site, or if the quota has been exceeded.)
|
|
15419
15156
|
*/
|
|
15420
15157
|
setItem(key: string, value: string): void;
|
|
@@ -15564,7 +15301,7 @@ declare var Text: {
|
|
|
15564
15301
|
interface TextDecoder extends TextDecoderCommon {
|
|
15565
15302
|
/**
|
|
15566
15303
|
* Returns the result of running encoding's decoder. The method can be invoked zero or more times with options's stream set to true, and then once without options's stream (or set to false), to process a fragmented input. If the invocation without options's stream (or set to false) has no input, it's clearest to omit both arguments.
|
|
15567
|
-
*
|
|
15304
|
+
*
|
|
15568
15305
|
* ```
|
|
15569
15306
|
* var string = "", decoder = new TextDecoder(encoding), buffer;
|
|
15570
15307
|
* while(buffer = next_chunk()) {
|
|
@@ -15572,7 +15309,7 @@ interface TextDecoder extends TextDecoderCommon {
|
|
|
15572
15309
|
* }
|
|
15573
15310
|
* string += decoder.decode(); // end-of-queue
|
|
15574
15311
|
* ```
|
|
15575
|
-
*
|
|
15312
|
+
*
|
|
15576
15313
|
* If the error mode is "fatal" and encoding's decoder returns error, throws a TypeError.
|
|
15577
15314
|
*/
|
|
15578
15315
|
decode(input?: BufferSource, options?: TextDecodeOptions): string;
|
|
@@ -15690,34 +15427,6 @@ interface TextMetrics {
|
|
|
15690
15427
|
* Returns the measurement described below.
|
|
15691
15428
|
*/
|
|
15692
15429
|
readonly actualBoundingBoxRight: number;
|
|
15693
|
-
/**
|
|
15694
|
-
* Returns the measurement described below.
|
|
15695
|
-
*/
|
|
15696
|
-
readonly alphabeticBaseline: number;
|
|
15697
|
-
/**
|
|
15698
|
-
* Returns the measurement described below.
|
|
15699
|
-
*/
|
|
15700
|
-
readonly emHeightAscent: number;
|
|
15701
|
-
/**
|
|
15702
|
-
* Returns the measurement described below.
|
|
15703
|
-
*/
|
|
15704
|
-
readonly emHeightDescent: number;
|
|
15705
|
-
/**
|
|
15706
|
-
* Returns the measurement described below.
|
|
15707
|
-
*/
|
|
15708
|
-
readonly fontBoundingBoxAscent: number;
|
|
15709
|
-
/**
|
|
15710
|
-
* Returns the measurement described below.
|
|
15711
|
-
*/
|
|
15712
|
-
readonly fontBoundingBoxDescent: number;
|
|
15713
|
-
/**
|
|
15714
|
-
* Returns the measurement described below.
|
|
15715
|
-
*/
|
|
15716
|
-
readonly hangingBaseline: number;
|
|
15717
|
-
/**
|
|
15718
|
-
* Returns the measurement described below.
|
|
15719
|
-
*/
|
|
15720
|
-
readonly ideographicBaseline: number;
|
|
15721
15430
|
/**
|
|
15722
15431
|
* Returns the measurement described below.
|
|
15723
15432
|
*/
|
|
@@ -15745,9 +15454,9 @@ interface TextTrack extends EventTarget {
|
|
|
15745
15454
|
readonly cues: TextTrackCueList | null;
|
|
15746
15455
|
/**
|
|
15747
15456
|
* Returns the ID of the given track.
|
|
15748
|
-
*
|
|
15457
|
+
*
|
|
15749
15458
|
* For in-band tracks, this is the ID that can be used with a fragment if the format supports media fragment syntax, and that can be used with the getTrackById() method.
|
|
15750
|
-
*
|
|
15459
|
+
*
|
|
15751
15460
|
* For TextTrack objects corresponding to track elements, this is the ID of the track element.
|
|
15752
15461
|
*/
|
|
15753
15462
|
readonly id: string;
|
|
@@ -15769,12 +15478,11 @@ interface TextTrack extends EventTarget {
|
|
|
15769
15478
|
readonly language: string;
|
|
15770
15479
|
/**
|
|
15771
15480
|
* Returns the text track mode, represented by a string from the following list:
|
|
15772
|
-
*
|
|
15481
|
+
*
|
|
15773
15482
|
* Can be set, to change the mode.
|
|
15774
15483
|
*/
|
|
15775
15484
|
mode: TextTrackMode;
|
|
15776
15485
|
oncuechange: ((this: TextTrack, ev: Event) => any) | null;
|
|
15777
|
-
readonly sourceBuffer: SourceBuffer | null;
|
|
15778
15486
|
/**
|
|
15779
15487
|
* Adds the given cue to textTrack's text track list of cues.
|
|
15780
15488
|
*/
|
|
@@ -15803,13 +15511,13 @@ interface TextTrackCueEventMap {
|
|
|
15803
15511
|
interface TextTrackCue extends EventTarget {
|
|
15804
15512
|
/**
|
|
15805
15513
|
* Returns the text track cue end time, in seconds.
|
|
15806
|
-
*
|
|
15514
|
+
*
|
|
15807
15515
|
* Can be set.
|
|
15808
15516
|
*/
|
|
15809
15517
|
endTime: number;
|
|
15810
15518
|
/**
|
|
15811
15519
|
* Returns the text track cue identifier.
|
|
15812
|
-
*
|
|
15520
|
+
*
|
|
15813
15521
|
* Can be set.
|
|
15814
15522
|
*/
|
|
15815
15523
|
id: string;
|
|
@@ -15817,13 +15525,13 @@ interface TextTrackCue extends EventTarget {
|
|
|
15817
15525
|
onexit: ((this: TextTrackCue, ev: Event) => any) | null;
|
|
15818
15526
|
/**
|
|
15819
15527
|
* Returns true if the text track cue pause-on-exit flag is set, false otherwise.
|
|
15820
|
-
*
|
|
15528
|
+
*
|
|
15821
15529
|
* Can be set.
|
|
15822
15530
|
*/
|
|
15823
15531
|
pauseOnExit: boolean;
|
|
15824
15532
|
/**
|
|
15825
15533
|
* Returns the text track cue start time, in seconds.
|
|
15826
|
-
*
|
|
15534
|
+
*
|
|
15827
15535
|
* Can be set.
|
|
15828
15536
|
*/
|
|
15829
15537
|
startTime: number;
|
|
@@ -15849,7 +15557,7 @@ interface TextTrackCueList {
|
|
|
15849
15557
|
readonly length: number;
|
|
15850
15558
|
/**
|
|
15851
15559
|
* Returns the first text track cue (in text track cue order) with text track cue identifier id.
|
|
15852
|
-
*
|
|
15560
|
+
*
|
|
15853
15561
|
* Returns null if none of the cues have the given identifier or if the argument is the empty string.
|
|
15854
15562
|
*/
|
|
15855
15563
|
getCueById(id: string): TextTrackCue | null;
|
|
@@ -15893,13 +15601,13 @@ interface TimeRanges {
|
|
|
15893
15601
|
readonly length: number;
|
|
15894
15602
|
/**
|
|
15895
15603
|
* Returns the time for the end of the range with the given index.
|
|
15896
|
-
*
|
|
15604
|
+
*
|
|
15897
15605
|
* Throws an "IndexSizeError" DOMException if the index is out of range.
|
|
15898
15606
|
*/
|
|
15899
15607
|
end(index: number): number;
|
|
15900
15608
|
/**
|
|
15901
15609
|
* Returns the time for the start of the range with the given index.
|
|
15902
|
-
*
|
|
15610
|
+
*
|
|
15903
15611
|
* Throws an "IndexSizeError" DOMException if the index is out of range.
|
|
15904
15612
|
*/
|
|
15905
15613
|
start(index: number): number;
|
|
@@ -16212,7 +15920,6 @@ interface VRPose {
|
|
|
16212
15920
|
readonly linearVelocity: Float32Array | null;
|
|
16213
15921
|
readonly orientation: Float32Array | null;
|
|
16214
15922
|
readonly position: Float32Array | null;
|
|
16215
|
-
readonly timestamp: number;
|
|
16216
15923
|
}
|
|
16217
15924
|
|
|
16218
15925
|
declare var VRPose: {
|
|
@@ -16439,28 +16146,6 @@ declare var WaveShaperNode: {
|
|
|
16439
16146
|
new(context: BaseAudioContext, options?: WaveShaperOptions): WaveShaperNode;
|
|
16440
16147
|
};
|
|
16441
16148
|
|
|
16442
|
-
interface WebAuthentication {
|
|
16443
|
-
getAssertion(assertionChallenge: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, options?: AssertionOptions): Promise<WebAuthnAssertion>;
|
|
16444
|
-
makeCredential(accountInformation: Account, cryptoParameters: ScopedCredentialParameters[], attestationChallenge: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null, options?: ScopedCredentialOptions): Promise<ScopedCredentialInfo>;
|
|
16445
|
-
}
|
|
16446
|
-
|
|
16447
|
-
declare var WebAuthentication: {
|
|
16448
|
-
prototype: WebAuthentication;
|
|
16449
|
-
new(): WebAuthentication;
|
|
16450
|
-
};
|
|
16451
|
-
|
|
16452
|
-
interface WebAuthnAssertion {
|
|
16453
|
-
readonly authenticatorData: ArrayBuffer;
|
|
16454
|
-
readonly clientData: ArrayBuffer;
|
|
16455
|
-
readonly credential: ScopedCredential;
|
|
16456
|
-
readonly signature: ArrayBuffer;
|
|
16457
|
-
}
|
|
16458
|
-
|
|
16459
|
-
declare var WebAuthnAssertion: {
|
|
16460
|
-
prototype: WebAuthnAssertion;
|
|
16461
|
-
new(): WebAuthnAssertion;
|
|
16462
|
-
};
|
|
16463
|
-
|
|
16464
16149
|
interface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {
|
|
16465
16150
|
}
|
|
16466
16151
|
|
|
@@ -17438,7 +17123,7 @@ declare var WebGLActiveInfo: {
|
|
|
17438
17123
|
};
|
|
17439
17124
|
|
|
17440
17125
|
/** Part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors. */
|
|
17441
|
-
interface WebGLBuffer
|
|
17126
|
+
interface WebGLBuffer {
|
|
17442
17127
|
}
|
|
17443
17128
|
|
|
17444
17129
|
declare var WebGLBuffer: {
|
|
@@ -17457,7 +17142,7 @@ declare var WebGLContextEvent: {
|
|
|
17457
17142
|
};
|
|
17458
17143
|
|
|
17459
17144
|
/** Part of the WebGL API and represents a collection of buffers that serve as a rendering destination. */
|
|
17460
|
-
interface WebGLFramebuffer
|
|
17145
|
+
interface WebGLFramebuffer {
|
|
17461
17146
|
}
|
|
17462
17147
|
|
|
17463
17148
|
declare var WebGLFramebuffer: {
|
|
@@ -17465,16 +17150,8 @@ declare var WebGLFramebuffer: {
|
|
|
17465
17150
|
new(): WebGLFramebuffer;
|
|
17466
17151
|
};
|
|
17467
17152
|
|
|
17468
|
-
interface WebGLObject {
|
|
17469
|
-
}
|
|
17470
|
-
|
|
17471
|
-
declare var WebGLObject: {
|
|
17472
|
-
prototype: WebGLObject;
|
|
17473
|
-
new(): WebGLObject;
|
|
17474
|
-
};
|
|
17475
|
-
|
|
17476
17153
|
/** The WebGLProgram is part of the WebGL API and is a combination of two compiled WebGLShaders consisting of a vertex shader and a fragment shader (both written in GLSL). */
|
|
17477
|
-
interface WebGLProgram
|
|
17154
|
+
interface WebGLProgram {
|
|
17478
17155
|
}
|
|
17479
17156
|
|
|
17480
17157
|
declare var WebGLProgram: {
|
|
@@ -17482,7 +17159,7 @@ declare var WebGLProgram: {
|
|
|
17482
17159
|
new(): WebGLProgram;
|
|
17483
17160
|
};
|
|
17484
17161
|
|
|
17485
|
-
interface WebGLQuery
|
|
17162
|
+
interface WebGLQuery {
|
|
17486
17163
|
}
|
|
17487
17164
|
|
|
17488
17165
|
declare var WebGLQuery: {
|
|
@@ -17491,7 +17168,7 @@ declare var WebGLQuery: {
|
|
|
17491
17168
|
};
|
|
17492
17169
|
|
|
17493
17170
|
/** Part of the WebGL API and represents a buffer that can contain an image, or can be source or target of an rendering operation. */
|
|
17494
|
-
interface WebGLRenderbuffer
|
|
17171
|
+
interface WebGLRenderbuffer {
|
|
17495
17172
|
}
|
|
17496
17173
|
|
|
17497
17174
|
declare var WebGLRenderbuffer: {
|
|
@@ -18270,7 +17947,7 @@ interface WebGLRenderingContextOverloads {
|
|
|
18270
17947
|
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;
|
|
18271
17948
|
}
|
|
18272
17949
|
|
|
18273
|
-
interface WebGLSampler
|
|
17950
|
+
interface WebGLSampler {
|
|
18274
17951
|
}
|
|
18275
17952
|
|
|
18276
17953
|
declare var WebGLSampler: {
|
|
@@ -18279,7 +17956,7 @@ declare var WebGLSampler: {
|
|
|
18279
17956
|
};
|
|
18280
17957
|
|
|
18281
17958
|
/** The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders. */
|
|
18282
|
-
interface WebGLShader
|
|
17959
|
+
interface WebGLShader {
|
|
18283
17960
|
}
|
|
18284
17961
|
|
|
18285
17962
|
declare var WebGLShader: {
|
|
@@ -18299,7 +17976,7 @@ declare var WebGLShaderPrecisionFormat: {
|
|
|
18299
17976
|
new(): WebGLShaderPrecisionFormat;
|
|
18300
17977
|
};
|
|
18301
17978
|
|
|
18302
|
-
interface WebGLSync
|
|
17979
|
+
interface WebGLSync {
|
|
18303
17980
|
}
|
|
18304
17981
|
|
|
18305
17982
|
declare var WebGLSync: {
|
|
@@ -18308,7 +17985,7 @@ declare var WebGLSync: {
|
|
|
18308
17985
|
};
|
|
18309
17986
|
|
|
18310
17987
|
/** Part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations. */
|
|
18311
|
-
interface WebGLTexture
|
|
17988
|
+
interface WebGLTexture {
|
|
18312
17989
|
}
|
|
18313
17990
|
|
|
18314
17991
|
declare var WebGLTexture: {
|
|
@@ -18316,7 +17993,7 @@ declare var WebGLTexture: {
|
|
|
18316
17993
|
new(): WebGLTexture;
|
|
18317
17994
|
};
|
|
18318
17995
|
|
|
18319
|
-
interface WebGLTransformFeedback
|
|
17996
|
+
interface WebGLTransformFeedback {
|
|
18320
17997
|
}
|
|
18321
17998
|
|
|
18322
17999
|
declare var WebGLTransformFeedback: {
|
|
@@ -18333,7 +18010,7 @@ declare var WebGLUniformLocation: {
|
|
|
18333
18010
|
new(): WebGLUniformLocation;
|
|
18334
18011
|
};
|
|
18335
18012
|
|
|
18336
|
-
interface WebGLVertexArrayObject
|
|
18013
|
+
interface WebGLVertexArrayObject {
|
|
18337
18014
|
}
|
|
18338
18015
|
|
|
18339
18016
|
declare var WebGLVertexArrayObject: {
|
|
@@ -18341,7 +18018,7 @@ declare var WebGLVertexArrayObject: {
|
|
|
18341
18018
|
new(): WebGLVertexArrayObject;
|
|
18342
18019
|
};
|
|
18343
18020
|
|
|
18344
|
-
interface WebGLVertexArrayObjectOES
|
|
18021
|
+
interface WebGLVertexArrayObjectOES {
|
|
18345
18022
|
}
|
|
18346
18023
|
|
|
18347
18024
|
interface WebKitPoint {
|
|
@@ -18365,13 +18042,13 @@ interface WebSocketEventMap {
|
|
|
18365
18042
|
interface WebSocket extends EventTarget {
|
|
18366
18043
|
/**
|
|
18367
18044
|
* Returns a string that indicates how binary data from the WebSocket object is exposed to scripts:
|
|
18368
|
-
*
|
|
18045
|
+
*
|
|
18369
18046
|
* Can be set, to change how binary data is returned. The default is "blob".
|
|
18370
18047
|
*/
|
|
18371
18048
|
binaryType: BinaryType;
|
|
18372
18049
|
/**
|
|
18373
18050
|
* Returns the number of bytes of application data (UTF-8 text and binary data) that have been queued using send() but not yet been transmitted to the network.
|
|
18374
|
-
*
|
|
18051
|
+
*
|
|
18375
18052
|
* If the WebSocket connection is closed, this attribute's value will only increase with each call to the send() method. (The number does not reset to zero once the connection closes.)
|
|
18376
18053
|
*/
|
|
18377
18054
|
readonly bufferedAmount: number;
|
|
@@ -18454,7 +18131,6 @@ interface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandler
|
|
|
18454
18131
|
"compassneedscalibration": Event;
|
|
18455
18132
|
"contextmenu": MouseEvent;
|
|
18456
18133
|
"dblclick": MouseEvent;
|
|
18457
|
-
"devicelight": DeviceLightEvent;
|
|
18458
18134
|
"devicemotion": DeviceMotionEvent;
|
|
18459
18135
|
"deviceorientation": DeviceOrientationEvent;
|
|
18460
18136
|
"deviceorientationabsolute": DeviceOrientationEvent;
|
|
@@ -18491,21 +18167,6 @@ interface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandler
|
|
|
18491
18167
|
"mouseover": MouseEvent;
|
|
18492
18168
|
"mouseup": MouseEvent;
|
|
18493
18169
|
"mousewheel": Event;
|
|
18494
|
-
"MSGestureChange": Event;
|
|
18495
|
-
"MSGestureDoubleTap": Event;
|
|
18496
|
-
"MSGestureEnd": Event;
|
|
18497
|
-
"MSGestureHold": Event;
|
|
18498
|
-
"MSGestureStart": Event;
|
|
18499
|
-
"MSGestureTap": Event;
|
|
18500
|
-
"MSInertiaStart": Event;
|
|
18501
|
-
"MSPointerCancel": Event;
|
|
18502
|
-
"MSPointerDown": Event;
|
|
18503
|
-
"MSPointerEnter": Event;
|
|
18504
|
-
"MSPointerLeave": Event;
|
|
18505
|
-
"MSPointerMove": Event;
|
|
18506
|
-
"MSPointerOut": Event;
|
|
18507
|
-
"MSPointerOver": Event;
|
|
18508
|
-
"MSPointerUp": Event;
|
|
18509
18170
|
"offline": Event;
|
|
18510
18171
|
"online": Event;
|
|
18511
18172
|
"orientationchange": Event;
|
|
@@ -18536,9 +18197,6 @@ interface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandler
|
|
|
18536
18197
|
"vrdisplayconnect": Event;
|
|
18537
18198
|
"vrdisplaydeactivate": Event;
|
|
18538
18199
|
"vrdisplaydisconnect": Event;
|
|
18539
|
-
"vrdisplayfocus": Event;
|
|
18540
|
-
"vrdisplaypointerrestricted": Event;
|
|
18541
|
-
"vrdisplaypointerunrestricted": Event;
|
|
18542
18200
|
"vrdisplaypresentchange": Event;
|
|
18543
18201
|
"waiting": Event;
|
|
18544
18202
|
}
|
|
@@ -18571,28 +18229,12 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
18571
18229
|
readonly navigator: Navigator;
|
|
18572
18230
|
offscreenBuffering: string | boolean;
|
|
18573
18231
|
oncompassneedscalibration: ((this: Window, ev: Event) => any) | null;
|
|
18574
|
-
ondevicelight: ((this: Window, ev: DeviceLightEvent) => any) | null;
|
|
18575
18232
|
ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null;
|
|
18576
18233
|
ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
|
|
18577
18234
|
ondeviceorientationabsolute: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
|
|
18578
18235
|
ongamepadconnected: ((this: Window, ev: GamepadEvent) => any) | null;
|
|
18579
18236
|
ongamepaddisconnected: ((this: Window, ev: GamepadEvent) => any) | null;
|
|
18580
18237
|
onmousewheel: ((this: Window, ev: Event) => any) | null;
|
|
18581
|
-
onmsgesturechange: ((this: Window, ev: Event) => any) | null;
|
|
18582
|
-
onmsgesturedoubletap: ((this: Window, ev: Event) => any) | null;
|
|
18583
|
-
onmsgestureend: ((this: Window, ev: Event) => any) | null;
|
|
18584
|
-
onmsgesturehold: ((this: Window, ev: Event) => any) | null;
|
|
18585
|
-
onmsgesturestart: ((this: Window, ev: Event) => any) | null;
|
|
18586
|
-
onmsgesturetap: ((this: Window, ev: Event) => any) | null;
|
|
18587
|
-
onmsinertiastart: ((this: Window, ev: Event) => any) | null;
|
|
18588
|
-
onmspointercancel: ((this: Window, ev: Event) => any) | null;
|
|
18589
|
-
onmspointerdown: ((this: Window, ev: Event) => any) | null;
|
|
18590
|
-
onmspointerenter: ((this: Window, ev: Event) => any) | null;
|
|
18591
|
-
onmspointerleave: ((this: Window, ev: Event) => any) | null;
|
|
18592
|
-
onmspointermove: ((this: Window, ev: Event) => any) | null;
|
|
18593
|
-
onmspointerout: ((this: Window, ev: Event) => any) | null;
|
|
18594
|
-
onmspointerover: ((this: Window, ev: Event) => any) | null;
|
|
18595
|
-
onmspointerup: ((this: Window, ev: Event) => any) | null;
|
|
18596
18238
|
/** @deprecated */
|
|
18597
18239
|
onorientationchange: ((this: Window, ev: Event) => any) | null;
|
|
18598
18240
|
onreadystatechange: ((this: Window, ev: ProgressEvent<Window>) => any) | null;
|
|
@@ -18601,11 +18243,8 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
18601
18243
|
onvrdisplayconnect: ((this: Window, ev: Event) => any) | null;
|
|
18602
18244
|
onvrdisplaydeactivate: ((this: Window, ev: Event) => any) | null;
|
|
18603
18245
|
onvrdisplaydisconnect: ((this: Window, ev: Event) => any) | null;
|
|
18604
|
-
onvrdisplayfocus: ((this: Window, ev: Event) => any) | null;
|
|
18605
|
-
onvrdisplaypointerrestricted: ((this: Window, ev: Event) => any) | null;
|
|
18606
|
-
onvrdisplaypointerunrestricted: ((this: Window, ev: Event) => any) | null;
|
|
18607
18246
|
onvrdisplaypresentchange: ((this: Window, ev: Event) => any) | null;
|
|
18608
|
-
opener:
|
|
18247
|
+
opener: WindowProxy | null;
|
|
18609
18248
|
/** @deprecated */
|
|
18610
18249
|
readonly orientation: string | number;
|
|
18611
18250
|
readonly outerHeight: number;
|
|
@@ -18852,26 +18491,26 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget {
|
|
|
18852
18491
|
readonly response: any;
|
|
18853
18492
|
/**
|
|
18854
18493
|
* Returns the text response.
|
|
18855
|
-
*
|
|
18494
|
+
*
|
|
18856
18495
|
* Throws an "InvalidStateError" DOMException if responseType is not the empty string or "text".
|
|
18857
18496
|
*/
|
|
18858
18497
|
readonly responseText: string;
|
|
18859
18498
|
/**
|
|
18860
18499
|
* Returns the response type.
|
|
18861
|
-
*
|
|
18500
|
+
*
|
|
18862
18501
|
* Can be set to change the response type. Values are: the empty string (default), "arraybuffer", "blob", "document", "json", and "text".
|
|
18863
|
-
*
|
|
18502
|
+
*
|
|
18864
18503
|
* When set: setting to "document" is ignored if current global object is not a Window object.
|
|
18865
|
-
*
|
|
18504
|
+
*
|
|
18866
18505
|
* When set: throws an "InvalidStateError" DOMException if state is loading or done.
|
|
18867
|
-
*
|
|
18506
|
+
*
|
|
18868
18507
|
* When set: throws an "InvalidAccessError" DOMException if the synchronous flag is set and current global object is a Window object.
|
|
18869
18508
|
*/
|
|
18870
18509
|
responseType: XMLHttpRequestResponseType;
|
|
18871
18510
|
readonly responseURL: string;
|
|
18872
18511
|
/**
|
|
18873
18512
|
* Returns the document response.
|
|
18874
|
-
*
|
|
18513
|
+
*
|
|
18875
18514
|
* Throws an "InvalidStateError" DOMException if responseType is not the empty string or "document".
|
|
18876
18515
|
*/
|
|
18877
18516
|
readonly responseXML: Document | null;
|
|
@@ -18879,7 +18518,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget {
|
|
|
18879
18518
|
readonly statusText: string;
|
|
18880
18519
|
/**
|
|
18881
18520
|
* Can be set to a time in milliseconds. When set to a non-zero value will cause fetching to terminate after the given time has passed. When the time has passed, the request has not yet completed, and the synchronous flag is unset, a timeout event will then be dispatched, or a "TimeoutError" DOMException will be thrown otherwise (for the send() method).
|
|
18882
|
-
*
|
|
18521
|
+
*
|
|
18883
18522
|
* When set: throws an "InvalidAccessError" DOMException if the synchronous flag is set and current global object is a Window object.
|
|
18884
18523
|
*/
|
|
18885
18524
|
timeout: number;
|
|
@@ -18889,7 +18528,7 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget {
|
|
|
18889
18528
|
readonly upload: XMLHttpRequestUpload;
|
|
18890
18529
|
/**
|
|
18891
18530
|
* True when credentials are to be included in a cross-origin request. False when they are to be excluded in a cross-origin request and when cookies are to be ignored in its response. Initially false.
|
|
18892
|
-
*
|
|
18531
|
+
*
|
|
18893
18532
|
* When set: throws an "InvalidStateError" DOMException if state is not unsent or opened, or if the send() flag is set.
|
|
18894
18533
|
*/
|
|
18895
18534
|
withCredentials: boolean;
|
|
@@ -18901,32 +18540,32 @@ interface XMLHttpRequest extends XMLHttpRequestEventTarget {
|
|
|
18901
18540
|
getResponseHeader(name: string): string | null;
|
|
18902
18541
|
/**
|
|
18903
18542
|
* Sets the request method, request URL, and synchronous flag.
|
|
18904
|
-
*
|
|
18543
|
+
*
|
|
18905
18544
|
* Throws a "SyntaxError" DOMException if either method is not a valid HTTP method or url cannot be parsed.
|
|
18906
|
-
*
|
|
18545
|
+
*
|
|
18907
18546
|
* Throws a "SecurityError" DOMException if method is a case-insensitive match for `CONNECT`, `TRACE`, or `TRACK`.
|
|
18908
|
-
*
|
|
18547
|
+
*
|
|
18909
18548
|
* Throws an "InvalidAccessError" DOMException if async is false, current global object is a Window object, and the timeout attribute is not zero or the responseType attribute is not the empty string.
|
|
18910
18549
|
*/
|
|
18911
18550
|
open(method: string, url: string): void;
|
|
18912
18551
|
open(method: string, url: string, async: boolean, username?: string | null, password?: string | null): void;
|
|
18913
18552
|
/**
|
|
18914
18553
|
* Acts as if the `Content-Type` header value for response is mime. (It does not actually change the header though.)
|
|
18915
|
-
*
|
|
18554
|
+
*
|
|
18916
18555
|
* Throws an "InvalidStateError" DOMException if state is loading or done.
|
|
18917
18556
|
*/
|
|
18918
18557
|
overrideMimeType(mime: string): void;
|
|
18919
18558
|
/**
|
|
18920
18559
|
* Initiates the request. The body argument provides the request body, if any, and is ignored if the request method is GET or HEAD.
|
|
18921
|
-
*
|
|
18560
|
+
*
|
|
18922
18561
|
* Throws an "InvalidStateError" DOMException if either state is not opened or the send() flag is set.
|
|
18923
18562
|
*/
|
|
18924
18563
|
send(body?: Document | BodyInit | null): void;
|
|
18925
18564
|
/**
|
|
18926
18565
|
* Combines a header in author request headers.
|
|
18927
|
-
*
|
|
18566
|
+
*
|
|
18928
18567
|
* Throws an "InvalidStateError" DOMException if either state is not opened or the send() flag is set.
|
|
18929
|
-
*
|
|
18568
|
+
*
|
|
18930
18569
|
* Throws a "SyntaxError" DOMException if name is not a header name or if value is not a header value.
|
|
18931
18570
|
*/
|
|
18932
18571
|
setRequestHeader(name: string, value: string): void;
|
|
@@ -19133,52 +18772,52 @@ declare namespace CSS {
|
|
|
19133
18772
|
declare namespace WebAssembly {
|
|
19134
18773
|
interface CompileError {
|
|
19135
18774
|
}
|
|
19136
|
-
|
|
18775
|
+
|
|
19137
18776
|
var CompileError: {
|
|
19138
18777
|
prototype: CompileError;
|
|
19139
18778
|
new(): CompileError;
|
|
19140
18779
|
};
|
|
19141
|
-
|
|
18780
|
+
|
|
19142
18781
|
interface Global {
|
|
19143
18782
|
value: any;
|
|
19144
18783
|
valueOf(): any;
|
|
19145
18784
|
}
|
|
19146
|
-
|
|
18785
|
+
|
|
19147
18786
|
var Global: {
|
|
19148
18787
|
prototype: Global;
|
|
19149
18788
|
new(descriptor: GlobalDescriptor, v?: any): Global;
|
|
19150
18789
|
};
|
|
19151
|
-
|
|
18790
|
+
|
|
19152
18791
|
interface Instance {
|
|
19153
18792
|
readonly exports: Exports;
|
|
19154
18793
|
}
|
|
19155
|
-
|
|
18794
|
+
|
|
19156
18795
|
var Instance: {
|
|
19157
18796
|
prototype: Instance;
|
|
19158
18797
|
new(module: Module, importObject?: Imports): Instance;
|
|
19159
18798
|
};
|
|
19160
|
-
|
|
18799
|
+
|
|
19161
18800
|
interface LinkError {
|
|
19162
18801
|
}
|
|
19163
|
-
|
|
18802
|
+
|
|
19164
18803
|
var LinkError: {
|
|
19165
18804
|
prototype: LinkError;
|
|
19166
18805
|
new(): LinkError;
|
|
19167
18806
|
};
|
|
19168
|
-
|
|
18807
|
+
|
|
19169
18808
|
interface Memory {
|
|
19170
18809
|
readonly buffer: ArrayBuffer;
|
|
19171
18810
|
grow(delta: number): number;
|
|
19172
18811
|
}
|
|
19173
|
-
|
|
18812
|
+
|
|
19174
18813
|
var Memory: {
|
|
19175
18814
|
prototype: Memory;
|
|
19176
18815
|
new(descriptor: MemoryDescriptor): Memory;
|
|
19177
18816
|
};
|
|
19178
|
-
|
|
18817
|
+
|
|
19179
18818
|
interface Module {
|
|
19180
18819
|
}
|
|
19181
|
-
|
|
18820
|
+
|
|
19182
18821
|
var Module: {
|
|
19183
18822
|
prototype: Module;
|
|
19184
18823
|
new(bytes: BufferSource): Module;
|
|
@@ -19186,59 +18825,60 @@ declare namespace WebAssembly {
|
|
|
19186
18825
|
exports(moduleObject: Module): ModuleExportDescriptor[];
|
|
19187
18826
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
19188
18827
|
};
|
|
19189
|
-
|
|
18828
|
+
|
|
19190
18829
|
interface RuntimeError {
|
|
19191
18830
|
}
|
|
19192
|
-
|
|
18831
|
+
|
|
19193
18832
|
var RuntimeError: {
|
|
19194
18833
|
prototype: RuntimeError;
|
|
19195
18834
|
new(): RuntimeError;
|
|
19196
18835
|
};
|
|
19197
|
-
|
|
18836
|
+
|
|
19198
18837
|
interface Table {
|
|
19199
18838
|
readonly length: number;
|
|
19200
18839
|
get(index: number): Function | null;
|
|
19201
18840
|
grow(delta: number): number;
|
|
19202
18841
|
set(index: number, value: Function | null): void;
|
|
19203
18842
|
}
|
|
19204
|
-
|
|
18843
|
+
|
|
19205
18844
|
var Table: {
|
|
19206
18845
|
prototype: Table;
|
|
19207
18846
|
new(descriptor: TableDescriptor): Table;
|
|
19208
18847
|
};
|
|
19209
|
-
|
|
18848
|
+
|
|
19210
18849
|
interface GlobalDescriptor {
|
|
19211
18850
|
mutable?: boolean;
|
|
19212
18851
|
value: ValueType;
|
|
19213
18852
|
}
|
|
19214
|
-
|
|
18853
|
+
|
|
19215
18854
|
interface MemoryDescriptor {
|
|
19216
18855
|
initial: number;
|
|
19217
18856
|
maximum?: number;
|
|
18857
|
+
shared?: boolean;
|
|
19218
18858
|
}
|
|
19219
|
-
|
|
18859
|
+
|
|
19220
18860
|
interface ModuleExportDescriptor {
|
|
19221
18861
|
kind: ImportExportKind;
|
|
19222
18862
|
name: string;
|
|
19223
18863
|
}
|
|
19224
|
-
|
|
18864
|
+
|
|
19225
18865
|
interface ModuleImportDescriptor {
|
|
19226
18866
|
kind: ImportExportKind;
|
|
19227
18867
|
module: string;
|
|
19228
18868
|
name: string;
|
|
19229
18869
|
}
|
|
19230
|
-
|
|
18870
|
+
|
|
19231
18871
|
interface TableDescriptor {
|
|
19232
18872
|
element: TableKind;
|
|
19233
18873
|
initial: number;
|
|
19234
18874
|
maximum?: number;
|
|
19235
18875
|
}
|
|
19236
|
-
|
|
18876
|
+
|
|
19237
18877
|
interface WebAssemblyInstantiatedSource {
|
|
19238
18878
|
instance: Instance;
|
|
19239
18879
|
module: Module;
|
|
19240
18880
|
}
|
|
19241
|
-
|
|
18881
|
+
|
|
19242
18882
|
type ImportExportKind = "function" | "global" | "memory" | "table";
|
|
19243
18883
|
type TableKind = "anyfunc";
|
|
19244
18884
|
type ValueType = "f32" | "f64" | "i32" | "i64";
|
|
@@ -19406,7 +19046,6 @@ interface HTMLElementTagNameMap {
|
|
|
19406
19046
|
"audio": HTMLAudioElement;
|
|
19407
19047
|
"b": HTMLElement;
|
|
19408
19048
|
"base": HTMLBaseElement;
|
|
19409
|
-
"basefont": HTMLBaseFontElement;
|
|
19410
19049
|
"bdi": HTMLElement;
|
|
19411
19050
|
"bdo": HTMLElement;
|
|
19412
19051
|
"blockquote": HTMLQuoteElement;
|
|
@@ -19621,28 +19260,12 @@ declare const name: void;
|
|
|
19621
19260
|
declare var navigator: Navigator;
|
|
19622
19261
|
declare var offscreenBuffering: string | boolean;
|
|
19623
19262
|
declare var oncompassneedscalibration: ((this: Window, ev: Event) => any) | null;
|
|
19624
|
-
declare var ondevicelight: ((this: Window, ev: DeviceLightEvent) => any) | null;
|
|
19625
19263
|
declare var ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null;
|
|
19626
19264
|
declare var ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
|
|
19627
19265
|
declare var ondeviceorientationabsolute: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
|
|
19628
19266
|
declare var ongamepadconnected: ((this: Window, ev: GamepadEvent) => any) | null;
|
|
19629
19267
|
declare var ongamepaddisconnected: ((this: Window, ev: GamepadEvent) => any) | null;
|
|
19630
19268
|
declare var onmousewheel: ((this: Window, ev: Event) => any) | null;
|
|
19631
|
-
declare var onmsgesturechange: ((this: Window, ev: Event) => any) | null;
|
|
19632
|
-
declare var onmsgesturedoubletap: ((this: Window, ev: Event) => any) | null;
|
|
19633
|
-
declare var onmsgestureend: ((this: Window, ev: Event) => any) | null;
|
|
19634
|
-
declare var onmsgesturehold: ((this: Window, ev: Event) => any) | null;
|
|
19635
|
-
declare var onmsgesturestart: ((this: Window, ev: Event) => any) | null;
|
|
19636
|
-
declare var onmsgesturetap: ((this: Window, ev: Event) => any) | null;
|
|
19637
|
-
declare var onmsinertiastart: ((this: Window, ev: Event) => any) | null;
|
|
19638
|
-
declare var onmspointercancel: ((this: Window, ev: Event) => any) | null;
|
|
19639
|
-
declare var onmspointerdown: ((this: Window, ev: Event) => any) | null;
|
|
19640
|
-
declare var onmspointerenter: ((this: Window, ev: Event) => any) | null;
|
|
19641
|
-
declare var onmspointerleave: ((this: Window, ev: Event) => any) | null;
|
|
19642
|
-
declare var onmspointermove: ((this: Window, ev: Event) => any) | null;
|
|
19643
|
-
declare var onmspointerout: ((this: Window, ev: Event) => any) | null;
|
|
19644
|
-
declare var onmspointerover: ((this: Window, ev: Event) => any) | null;
|
|
19645
|
-
declare var onmspointerup: ((this: Window, ev: Event) => any) | null;
|
|
19646
19269
|
/** @deprecated */
|
|
19647
19270
|
declare var onorientationchange: ((this: Window, ev: Event) => any) | null;
|
|
19648
19271
|
declare var onreadystatechange: ((this: Window, ev: ProgressEvent<Window>) => any) | null;
|
|
@@ -19651,11 +19274,8 @@ declare var onvrdisplayblur: ((this: Window, ev: Event) => any) | null;
|
|
|
19651
19274
|
declare var onvrdisplayconnect: ((this: Window, ev: Event) => any) | null;
|
|
19652
19275
|
declare var onvrdisplaydeactivate: ((this: Window, ev: Event) => any) | null;
|
|
19653
19276
|
declare var onvrdisplaydisconnect: ((this: Window, ev: Event) => any) | null;
|
|
19654
|
-
declare var onvrdisplayfocus: ((this: Window, ev: Event) => any) | null;
|
|
19655
|
-
declare var onvrdisplaypointerrestricted: ((this: Window, ev: Event) => any) | null;
|
|
19656
|
-
declare var onvrdisplaypointerunrestricted: ((this: Window, ev: Event) => any) | null;
|
|
19657
19277
|
declare var onvrdisplaypresentchange: ((this: Window, ev: Event) => any) | null;
|
|
19658
|
-
declare var opener:
|
|
19278
|
+
declare var opener: WindowProxy | null;
|
|
19659
19279
|
/** @deprecated */
|
|
19660
19280
|
declare var orientation: string | number;
|
|
19661
19281
|
declare var outerHeight: number;
|
|
@@ -20168,15 +19788,13 @@ type PushEncryptionKeyName = "auth" | "p256dh";
|
|
|
20168
19788
|
type PushPermissionState = "denied" | "granted" | "prompt";
|
|
20169
19789
|
type RTCBundlePolicy = "balanced" | "max-bundle" | "max-compat";
|
|
20170
19790
|
type RTCDataChannelState = "closed" | "closing" | "connecting" | "open";
|
|
20171
|
-
type RTCDegradationPreference = "balanced" | "maintain-framerate" | "maintain-resolution";
|
|
20172
19791
|
type RTCDtlsRole = "auto" | "client" | "server";
|
|
20173
19792
|
type RTCDtlsTransportState = "closed" | "connected" | "connecting" | "failed" | "new";
|
|
20174
|
-
type
|
|
20175
|
-
type RTCErrorDetailType = "data-channel-failure" | "dtls-failure" | "fingerprint-failure" | "hardware-encoder-error" | "hardware-encoder-not-available" | "idp-bad-script-failure" | "idp-execution-failure" | "idp-load-failure" | "idp-need-login" | "idp-timeout" | "idp-tls-failure" | "idp-token-expired" | "idp-token-invalid" | "sctp-failure" | "sdp-syntax-error";
|
|
19793
|
+
type RTCErrorDetailType = "data-channel-failure" | "dtls-failure" | "fingerprint-failure" | "hardware-encoder-error" | "hardware-encoder-not-available" | "sctp-failure" | "sdp-syntax-error";
|
|
20176
19794
|
type RTCIceCandidateType = "host" | "prflx" | "relay" | "srflx";
|
|
20177
19795
|
type RTCIceComponent = "rtcp" | "rtp";
|
|
20178
19796
|
type RTCIceConnectionState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new";
|
|
20179
|
-
type RTCIceCredentialType = "
|
|
19797
|
+
type RTCIceCredentialType = "password";
|
|
20180
19798
|
type RTCIceGatherPolicy = "all" | "nohost" | "relay";
|
|
20181
19799
|
type RTCIceGathererState = "complete" | "gathering" | "new";
|
|
20182
19800
|
type RTCIceGatheringState = "complete" | "gathering" | "new";
|
|
@@ -20186,8 +19804,7 @@ type RTCIceTcpCandidateType = "active" | "passive" | "so";
|
|
|
20186
19804
|
type RTCIceTransportPolicy = "all" | "relay";
|
|
20187
19805
|
type RTCIceTransportState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new";
|
|
20188
19806
|
type RTCPeerConnectionState = "closed" | "connected" | "connecting" | "disconnected" | "failed" | "new";
|
|
20189
|
-
type
|
|
20190
|
-
type RTCRtcpMuxPolicy = "negotiate" | "require";
|
|
19807
|
+
type RTCRtcpMuxPolicy = "require";
|
|
20191
19808
|
type RTCRtpTransceiverDirection = "inactive" | "recvonly" | "sendonly" | "sendrecv" | "stopped";
|
|
20192
19809
|
type RTCSctpTransportState = "closed" | "connected" | "connecting";
|
|
20193
19810
|
type RTCSdpType = "answer" | "offer" | "pranswer" | "rollback";
|
|
@@ -20206,7 +19823,6 @@ type ResidentKeyRequirement = "discouraged" | "preferred" | "required";
|
|
|
20206
19823
|
type ResizeObserverBoxOptions = "border-box" | "content-box" | "device-pixel-content-box";
|
|
20207
19824
|
type ResizeQuality = "high" | "low" | "medium" | "pixelated";
|
|
20208
19825
|
type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect";
|
|
20209
|
-
type ScopedCredentialType = "ScopedCred";
|
|
20210
19826
|
type ScrollBehavior = "auto" | "smooth";
|
|
20211
19827
|
type ScrollLogicalPosition = "center" | "end" | "nearest" | "start";
|
|
20212
19828
|
type ScrollRestoration = "auto" | "manual";
|
|
@@ -20220,7 +19836,6 @@ type SpeechSynthesisErrorCode = "audio-busy" | "audio-hardware" | "canceled" | "
|
|
|
20220
19836
|
type TextTrackKind = "captions" | "chapters" | "descriptions" | "metadata" | "subtitles";
|
|
20221
19837
|
type TextTrackMode = "disabled" | "hidden" | "showing";
|
|
20222
19838
|
type TouchType = "direct" | "stylus";
|
|
20223
|
-
type Transport = "ble" | "nfc" | "usb";
|
|
20224
19839
|
type UserVerificationRequirement = "discouraged" | "preferred" | "required";
|
|
20225
19840
|
type VRDisplayEventReason = "mounted" | "navigation" | "requested" | "unmounted";
|
|
20226
19841
|
type VideoFacingModeEnum = "environment" | "left" | "right" | "user";
|