Bug 1814946 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

We want to return resource objects only if a resource has actual data inside. The Edge migrator has its own implementation of 
[getResources](https://searchfox.org/mozilla-central/rev/a7156afbfa575f12f60b1c8bf099d547c29bcadf/browser/components/migration/EdgeProfileMigrator.sys.mjs#487) that tries to get various bits of information from a profile on Edge:

- bookmarks
- cookies
- history
- reading list
- passwords

Let's not worry about cookies since there's Bug 1801051 for removing cookie references. One thing that stands out from the other migrators is the existence of `EdgeTypedURLMigrator` and `EdgeTypedURLDBMigrator` in the resource list. Both of these seem linked to history, given the resource type label `MigrationUtils.resourceTypes.HISTORY`.
We want to return resource objects only if a resource has actual data inside. The Edge migrator has its own implementation of 
[getResources](https://searchfox.org/mozilla-central/rev/a7156afbfa575f12f60b1c8bf099d547c29bcadf/browser/components/migration/EdgeProfileMigrator.sys.mjs#487) that tries to get various bits of information from a profile on Edge:

- bookmarks
- cookies
- history
- reading list (although no longer supported, they're saved as [favourites](https://support.microsoft.com/en-us/microsoft-edge/find-your-reading-list-web-notes-and-tabs-in-microsoft-edge-3a3c21c2-7e25-9cc1-95f4-9df1f2ad55e5))
- passwords

Let's not worry about cookies since there's Bug 1801051 for removing cookie references. One thing that stands out from the other migrators is the existence of `EdgeTypedURLMigrator` and `EdgeTypedURLDBMigrator` in the resource list. Both of these seem linked to history, given the resource type label `MigrationUtils.resourceTypes.HISTORY`.
We want to return resource objects only if a resource has actual data inside. The Edge migrator has its own implementation of 
[getResources](https://searchfox.org/mozilla-central/rev/a7156afbfa575f12f60b1c8bf099d547c29bcadf/browser/components/migration/EdgeProfileMigrator.sys.mjs#487) that tries to get various bits of information from a profile on Edge:

- bookmarks
- cookies
- history
- reading list (although no longer supported, they're saved as [favorites](https://support.microsoft.com/en-us/microsoft-edge/find-your-reading-list-web-notes-and-tabs-in-microsoft-edge-3a3c21c2-7e25-9cc1-95f4-9df1f2ad55e5))
- passwords

Let's not worry about cookies since there's Bug 1801051 for removing cookie references. One thing that stands out from the other migrators is the existence of `EdgeTypedURLMigrator` and `EdgeTypedURLDBMigrator` in the resource list. Both of these seem linked to history, given the resource type label `MigrationUtils.resourceTypes.HISTORY`.

Back to Bug 1814946 Comment 0