Closed Bug 1116216 Opened 10 years ago Closed 9 years ago

talos generateBrowserCommandLine could benefit from a list of extra parameters

Categories

(Testing :: Talos, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jmaher, Assigned: adusca, Mentored)

References

Details

(Whiteboard: [good first project][lang=python])

Attachments

(1 file)

Right now the Talos function generateBrowserCommandLine in utils.py takes a string as extra parameters:
http://hg.mozilla.org/build/talos/file/tip/talos/utils.py#l223

It really should be an array, which means that we could extend the args with more meaningful parameters to the browser.

of course allowing for an array means we should consider the callers.  Ideally you could determine if the type is an array and if so, just extend the parameters, otherwise we can assume it is a string and handle it like we currently do.

to learn more about Talos and how to get started here is a wiki outlining the work:
https://wiki.mozilla.org/Auto-tools/Projects/Talos
Attached patch Tentative fixSplinter Review
Attachment #8543537 - Flags: feedback?(jmaher)
Hi! I'd like to work on this bug. Is the above patch what you had in mind?
Comment on attachment 8543537 [details] [diff] [review]
Tentative fix

Review of attachment 8543537 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks for this patch and congratulations on getting your first patch r+!
Attachment #8543537 - Flags: feedback?(jmaher) → review+
Alice, we have a lot of great projects underway related to automation:
https://wiki.mozilla.org/Auto-tools/Projects/Everything#Project_Table

I would be happy to help you get started on one of those or any specific bug!  

Thanks again for your contribution, this really helps clean up our code and make it more robust.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee: nobody → alicescarpa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: