monitor-api - v1.8.0
    Preparing search index...

    Interface MemoryContext

    Memory held by one frame or worker in a MemoryMeasurement.

    interface MemoryContext {
        container: { id: string | null; src: string | null } | null;
        scope: string | null;
        total: number;
        url: string | null;
    }
    Index

    Properties

    container: { id: string | null; src: string | null } | null

    The id and src attributes (capped at 500 characters) of the iframe element that holds the context, or null for the top-level page and workers created by it.

    scope: string | null

    Kind of global scope, such as Window, DedicatedWorkerGlobalScope, SharedWorkerGlobalScope, ServiceWorkerGlobalScope, or cross-origin-aggregated.

    total: number

    Megabytes attributed to this context.

    url: string | null

    URL of the frame or worker, capped at 500 characters. Null for cross-origin frames, whose URL the browser does not expose.