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. 20307
cert.js Get or create a new self-signed X.509 cert to represent this device for DevTools purposes over a secure transport, like TLS. The cert is stored permanently in the profile's key store after first use, and is valid for 1 year. If an expired or otherwise invalid cert is found, it is removed and a new one is made. @return promise 1769
moz.build 491
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 cert object (optional) The server's cert details. @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 6713
socket.js Connects to a devtools server socket. @param host string The host name or IP address of the devtools server. @param port number The port number of the devtools server. @param encryption boolean (optional) Whether the server requires encryption. Defaults to false. @param webSocket boolean (optional) Whether to use WebSocket protocol to connect. Defaults to false. @param authenticator Authenticator (optional) |Authenticator| instance matching the mode in use by the server. Defaults to a PROMPT instance if not supplied. @param cert object (optional) The server's cert details. Used with OOB_CERT authentication. @return promise Resolved to a DebuggerTransport instance. 27160
tests 2