Bug 1523562 [wpt PR 14790] - Update interfaces/user-timing.idl, a=testonly
authorautofoolip <auto@foolip.org>
Thu, 31 Jan 2019 18:29:57 +0000
changeset 457935 dc50cb2aea515cb2f5e735a07630cbafb6b9ea79
parent 457934 40bb7ca11e2b7a635de26d16161449b0a5918971
child 457936 8471c66c0593d5a157b9be95dfe12c4fd8a34324
push id35518
push useropoprus@mozilla.com
push dateFri, 08 Feb 2019 09:55:14 +0000
treeherdermozilla-central@3a3e393396f4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1523562, 14790
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
testing/web-platform/tests/interfaces/user-timing.idl
--- a/testing/web-platform/tests/interfaces/user-timing.idl
+++ b/testing/web-platform/tests/interfaces/user-timing.idl
@@ -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;
 };