diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /remote/shared/messagehandler/MessageHandler.sys.mjs | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-adbda400be353e676059e335c3c0aaf99e719475.tar.xz firefox-adbda400be353e676059e335c3c0aaf99e719475.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/messagehandler/MessageHandler.sys.mjs')
-rw-r--r-- | remote/shared/messagehandler/MessageHandler.sys.mjs | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/remote/shared/messagehandler/MessageHandler.sys.mjs b/remote/shared/messagehandler/MessageHandler.sys.mjs index 18ec6b820c..61c8b5c40e 100644 --- a/remote/shared/messagehandler/MessageHandler.sys.mjs +++ b/remote/shared/messagehandler/MessageHandler.sys.mjs @@ -215,7 +215,7 @@ export class MessageHandler extends EventEmitter { /** * Retrieve all module classes matching the moduleName and destination. - * See `getAllModuleClasses` (ModuleCache.jsm) for more details. + * See `getAllModuleClasses` (ModuleCache.sys.mjs) for more details. * * @param {string} moduleName * The name of the module. @@ -267,11 +267,8 @@ export class MessageHandler extends EventEmitter { * provided to this MessageHandler on startup. Implementation is specific to each MessageHandler class. * * By default the implementation is a no-op. - * - * @param {Array<SessionDataItem>} sessionDataItems - * Initial session data items for this MessageHandler. */ - async initialize(sessionDataItems) {} + async initialize() {} /** * Returns the module path corresponding to this MessageHandler class. @@ -297,7 +294,7 @@ export class MessageHandler extends EventEmitter { * * Needs to be implemented in the sub class. */ - static getIdFromContext(context) { + static getIdFromContext() { throw new Error("Not implemented"); } @@ -306,7 +303,7 @@ export class MessageHandler extends EventEmitter { * * Needs to be implemented in the sub class. */ - forwardCommand(command) { + forwardCommand() { throw new Error("Not implemented"); } @@ -316,7 +313,7 @@ export class MessageHandler extends EventEmitter { * * Needs to be implemented in the sub class. */ - matchesContext(contextDescriptor) { + matchesContext() { throw new Error("Not implemented"); } |