resource-timing.idl (2214B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: Resource Timing (https://w3c.github.io/resource-timing/) 5 6 [Exposed=(Window,Worker)] 7 interface PerformanceResourceTiming : PerformanceEntry { 8 readonly attribute DOMString initiatorType; 9 readonly attribute DOMString deliveryType; 10 readonly attribute ByteString nextHopProtocol; 11 readonly attribute DOMHighResTimeStamp workerStart; 12 readonly attribute DOMHighResTimeStamp redirectStart; 13 readonly attribute DOMHighResTimeStamp redirectEnd; 14 readonly attribute DOMHighResTimeStamp fetchStart; 15 readonly attribute DOMHighResTimeStamp domainLookupStart; 16 readonly attribute DOMHighResTimeStamp domainLookupEnd; 17 readonly attribute DOMHighResTimeStamp connectStart; 18 readonly attribute DOMHighResTimeStamp connectEnd; 19 readonly attribute DOMHighResTimeStamp secureConnectionStart; 20 readonly attribute DOMHighResTimeStamp requestStart; 21 readonly attribute DOMHighResTimeStamp finalResponseHeadersStart; 22 readonly attribute DOMHighResTimeStamp firstInterimResponseStart; 23 readonly attribute DOMHighResTimeStamp responseStart; 24 readonly attribute DOMHighResTimeStamp responseEnd; 25 readonly attribute DOMHighResTimeStamp workerRouterEvaluationStart; 26 readonly attribute DOMHighResTimeStamp workerCacheLookupStart; 27 readonly attribute DOMString workerMatchedRouterSource; 28 readonly attribute DOMString workerFinalRouterSource; 29 readonly attribute unsigned long long transferSize; 30 readonly attribute unsigned long long encodedBodySize; 31 readonly attribute unsigned long long decodedBodySize; 32 readonly attribute unsigned short responseStatus; 33 readonly attribute RenderBlockingStatusType renderBlockingStatus; 34 readonly attribute DOMString contentType; 35 readonly attribute DOMString contentEncoding; 36 [Default] object toJSON(); 37 }; 38 39 enum RenderBlockingStatusType { 40 "blocking", 41 "non-blocking" 42 }; 43 44 partial interface Performance { 45 undefined clearResourceTimings (); 46 undefined setResourceTimingBufferSize (unsigned long maxSize); 47 attribute EventHandler onresourcetimingbufferfull; 48 };