Closed
Bug 979923
Opened 11 years ago
Closed 10 years ago
Refactor Mozmill tests to make use of fat arrow functions
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: whimboo, Assigned: euler90h, Mentored)
References
()
Details
(Whiteboard: [lang=js])
This feature is great and we might want to make use of it. Especially to get rid of the sometimes really confusing 'this' scope. With array functions it's much cleaner.
Here an example:
ARRAY.map(s => s.length);
This is equivalent to:
ARRAY.map(function (s) { return s.length });
Reporter | ||
Comment 2•11 years ago
|
||
Wonderful. Thanks Stefan! Let me know if you need help.
Assignee: nobody → euler90h
Status: NEW → ASSIGNED
Reporter | ||
Comment 3•11 years ago
|
||
Stefan, just one more thing. I think it would be helpful if you could do those changes by testrun. At least for Firefox the patch would become too massive. So I would suggest:
* Patch for all library modules
* Patch for functional testrun of Firefox
* Patch for Remote testrun of Firefox
* Patch for all other testruns and products
How does that sound?
Updated•11 years ago
|
Mentor: hskupin
Whiteboard: [mentor=whimboo][lang=js] → [lang=js]
Reporter | ||
Comment 4•10 years ago
|
||
We will transition our Mozmill tests to Marionette soon. Given that no action happened here in the last year I will close the bug as wontfix.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•