https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 2cfa0f419eab882fe7ef218107bd41cf780ec634 authored by jkereliuk on 04 April 2018, 13:05:19 UTC
some fixes and added test
Tip revision: 2cfa0f4
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