long-animation-frames.idl (2087B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: Long Animation Frames API (https://w3c.github.io/long-animation-frames/) 5 6 [Exposed=Window] 7 interface PerformanceLongAnimationFrameTiming : 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 DOMHighResTimeStamp renderStart; 15 readonly attribute DOMHighResTimeStamp styleAndLayoutStart; 16 readonly attribute DOMHighResTimeStamp blockingDuration; 17 readonly attribute DOMHighResTimeStamp firstUIEventTimestamp; 18 [SameObject] readonly attribute FrozenArray<PerformanceScriptTiming> scripts; 19 [Default] object toJSON(); 20 }; 21 22 PerformanceLongAnimationFrameTiming includes PaintTimingMixin; 23 24 enum ScriptInvokerType { 25 "classic-script", 26 "module-script", 27 "event-listener", 28 "user-callback", 29 "resolve-promise", 30 "reject-promise" 31 }; 32 33 enum ScriptWindowAttribution { 34 "self", "descendant", "ancestor", "same-page", "other" 35 }; 36 37 [Exposed=Window] 38 interface PerformanceScriptTiming : PerformanceEntry { 39 /* Overloading PerformanceEntry */ 40 readonly attribute DOMHighResTimeStamp startTime; 41 readonly attribute DOMHighResTimeStamp duration; 42 readonly attribute DOMString name; 43 readonly attribute DOMString entryType; 44 45 readonly attribute ScriptInvokerType invokerType; 46 readonly attribute DOMString invoker; 47 readonly attribute DOMHighResTimeStamp executionStart; 48 readonly attribute DOMString sourceURL; 49 readonly attribute DOMString sourceFunctionName; 50 readonly attribute long long sourceCharPosition; 51 readonly attribute DOMHighResTimeStamp pauseDuration; 52 readonly attribute DOMHighResTimeStamp forcedStyleAndLayoutDuration; 53 readonly attribute Window? window; 54 readonly attribute ScriptWindowAttribution windowAttribution; 55 [Default] object toJSON(); 56 };