@turbowarp/types-tw
    Preparing search index...

    Interface SecurityManager

    interface SecurityManager {
        canDownload(url: string, name: string): Awaitable<boolean>;
        canEmbed(url: string): Awaitable<boolean>;
        canFetch(url: string): Awaitable<boolean>;
        canGeolocate(): Awaitable<boolean>;
        canLoadExtensionFromProject(url: string): Awaitable<boolean>;
        canNotify(): Awaitable<boolean>;
        canOpenWindow(url: string): Awaitable<boolean>;
        canReadClipboard(): Awaitable<boolean>;
        canRecordAudio(): Awaitable<boolean>;
        canRecordVideo(): Awaitable<boolean>;
        canRedirect(url: string): Awaitable<boolean>;
        getSandboxMode(url: string): Awaitable<"worker" | "iframe" | "unsandboxed">;
        rewriteExtensionURL(url: string): Awaitable<string>;
    }
    Index

    Methods