diff options
Diffstat (limited to 'Source/WebCore/page/PerformanceResourceTiming.idl')
-rw-r--r-- | Source/WebCore/page/PerformanceResourceTiming.idl | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/Source/WebCore/page/PerformanceResourceTiming.idl b/Source/WebCore/page/PerformanceResourceTiming.idl index a0e48633b..ebf1e2035 100644 --- a/Source/WebCore/page/PerformanceResourceTiming.idl +++ b/Source/WebCore/page/PerformanceResourceTiming.idl @@ -28,21 +28,29 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -// See: https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/ResourceTiming/Overview.html +// https://w3c.github.io/resource-timing/ + +typedef double DOMHighResTimeStamp; + [ - Conditional=RESOURCE_TIMING, + Conditional=WEB_TIMING, + EnabledAtRuntime=ResourceTiming, + Exposed=(Window,Worker), ] interface PerformanceResourceTiming : PerformanceEntry { readonly attribute DOMString initiatorType; - readonly attribute double redirectStart; - readonly attribute double redirectEnd; - readonly attribute double fetchStart; - readonly attribute double domainLookupStart; - readonly attribute double domainLookupEnd; - readonly attribute double connectStart; - readonly attribute double connectEnd; - readonly attribute double secureConnectionStart; - readonly attribute double requestStart; - readonly attribute double responseStart; - readonly attribute double responseEnd; + readonly attribute DOMHighResTimeStamp workerStart; + readonly attribute DOMHighResTimeStamp redirectStart; + readonly attribute DOMHighResTimeStamp redirectEnd; + readonly attribute DOMHighResTimeStamp fetchStart; + readonly attribute DOMHighResTimeStamp domainLookupStart; + readonly attribute DOMHighResTimeStamp domainLookupEnd; + readonly attribute DOMHighResTimeStamp connectStart; + readonly attribute DOMHighResTimeStamp connectEnd; + readonly attribute DOMHighResTimeStamp secureConnectionStart; + readonly attribute DOMHighResTimeStamp requestStart; + readonly attribute DOMHighResTimeStamp responseStart; + readonly attribute DOMHighResTimeStamp responseEnd; + + serializer = { inherit, attribute }; }; |