Performance Timeline API

This commit is contained in:
Fernando Jiménez Moreno 2017-08-01 14:57:55 +02:00
parent 24270f9357
commit 52348f1fcc
18 changed files with 599 additions and 7 deletions

View file

@ -0,0 +1,17 @@
/* 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://w3c.github.io/performance-timeline/#the-performanceentry-interface
*/
[Exposed=(Window,Worker)]
interface PerformanceEntry {
readonly attribute DOMString name;
readonly attribute DOMString entryType;
readonly attribute DOMHighResTimeStamp startTime;
readonly attribute DOMHighResTimeStamp duration;
// [Default] object toJSON();
};