Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface WindowOrWorkerGlobalScope
import { type WindowOrWorkerGlobalScope } from "https://deno.land/x/yxz@0.17.0/typing/lib.dom.ts";

Properties

readonly
caches: CacheStorage

Available only in secure contexts.

readonly
crossOriginIsolated: boolean
readonly
crypto: Crypto
readonly
indexedDB: IDBFactory
readonly
isSecureContext: boolean
readonly
origin: string
readonly
performance: Performance

Methods

atob(data: string): string
btoa(data: string): string
clearInterval(handle?: number): void
clearTimeout(handle?: number): void
createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>
createImageBitmap(
sx: number,
sy: number,
sw: number,
sh: number,
): Promise<ImageBitmap>
fetch(input: RequestInfo, init?: RequestInit): Promise<Response>
queueMicrotask(callback: VoidFunction): void
setInterval(
handler: TimerHandler,
timeout?: number,
...arguments: any[],
): number
setTimeout(
handler: TimerHandler,
timeout?: number,
...arguments: any[],
): number