Bug 1719505 - [remote] Remove no longer used methods from Remote Agent interface. r=webdriver-reviewers,jdescottes

Both methods have been removed via bug 1717899 and can no
longer be used.

Differential Revision: https://phabricator.services.mozilla.com/D144980
This commit is contained in:
Henrik Skupin 2022-04-29 17:38:13 +00:00
parent bf6675f411
commit 19c9ee78f9

View File

@ -27,30 +27,6 @@ interface nsIRemoteAgent : nsISupports
* incoming connections.
*/
readonly attribute boolean listening;
/**
* Asynchronously starts the remote agent, and listens for new
* connections.
*
* The address must be a fully qualified URL that uses the "http://"
* scheme, and can optionally include a desired port. If no port
* is chosen, the default port 9222 is used.
*
* If the requested port is 0, the system will atomically allocate
* a port.
*
* A "remote-listening" system observer notification with the URL
* of the main target's WebSocket will be emitted once listening.
*
* @throws NS_ERROR_LAUNCHED_CHILD_PROCESS
* When called from a child process.
* @throws NS_ERROR_ILLEGAL_VALUE
* If requested to bind to a non-loopback device.
*/
void listen(in AString aURL);
/** Stops listening and drops existing connections. */
void close();
};
%{C++