@@ -1714,14 +1714,15 @@ interface WebAuthnExtensions {
17141714}
17151715
17161716interface WebGLContextAttributes {
1717- alpha?: GLboolean;
1718- antialias?: GLboolean;
1719- depth?: GLboolean;
1717+ alpha?: boolean;
1718+ antialias?: boolean;
1719+ depth?: boolean;
1720+ desynchronized?: boolean;
17201721 failIfMajorPerformanceCaveat?: boolean;
17211722 powerPreference?: WebGLPowerPreference;
1722- premultipliedAlpha?: GLboolean ;
1723- preserveDrawingBuffer?: GLboolean ;
1724- stencil?: GLboolean ;
1723+ premultipliedAlpha?: boolean ;
1724+ preserveDrawingBuffer?: boolean ;
1725+ stencil?: boolean ;
17251726}
17261727
17271728interface WebGLContextEventInit extends EventInit {
@@ -1927,6 +1928,11 @@ declare var AnimationEvent: {
19271928 new(type: string, animationEventInitDict?: AnimationEventInit): AnimationEvent;
19281929};
19291930
1931+ interface AnimationFrameProvider {
1932+ cancelAnimationFrame(handle: number): void;
1933+ requestAnimationFrame(callback: FrameRequestCallback): number;
1934+ }
1935+
19301936interface AnimationPlaybackEvent extends Event {
19311937 readonly currentTime: number | null;
19321938 readonly timelineTime: number | null;
@@ -5346,6 +5352,11 @@ interface External {
53465352 IsSearchProviderInstalled(): void;
53475353}
53485354
5355+ declare var External: {
5356+ prototype: External;
5357+ new(): External;
5358+ };
5359+
53495360/** Provides information about files and allows JavaScript in a web page to access their content. */
53505361interface File extends Blob {
53515362 readonly lastModified: number;
@@ -16599,7 +16610,7 @@ declare var WebGLRenderingContext: {
1659916610};
1660016611
1660116612interface WebGLRenderingContextBase {
16602- readonly canvas: HTMLCanvasElement;
16613+ readonly canvas: HTMLCanvasElement | OffscreenCanvas ;
1660316614 readonly drawingBufferHeight: GLsizei;
1660416615 readonly drawingBufferWidth: GLsizei;
1660516616 activeTexture(texture: GLenum): void;
@@ -17275,7 +17286,7 @@ interface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandler
1727517286}
1727617287
1727717288/** A window containing a DOM document; the document property points to the DOM document loaded in that window. */
17278- interface Window extends EventTarget, WindowTimers, WindowSessionStorage, WindowLocalStorage, WindowConsole, GlobalEventHandlers, IDBEnvironment, WindowBase64, WindowOrWorkerGlobalScope, WindowEventHandlers {
17289+ interface Window extends EventTarget, WindowTimers, WindowSessionStorage, WindowLocalStorage, WindowConsole, GlobalEventHandlers, IDBEnvironment, WindowBase64, AnimationFrameProvider, WindowOrWorkerGlobalScope, WindowEventHandlers {
1727917290 Blob: typeof Blob;
1728017291 TextDecoder: typeof TextDecoder;
1728117292 TextEncoder: typeof TextEncoder;
@@ -17370,7 +17381,6 @@ interface Window extends EventTarget, WindowTimers, WindowSessionStorage, Window
1737017381 readonly window: Window;
1737117382 alert(message?: any): void;
1737217383 blur(): void;
17373- cancelAnimationFrame(handle: number): void;
1737417384 /** @deprecated */
1737517385 captureEvents(): void;
1737617386 close(): void;
@@ -17390,7 +17400,6 @@ interface Window extends EventTarget, WindowTimers, WindowSessionStorage, Window
1739017400 prompt(message?: string, _default?: string): string | null;
1739117401 /** @deprecated */
1739217402 releaseEvents(): void;
17393- requestAnimationFrame(callback: FrameRequestCallback): number;
1739417403 resizeBy(x: number, y: number): void;
1739517404 resizeTo(x: number, y: number): void;
1739617405 scroll(options?: ScrollToOptions): void;
@@ -18366,7 +18375,6 @@ declare var top: Window;
1836618375declare var window: Window;
1836718376declare function alert(message?: any): void;
1836818377declare function blur(): void;
18369- declare function cancelAnimationFrame(handle: number): void;
1837018378/** @deprecated */
1837118379declare function captureEvents(): void;
1837218380declare function close(): void;
@@ -18386,7 +18394,6 @@ declare function print(): void;
1838618394declare function prompt(message?: string, _default?: string): string | null;
1838718395/** @deprecated */
1838818396declare function releaseEvents(): void;
18389- declare function requestAnimationFrame(callback: FrameRequestCallback): number;
1839018397declare function resizeBy(x: number, y: number): void;
1839118398declare function resizeTo(x: number, y: number): void;
1839218399declare function scroll(options?: ScrollToOptions): void;
@@ -18677,6 +18684,8 @@ declare var onwheel: ((this: Window, ev: WheelEvent) => any) | null;
1867718684declare var indexedDB: IDBFactory;
1867818685declare function atob(encodedString: string): string;
1867918686declare function btoa(rawString: string): string;
18687+ declare function cancelAnimationFrame(handle: number): void;
18688+ declare function requestAnimationFrame(callback: FrameRequestCallback): number;
1868018689declare var caches: CacheStorage;
1868118690declare var crypto: Crypto;
1868218691declare var indexedDB: IDBFactory;
@@ -18749,7 +18758,7 @@ type GLsizeiptr = number;
1874918758type GLuint = number;
1875018759type GLfloat = number;
1875118760type GLclampf = number;
18752- type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement;
18761+ type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas ;
1875318762type Float32List = Float32Array | GLfloat[];
1875418763type Int32List = Int32Array | GLint[];
1875518764type BufferSource = ArrayBufferView | ArrayBuffer;
0 commit comments