2014-09-09 22:54:08 +04:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* 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/.
|
|
|
|
*/
|
|
|
|
|
2015-05-20 12:28:00 +03:00
|
|
|
// For Javascript markers, the |stack| of a ProfileTimelineMarker
|
|
|
|
// holds an object of this type. It intentionally looks like a
|
|
|
|
// SavedStack object and is a representation of the frame that is
|
|
|
|
// about to be constructed at the entry point.
|
|
|
|
dictionary ProfileTimelineStackFrame {
|
|
|
|
long line;
|
|
|
|
long column = 0;
|
|
|
|
DOMString source;
|
|
|
|
DOMString functionDisplayName;
|
2015-05-26 20:52:52 +03:00
|
|
|
object? parent = null;
|
|
|
|
object? asyncParent = null;
|
2015-07-17 03:38:13 +03:00
|
|
|
object? asyncCause = null;
|
2015-05-20 12:28:00 +03:00
|
|
|
};
|
|
|
|
|
2014-12-11 18:40:00 +03:00
|
|
|
dictionary ProfileTimelineLayerRect {
|
|
|
|
long x = 0;
|
|
|
|
long y = 0;
|
|
|
|
long width = 0;
|
|
|
|
long height = 0;
|
|
|
|
};
|
|
|
|
|
2014-09-09 22:54:08 +04:00
|
|
|
dictionary ProfileTimelineMarker {
|
|
|
|
DOMString name = "";
|
2014-10-18 03:02:42 +04:00
|
|
|
DOMHighResTimeStamp start = 0;
|
|
|
|
DOMHighResTimeStamp end = 0;
|
2014-12-29 13:32:00 +03:00
|
|
|
object? stack = null;
|
2015-04-29 22:48:57 +03:00
|
|
|
/* For ConsoleTime, Timestamp and Javascript markers. */
|
2014-11-18 16:39:00 +03:00
|
|
|
DOMString causeName;
|
2015-04-20 14:03:00 +03:00
|
|
|
/* For ConsoleTime markers. */
|
2014-12-29 13:32:00 +03:00
|
|
|
object? endStack = null;
|
2014-11-18 16:39:00 +03:00
|
|
|
/* For DOMEvent markers. */
|
|
|
|
DOMString type;
|
|
|
|
unsigned short eventPhase;
|
2014-12-11 18:40:00 +03:00
|
|
|
/* For Paint markers. */
|
|
|
|
sequence<ProfileTimelineLayerRect> rectangles;
|
2015-05-19 02:03:04 +03:00
|
|
|
/* For Style markers. */
|
|
|
|
DOMString restyleHint;
|
2014-09-09 22:54:08 +04:00
|
|
|
};
|