
The intent is to use these to autogenerate prototype declarations for Window and WorkerGlobalScope classes. And the spec links are just nice to have :^)
11 lines
308 B
Text
11 lines
308 B
Text
#import <DOM/EventTarget.idl>
|
|
#import <NavigationTiming/PerformanceTiming.idl>
|
|
|
|
// https://w3c.github.io/hr-time/#sec-performance
|
|
[Exposed=(Window, Worker)]
|
|
interface Performance : EventTarget {
|
|
double now();
|
|
readonly attribute double timeOrigin;
|
|
|
|
readonly attribute PerformanceTiming timing;
|
|
};
|