https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 4c8921bfd758572b8c04b57954780f52d7255d3c authored by Stephen McGruer on 04 April 2018, 11:19:47 UTC
Address comments from birtles
Tip revision: 4c8921b
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