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)

defect
Not set
trivial

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mkohler, Assigned: mkohler)

References

Details

Attachments

(5 files)

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
Severity: minor → trivial
Summary: Use Services.prefs instead of preferences-service in browser/ → Use Services.prefs instead of gPrefService / preferences-service, in Firefox tests
Attachment #589015 - Flags: review?(paul)
Attachment #589018 - Flags: review?(gavin.sharp)
Attachment #589020 - Flags: review?(mak77)
(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.
Attachment #589023 - Flags: review?(ehsan)
Attached patch Content v1Splinter Review
Attachment #589027 - Flags: review?(dietrich)
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.
(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?
Yes, it will hurt - it will take up reviewers time, and it risks causing bugs :)
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
Attachment #589023 - Flags: review?(ehsan)
Attachment #589015 - Flags: review?(paul)
Attachment #589018 - Flags: review?(gavin.sharp)
Attachment #589027 - Flags: review?(dietrich)
Attachment #589020 - Flags: review?(mak77)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: