Open Bug 1824844 Opened 2 years ago Updated 2 years ago

Make it possible to open the Migration Wizard in about:preferences as a related tab

Categories

(Firefox :: Migration, task, P3)

task

Tracking

()

People

(Reporter: mconley, Unassigned)

References

(Blocks 1 open bug)

Details

Currently, if the user opens the new Migration Wizard, if the user doesn't have a pre-existing about:preferences tab, we'll open it at the end of the tab strip. For a user with many tabs, that can be somewhat disorienting - especially if the user opened the Migration Wizard via something like the logins autocomplete popup.

It looks like we have the ability to open tabs as being "related to" the current tab here: https://searchfox.org/mozilla-central/rev/736eb58cd30da3afc0310b58232a1e4d0dcc86a4/browser/modules/URILoadingHelper.sys.mjs#329-330

Unfortunately, the switchToTabHavingURI call we're using to open preferences doesn't pass that value. It'd be excellent if openPreferences could take the relatedToCurrent as an extra argument, and pass that along to switchToTabHavingURI (I believe switchToTabHavingURI will already plumb any extra arguments passed to it to the tab opening routine if a new tab is being opened).

Severity: -- → S4
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.