Open Bug 2097486 Opened 4 days ago

Merge the migration wizard's RequestSafariPermissions message into GetPermissions

Categories

(Firefox :: Migration, enhancement)

enhancement

Tracking

()

People

(Reporter: spohl, Unassigned)

References

Details

The migration wizard asks for access to a browser's data through two separate paths: migration-wizard.mjs dispatches MigrationWizard:RequestSafariPermissions for Safari and MigrationWizard:GetPermissions with a migrator key for everything else. MigrationWizardChild.sys.mjs and MigrationWizardParent.sys.mjs handle both, and MigrationUtils.sys.mjs registers both events for the actor. Both end up calling the migrator's getPermissions().

Sending GetPermissions with the safari key instead should let us remove the Safari-specific message and its handlers.

Gijs suggested this in the review of D344984.

You need to log in before you can comment on or make changes to this bug.