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:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
commit086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch)
treea4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /remote/shared/WebSocketConnection.sys.mjs
parentAdding debian version 124.0.1-1. (diff)
downloadfirefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz
firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip
Merging upstream version 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`);
}