testing/web-platform/tests/interfaces/user-timing.idl
author autofoolip <auto@foolip.org>
Thu, 31 Jan 2019 18:29:57 +0000
changeset 457935 dc50cb2aea515cb2f5e735a07630cbafb6b9ea79
parent 457302 66f5d5a88ad90d04a24a4cbe66d86c31c8900c4d
child 457991 931a2fa4b4fc5ffcbf3f3cf5b02ebd58630c38c6
permissions -rw-r--r--
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

// 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) startTime;
    DOMHighResTimeStamp duration;
    (DOMString or DOMHighResTimeStamp) endTime;
};

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)]
interface PerformanceMark : PerformanceEntry {
  readonly attribute any detail;
};

[Exposed=(Window,Worker)]
interface PerformanceMeasure : PerformanceEntry {
  readonly attribute any detail;
};