summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/UserTiming/PerformanceMark.idl
blob: 0b93a6c636597354dd59ac4649bca215d73e907e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#import <PerformanceTimeline/PerformanceEntry.idl>

// https://w3c.github.io/user-timing/#dom-performancemark
[Exposed=(Window,Worker), UseNewAKString]
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;
};