MemoryAttribution Class

The realm to which the memory of a MemoryBreakdownEntry is attributed (https://wicg.github.io/performance-measure-memory/#dictdef-memoryattribution).

public sealed class MemoryAttribution

Constructors

NameDescription
MemoryAttribution()

MemoryAttribution()

MemoryMeasurement.cs
public MemoryAttribution()

No documentation is available.

Properties

NameDescription
ContainerGets the element (an iframe) of the document of the measurement that contains the realm, or null for a top-level window or a worker.
ScopeGets the type of the global object of the realm (Window, DedicatedWorkerGlobalScope...), or cross-origin-aggregated.
UrlGets the URL of the realm, or cross-origin-url for the realms of another origin.

Gets the element (an iframe) of the document of the measurement that contains the realm, or null for a top-level window or a worker.

public MemoryAttributionContainer? Container { get; init; }

Gets the type of the global object of the realm (Window, DedicatedWorkerGlobalScope...), or cross-origin-aggregated.

public string Scope { get; init; }

Gets the URL of the realm, or cross-origin-url for the realms of another origin.

public string Url { get; init; }