2023-05-13 13:34:28 +01:00
|
|
|
#import <PerformanceTimeline/PerformanceEntry.idl>
|
|
|
|
|
|
2023-10-25 17:27:19 +02:00
|
|
|
// https://w3c.github.io/user-timing/#performancemeasure
|
2023-09-03 02:00:01 +12:00
|
|
|
[Exposed=(Window,Worker)]
|
2023-05-13 13:34:28 +01:00
|
|
|
interface PerformanceMeasure : PerformanceEntry {
|
|
|
|
|
readonly attribute any detail;
|
|
|
|
|
};
|
|
|
|
|
|
2023-10-25 17:27:19 +02:00
|
|
|
// https://w3c.github.io/user-timing/#extensions-performance-interface
|
2023-05-13 13:34:28 +01:00
|
|
|
dictionary PerformanceMeasureOptions {
|
|
|
|
|
any detail;
|
|
|
|
|
(DOMString or DOMHighResTimeStamp) start;
|
|
|
|
|
DOMHighResTimeStamp duration;
|
|
|
|
|
(DOMString or DOMHighResTimeStamp) end;
|
|
|
|
|
};
|