Closed
Bug 592653
Opened 14 years ago
Closed 6 years ago
Use Services.prefs instead of preferences-service / gPrefService
Categories
(Testing :: General, defect)
Testing
General
Tracking
(firefox59 fixed)
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: iannbugzilla, Assigned: florian, Mentored)
References
Details
(Keywords: meta, Whiteboard: [good first bug][lang=js] [meta])
Attachments
(2 files)
102.56 KB,
patch
|
standard8
:
review+
|
Details | Diff | Splinter Review |
2.40 KB,
patch
|
standard8
:
review+
|
Details | Diff | Splinter Review |
Neil noticed that whilst I was working on update SeaMonkey's browser_bug515006.js that Firefox's browser_354894.js was still using gPrefService rather than Services.prefs This should probably be fixed and elsewhere, if appropriate.
Comment 1•13 years ago
|
||
http://mxr.mozilla.org/comm-central/search?string=gPrefService&case=1&find=%2Ftest "Found 207 matching lines in 58 files" /mozilla/docshell/test/browser/browser_bug435325.js : I filed bug 707570. See also /mozilla/toolkit/components/search/tests/xpcshell/test_645970.js 2 /suite/common/tests/browser/browser_*.js (other tests are Firefox specific...) *** http://mxr.mozilla.org/comm-central/search?string=preferences-service&case=1&find=%2Ftest "Found 384 matching lines in 305 files"
Keywords: meta
Whiteboard: [good first bug]
Updated•13 years ago
|
Assignee: nobody → michaelkohler
Updated•13 years ago
|
Assignee: michaelkohler → nobody
Updated•12 years ago
|
Whiteboard: [good first bug] → [good first bug][mentor=sgautherie][lang=js] [meta]
Hi, I'd like to fix this bug. Do I have to replace all "gPrefService." in here: http://mxr.mozilla.org/comm-central/search?string=gPrefService&case=1&find=%2Ftest with "Services.Prefs."?
Updated•10 years ago
|
Assignee: nobody → amod.narvekar
Comment 3•10 years ago
|
||
since there is no news from Roberta, I would like to contribute to the bug.
Updated•10 years ago
|
Status: NEW → ASSIGNED
Updated•10 years ago
|
Mentor: bugzillamozillaorg_serge_20140323
Whiteboard: [good first bug][mentor=sgautherie][lang=js] [meta] → [good first bug][lang=js] [meta]
Comment 4•10 years ago
|
||
sgautherie, are you still interested in mentoring this bug?
Flags: needinfo?(bugzillamozillaorg_serge_20140323)
Comment 5•10 years ago
|
||
As the assignee, I request you for 1 week's time. I would return to bugzilla soon. Thanks !
Comment 6•10 years ago
|
||
(In reply to Serge Gautherie (:sgautherie) from comment #1) > http://mxr.mozilla.org/comm-central/search?string=gPrefService&case=1&find=%2Ftest > "Found 207 matching lines in 58 files" "Found 159 matching lines in 40 files": *The first 39 are in /browser: WontFix'ed in bug 716258 :-/ *The last one is in /toolkit: should be fixed, as in bug 707570. > *** > > http://mxr.mozilla.org/comm-central/search?string=preferences-service&case=1&find=%2Ftest > "Found 384 matching lines in 305 files" "Found 195 matching lines in 167 files" "50% done", yet still a lot of files (though probably not all) to update. *** Select the part(s) you are interested in, file blocking bugs, fix them ;-)
Flags: needinfo?(bugzillamozillaorg_serge_20140323)
Updated•10 years ago
|
Mentor: jmaher
Updated•10 years ago
|
Assignee: amod.narvekar → nobody
Comment 7•7 years ago
|
||
Hi, Im new to testing and would love to work on this bug. It would be helpful if you let me know on how to start with and some good links about testing would be awesome. :d thanks. :D
Updated•7 years ago
|
Mentor: bugzillamozillaorg_serge_20140323
Assignee | ||
Comment 8•6 years ago
|
||
This patch was produced with the script at https://bitbucket.org/fqueze/xpcshell-rewrites/commits/8bbf5751b38d617798cb1da7105b14b49320f90a which preserves indentation.
Attachment #8937810 -
Flags: review?(standard8)
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → florian
Assignee | ||
Comment 9•6 years ago
|
||
We no longer care about add-on compat, so we can remove the browser.js lazy getter.
Attachment #8937811 -
Flags: review?(standard8)
Comment 10•6 years ago
|
||
Comment on attachment 8937810 [details] [diff] [review] script-generated patch Review of attachment 8937810 [details] [diff] [review]: ----------------------------------------------------------------- Very nice. You might want to pass it through try before landing, just in case. nit: "Bug 592653 - script-generated patch to replace gPrefService with Services.prefsfrom browser.js, r=Standard8." missing space after prefs.
Attachment #8937810 -
Flags: review?(standard8) → review+
Comment 11•6 years ago
|
||
Comment on attachment 8937811 [details] [diff] [review] remove gPrefService from browser.js Review of attachment 8937811 [details] [diff] [review]: ----------------------------------------------------------------- Nice cleanup, less globals! :-)
Attachment #8937811 -
Flags: review?(standard8) → review+
Assignee | ||
Comment 12•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=1d929040a0cfe09b98f0edccf109665244efe616
Comment 13•6 years ago
|
||
Pushed by florian@queze.net: https://hg.mozilla.org/integration/mozilla-inbound/rev/abbde724b07a script-generated patch to replace gPrefService with Services.prefs, r=Standard8. https://hg.mozilla.org/integration/mozilla-inbound/rev/2171fb0b3801 remove gPrefService from browser.js, r=Standard8.
Comment 14•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/abbde724b07a https://hg.mozilla.org/mozilla-central/rev/2171fb0b3801
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in
before you can comment on or make changes to this bug.
Description
•