summaryrefslogtreecommitdiffstats
path: root/remote/shared/WebSocketConnection.sys.mjs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /remote/shared/WebSocketConnection.sys.mjs
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-upstream/125.0.1.tar.xz
firefox-upstream/125.0.1.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'remote/shared/WebSocketConnection.sys.mjs')
-rw-r--r--remote/shared/WebSocketConnection.sys.mjs7
1 files changed, 2 insertions, 5 deletions
diff --git a/remote/shared/WebSocketConnection.sys.mjs b/remote/shared/WebSocketConnection.sys.mjs
index c9ef050dc5..57b533fffb 100644
--- a/remote/shared/WebSocketConnection.sys.mjs
+++ b/remote/shared/WebSocketConnection.sys.mjs
@@ -85,11 +85,8 @@ export class WebSocketConnection {
* Register a new Session to forward the messages to.
*
* Needs to be implemented in the sub class.
- *
- * @param {Session} session
- * The session to register.
*/
- registerSession(session) {
+ registerSession() {
throw new Error("Not implemented");
}
@@ -140,7 +137,7 @@ export class WebSocketConnection {
/**
* Called by the `transport` when the connection is closed.
*/
- onConnectionClose(status) {
+ onConnectionClose() {
lazy.logger.debug(`${this.constructor.name} ${this.id} closed`);
}