longtasks.idl (1125B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: Long Tasks API (https://w3c.github.io/longtasks/) 5 6 [Exposed=Window] 7 interface PerformanceLongTaskTiming : PerformanceEntry { 8 /* Overloading PerformanceEntry */ 9 readonly attribute DOMHighResTimeStamp startTime; 10 readonly attribute DOMHighResTimeStamp duration; 11 readonly attribute DOMString name; 12 readonly attribute DOMString entryType; 13 14 readonly attribute FrozenArray<TaskAttributionTiming> attribution; 15 [Default] object toJSON(); 16 }; 17 18 [Exposed=Window] 19 interface TaskAttributionTiming : PerformanceEntry { 20 /* Overloading PerformanceEntry */ 21 readonly attribute DOMHighResTimeStamp startTime; 22 readonly attribute DOMHighResTimeStamp duration; 23 readonly attribute DOMString name; 24 readonly attribute DOMString entryType; 25 26 readonly attribute DOMString containerType; 27 readonly attribute DOMString containerSrc; 28 readonly attribute DOMString containerId; 29 readonly attribute DOMString containerName; 30 [Default] object toJSON(); 31 };