Name Description Size Coverage
actions 91 %
browser-menus.js This module inject dynamically menu items into browser UI. Menu definitions are fetched from: - devtools/client/menus for top level entires - devtools/client/definitions for tool-specifics entries 9326 80 %
browser-toolbox 88 %
commands-from-url.js Construct a commands object for a given URL with various query parameters: - host, port & ws: See the documentation for clientFromURL - type: "tab", "extension", "worker" or "process" {String} The type of target to connect to. If type == "tab": - id: {Number} the tab browserId If type == "extension": - id: {String} the addonID of the webextension to debug. If type == "worker": - id: {String} the unique Worker id of the Worker to debug. If type == "process": - id: {Number} the process id to debug. Default to 0, which is the parent process. @param {URL} url The url to fetch query params from. @return A commands object 5333 95 %
components 90 %
devtools-browser.js This is the main module loaded in Firefox desktop that handles browser windows and coordinates devtools around each window. This module is loaded lazily by devtools-clhandler.js, once the first browser window is ready (i.e. fired browser-delayed-startup-finished event) 19873 93 %
devtools.js DevTools is a class that represents a set of developer tools, it holds a set of tools and keeps track of open toolboxes in the browser. 31631 93 %
local-tab-commands-factory.js Functions for creating unique Commands for Local Tabs. 2300 100 %
menu-item.js A partial implementation of the MenuItem API provided by electron: https://github.com/electron/electron/blob/master/docs/api/menu-item.md. See constructor for implemented feature. Missing features: - id String - Unique within a single menu. If defined then it can be used as a reference to this item by the position attribute. - role String - Define the action of the menu item; when specified the click property will be ignored - sublabel String - accelerator Accelerator - position String - This field allows fine-grained definition of the specific location within a given menu. 2997 100 %
menu.js A partial implementation of the Menu API provided by electron: https://github.com/electron/electron/blob/master/docs/api/menu.md. Extra features: - Emits an 'open' and 'close' event when the menu is opened/closed 6505 98 %
metrics.yaml 6305 -
moz.build 1455 -
options-panel.css Snap to 50% width once there is not room for 3 columns anymore. This prevents having 2 columns showing in a row, but taking up only ~66% of the available space. 4397 -
reducers 89 %
selection.js Selection is a singleton belonging to the Toolbox that manages the current selected NodeFront. In addition, it provides some helpers about the context of the selected node. API new Selection() destroy() nodeFront (readonly) setNodeFront(node, origin="unknown") Helpers: window document isRoot() isNode() isHTMLNode() Check the nature of the node: isElementNode() isAttributeNode() isTextNode() isCDATANode() isEntityRefNode() isEntityNode() isProcessingInstructionNode() isCommentNode() isDocumentNode() isDocumentTypeNode() isDocumentFragmentNode() isNotationNode() Events: "new-node-front" when the inner node changed "attribute-changed" when an attribute is changed "detached-front" when the node (or one of its parents) is removed from the document "reparented" when the node (or one of its parents) is moved under a different node 9578 90 %
source-map-url-service.js A simple service to track source actors and keep a mapping between original URLs and objects holding the source or style actor's ID (which is used as a cookie by the devtools-source-map service) and the source map URL. @param {object} commands The commands object with all interfaces defined from devtools/shared/commands/ @param {SourceMapLoader} sourceMapLoader The source-map-loader implemented in devtools/client/shared/source-map-loader/ 15313 95 %
store-provider.js 369 100 %
store.js 528 100 %
test -
toolbox-context-menu.js Lazily load strings for the edit menu. 3005 92 %
toolbox-host-manager.js Implement a wrapper on the chrome side to setup a Toolbox within Firefox UI. This component handles iframe creation within Firefox, in which we are loading the toolbox document. Then both the chrome and the toolbox document communicate via "message" events. Messages sent by the toolbox to the chrome: - switch-host: Order to display the toolbox in another host (side, bottom, window, or the previously used one) - raise-host: Focus the tools - set-host-title: When using the window host, update the window title Messages sent by the chrome to the toolbox: - switched-host: The `switch-host` command sent by the toolbox is done 12967 97 %
toolbox-hosts.js A host should always allow this much space for the page to be displayed. There is also a min-height on the browser, but we still don't want to set frame.style.height to be larger than that, since it can cause problems with resizing the toolbox and panel layout. 13940 98 %
toolbox-init.js 4513 90 %
toolbox-options.html Toolbox option 11907 -
toolbox-options.js Represents the Options Panel in the Toolbox. 20529 91 %
toolbox-tabs-order-manager.js Manage the order of devtools tabs. 10319 100 %
toolbox-window.js eslint-disable no-unused-vars 593 100 %
toolbox-window.xhtml 954 -
toolbox.js 163126 94 %
toolbox.xhtml 2215 -