Name Description Size
auth.js A simple enum-like object with keys mirrored to values. This makes comparison to a specfic value simpler without having to repeat and mis-type the value. 6401
DevToolsSocketStatus.sys.mjs Singleton that should be updated whenever a socket is opened or closed for incoming connections. Notifies observers via "devtools-socket" when the status might have have changed. Currently observed by browser/base/content/browser.js in order to display the "remote control" visual cue also used for Marionette and Remote Agent. 1807
moz.build 514
prompt.js During OOB_CERT authentication, a notification dialog like this is used to to display a token which the user must transfer through some mechanism to the server to authenticate the devices. This implementation presents the token as text for the user to transfer manually. For a mobile device, you should override this implementation with something more convenient, such as displaying a QR code. @param host string The host name or IP address of the devtools server. @param port number The port number of the devtools server. @param authResult AuthenticationResult Authentication result sent from the server. @param oob object (optional) The token data to be transferred during OOB_CERT step 8: * sha256: hash(ClientCert) * k : K(random 128-bit number) @return object containing: * close: Function to hide the notification 6635
socket.js Connects to a devtools server socket. @param {object} settings @param {string} settings.host The host name or IP address of the devtools server. @param {number} settings.port The port number of the devtools server. @param {boolean} [settings.webSocket] Whether to use WebSocket protocol to connect. Defaults to false. @param {Authenticator} [settings.authenticator] |Authenticator| instance matching the mode in use by the server. Defaults to a PROMPT instance if not supplied. @return {Promise} Resolved to a DebuggerTransport instance. 19607
tests