Skip to content

Commit 3976f06

Browse files
committed
More merging
1 parent a88f594 commit 3976f06

8 files changed

+633
-1019
lines changed

baselines/audioworklet.generated.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ interface UnderlyingSink<W = any> {
103103
}
104104

105105
interface UnderlyingSource<R = any> {
106-
autoAllocateChunkSize?: number;
107106
cancel?: UnderlyingSourceCancelCallback;
108107
pull?: UnderlyingSourcePullCallback<R>;
109108
start?: UnderlyingSourceStartCallback<R>;

baselines/dom.generated.d.ts

Lines changed: 23 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,10 @@ interface FontFaceSetLoadEventInit extends EventInit {
489489
fontfaces?: FontFace[];
490490
}
491491

492+
interface FormDataEventInit extends EventInit {
493+
formData: FormData;
494+
}
495+
492496
interface FullscreenOptions {
493497
navigationUI?: FullscreenNavigationUI;
494498
}
@@ -1276,46 +1280,12 @@ interface RTCOfferOptions extends RTCOfferAnswerOptions {
12761280
}
12771281

12781282
interface RTCOutboundRtpStreamStats extends RTCSentRtpStreamStats {
1279-
averageRtcpInterval?: number;
1280-
bytesDiscardedOnSend?: number;
1281-
encoderImplementation?: string;
1282-
fecPacketsSent?: number;
12831283
firCount?: number;
1284-
frameBitDepth?: number;
1285-
frameHeight?: number;
1286-
frameWidth?: number;
1287-
framesDiscardedOnSend?: number;
12881284
framesEncoded?: number;
1289-
framesPerSecond?: number;
1290-
framesSent?: number;
1291-
headerBytesSent?: number;
1292-
hugeFramesSent?: number;
1293-
keyFramesEncoded?: number;
1294-
lastPacketSentTimestamp?: DOMHighResTimeStamp;
1295-
mediaSourceId?: string;
12961285
nackCount?: number;
1297-
packetsDiscardedOnSend?: number;
1298-
perDscpPacketsSent?: Record<string, number>;
12991286
pliCount?: number;
13001287
qpSum?: number;
1301-
qualityLimitationDurations?: Record<string, number>;
1302-
qualityLimitationReason?: RTCQualityLimitationReason;
1303-
qualityLimitationResolutionChanges?: number;
13041288
remoteId?: string;
1305-
retransmittedBytesSent?: number;
1306-
retransmittedPacketsSent?: number;
1307-
rid?: string;
1308-
rtxSsrc?: number;
1309-
samplesEncodedWithCelt?: number;
1310-
samplesEncodedWithSilk?: number;
1311-
senderId?: string;
1312-
sliCount?: number;
1313-
targetBitrate?: number;
1314-
totalEncodeTime?: number;
1315-
totalEncodedBytesTarget?: number;
1316-
totalPacketSendDelay?: number;
1317-
totalSamplesSent?: number;
1318-
voiceActivityFlag?: boolean;
13191289
}
13201290

13211291
interface RTCPeerConnectionIceErrorEventInit extends EventInit {
@@ -1332,22 +1302,10 @@ interface RTCPeerConnectionIceEventInit extends EventInit {
13321302
}
13331303

13341304
interface RTCReceivedRtpStreamStats extends RTCRtpStreamStats {
1335-
burstDiscardCount?: number;
1336-
burstDiscardRate?: number;
1337-
burstLossCount?: number;
1338-
burstLossRate?: number;
1339-
burstPacketsDiscarded?: number;
1340-
burstPacketsLost?: number;
1341-
framesDropped?: number;
1342-
fullFramesLost?: number;
1343-
gapDiscardRate?: number;
1344-
gapLossRate?: number;
13451305
jitter?: number;
13461306
packetsDiscarded?: number;
13471307
packetsLost?: number;
13481308
packetsReceived?: number;
1349-
packetsRepaired?: number;
1350-
partialFramesLost?: number;
13511309
}
13521310

13531311
interface RTCRtcpParameters {
@@ -1364,7 +1322,6 @@ interface RTCRtpCodecCapability {
13641322
channels?: number;
13651323
clockRate: number;
13661324
mimeType: string;
1367-
scalabilityModes?: string[];
13681325
sdpFmtpLine?: string;
13691326
}
13701327

@@ -1390,9 +1347,7 @@ interface RTCRtpContributingSource {
13901347
interface RTCRtpEncodingParameters extends RTCRtpCodingParameters {
13911348
active?: boolean;
13921349
maxBitrate?: number;
1393-
networkPriority?: RTCPriorityType;
13941350
priority?: RTCPriorityType;
1395-
scalabilityMode?: string;
13961351
scaleResolutionDownBy?: number;
13971352
}
13981353

@@ -1465,18 +1420,11 @@ interface RTCTransportStats extends RTCStats {
14651420
bytesSent?: number;
14661421
dtlsCipher?: string;
14671422
dtlsState: RTCDtlsTransportState;
1468-
iceLocalUsernameFragment?: string;
1469-
iceRole?: RTCIceRole;
1470-
iceState?: RTCIceTransportState;
14711423
localCertificateId?: string;
1472-
packetsReceived?: number;
1473-
packetsSent?: number;
14741424
remoteCertificateId?: string;
14751425
rtcpTransportStatsId?: string;
1476-
selectedCandidatePairChanges?: number;
14771426
selectedCandidatePairId?: string;
14781427
srtpCipher?: string;
1479-
tlsGroup?: string;
14801428
tlsVersion?: string;
14811429
}
14821430

@@ -1802,7 +1750,6 @@ interface UnderlyingSink<W = any> {
18021750
}
18031751

18041752
interface UnderlyingSource<R = any> {
1805-
autoAllocateChunkSize?: number;
18061753
cancel?: UnderlyingSourceCancelCallback;
18071754
pull?: UnderlyingSourcePullCallback<R>;
18081755
start?: UnderlyingSourceStartCallback<R>;
@@ -1814,7 +1761,6 @@ interface VideoConfiguration {
18141761
colorGamut?: ColorGamut;
18151762
contentType: string;
18161763
framerate: number;
1817-
hasAlphaChannel?: boolean;
18181764
hdrMetadataType?: HdrMetadataType;
18191765
height: number;
18201766
scalabilityMode?: string;
@@ -1837,7 +1783,6 @@ interface WebGLContextAttributes {
18371783
premultipliedAlpha?: boolean;
18381784
preserveDrawingBuffer?: boolean;
18391785
stencil?: boolean;
1840-
xrCompatible?: boolean;
18411786
}
18421787

18431788
interface WebGLContextEventInit extends EventInit {
@@ -4527,8 +4472,6 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
45274472
createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent;
45284473
createEvent(eventInterface: "DragEvent"): DragEvent;
45294474
createEvent(eventInterface: "ErrorEvent"): ErrorEvent;
4530-
createEvent(eventInterface: "Event"): Event;
4531-
createEvent(eventInterface: "Events"): Event;
45324475
createEvent(eventInterface: "FocusEvent"): FocusEvent;
45334476
createEvent(eventInterface: "FontFaceSetLoadEvent"): FontFaceSetLoadEvent;
45344477
createEvent(eventInterface: "FormDataEvent"): FormDataEvent;
@@ -5452,6 +5395,18 @@ declare var FormData: {
54525395
new(form?: HTMLFormElement): FormData;
54535396
};
54545397

5398+
interface FormDataEvent extends Event {
5399+
/**
5400+
* Returns a FormData object representing names and values of elements associated to the target form. Operations on the FormData object will affect form data to be submitted.
5401+
*/
5402+
readonly formData: FormData;
5403+
}
5404+
5405+
declare var FormDataEvent: {
5406+
prototype: FormDataEvent;
5407+
new(type: string, eventInitDict: FormDataEventInit): FormDataEvent;
5408+
};
5409+
54555410
/** A change in volume. It is an AudioNode audio-processing module that causes a given gain to be applied to the input data before its propagation to the output. A GainNode always has exactly one input and one output, both with the same number of channels. */
54565411
interface GainNode extends AudioNode {
54575412
readonly gain: AudioParam;
@@ -10963,6 +10918,12 @@ interface ParentNode {
1096310918
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
1096410919
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
1096510920
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
10921+
/**
10922+
* Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes.
10923+
*
10924+
* Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.
10925+
*/
10926+
replaceChildren(...nodes: (Node | string)[]): void;
1096610927
}
1096710928

1096810929
/** This Canvas 2D API interface is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired. */
@@ -11697,7 +11658,6 @@ interface RTCPeerConnectionEventMap {
1169711658
"icecandidate": RTCPeerConnectionIceEvent;
1169811659
"iceconnectionstatechange": Event;
1169911660
"icegatheringstatechange": Event;
11700-
"isolationchange": Event;
1170111661
"negotiationneeded": Event;
1170211662
"signalingstatechange": Event;
1170311663
"track": RTCTrackEvent;
@@ -13979,7 +13939,7 @@ interface ServiceWorkerContainer extends EventTarget {
1397913939
readonly ready: Promise<ServiceWorkerRegistration>;
1398013940
getRegistration(clientURL?: string | URL): Promise<ServiceWorkerRegistration | undefined>;
1398113941
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
13982-
register(scriptURL: string | URL, options?: RegistrationOptions): Promise<ServiceWorkerRegistration | undefined>;
13942+
register(scriptURL: string | URL, options?: RegistrationOptions): Promise<ServiceWorkerRegistration>;
1398313943
startMessages(): void;
1398413944
addEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1398513945
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;

baselines/serviceworker.generated.d.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,6 @@ interface UnderlyingSink<W = any> {
618618
}
619619

620620
interface UnderlyingSource<R = any> {
621-
autoAllocateChunkSize?: number;
622621
cancel?: UnderlyingSourceCancelCallback;
623622
pull?: UnderlyingSourcePullCallback<R>;
624623
start?: UnderlyingSourceStartCallback<R>;
@@ -630,7 +629,6 @@ interface VideoConfiguration {
630629
colorGamut?: ColorGamut;
631630
contentType: string;
632631
framerate: number;
633-
hasAlphaChannel?: boolean;
634632
hdrMetadataType?: HdrMetadataType;
635633
height: number;
636634
scalabilityMode?: string;
@@ -648,7 +646,6 @@ interface WebGLContextAttributes {
648646
premultipliedAlpha?: boolean;
649647
preserveDrawingBuffer?: boolean;
650648
stencil?: boolean;
651-
xrCompatible?: boolean;
652649
}
653650

654651
interface WebGLContextEventInit extends EventInit {
@@ -2804,7 +2801,7 @@ interface ServiceWorkerContainer extends EventTarget {
28042801
readonly ready: Promise<ServiceWorkerRegistration>;
28052802
getRegistration(clientURL?: string | URL): Promise<ServiceWorkerRegistration | undefined>;
28062803
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
2807-
register(scriptURL: string | URL, options?: RegistrationOptions): Promise<ServiceWorkerRegistration | undefined>;
2804+
register(scriptURL: string | URL, options?: RegistrationOptions): Promise<ServiceWorkerRegistration>;
28082805
startMessages(): void;
28092806
addEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
28102807
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -2826,7 +2823,6 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
28262823
"notificationclick": NotificationEvent;
28272824
"notificationclose": NotificationEvent;
28282825
"push": PushEvent;
2829-
"sync": SyncEvent;
28302826
}
28312827

28322828
/** This ServiceWorker API interface represents the global execution context of a service worker. */

baselines/sharedworker.generated.d.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,6 @@ interface UnderlyingSink<W = any> {
584584
}
585585

586586
interface UnderlyingSource<R = any> {
587-
autoAllocateChunkSize?: number;
588587
cancel?: UnderlyingSourceCancelCallback;
589588
pull?: UnderlyingSourcePullCallback<R>;
590589
start?: UnderlyingSourceStartCallback<R>;
@@ -596,7 +595,6 @@ interface VideoConfiguration {
596595
colorGamut?: ColorGamut;
597596
contentType: string;
598597
framerate: number;
599-
hasAlphaChannel?: boolean;
600598
hdrMetadataType?: HdrMetadataType;
601599
height: number;
602600
scalabilityMode?: string;
@@ -614,7 +612,6 @@ interface WebGLContextAttributes {
614612
premultipliedAlpha?: boolean;
615613
preserveDrawingBuffer?: boolean;
616614
stencil?: boolean;
617-
xrCompatible?: boolean;
618615
}
619616

620617
interface WebGLContextEventInit extends EventInit {
@@ -2691,7 +2688,7 @@ interface ServiceWorkerContainer extends EventTarget {
26912688
readonly ready: Promise<ServiceWorkerRegistration>;
26922689
getRegistration(clientURL?: string | URL): Promise<ServiceWorkerRegistration | undefined>;
26932690
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
2694-
register(scriptURL: string | URL, options?: RegistrationOptions): Promise<ServiceWorkerRegistration | undefined>;
2691+
register(scriptURL: string | URL, options?: RegistrationOptions): Promise<ServiceWorkerRegistration>;
26952692
startMessages(): void;
26962693
addEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
26972694
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;

baselines/webworker.generated.d.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,6 @@ interface UnderlyingSink<W = any> {
618618
}
619619

620620
interface UnderlyingSource<R = any> {
621-
autoAllocateChunkSize?: number;
622621
cancel?: UnderlyingSourceCancelCallback;
623622
pull?: UnderlyingSourcePullCallback<R>;
624623
start?: UnderlyingSourceStartCallback<R>;
@@ -630,7 +629,6 @@ interface VideoConfiguration {
630629
colorGamut?: ColorGamut;
631630
contentType: string;
632631
framerate: number;
633-
hasAlphaChannel?: boolean;
634632
hdrMetadataType?: HdrMetadataType;
635633
height: number;
636634
scalabilityMode?: string;
@@ -648,7 +646,6 @@ interface WebGLContextAttributes {
648646
premultipliedAlpha?: boolean;
649647
preserveDrawingBuffer?: boolean;
650648
stencil?: boolean;
651-
xrCompatible?: boolean;
652649
}
653650

654651
interface WebGLContextEventInit extends EventInit {
@@ -2862,7 +2859,7 @@ interface ServiceWorkerContainer extends EventTarget {
28622859
readonly ready: Promise<ServiceWorkerRegistration>;
28632860
getRegistration(clientURL?: string | URL): Promise<ServiceWorkerRegistration | undefined>;
28642861
getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;
2865-
register(scriptURL: string | URL, options?: RegistrationOptions): Promise<ServiceWorkerRegistration | undefined>;
2862+
register(scriptURL: string | URL, options?: RegistrationOptions): Promise<ServiceWorkerRegistration>;
28662863
startMessages(): void;
28672864
addEventListener<K extends keyof ServiceWorkerContainerEventMap>(type: K, listener: (this: ServiceWorkerContainer, ev: ServiceWorkerContainerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
28682865
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -2884,7 +2881,6 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
28842881
"notificationclick": NotificationEvent;
28852882
"notificationclose": NotificationEvent;
28862883
"push": PushEvent;
2887-
"sync": SyncEvent;
28882884
}
28892885

28902886
/** This ServiceWorker API interface represents the global execution context of a service worker. */

0 commit comments

Comments
 (0)