@@ -4527,7 +4527,7 @@ interface DocumentEventMap extends GlobalEventHandlersEventMap, DocumentAndEleme
45274527 "fullscreenerror": Event;
45284528 "pointerlockchange": Event;
45294529 "pointerlockerror": Event;
4530- "readystatechange": ProgressEvent<Document> ;
4530+ "readystatechange": Event ;
45314531 "visibilitychange": Event;
45324532}
45334533
@@ -4682,7 +4682,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
46824682 * Fires when the state of the object has changed.
46834683 * @param ev The event
46844684 */
4685- onreadystatechange: ((this: Document, ev: ProgressEvent<Document> ) => any) | null;
4685+ onreadystatechange: ((this: Document, ev: Event ) => any) | null;
46864686 onvisibilitychange: ((this: Document, ev: Event) => any) | null;
46874687 /**
46884688 * Returns document's origin.
@@ -7667,7 +7667,7 @@ declare var HTMLMarqueeElement: {
76677667
76687668interface HTMLMediaElementEventMap extends HTMLElementEventMap {
76697669 "encrypted": MediaEncryptedEvent;
7670- "msneedkey": Event ;
7670+ "msneedkey": MSMediaKeyNeededEvent ;
76717671 "waitingforkey": Event;
76727672}
76737673
@@ -7764,7 +7764,7 @@ interface HTMLMediaElement extends HTMLElement {
77647764 readonly networkState: number;
77657765 onencrypted: ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => any) | null;
77667766 /** @deprecated */
7767- onmsneedkey: ((this: HTMLMediaElement, ev: Event ) => any) | null;
7767+ onmsneedkey: ((this: HTMLMediaElement, ev: MSMediaKeyNeededEvent ) => any) | null;
77687768 onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => any) | null;
77697769 /**
77707770 * Gets a flag that specifies whether playback is paused.
@@ -10331,7 +10331,7 @@ declare var MediaKeyMessageEvent: {
1033110331
1033210332interface MediaKeySessionEventMap {
1033310333 "keystatuseschange": Event;
10334- "message": MessageEvent ;
10334+ "message": MediaKeyMessageEvent ;
1033510335}
1033610336
1033710337/** This EncryptedMediaExtensions API interface represents a context for message exchange with a content decryption module (CDM). */
@@ -10340,7 +10340,7 @@ interface MediaKeySession extends EventTarget {
1034010340 readonly expiration: number;
1034110341 readonly keyStatuses: MediaKeyStatusMap;
1034210342 onkeystatuseschange: ((this: MediaKeySession, ev: Event) => any) | null;
10343- onmessage: ((this: MediaKeySession, ev: MessageEvent ) => any) | null;
10343+ onmessage: ((this: MediaKeySession, ev: MediaKeyMessageEvent ) => any) | null;
1034410344 readonly sessionId: string;
1034510345 close(): Promise<void>;
1034610346 generateRequest(initDataType: string, initData: BufferSource): Promise<void>;
@@ -10361,7 +10361,7 @@ declare var MediaKeySession: {
1036110361/** This EncryptedMediaExtensions API interface is a read-only map of media key statuses by key IDs. */
1036210362interface MediaKeyStatusMap {
1036310363 readonly size: number;
10364- get(keyId: BufferSource): any ;
10364+ get(keyId: BufferSource): MediaKeyStatus | undefined ;
1036510365 has(keyId: BufferSource): boolean;
1036610366 forEach(callbackfn: (value: MediaKeyStatus, key: BufferSource, parent: MediaKeyStatusMap) => void, thisArg?: any): void;
1036710367}
@@ -15888,11 +15888,15 @@ declare var TextTrackCueList: {
1588815888
1588915889interface TextTrackListEventMap {
1589015890 "addtrack": TrackEvent;
15891+ "change": Event;
15892+ "removetrack": TrackEvent;
1589115893}
1589215894
1589315895interface TextTrackList extends EventTarget {
1589415896 readonly length: number;
1589515897 onaddtrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;
15898+ onchange: ((this: TextTrackList, ev: Event) => any) | null;
15899+ onremovetrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;
1589615900 item(index: number): TextTrack;
1589715901 addEventListener<K extends keyof TextTrackListEventMap>(type: K, listener: (this: TextTrackList, ev: TextTrackListEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1589815902 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
0 commit comments