(In reply to Marco Bonardo [::mak] from comment #107) > And, we could make canonize complete to browser.fixup.alternate.prefix and > browser.fixup.alternate.suffix, so the user can adapt it to his needs.
We already use .suffix, see https://searchfox.org/mozilla-central/rev/c3fef66a5b211ea8038c1c132706d02db408093a/browser/base/content/urlbarBindings.xml#1048-1055 . I think using prefix can be a follow-up bug, that doesn't seem super valuable to me (in fact, I would prefer to get rid of the alternate stuff as it's currently needlessly being mixed in with other bits of URL fixup in nsDefaultURIFixup, but that's a separate discussion).
I'll remove shift support here because it affects the pref name, and adding a pref and then renaming it immediately seems stupid.
Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=aad17bf2c7fa4acaf46e1d71cf79069d192d5ecd
(In reply to Marco Bonardo [::mak] from comment #107) fixup.alternate .prefix and fixup.alternate .suffix, so the user can adapt it to his needs.
> And, we could make canonize complete to browser.
> browser.
We already use .suffix, see https:/ /searchfox. org/mozilla- central/ rev/c3fef66a5b2 11ea8038c1c1327 06d02db408093a/ browser/ base/content/ urlbarBindings. xml#1048- 1055 . I think using prefix can be a follow-up bug, that doesn't seem super valuable to me (in fact, I would prefer to get rid of the alternate stuff as it's currently needlessly being mixed in with other bits of URL fixup in nsDefaultURIFixup, but that's a separate discussion).
I'll remove shift support here because it affects the pref name, and adding a pref and then renaming it immediately seems stupid.
Try: https:/ /treeherder. mozilla. org/#/jobs? repo=try& revision= aad17bf2c7fa4ac af46e1d71cf7906 9d192d5ecd