Closed
Bug 609633
Opened 14 years ago
Closed 14 years ago
mozmill profile takes binary ctor argument but then actually doesn't need it
Categories
(Testing Graveyard :: Mozmill, defect)
Testing Graveyard
Mozmill
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: k0scist, Assigned: k0scist)
Details
(Whiteboard: [mozmill-2.0+])
Attachments
(1 file)
2.21 KB,
patch
|
harth
:
review+
|
Details | Diff | Splinter Review |
the profile class takes a binary argument:
https://github.com/k0s/mozmill/blob/master/mozprofile/mozprofile/profile.py#L65
This used to be used in profile creation; however, this is no longer the case:
https://github.com/k0s/mozmill/blob/master/mozprofile/mozprofile/profile.py#L90
Since the binary is obtained from the runner and the runner needs the profile, this creates very convoluted logic where you get the binary from the runner class, construct the profile, then construct the runner. And all for naught!
Its not used, might as well wipe it
Comment 1•14 years ago
|
||
The only situation I feel like is important when the profile has to know about the application, is when i.e. preferences have been changed between major versions of Firefox and we would have to supply different values for i.e. trunk vs. 1.9.2 builds.
Assignee | ||
Comment 2•14 years ago
|
||
Currently, its not used at all. If it is needed for something in the future, then we can put it in, hopefully in a sensible place, but currently it doesn't do anything
Assignee | ||
Comment 3•14 years ago
|
||
seems to fix the issue
Attachment #501205 -
Flags: review?(fayearthur+bugs)
Comment 4•14 years ago
|
||
Comment on attachment 501205 [details] [diff] [review]
don't pass the binary argument to the profile
yes, lets take it out!
Attachment #501205 -
Flags: review?(fayearthur+bugs) → review+
Assignee | ||
Comment 5•14 years ago
|
||
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → jhammel
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [mozmill-2.0+]
Updated•8 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•