ladybird/Userland/Libraries/LibWeb/UserTiming/PerformanceMark.idl
Shannon Booth d4a890080d LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString
NewAKString is effectively the default for any new IDL interface, so
let's mark this as the default behavior. It also makes it much easier to
figure out whatever interfaces are still left to port over to new AK
String.
2023-09-02 19:23:41 +01:00

15 lines
474 B
Plaintext

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