TaskAttributionTiming Class

The attribution of a long task (https://w3c.github.io/longtasks/#sec-TaskAttributionTiming): the container (iframe, frame, object or embed element) of the browsing context whose scripts ran in the task, or window when it is not reported (the scripts ran in the window of the entry, in several windows, or in a cross-origin ancestor).

public sealed class TaskAttributionTiming : PerformanceEntry
Inheritance
PerformanceEntry TaskAttributionTiming

Properties

NameDescription
ContainerIdGets the ID of the container, or the empty string.
ContainerNameGets the name attribute of the container (except an embed element), or the empty string.
ContainerSrcGets the src attribute (data for an object element) of the container, or the empty string.
ContainerTypeGets the type of the container of the culprit browsing context: iframe, frame, object, embed, or window when it is not reported.
DurationGets 0.
EntryTypeGets taskattribution.
NameGets unknown.
StartTimeGets 0.

Gets the ID of the container, or the empty string.

public string ContainerId { get; }

ContainerName

LongTaskTiming.cs

Gets the name attribute of the container (except an embed element), or the empty string.

public string ContainerName { get; }

ContainerSrc

LongTaskTiming.cs

Gets the src attribute (data for an object element) of the container, or the empty string.

public string ContainerSrc { get; }

ContainerType

LongTaskTiming.cs

Gets the type of the container of the culprit browsing context: iframe, frame, object, embed, or window when it is not reported.

public string ContainerType { get; }

Gets 0.

public new double Duration { get; }

Gets taskattribution.

public new string EntryType { get; }

Gets unknown.

public new string Name { get; }

Gets 0.

public new double StartTime { get; }