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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: k0scist, Assigned: k0scist)

Details

(Whiteboard: [mozmill-2.0+])

Attachments

(1 file)

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
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.
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
seems to fix the issue
Attachment #501205 - Flags: review?(fayearthur+bugs)
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: nobody → jhammel
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [mozmill-2.0+]
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: