Fix 1-click set-to-default
Categories
(Firefox :: Shell Integration, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox128 | --- | fixed |
People
(Reporter: nrishel, Assigned: nrishel)
References
(Depends on 1 open bug, )
Details
Attachments
(3 files)
Assignee | ||
Updated•5 months ago
|
Assignee | ||
Updated•5 months ago
|
Assignee | ||
Comment 1•5 months ago
|
||
Assignee | ||
Comment 2•5 months ago
|
||
Assignee | ||
Comment 3•5 months ago
|
||
Nimbus Feature: shellService.setDefaultBrowserUserChoiceRegRename
about:config pref: browser.shell.setDefaultBrowserUserChoice.regRename
Updated•5 months ago
|
Comment 4•5 months ago
|
||
Barret -- could you peek at the 3rd patch and suggest if we should add isStartup: true
? I think yes -- it's possible this is invoked very early, possibly before Nimbus is ready -- but perhaps not, I know there have been many changes around experiment prefs.
Comment 5•5 months ago
|
||
Do you mean specifically the setDefaultBrowserUserChoiceRegRename
variable / browser.shell.setDefaultBrowserUserChoice.regRename
pref? If so, no you dont need to use isEarlyStartup
to make it available, as long as you always read from the pref (instead of the variable) during early startup.
Comment 6•5 months ago
|
||
(In reply to Barret Rennie [:barret] (they/them) from comment #5)
Do you mean specifically the
setDefaultBrowserUserChoiceRegRename
variable /browser.shell.setDefaultBrowserUserChoice.regRename
pref? If so, no you dont need to useisEarlyStartup
to make it available, as long as you always read from the pref (instead of the variable) during early startup.
That is exactly what I meant, and yes -- consumers read the preference, AFAICT. Thanks for confirming, Barret!
Updated•5 months ago
|
Updated•5 months ago
|
Assignee | ||
Comment 7•5 months ago
|
||
Originally this is marked confidential so the relevant code would not be exposed if we chose not to land it. As we have chosen to proceed with landing and the code will be public, this no longer needs to be confidential.
Comment 9•5 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/23c296923575
https://hg.mozilla.org/mozilla-central/rev/f1d1b1ae8abe
https://hg.mozilla.org/mozilla-central/rev/a78c2ee248a6
Description
•