2014-09-09 11:54:08 -07: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 02:28:00 -07: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 10:52:52 -07:00
|
|
|
object? parent = null;
|
|
|
|
object? asyncParent = null;
|
|
|
|
object? asyncCause = null;
|
2015-05-20 02:28:00 -07:00
|
|
|
};
|
|
|
|
|
2014-12-11 07:40:00 -08:00
|
|
|
dictionary ProfileTimelineLayerRect {
|
|
|
|
long x = 0;
|
|
|
|
long y = 0;
|
|
|
|
long width = 0;
|
|
|
|
long height = 0;
|
|
|
|
};
|
|
|
|
|
2014-09-09 11:54:08 -07:00
|
|
|
dictionary ProfileTimelineMarker {
|
|
|
|
DOMString name = "";
|
2014-10-17 16:02:42 -07:00
|
|
|
DOMHighResTimeStamp start = 0;
|
|
|
|
DOMHighResTimeStamp end = 0;
|
2014-12-29 02:32:00 -08:00
|
|
|
object? stack = null;
|
2015-04-29 12:48:57 -07:00
|
|
|
/* For ConsoleTime, Timestamp and Javascript markers. */
|
2014-11-18 05:39:00 -08:00
|
|
|
DOMString causeName;
|
2015-04-20 04:03:00 -07:00
|
|
|
/* For ConsoleTime markers. */
|
2014-12-29 02:32:00 -08:00
|
|
|
object? endStack = null;
|
2014-11-18 05:39:00 -08:00
|
|
|
/* For DOMEvent markers. */
|
|
|
|
DOMString type;
|
|
|
|
unsigned short eventPhase;
|
2014-12-11 07:40:00 -08:00
|
|
|
/* For Paint markers. */
|
|
|
|
sequence<ProfileTimelineLayerRect> rectangles;
|
2015-05-18 16:03:04 -07:00
|
|
|
/* For Style markers. */
|
|
|
|
DOMString restyleHint;
|
2014-09-09 11:54:08 -07:00
|
|
|
};
|