https://github.com/web-platform-tests/wpt
Raw File
Tip revision: dfd7c3f9e7ac27b02505fb7adfa1314a71a626a2 authored by Josh Matthews on 14 June 2018, 16:17:28 UTC
Replaceable properties should be considered readonly.
Tip revision: dfd7c3f
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