mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Performance Timeline API
This commit is contained in:
parent
24270f9357
commit
52348f1fcc
18 changed files with 599 additions and 7 deletions
17
components/script/dom/webidls/PerformanceEntry.webidl
Normal file
17
components/script/dom/webidls/PerformanceEntry.webidl
Normal 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();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue