https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 917190e67268d05677eacdd3fd068dc6e3d15269 authored by Anne van Kesteren on 14 May 2018, 14:10:29 UTC
review feedback
Tip revision: 917190e
hr-time.idl
// GENERATED CONTENT - DO NOT EDIT
// Content of this file was automatically extracted from the High Resolution Time spec.
// See https://w3c.github.io/hr-time/

typedef double DOMHighResTimeStamp;

[Exposed=(Window,Worker)]
interface Performance : EventTarget {
    DOMHighResTimeStamp now ();
    readonly attribute DOMHighResTimeStamp timeOrigin;
    [Default] object toJSON();
};

partial interface WindowOrWorkerGlobalScope {
    [Replaceable]
    readonly    attribute Performance performance;
};
back to top