@@ -6929,6 +6929,7 @@ interface Element extends Node, GlobalEventHandlers, ElementTraversal, NodeSelec
69296929 webkitMatchesSelector(selectors: string): boolean;
69306930 webkitRequestFullScreen(): void;
69316931 webkitRequestFullscreen(): void;
6932+ getElementsByClassName(classNames: string): NodeListOf<Element>;
69326933 addEventListener(type: "MSGestureChange", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;
69336934 addEventListener(type: "MSGestureDoubleTap", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;
69346935 addEventListener(type: "MSGestureEnd", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): void;
@@ -7916,7 +7917,6 @@ interface HTMLElement extends Element {
79167917 contains(child: HTMLElement): boolean;
79177918 dragDrop(): boolean;
79187919 focus(): void;
7919- getElementsByClassName(classNames: string): NodeListOf<Element>;
79207920 insertAdjacentElement(position: string, insertedElement: Element): Element;
79217921 insertAdjacentHTML(where: string, html: string): void;
79227922 insertAdjacentText(where: string, text: string): void;
@@ -11719,7 +11719,7 @@ interface MessageEvent extends Event {
1171911719
1172011720declare var MessageEvent: {
1172111721 prototype: MessageEvent;
11722- new(): MessageEvent;
11722+ new(type: string, eventInitDict?: MessageEventInit ): MessageEvent;
1172311723}
1172411724
1172511725interface MessagePort extends EventTarget {
@@ -12461,7 +12461,7 @@ interface ProgressEvent extends Event {
1246112461
1246212462declare var ProgressEvent: {
1246312463 prototype: ProgressEvent;
12464- new(): ProgressEvent;
12464+ new(type: string, eventInitDict?: ProgressEventInit ): ProgressEvent;
1246512465}
1246612466
1246712467interface Range {
@@ -16628,7 +16628,6 @@ interface NodeListOf<TNode extends Node> extends NodeList {
1662816628 [index: number]: TNode;
1662916629}
1663016630
16631-
1663216631interface BlobPropertyBag {
1663316632 type?: string;
1663416633 endings?: string;
@@ -16645,6 +16644,21 @@ interface EventListenerObject {
1664516644
1664616645declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
1664716646
16647+ interface MessageEventInit extends EventInit {
16648+ data?: any;
16649+ origin?: string;
16650+ lastEventId?: string;
16651+ channel?: string;
16652+ source?: any;
16653+ ports?: MessagePort[];
16654+ }
16655+
16656+ interface ProgressEventInit extends EventInit {
16657+ lengthComputable?: boolean;
16658+ loaded?: number;
16659+ total?: number;
16660+ }
16661+
1664816662interface ErrorEventHandler {
1664916663 (message: string, filename?: string, lineno?: number, colno?: number, error?:Error): void;
1665016664}
@@ -16974,8 +16988,7 @@ declare function addEventListener(type: "unload", listener: (ev: Event) => any,
1697416988declare function addEventListener(type: "volumechange", listener: (ev: Event) => any, useCapture?: boolean): void;
1697516989declare function addEventListener(type: "waiting", listener: (ev: Event) => any, useCapture?: boolean): void;
1697616990declare function addEventListener(type: "wheel", listener: (ev: WheelEvent) => any, useCapture?: boolean): void;
16977- declare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
16978-
16991+ declare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
1697916992/////////////////////////////
1698016993/// WorkerGlobalScope APIs
1698116994/////////////////////////////
0 commit comments