Skip to content

Commit

Permalink
Bug 1719505 - [remote] Remove no longer used methods from Remote Agen…
Browse files Browse the repository at this point in the history
…t 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
  • Loading branch information
whimboo committed Apr 29, 2022
1 parent 83112e6 commit 72288a3
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions remote/components/nsIRemoteAgent.idl
Original file line number Diff line number Diff line change
Expand Up @@ -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++
Expand Down

0 comments on commit 72288a3

Please sign in to comment.