Closed
Bug 860104
Opened 12 years ago
Closed 12 years ago
We should cast the interpolated prefs written to user.js
Categories
(Testing :: Mochitest, defect)
Testing
Mochitest
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla23
People
(Reporter: jgriffin, Assigned: jgriffin)
References
Details
Attachments
(1 file)
909 bytes,
patch
|
ahal
:
review+
|
Details | Diff | Splinter Review |
We currently don't cast the interpolated prefs written to user.js by runtestsb2g.py; as a result, we get invalid statements like:
user_pref("dom.mozBrowserFramesEnabled", "false");
Assignee | ||
Comment 1•12 years ago
|
||
If we are going to be using this pattern a lot elsewhere, maybe it should live as a separate class method in mozprofile?
Attachment #735495 -
Flags: review?(ahalberstadt)
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → jgriffin
Comment 2•12 years ago
|
||
Comment on attachment 735495 [details] [diff] [review]
Cast prefs after interpolation,
Review of attachment 735495 [details] [diff] [review]:
-----------------------------------------------------------------
Sorry, my mistake. I thought gecko's preference parsing would be smart enough to cast 'true' to true.
And yes I was planning to move this interpolation pattern to mozbase, either as a mozprofile classmethod or part of the moztest integration layer once we get around to implementing it. I stuck it here for now as it is the only place doing this, but I'll be refactoring it out once some other harnesses start using the same method.
Attachment #735495 -
Flags: review?(ahalberstadt) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Target Milestone: --- → mozilla23
Comment 4•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•