Closed
Bug 2058273
Opened 13 days ago
Closed 8 days ago
Adding new prefs to permanentSharedPrefs doesn't automatically start storing them into the database
Categories
(Toolkit :: Startup and Profile System, defect)
Toolkit
Startup and Profile System
Tracking
()
RESOLVED
FIXED
155 Branch
People
(Reporter: mossop, Assigned: niklas, NeedInfo)
References
Details
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
We only flush all prefs from permanentSharedPrefs to the database when first creating the datastore the first time a new profile is created. Any new prefs added to the list later don't appear to be stored into the database.
loadSharedPrefsFromDatabase should check if any of the prefs listed in permanentSharedPrefs weren't present in the database and if so call flushSharedPrefToDatabase on it.
| Assignee | ||
Comment 1•13 days ago
|
||
Updated•13 days ago
|
Assignee: nobody → nbaumgardner
Status: NEW → ASSIGNED
Pushed by nbaumgardner@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/a502487ad3c4
https://hg.mozilla.org/integration/autoland/rev/9717b5387972
Make sure newly added shared prefs are added to the shared database. r=mossop
Pushed by imoraru@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/5855f2824323
https://hg.mozilla.org/integration/autoland/rev/954217fe8270
Revert "Bug 2058273 - Make sure newly added shared prefs are added to the shared database. r=mossop" for causing bc failures on browser_preferences.js.
Comment 4•12 days ago
|
||
Revert for causing bc failures on browser_preferences.js.
Flags: needinfo?(nbaumgardner)
Pushed by nbaumgardner@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/630ac8bda815
https://hg.mozilla.org/integration/autoland/rev/5c9fd411a33e
Make sure newly added shared prefs are added to the shared database. r=mossop
Pushed by sstanca@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/def262bd5d4d
https://hg.mozilla.org/integration/autoland/rev/1209764b2b80
Revert "Bug 2058273 - Make sure newly added shared prefs are added to the shared database. r=mossop" for causing mochitests failures in browser_preferences.js.
Comment 7•11 days ago
|
||
Reverted this because it was causing mochitests failures in browser_preferences.js.
- Revert link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | browser/components/profiles/tests/browser/browser_preferences.js | uncaught rejection: Connection is not open.
Pushed by nbaumgardner@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/ec91c79685a9
https://hg.mozilla.org/integration/autoland/rev/cc5c8c4533f2
Make sure newly added shared prefs are added to the shared database. r=mossop
Pushed by rperta@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/5bd2ff7f5f89
https://hg.mozilla.org/integration/autoland/rev/2d401d7570e3
Revert "Bug 2058273 - Make sure newly added shared prefs are added to the shared database. r=mossop" for causing bc failures at browser/browser_test_current_theme_from_amo.js
Comment 10•10 days ago
|
||
Backed out for causing bc failures at browser/browser_test_current_theme_from_amo.js
Backout link
Push with failures
Failure log(s)
Comment 11•9 days ago
|
||
Pushed by nbaumgardner@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/e321328b3d8d
https://hg.mozilla.org/integration/autoland/rev/1b392e30dc51
Make sure newly added shared prefs are added to the shared database. r=mossop
Comment 12•8 days ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 8 days ago
status-firefox155:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
Comment 13•4 days ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D314497
Updated•4 days ago
|
Attachment #9622099 -
Flags: approval-mozilla-beta?
Updated•4 days ago
|
Attachment #9622099 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•4 days ago
|
status-firefox154:
--- → fixed
Comment 14•4 days ago
|
||
| uplift | ||
You need to log in
before you can comment on or make changes to this bug.
Description
•