aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/PerformancePaintTiming.webidl
diff options
context:
space:
mode:
authorFernando Jiménez Moreno <ferjmoreno@gmail.com>2017-08-14 18:41:32 +0200
committerFernando Jiménez Moreno <ferjmoreno@gmail.com>2017-08-23 17:30:13 +0200
commit2d0037f1957f749b65a1205c54b4a1513f988f03 (patch)
treea77fba0c8c772efdd88399e67bfc033f2ed48f28 /components/script/dom/webidls/PerformancePaintTiming.webidl
parent1c9c0334ba7b03e0757a101d2758c1284566f420 (diff)
downloadservo-2d0037f1957f749b65a1205c54b4a1513f988f03.tar.gz
servo-2d0037f1957f749b65a1205c54b4a1513f988f03.zip
Add paint metrics to Performance Timeline API
Diffstat (limited to 'components/script/dom/webidls/PerformancePaintTiming.webidl')
-rw-r--r--components/script/dom/webidls/PerformancePaintTiming.webidl11
1 files changed, 11 insertions, 0 deletions
diff --git a/components/script/dom/webidls/PerformancePaintTiming.webidl b/components/script/dom/webidls/PerformancePaintTiming.webidl
new file mode 100644
index 00000000000..6265dc7d292
--- /dev/null
+++ b/components/script/dom/webidls/PerformancePaintTiming.webidl
@@ -0,0 +1,11 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * The origin of this IDL file is
+ * https://wicg.github.io/paint-timing/#sec-PerformancePaintTiming
+ */
+
+[Exposed=(Window,Worker)]
+interface PerformancePaintTiming : PerformanceEntry {
+};