1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 22:44:58 +00:00
serenity/Userland/Libraries/LibWeb/UserTiming/PerformanceMeasure.idl
2023-10-25 19:45:41 +02:00

15 lines
477 B
Text

#import <PerformanceTimeline/PerformanceEntry.idl>
// https://w3c.github.io/user-timing/#performancemeasure
[Exposed=(Window,Worker)]
interface PerformanceMeasure : PerformanceEntry {
readonly attribute any detail;
};
// https://w3c.github.io/user-timing/#extensions-performance-interface
dictionary PerformanceMeasureOptions {
any detail;
(DOMString or DOMHighResTimeStamp) start;
DOMHighResTimeStamp duration;
(DOMString or DOMHighResTimeStamp) end;
};