Update the new Migration Wizard's success string for History migration to say how many days of History could have been imported.
Categories
(Firefox :: Migration, task, P1)
Tracking
()
People
(Reporter: mconley, Assigned: rmacoy)
References
Details
Bug 1820790 adds a new global preference for how many days old History can be when imported from another browser. As of this writing, that value is 180 days.
The spec calls for this value to be represented in the success message for History import, rather than a count of how many actual history entries were imported.
Work to be done:
- Update to the latest mozilla-central, and then use
moz-phab patch D172718
to check out the patch from bug 1820790 - Run
./mach build
- Update this code to pass in
MigrationUtils.HISTORY_MAX_AGE_IN_DAYS
as a variable to the string, and make the string variable be namedmaxAgeInDays
instead ofquantity
. - Update the string here to match the specification, switching from
$quantity
to$maxAgeInDays
.
We'll need to update the comment too.
Unless flod objects, I think it's worth still having the [one]
and [other]
branches, in the (unlikely but possible) case that we ever decide to make it so that only 1 day of history can be imported.
Reporter | ||
Comment 1•2 years ago
|
||
To test:
- Make sure the new Migration Wizard is enabled by setting
browser.migrate.content-modal.enabled
totrue
. - Enable the
InternalTestingProfileMigrator
by searching forbrowser.migrate.internal-testing.enabled
inabout:config
, clicking the+
button, and making sure it's set to true.
This will add a new "Internal Testing Migrator" to the list of possible migrators. This migrator doesn't actually import anything, which makes it easier to test / avoid cleaning up after. Then you can choose to import from it, and make sure History is selected as a resource type to import from.
Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Description
•