|
@@ -1,11 +1,12 @@
|
|
#import <DOM/EventTarget.idl>
|
|
#import <DOM/EventTarget.idl>
|
|
|
|
+#import <HighResolutionTime/DOMHighResTimeStamp.idl>
|
|
#import <NavigationTiming/PerformanceTiming.idl>
|
|
#import <NavigationTiming/PerformanceTiming.idl>
|
|
|
|
|
|
// https://w3c.github.io/hr-time/#sec-performance
|
|
// https://w3c.github.io/hr-time/#sec-performance
|
|
[Exposed=(Window, Worker)]
|
|
[Exposed=(Window, Worker)]
|
|
interface Performance : EventTarget {
|
|
interface Performance : EventTarget {
|
|
- double now();
|
|
|
|
- readonly attribute double timeOrigin;
|
|
|
|
|
|
+ DOMHighResTimeStamp now();
|
|
|
|
+ readonly attribute DOMHighResTimeStamp timeOrigin;
|
|
|
|
|
|
readonly attribute PerformanceTiming timing;
|
|
readonly attribute PerformanceTiming timing;
|
|
};
|
|
};
|