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•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
| Assignee | ||
Comment 3•2 years ago
|
||
Nimbus Feature: shellService.setDefaultBrowserUserChoiceRegRename
about:config pref: browser.shell.setDefaultBrowserUserChoice.regRename
Updated•2 years ago
|
Comment 4•2 years 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•2 years 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•2 years ago
|
||
(In reply to Barret Rennie [:barret] (they/them) from comment #5)
Do you mean specifically the
setDefaultBrowserUserChoiceRegRenamevariable /browser.shell.setDefaultBrowserUserChoice.regRenamepref? If so, no you dont need to useisEarlyStartupto 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•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Comment 7•2 years 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•2 years 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
•