mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 01:04:59 +00:00

We already have this for C++ code in DOMHighResTimeStamp.h, but let's also avoid using plain 'double' in IDL code.
12 lines
387 B
Text
12 lines
387 B
Text
#import <DOM/EventTarget.idl>
|
|
#import <HighResolutionTime/DOMHighResTimeStamp.idl>
|
|
#import <NavigationTiming/PerformanceTiming.idl>
|
|
|
|
// https://w3c.github.io/hr-time/#sec-performance
|
|
[Exposed=(Window, Worker)]
|
|
interface Performance : EventTarget {
|
|
DOMHighResTimeStamp now();
|
|
readonly attribute DOMHighResTimeStamp timeOrigin;
|
|
|
|
readonly attribute PerformanceTiming timing;
|
|
};
|