mirror of
https://github.com/servo/servo.git
synced 2025-07-11 17:33:47 +01:00
34 lines
1.2 KiB
Text
34 lines
1.2 KiB
Text
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content was automatically extracted by Reffy into reffy-reports
|
|
// (https://github.com/tidoust/reffy-reports)
|
|
// Source: User Timing Level 3 (https://w3c.github.io/user-timing/)
|
|
|
|
dictionary PerformanceMarkOptions {
|
|
any detail;
|
|
DOMHighResTimeStamp startTime;
|
|
};
|
|
|
|
dictionary PerformanceMeasureOptions {
|
|
any detail;
|
|
(DOMString or DOMHighResTimeStamp) start;
|
|
DOMHighResTimeStamp duration;
|
|
(DOMString or DOMHighResTimeStamp) end;
|
|
};
|
|
|
|
partial interface Performance {
|
|
PerformanceMark mark(DOMString markName, optional PerformanceMarkOptions markOptions);
|
|
void clearMarks(optional DOMString markName);
|
|
PerformanceMeasure measure(DOMString measureName, optional (DOMString or PerformanceMeasureOptions) startOrMeasureOptions, optional DOMString endMark);
|
|
void clearMeasures(optional DOMString measureName);
|
|
};
|
|
|
|
[Exposed=(Window,Worker),
|
|
Constructor(DOMString markName, optional PerformanceMarkOptions markOptions)]
|
|
interface PerformanceMark : PerformanceEntry {
|
|
readonly attribute any detail;
|
|
};
|
|
|
|
[Exposed=(Window,Worker)]
|
|
interface PerformanceMeasure : PerformanceEntry {
|
|
readonly attribute any detail;
|
|
};
|