Name Description Size
accessibility 7
actor-registry.js The ActorActor gives you a handle to an actor you've dynamically registered and allows you to unregister it. 1535
addon 4
animation-type-longhand.js 8784
animation.js Set of actors that expose the Web Animations API to devtools protocol clients. The |Animations| actor is the main entry point. It is used to discover animation players on given nodes. There should only be one instance per debugger server. The |AnimationPlayer| actor provides attributes and methods to inspect an animation as well as pause/resume/seek it. The Web Animation spec implementation is ongoing in Gecko, and so this set of actors should evolve when the implementation progresses. References: - WebAnimation spec: - WebAnimation WebIDL files: /dom/webidl/Animation*.webidl 27467
array-buffer.js -*- indent-tabs-mode: nil; js-indent-level: 2; js-indent-level: 2 -*- 1709
breakpoint.js -*- indent-tabs-mode: nil; js-indent-level: 2; js-indent-level: 2 -*- 8134
changes.js The ChangesActor stores a stack of changes made by devtools on the document in the associated tab. 3841
common.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 6091
css-properties.js Generate the CSS properties object. Every key is the property name, while the values are objects that contain information about that property. @return {Object} 3416
device.js 3435
emulation 2
emulation.js This actor overrides various browser features to simulate different environments to test how pages perform under various conditions. The design below, which saves the previous value of each property before setting, is needed because it's possible to have multiple copies of this actor for a single page. When some instance of this actor changes a property, we want it to be able to restore that property to the way it was found before the change. A subtle aspect of the code below is that all get* methods must return non-undefined values, so that the absence of a previous value can be distinguished from the value for "no override" for each of the properties. 12387
environment.js -*- indent-tabs-mode: nil; js-indent-level: 2; js-indent-level: 2 -*- 6746
errordocs.js A mapping of error message names to external documentation. Any error message included here will be displayed alongside its link in the web console. 8305
frame.js -*- indent-tabs-mode: nil; js-indent-level: 2; js-indent-level: 2 -*- 3642
framerate.js An actor wrapper around Framerate. Uses exposed methods via bridge and provides RDP definitions. @see devtools/server/performance/framerate.js for documentation. 1291
heap-snapshot-file.js The HeapSnapshotFileActor handles transferring heap snapshot files from the server to the client. This has to be a global actor in the parent process because child processes are sandboxed and do not have access to the file system. 2348
highlighters 18
highlighters.css 20566
highlighters.js The registration mechanism for highlighters provide a quick way to have modular highlighters, instead of a hard coded list. It allow us to split highlighers in sub modules, and add them dynamically using add-on (useful for 3rd party developers, or prototyping) Note that currently, highlighters added using add-ons, can only work on Firefox desktop, or Fennec if the same add-on is installed in both. 25219
inspector 9
layout.js Set of actors the expose the CSS layout information to the devtools protocol clients. The |Layout| actor is the main entry point. It is used to get various CSS layout-related information from the document. The |Flexbox| actor provides the container node information to inspect the flexbox container. It is also used to return an array of |FlexItem| actors which provide the flex item information. The |Grid| actor provides the grid fragment information to inspect the grid container. 15420
memory.js An actor that returns memory usage data for its parent actor's window. A target-scoped instance of this actor will measure the memory footprint of the target, such as a tab. A global-scoped instance however, will measure the memory footprint of the chrome window referenced by the root actor. This actor wraps the Memory module at devtools/server/performance/memory.js and provides RDP definitions. @see devtools/server/performance/memory.js for documentation. 2902 2075
network-event.js Creates an actor for a network event. @constructor @param object netMonitorActor The parent NetworkMonitorActor instance for this object. 15161
network-monitor 5
network-monitor.js NetworkMonitorActor is instanciated from WebConsoleActor.startListeners Either in the same process, for debugging service worker requests or when debugging the parent process itself and tracking chrome requests. Or in another process, for tracking content requests that are actually done in the parent process. @param object filters Contains an `outerWindowID` attribute when this is used across processes. Or a `window` attribute when instanciated in the same process. @param number parentID (optional) To be removed, specify the ID of the Web console actor. This is used to fake emitting an event from it to prevent changing RDP behavior. @param nsIMessageManager messageManager This is the manager to use to communicate with the console actor. When both netmonitor and console actor runs in the same process, this is an instance of MockMessageManager instead of a real message manager. 8665
object 8
object.js -*- indent-tabs-mode: nil; js-indent-level: 2; js-indent-level: 2 -*- 27724
pause-scoped.js -*- indent-tabs-mode: nil; js-indent-level: 2; js-indent-level: 2 -*- 2839
perf.js The PerfActor wraps the Gecko Profiler interface 5113
performance-recording.js This actor wraps the Performance module at devtools/shared/shared/performance.js and provides RDP definitions. @see devtools/shared/shared/performance.js for documentation. 4824
performance.js This actor wraps the Performance module at devtools/shared/shared/performance.js and provides RDP definitions. @see devtools/shared/shared/performance.js for documentation. 4972
preference.js Normally the preferences are set using Services.prefs, but this actor allows a debugger client to set preferences on the debuggee. This is particularly useful when remote debugging, and the preferences should persist to the remote target and not to the client. If used for a local target, it effectively behaves the same as using Services.prefs. This actor is used as a global-scoped actor, targeting the entire browser, not an individual tab. 2663
process.js 2436
promises.js The Promises Actor provides support for getting the list of live promises and observing changes to their settlement state. 5989
reflow.js About the types of objects in this file: - ReflowActor: the actor class used for protocol purposes. Mostly empty, just gets an instance of LayoutChangesObserver and forwards its "reflows" events to clients. - LayoutChangesObserver: extends Observable and uses the ReflowObserver, to track reflows on the page. Used by the LayoutActor, but is also exported on the module, so can be used by any other actor that needs it. - Observable: A utility parent class, meant at being extended by classes that need a to observe something on the targetActor's windows. - Dedicated observers: There's only one of them for now: ReflowObserver which listens to reflow events via the docshell, These dedicated classes are used by the LayoutChangesObserver. 14312
replay 9
root.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 23793
screenshot.js 1014
source.js -*- indent-tabs-mode: nil; js-indent-level: 2; js-indent-level: 2 -*- 15722
storage.js An async method equivalent to setTimeout but using Promises @param {number} time The wait time in milliseconds. 89605
string.js 1157
styles.js The PageStyle actor lets the client look at the styles on a page, as they are applied to a given node. 69461
stylesheets.js A MediaRuleActor lives on the server and provides access to properties of a DOM @media rule and emits events when it changes. 25991
targets 10
thread.js -*- indent-tabs-mode: nil; js-indent-level: 2; js-indent-level: 2 -*- 57251
utils 16
webbrowser.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 29234
webconsole 8
webconsole.js -*- js-indent-level: 2; indent-tabs-mode: nil -*- 64039
worker 7