PerformanceMeasure.idl 477 B

123456789101112131415
  1. #import <PerformanceTimeline/PerformanceEntry.idl>
  2. // https://w3c.github.io/user-timing/#performancemeasure
  3. [Exposed=(Window,Worker)]
  4. interface PerformanceMeasure : PerformanceEntry {
  5. readonly attribute any detail;
  6. };
  7. // https://w3c.github.io/user-timing/#extensions-performance-interface
  8. dictionary PerformanceMeasureOptions {
  9. any detail;
  10. (DOMString or DOMHighResTimeStamp) start;
  11. DOMHighResTimeStamp duration;
  12. (DOMString or DOMHighResTimeStamp) end;
  13. };