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)

defect
Not set
normal

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 });
I'll try this one!
Wonderful. Thanks Stefan! Let me know if you need help.
Assignee: nobody → euler90h
Status: NEW → ASSIGNED
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?
Mentor: hskupin
Whiteboard: [mentor=whimboo][lang=js] → [lang=js]
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
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.