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
PerformanceEntryTaskAttributionTiming
Properties
| Name | Description |
|---|---|
| ContainerId | Gets the ID of the container, or the empty string. |
| ContainerName | Gets the name attribute of the container (except an embed element), or the empty string. |
| ContainerSrc | Gets the src attribute (data for an object element) of the container, or the empty string. |
| ContainerType | Gets the type of the container of the culprit browsing context: iframe, frame, object, embed, or window when it is not reported. |
| Duration | Gets 0. |
| EntryType | Gets taskattribution. |
| Name | Gets unknown. |
| StartTime | Gets 0. |
ContainerId
LongTaskTiming.csGets the ID of the container, or the empty string.
public string ContainerId { get; }ContainerName
LongTaskTiming.csGets the name attribute of the container (except an embed element), or the empty string.
public string ContainerName { get; }Property value
See also
ContainerSrc
LongTaskTiming.csGets the src attribute (data for an object element) of the container, or the empty string.
public string ContainerSrc { get; }ContainerType
LongTaskTiming.csGets 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; }Property value
See also
Duration
LongTaskTiming.csGets 0.
public new double Duration { get; }EntryType
LongTaskTiming.csGets taskattribution.
public new string EntryType { get; }Gets unknown.
public new string Name { get; }StartTime
LongTaskTiming.csGets 0.
public new double StartTime { get; }