Closed
Bug 846749
Opened 12 years ago
Closed 11 years ago
fix up marionette-listener.js&marionette-actors.js style and comments
Categories
(Remote Protocol :: Marionette, defect)
Remote Protocol
Marionette
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: mdas, Unassigned, Mentored)
Details
(Whiteboard: [good first bug][lang=js])
I seem to have overlooked something in your recent patches. We should replace all var assignments with let so we can prevent overwriting any global vars and enforce scoping.
| Reporter | ||
Comment 1•12 years ago
|
||
there are var/let out of the scope her just Yiming's patches, and are spread around marionette, a lot with other style inconsistencies and missing comments (we should comment on what each function takes in as params, and recently we've been neglecting to do so). So I'll change this just to a general cleanup bug for marionette code.
Assignee: yiyang → nobody
Summary: marionette-listeners.js should use let, not var → fix up marionette-listener.js&marionette-actors.js style and comments
Updated•11 years ago
|
Whiteboard: [good first bug][lang=py][mentor=automatedtester]
Hello,
I would like to work on this bug. Just for clarification, what kind of style inconsistencies would need to be changed (aside from function param comments)?
Comment 3•11 years ago
|
||
Hey Ryan,
If we start on with what has been asked for in comment 1 and comment 2 that would be great.
If you haven't followed the steps before on checking out the firefox source and working against it I would follow the details on MDN https://developer.mozilla.org/en-US/docs/Simple_Firefox_build
I can be found on irc://irc.mozilla.org in #ateam if you want to have a chat
Thanks!
Comment 4•11 years ago
|
||
I'm not convinced it's a good idea to use `let` until SpiderMonkey has a spec-compliant implementation.
Updated•11 years ago
|
Whiteboard: [good first bug][lang=py][mentor=automatedtester] → [good first bug][lang=js][mentor=automatedtester]
| Assignee | ||
Updated•11 years ago
|
Mentor: dburns
Whiteboard: [good first bug][lang=js][mentor=automatedtester] → [good first bug][lang=js]
Comment 5•11 years ago
|
||
:automatedtester- is this still a worthwhile bug to fix? If so, and if this makes a good first bug, can you link to the code, how to reproduce this problem, and what an ideal fix looks like?
Flags: needinfo?(dburns)
Comment 6•11 years ago
|
||
since we are doing major refactor work this probably isnt needed anymore so closing
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(dburns)
Resolution: --- → WONTFIX
Comment 7•11 years ago
|
||
The bug :automatedtester is referring to is bug 1107706. I suspect a good linting is still needed afterwards, but we can deal with that when the need arises.
Updated•3 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•