зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1523562 [wpt PR 14790] - Update interfaces/user-timing.idl, a=testonly
Automatic update from web-platform-tests Update interfaces/user-timing.idl (#14790) Source: https://github.com/tidoust/reffy-reports/blob/0b25b9f/whatwg/idl/user-timing.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/477693484 -- wpt-commits: 95ed992228b7d250c7c51ecf5f330038bcc6b554 wpt-pr: 14790
This commit is contained in:
Родитель
58565eae68
Коммит
ab73385faa
|
@ -1,19 +1,33 @@
|
|||
// GENERATED CONTENT - DO NOT EDIT
|
||||
// Content was automatically extracted by Reffy into reffy-reports
|
||||
// (https://github.com/tidoust/reffy-reports)
|
||||
// Source: User Timing Level 2 (https://w3c.github.io/user-timing/)
|
||||
// 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) startTime;
|
||||
DOMHighResTimeStamp duration;
|
||||
(DOMString or DOMHighResTimeStamp) endTime;
|
||||
};
|
||||
|
||||
partial interface Performance {
|
||||
void mark(DOMString markName);
|
||||
PerformanceMark mark(DOMString markName, optional PerformanceMarkOptions markOptions);
|
||||
void clearMarks(optional DOMString markName);
|
||||
void measure(DOMString measureName, optional DOMString startMark, optional DOMString endMark);
|
||||
PerformanceMeasure measure(DOMString measureName, optional (DOMString or PerformanceMeasureOptions) startOrMeasureOptions, optional DOMString endMark);
|
||||
void clearMeasures(optional DOMString measureName);
|
||||
};
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
interface PerformanceMark : PerformanceEntry {
|
||||
readonly attribute any detail;
|
||||
};
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
interface PerformanceMeasure : PerformanceEntry {
|
||||
readonly attribute any detail;
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче