Skip to content

Commit 0b42a3d

Browse files
authored
Co-authored-by: saschanaz <[email protected]>
1 parent 837b023 commit 0b42a3d

File tree

4 files changed

+111
-258
lines changed

4 files changed

+111
-258
lines changed

baselines/dom.generated.d.ts

+2-140
Original file line numberDiff line numberDiff line change
@@ -705,19 +705,6 @@ interface LockOptions {
705705
steal?: boolean;
706706
}
707707

708-
interface MIDIConnectionEventInit extends EventInit {
709-
port?: MIDIPort;
710-
}
711-
712-
interface MIDIMessageEventInit extends EventInit {
713-
data?: Uint8Array;
714-
}
715-
716-
interface MIDIOptions {
717-
software?: boolean;
718-
sysex?: boolean;
719-
}
720-
721708
interface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo {
722709
configuration?: MediaDecodingConfiguration;
723710
}
@@ -4506,8 +4493,6 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
45064493
createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent;
45074494
createEvent(eventInterface: "InputEvent"): InputEvent;
45084495
createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent;
4509-
createEvent(eventInterface: "MIDIConnectionEvent"): MIDIConnectionEvent;
4510-
createEvent(eventInterface: "MIDIMessageEvent"): MIDIMessageEvent;
45114496
createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;
45124497
createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;
45134498
createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent;
@@ -6328,6 +6313,7 @@ interface HTMLElement extends Element, DocumentAndElementEventHandlers, ElementC
63286313
dir: string;
63296314
draggable: boolean;
63306315
hidden: boolean;
6316+
inert: boolean;
63316317
innerText: string;
63326318
lang: string;
63336319
readonly offsetHeight: number;
@@ -6991,6 +6977,7 @@ interface HTMLInputElement extends HTMLElement {
69916977
* @param direction The direction in which the selection is performed.
69926978
*/
69936979
setSelectionRange(start: number | null, end: number | null, direction?: "forward" | "backward" | "none"): void;
6980+
showPicker(): void;
69946981
/**
69956982
* Decrements a range input control's value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control's step value multiplied by the parameter's value.
69966983
* @param n Value to decrement the value by.
@@ -9096,126 +9083,6 @@ declare var LockManager: {
90969083
new(): LockManager;
90979084
};
90989085

9099-
interface MIDIAccessEventMap {
9100-
"statechange": Event;
9101-
}
9102-
9103-
/** Available only in secure contexts. */
9104-
interface MIDIAccess extends EventTarget {
9105-
readonly inputs: MIDIInputMap;
9106-
onstatechange: ((this: MIDIAccess, ev: Event) => any) | null;
9107-
readonly outputs: MIDIOutputMap;
9108-
readonly sysexEnabled: boolean;
9109-
addEventListener<K extends keyof MIDIAccessEventMap>(type: K, listener: (this: MIDIAccess, ev: MIDIAccessEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
9110-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
9111-
removeEventListener<K extends keyof MIDIAccessEventMap>(type: K, listener: (this: MIDIAccess, ev: MIDIAccessEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
9112-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
9113-
}
9114-
9115-
declare var MIDIAccess: {
9116-
prototype: MIDIAccess;
9117-
new(): MIDIAccess;
9118-
};
9119-
9120-
/** Available only in secure contexts. */
9121-
interface MIDIConnectionEvent extends Event {
9122-
readonly port: MIDIPort;
9123-
}
9124-
9125-
declare var MIDIConnectionEvent: {
9126-
prototype: MIDIConnectionEvent;
9127-
new(type: string, eventInitDict?: MIDIConnectionEventInit): MIDIConnectionEvent;
9128-
};
9129-
9130-
interface MIDIInputEventMap extends MIDIPortEventMap {
9131-
"midimessage": Event;
9132-
}
9133-
9134-
/** Available only in secure contexts. */
9135-
interface MIDIInput extends MIDIPort {
9136-
onmidimessage: ((this: MIDIInput, ev: Event) => any) | null;
9137-
addEventListener<K extends keyof MIDIInputEventMap>(type: K, listener: (this: MIDIInput, ev: MIDIInputEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
9138-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
9139-
removeEventListener<K extends keyof MIDIInputEventMap>(type: K, listener: (this: MIDIInput, ev: MIDIInputEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
9140-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
9141-
}
9142-
9143-
declare var MIDIInput: {
9144-
prototype: MIDIInput;
9145-
new(): MIDIInput;
9146-
};
9147-
9148-
/** Available only in secure contexts. */
9149-
interface MIDIInputMap {
9150-
forEach(callbackfn: (value: MIDIInput, key: string, parent: MIDIInputMap) => void, thisArg?: any): void;
9151-
}
9152-
9153-
declare var MIDIInputMap: {
9154-
prototype: MIDIInputMap;
9155-
new(): MIDIInputMap;
9156-
};
9157-
9158-
/** Available only in secure contexts. */
9159-
interface MIDIMessageEvent extends Event {
9160-
readonly data: Uint8Array;
9161-
}
9162-
9163-
declare var MIDIMessageEvent: {
9164-
prototype: MIDIMessageEvent;
9165-
new(type: string, eventInitDict?: MIDIMessageEventInit): MIDIMessageEvent;
9166-
};
9167-
9168-
/** Available only in secure contexts. */
9169-
interface MIDIOutput extends MIDIPort {
9170-
send(data: number[], timestamp?: DOMHighResTimeStamp): void;
9171-
addEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIOutput, ev: MIDIPortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
9172-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
9173-
removeEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIOutput, ev: MIDIPortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
9174-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
9175-
}
9176-
9177-
declare var MIDIOutput: {
9178-
prototype: MIDIOutput;
9179-
new(): MIDIOutput;
9180-
};
9181-
9182-
/** Available only in secure contexts. */
9183-
interface MIDIOutputMap {
9184-
forEach(callbackfn: (value: MIDIOutput, key: string, parent: MIDIOutputMap) => void, thisArg?: any): void;
9185-
}
9186-
9187-
declare var MIDIOutputMap: {
9188-
prototype: MIDIOutputMap;
9189-
new(): MIDIOutputMap;
9190-
};
9191-
9192-
interface MIDIPortEventMap {
9193-
"statechange": Event;
9194-
}
9195-
9196-
/** Available only in secure contexts. */
9197-
interface MIDIPort extends EventTarget {
9198-
readonly connection: MIDIPortConnectionState;
9199-
readonly id: string;
9200-
readonly manufacturer: string | null;
9201-
readonly name: string | null;
9202-
onstatechange: ((this: MIDIPort, ev: Event) => any) | null;
9203-
readonly state: MIDIPortDeviceState;
9204-
readonly type: MIDIPortType;
9205-
readonly version: string | null;
9206-
close(): Promise<MIDIPort>;
9207-
open(): Promise<MIDIPort>;
9208-
addEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIPort, ev: MIDIPortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
9209-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
9210-
removeEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIPort, ev: MIDIPortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
9211-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
9212-
}
9213-
9214-
declare var MIDIPort: {
9215-
prototype: MIDIPort;
9216-
new(): MIDIPort;
9217-
};
9218-
92199086
interface MathMLElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
92209087
}
92219088

@@ -9937,8 +9804,6 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorConcurrentH
99379804
canShare(data?: ShareData): boolean;
99389805
getGamepads(): (Gamepad | null)[];
99399806
/** Available only in secure contexts. */
9940-
requestMIDIAccess(options?: MIDIOptions): Promise<MIDIAccess>;
9941-
/** Available only in secure contexts. */
99429807
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration[]): Promise<MediaKeySystemAccess>;
99439808
sendBeacon(url: string | URL, data?: BodyInit | null): boolean;
99449809
/** Available only in secure contexts. */
@@ -18226,9 +18091,6 @@ type KeyType = "private" | "public" | "secret";
1822618091
type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";
1822718092
type LineAlignSetting = "center" | "end" | "start";
1822818093
type LockMode = "exclusive" | "shared";
18229-
type MIDIPortConnectionState = "closed" | "open" | "pending";
18230-
type MIDIPortDeviceState = "connected" | "disconnected";
18231-
type MIDIPortType = "input" | "output";
1823218094
type MediaDecodingType = "file" | "media-source" | "webrtc";
1823318095
type MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput";
1823418096
type MediaEncodingType = "record" | "webrtc";

baselines/dom.iterable.generated.d.ts

-10
Original file line numberDiff line numberDiff line change
@@ -113,16 +113,6 @@ interface IDBObjectStore {
113113
createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
114114
}
115115

116-
interface MIDIInputMap extends ReadonlyMap<string, MIDIInput> {
117-
}
118-
119-
interface MIDIOutput {
120-
send(data: Iterable<number>, timestamp?: DOMHighResTimeStamp): void;
121-
}
122-
123-
interface MIDIOutputMap extends ReadonlyMap<string, MIDIOutput> {
124-
}
125-
126116
interface MediaKeyStatusMap {
127117
[Symbol.iterator](): IterableIterator<[BufferSource, MediaKeyStatus]>;
128118
entries(): IterableIterator<[BufferSource, MediaKeyStatus]>;

inputfiles/removedTypes.jsonc

+1
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,7 @@
548548
"iceRole": null,
549549
"iceLocalUsernameFragment": null,
550550
"iceState": null,
551+
"dtlsRole": null,
551552
"tlsGroup": null,
552553
"selectedCandidatePairChanges": null
553554
}

0 commit comments

Comments
 (0)