-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use private fields in a few more viewer classes #15663
Use private fields in a few more viewer classes #15663
Conversation
These properties were always intended to be *private*, so let's use modern JS features to actually enforce that.
/botio unittest |
From: Bot.io (Windows)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/61d1e17e5710699/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/58176c3b1d24673/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/58176c3b1d24673/output.txt Total script time: 2.36 mins
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Looking at #listeners
, I think we should replace such map objects by real Map
, just to make clearer the role these kind of objects have.
From: Bot.io (Windows)SuccessFull output at http://54.193.163.58:8877/61d1e17e5710699/output.txt Total script time: 10.30 mins
|
I've been thinking about that (more generally), but there's some performance issues with |
I filed a bug about that: https://bugzilla.mozilla.org/show_bug.cgi?id=1799154 |
These properties were always intended to be private, so let's use modern JS features to actually enforce that.