Fix MessageHandlerRegistry.sys.mjs calling getExistingMessageHandler with an unused second argument
Categories
(Remote Protocol :: Agent, task, P3)
Tracking
(firefox151 fixed)
| Tracking | Status | |
|---|---|---|
| firefox151 | --- | fixed |
People
(Reporter: jdescottes, Assigned: armin, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [lang=js][webdriver:m20][webdriver:external][webdriver:relnote])
Attachments
(1 file)
The second argument at https://searchfox.org/firefox-main/rev/8332a06d47ce7d66623d807068b3410061cd29d3/remote/shared/messagehandler/MessageHandlerRegistry.sys.mjs#165-168
const rootMessageHandler = this.getExistingMessageHandler(
sessionId,
lazy.RootMessageHandler.type
);
is unused so it can be removed. But looking at the code, getRootMessageHandler is not used at the moment so I suggest to completely remove the method.
This is a simple code removal, if anyone wants to get an easy first contribution to setup the environment, this could be a good bug !
| Assignee | ||
Comment 1•1 month ago
|
||
Hi, I would like to work on this. As you said, perfect for setting up the environment.
| Reporter | ||
Comment 2•1 month ago
|
||
Sounds good Armin, you can follow the instructions on https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html to get started. The bug will be automatically assigned to you as soon as you submit a patch for it on Phabricator!
| Assignee | ||
Comment 3•1 month ago
|
||
(In reply to Julian Descottes [:jdescottes] from comment #2)
Sounds good Armin, you can follow the instructions on https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html to get started. The bug will be automatically assigned to you as soon as you submit a patch for it on Phabricator!
Great, I will get to it after work. Thanks!
| Assignee | ||
Comment 4•1 month ago
|
||
Updated•1 month ago
|
Comment 6•1 month ago
|
||
| bugherder | ||
Updated•1 month ago
|
Updated•7 days ago
|
Description
•