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)

defect

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox154 --- fixed
firefox155 --- fixed

People

(Reporter: mossop, Assigned: niklas, NeedInfo)

References

Details

Attachments

(2 files)

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: nobody → nbaumgardner
Status: NEW → ASSIGNED
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.

Revert for causing bc failures on browser_preferences.js.

Flags: needinfo?(nbaumgardner)
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.

Reverted this because it was causing mochitests failures in browser_preferences.js.

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

Backed out for causing bc failures at browser/browser_test_current_theme_from_amo.js
Backout link
Push with failures
Failure log(s)

Status: ASSIGNED → RESOLVED
Closed: 8 days ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
Attachment #9622099 - Flags: approval-mozilla-beta?
Attachment #9622099 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: