Closed
Bug 716258
Opened 14 years ago
Closed 14 years ago
Use Services.prefs instead of gPrefService / preferences-service, in Firefox tests
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: mkohler, Assigned: mkohler)
References
Details
Attachments
(5 files)
|
40.87 KB,
patch
|
Details | Diff | Splinter Review | |
|
17.28 KB,
patch
|
Details | Diff | Splinter Review | |
|
15.11 KB,
patch
|
Details | Diff | Splinter Review | |
|
27.23 KB,
patch
|
Details | Diff | Splinter Review | |
|
28.56 KB,
patch
|
Details | Diff | Splinter Review |
According to Bug 592653 we should use Services.prefs instead of gPrefService in tests. This bug is only for the browser directory within mozilla-central (trying to split the different parts of mozilla-central, otherwise it gets pretty confusing).
http://mxr.mozilla.org/mozilla-central/ident?i=gPrefService&tree=mozilla-central&filter=browser
Comment 1•14 years ago
|
||
http://mxr.mozilla.org/mozilla-central/search?string=gPrefService&case=1&find=%2Fbrowser%2F.*%2Ftest
"Found 191 matching lines in 54 files"
http://mxr.mozilla.org/mozilla-central/search?string=preferences-service&case=1&find=%2Fbrowser%2F.*%2Ftest
"Found 28 matching lines in 23 files"
Severity: minor → trivial
Summary: Use Services.prefs instead of preferences-service in browser/ → Use Services.prefs instead of gPrefService / preferences-service, in Firefox tests
| Assignee | ||
Comment 2•14 years ago
|
||
Attachment #589015 -
Flags: review?(paul)
| Assignee | ||
Comment 3•14 years ago
|
||
Attachment #589018 -
Flags: review?(gavin.sharp)
| Assignee | ||
Comment 4•14 years ago
|
||
Attachment #589020 -
Flags: review?(mak77)
Comment 5•14 years ago
|
||
(In reply to Michael Kohler [:michaelkohler] from comment #0)
> According to Bug 592653 we should use Services.prefs instead of gPrefService
> in tests. This bug is only for the browser directory within mozilla-central
SeaMonkey won't run any of these tests. They are Firefox-specific.
| Assignee | ||
Comment 6•14 years ago
|
||
Attachment #589023 -
Flags: review?(ehsan)
| Assignee | ||
Comment 7•14 years ago
|
||
Attachment #589027 -
Flags: review?(dietrich)
Comment 8•14 years ago
|
||
I don't think there's much value in making these changes. We're not going to get rid of gPrefService any time soon, so there's no real reason to remove references to it.
| Assignee | ||
Comment 9•14 years ago
|
||
(In reply to Gavin Sharp (use gavin@gavinsharp.com for email) from comment #8)
> I don't think there's much value in making these changes. We're not going to
> get rid of gPrefService any time soon, so there's no real reason to remove
> references to it.
sure, but it won't hurt, will it?
Comment 10•14 years ago
|
||
Yes, it will hurt - it will take up reviewers time, and it risks causing bugs :)
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
Updated•14 years ago
|
Attachment #589023 -
Flags: review?(ehsan)
Updated•14 years ago
|
Attachment #589015 -
Flags: review?(paul)
Updated•14 years ago
|
Attachment #589018 -
Flags: review?(gavin.sharp)
Updated•14 years ago
|
Attachment #589027 -
Flags: review?(dietrich)
Updated•14 years ago
|
Attachment #589020 -
Flags: review?(mak77)
You need to log in
before you can comment on or make changes to this bug.
Description
•