2023-03-23 14:07:52 -03:00
|
|
|
#import <PerformanceTimeline/PerformanceEntry.idl>
|
|
|
|
|
|
|
|
|
|
// https://w3c.github.io/user-timing/#dom-performancemark
|
2023-09-02 11:00:01 -03:00
|
|
|
[Exposed=(Window,Worker)]
|
2023-03-23 14:07:52 -03:00
|
|
|
interface PerformanceMark : PerformanceEntry {
|
|
|
|
|
constructor(DOMString markName, optional PerformanceMarkOptions markOptions = {});
|
|
|
|
|
readonly attribute any detail;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// https://w3c.github.io/user-timing/#ref-for-dom-performancemarkoptions-1
|
|
|
|
|
dictionary PerformanceMarkOptions {
|
|
|
|
|
any detail;
|
|
|
|
|
DOMHighResTimeStamp startTime;
|
|
|
|
|
};
|