@@ -3723,40 +3723,6 @@ interface ConcatParams extends Algorithm {
37233723 publicInfo?: Uint8Array;
37243724}
37253725
3726- /** Provides access to the browser's debugging console (e.g. the Web Console in Firefox). The specifics of how it works varies from browser to browser, but there is a de facto set of features that are typically provided. */
3727- interface Console {
3728- memory: any;
3729- assert(condition?: boolean, message?: string, ...data: any[]): void;
3730- clear(): void;
3731- count(label?: string): void;
3732- debug(message?: any, ...optionalParams: any[]): void;
3733- dir(value?: any, ...optionalParams: any[]): void;
3734- dirxml(value: any): void;
3735- error(message?: any, ...optionalParams: any[]): void;
3736- exception(message?: string, ...optionalParams: any[]): void;
3737- group(groupTitle?: string, ...optionalParams: any[]): void;
3738- groupCollapsed(groupTitle?: string, ...optionalParams: any[]): void;
3739- groupEnd(): void;
3740- info(message?: any, ...optionalParams: any[]): void;
3741- log(message?: any, ...optionalParams: any[]): void;
3742- markTimeline(label?: string): void;
3743- profile(reportName?: string): void;
3744- profileEnd(reportName?: string): void;
3745- table(...tabularData: any[]): void;
3746- time(label?: string): void;
3747- timeEnd(label?: string): void;
3748- timeStamp(label?: string): void;
3749- timeline(label?: string): void;
3750- timelineEnd(label?: string): void;
3751- trace(message?: any, ...optionalParams: any[]): void;
3752- warn(message?: any, ...optionalParams: any[]): void;
3753- }
3754-
3755- declare var Console: {
3756- prototype: Console;
3757- new(): Console;
3758- };
3759-
37603726interface ConstantSourceNode extends AudioScheduledSourceNode {
37613727 readonly offset: AudioParam;
37623728 addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -18590,7 +18556,7 @@ interface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandler
1859018556}
1859118557
1859218558/** A window containing a DOM document; the document property points to the DOM document loaded in that window. */
18593- interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandlers, WindowConsole, WindowEventHandlers, WindowLocalStorage, WindowOrWorkerGlobalScope, WindowSessionStorage {
18559+ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandlers, WindowEventHandlers, WindowLocalStorage, WindowOrWorkerGlobalScope, WindowSessionStorage {
1859418560 readonly applicationCache: ApplicationCache;
1859518561 readonly clientInformation: Navigator;
1859618562 readonly closed: boolean;
@@ -18721,10 +18687,6 @@ declare var Window: {
1872118687 new(): Window;
1872218688};
1872318689
18724- interface WindowConsole {
18725- readonly console: Console;
18726- }
18727-
1872818690interface WindowEventHandlersEventMap {
1872918691 "afterprint": Event;
1873018692 "beforeprint": Event;
@@ -19125,6 +19087,31 @@ declare var webkitRTCPeerConnection: {
1912519087
1912619088declare type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
1912719089
19090+ declare namespace console {
19091+ var memory: any;
19092+ function assert(condition?: boolean, ...data: any[]): void;
19093+ function clear(): void;
19094+ function count(label?: string): void;
19095+ function countReset(label?: string): void;
19096+ function debug(...data: any[]): void;
19097+ function dir(item: any, options?: any): void;
19098+ function dirxml(...data: any[]): void;
19099+ function error(...data: any[]): void;
19100+ function exception(message?: string, ...optionalParams: any[]): void;
19101+ function group(...data: any[]): void;
19102+ function groupCollapsed(...data: any[]): void;
19103+ function groupEnd(): void;
19104+ function info(...data: any[]): void;
19105+ function log(...data: any[]): void;
19106+ function table(tabularData: any, properties?: string[]): void;
19107+ function time(label?: string): void;
19108+ function timeEnd(label?: string): void;
19109+ function timeLog(label?: string, ...data: any[]): void;
19110+ function timeStamp(label?: string): void;
19111+ function trace(...data: any[]): void;
19112+ function warn(...data: any[]): void;
19113+ }
19114+
1912819115declare namespace WebAssembly {
1912919116 interface CompileError {
1913019117 }
@@ -19706,7 +19693,6 @@ declare function toString(): string;
1970619693declare function dispatchEvent(event: Event): boolean;
1970719694declare var sessionStorage: Storage;
1970819695declare var localStorage: Storage;
19709- declare var console: Console;
1971019696/**
1971119697 * Fires when the user aborts the download.
1971219698 * @param ev The event.
0 commit comments