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 MemoryAttributionConstructors
| Name | Description |
|---|---|
| MemoryAttribution() |
MemoryAttribution()
MemoryMeasurement.cspublic MemoryAttribution()No documentation is available.
Properties
| Name | Description |
|---|---|
| Container | 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. |
| Scope | Gets the type of the global object of the realm (Window, DedicatedWorkerGlobalScope...), or cross-origin-aggregated. |
| Url | Gets the URL of the realm, or cross-origin-url for the realms of another origin. |
Container
MemoryMeasurement.csGets 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; }Scope
MemoryMeasurement.csGets the type of the global object of the realm (Window, DedicatedWorkerGlobalScope...), or cross-origin-aggregated.
public string Scope { get; init; }Property value
See also
Gets the URL of the realm, or cross-origin-url for the realms of another origin.
public string Url { get; init; }