@@ -705,19 +705,6 @@ interface LockOptions {
705
705
steal?: boolean;
706
706
}
707
707
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
-
721
708
interface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo {
722
709
configuration?: MediaDecodingConfiguration;
723
710
}
@@ -4506,8 +4493,6 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
4506
4493
createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent;
4507
4494
createEvent(eventInterface: "InputEvent"): InputEvent;
4508
4495
createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent;
4509
- createEvent(eventInterface: "MIDIConnectionEvent"): MIDIConnectionEvent;
4510
- createEvent(eventInterface: "MIDIMessageEvent"): MIDIMessageEvent;
4511
4496
createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;
4512
4497
createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;
4513
4498
createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent;
@@ -6328,6 +6313,7 @@ interface HTMLElement extends Element, DocumentAndElementEventHandlers, ElementC
6328
6313
dir: string;
6329
6314
draggable: boolean;
6330
6315
hidden: boolean;
6316
+ inert: boolean;
6331
6317
innerText: string;
6332
6318
lang: string;
6333
6319
readonly offsetHeight: number;
@@ -6991,6 +6977,7 @@ interface HTMLInputElement extends HTMLElement {
6991
6977
* @param direction The direction in which the selection is performed.
6992
6978
*/
6993
6979
setSelectionRange(start: number | null, end: number | null, direction?: "forward" | "backward" | "none"): void;
6980
+ showPicker(): void;
6994
6981
/**
6995
6982
* 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.
6996
6983
* @param n Value to decrement the value by.
@@ -9096,126 +9083,6 @@ declare var LockManager: {
9096
9083
new(): LockManager;
9097
9084
};
9098
9085
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
-
9219
9086
interface MathMLElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
9220
9087
}
9221
9088
@@ -9937,8 +9804,6 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorConcurrentH
9937
9804
canShare(data?: ShareData): boolean;
9938
9805
getGamepads(): (Gamepad | null)[];
9939
9806
/** Available only in secure contexts. */
9940
- requestMIDIAccess(options?: MIDIOptions): Promise<MIDIAccess>;
9941
- /** Available only in secure contexts. */
9942
9807
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration[]): Promise<MediaKeySystemAccess>;
9943
9808
sendBeacon(url: string | URL, data?: BodyInit | null): boolean;
9944
9809
/** Available only in secure contexts. */
@@ -18226,9 +18091,6 @@ type KeyType = "private" | "public" | "secret";
18226
18091
type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";
18227
18092
type LineAlignSetting = "center" | "end" | "start";
18228
18093
type LockMode = "exclusive" | "shared";
18229
- type MIDIPortConnectionState = "closed" | "open" | "pending";
18230
- type MIDIPortDeviceState = "connected" | "disconnected";
18231
- type MIDIPortType = "input" | "output";
18232
18094
type MediaDecodingType = "file" | "media-source" | "webrtc";
18233
18095
type MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput";
18234
18096
type MediaEncodingType = "record" | "webrtc";
0 commit comments