Closed Bug 912338 Opened 11 years ago Closed 11 years ago

[mozprofile] Profile.pop_preferences() has wrongly hardcoded user.js

Categories

(Testing :: Mozbase, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: k0scist, Unassigned)

References

Details

Attachments

(1 file)

https://github.com/mozilla/mozbase/blob/master/mozprofile/mozprofile/profile.py#L202

Clearly this should be filename.  This results in cleanup going into
an infinite loop in `clean_preferences`.  I had noticed this before
but hadn't tracked down the issue until now.
Blocks: 746243
Attached patch bug-912338.diffSplinter Review
Attachment #799273 - Flags: review?(wlachance)
There's all sorts of other issues in this functions but I'm looking for a quick fix.
Comment on attachment 799273 [details] [diff] [review]
bug-912338.diff

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

Looks good to me.
Attachment #799273 - Flags: review?(wlachance) → review+
pushed: https://github.com/mozilla/mozbase/commit/97ffebb7629fb2076d545c36528b7be86e04beff

Thanks
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: