WindowOrWorkerGlobalScope
interface WindowOrWorkerGlobalScope {
readonly caches: CacheStorage;
readonly crossOriginIsolated: boolean;
readonly crypto: Crypto;
readonly indexedDB: IDBFactory;
readonly isSecureContext: boolean;
readonly origin: string;
readonly performance: Performance;
atob(data: string): string;
btoa(data: string): string;
clearInterval(id: number | undefined): void;
clearTimeout(id: number | undefined): void;
createImageBitmap(
image: ImageBitmapSource,
sx: number,
sy: number,
sw: number,
sh: number,
options?: ImageBitmapOptions,
): Promise<ImageBitmap>;queueMicrotask(callback: VoidFunction): void;
reportError(e: any): void;
}§Properties
§
readonly caches: CacheStorage
[src]Available only in secure contexts.
§
readonly indexedDB: IDBFactory
[src]§
readonly performance: Performance
[src]§Methods
§
createImageBitmap(
[src]image: ImageBitmapSource,
sx: number,
sy: number,
sw: number,
sh: number,
options?: ImageBitmapOptions,
): Promise<ImageBitmap>§
queueMicrotask(callback: VoidFunction): void
[src]