gecko-dev/testing/web-platform/tests/interfaces/user-timing.idl
autofoolip 1785115238 Bug 1536341 [wpt PR 15900] - Update interfaces/user-timing.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/user-timing.idl (#15900)

Source: https://github.com/tidoust/reffy-reports/blob/e0218fe/whatwg/idl/user-timing.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/506822321
--

wpt-commits: 4da3ed2c6c27f84909f8669e188d9619f58f740f
wpt-pr: 15900
2019-04-24 11:18:08 +01:00

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 = null;
DOMHighResTimeStamp startTime;
};
dictionary PerformanceMeasureOptions {
any detail = null;
(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;
};