PerformanceMark.idl 474 B

1234567891011121314
  1. #import <PerformanceTimeline/PerformanceEntry.idl>
  2. // https://w3c.github.io/user-timing/#dom-performancemark
  3. [Exposed=(Window,Worker)]
  4. interface PerformanceMark : PerformanceEntry {
  5. constructor(DOMString markName, optional PerformanceMarkOptions markOptions = {});
  6. readonly attribute any detail;
  7. };
  8. // https://w3c.github.io/user-timing/#ref-for-dom-performancemarkoptions-1
  9. dictionary PerformanceMarkOptions {
  10. any detail;
  11. DOMHighResTimeStamp startTime;
  12. };