Open Bug 1953240 Opened 22 hours ago Updated 21 hours ago

Follow up on Bug 1952564: clean up Sanitizer.maybeMigratePrefs

Categories

(Toolkit :: Data Sanitization, task, P3)

task

Tracking

()

People

(Reporter: manuel, Unassigned)

References

Details

From review comments in D241037.

Sanitizer.maybeMigratePrefs

  • newContext same as formDataContext
  • if/else cleanup: setting variable and overwriting in if branch could be simplified for readability/maintainability
  • clearUserPref -> default value when getting pref and remove old migration pref
  • new profiles also do the migration instead of using default values
You need to log in before you can comment on or make changes to this bug.