Start using private fields in MessageHandler
Categories
(Remote Protocol :: WebDriver BiDi, task, P1)
Tracking
(firefox105 fixed)
Tracking | Status | |
---|---|---|
firefox105 | --- | fixed |
People
(Reporter: Sasha, Assigned: harshraitth2, Mentored)
Details
(Whiteboard: [webdriver:m4][webdriver:external][lang=js])
Attachments
(1 file)
At the moment, we use in MessageHandler
(https://searchfox.org/mozilla-central/source/remote/shared/messagehandler/MessageHandler.jsm) prefix _
to indicate internal properties. Instead, we should use JavaScript private fields to make it consistent with other classes.
Reporter | ||
Updated•2 years ago
|
Examples for private fields can be found in the following log module for WebDriver BiDi:
https://searchfox.org/mozilla-central/rev/5b2d2863bd315f232a3f769f76e0eb16cdca7cb0/remote/webdriver-bidi/modules/windowglobal/log.jsm
This looks like a nice bug for mentoring.
Assignee | ||
Comment 2•2 years ago
|
||
Hello, I am new to open source contribution and want to start my journey with it, I would love to take on this issue but i do not know where to start. Can someone help?
Hi Harshraitth2! Sorry for the delay in the response but I was away and just got back. It's great to hear that you want to contribute to our project and also learn new stuff. To get started I would propose to have a look at https://firefox-source-docs.mozilla.org/contributing/index.html for a generic getting started guide.
Then the related code that needs modification is under /remote/shared/messagehandler
. Feel free to ask any questions in https://chat.mozilla.org/#/room/#webdriver:mozilla.org as well in case you have issues.
Assignee | ||
Comment 4•2 years ago
|
||
Hey whimboo, I followed the getting started guide for starting with the contribution, and i have also made changes in the specified file, while raising a revsion it says no reviewers added, so i think i messed up somewhere while committing the changes.
Assignee | ||
Comment 5•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 7•2 years ago
|
||
bugherder |
Updated•2 years ago
|
Updated•3 months ago
|
Description
•