Bug 1851596 Comment 5 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Barret Rennie [:barret] (they/them) from comment #3)
> Can you open regedit.exe and look at the following registry keys:
> 
> ```
> Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.htm
> Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html
> Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice
> Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice
> ```
> 
> Right click on the key in the sidebar and select permissions and see if any of these keys are missing permissions for your user. This happened to me when working on the feature, but I was never able to reproduce.
> 
> Deleting any key that is missing permissions for your user (you may have to open regedit as an admin) and then re-setting Firefox as default should fix the issue.
> 
> If none of this is the case, please let me know.

Hello! I deleted all the registry keys from above and then clicked the Make Default button then the default apps windows application will open as expected, but closing it and clicking again the Make Default button will lead me to the same stage as before. I'm also seeing this error in browser console aside with the error stated in comment 0:
`Error: checkBrowserUserChoiceHashes() failed
    setAsDefaultUserChoice resource:///modules/ShellService.sys.mjs:286
    setDefaultBrowser resource:///modules/ShellService.sys.mjs:376
    setDefaultBrowser chrome://browser/content/preferences/main.js:1729
ShellService.sys.mjs:377:17
    setDefaultBrowser resource:///modules/ShellService.sys.mjs:377`

I have also created a new Windows Administrator online profile and it seems that the issue is reproducing there as well. 
Note: I can successfully set Firefox as the default browser if I manually open Default Apps window and select Firefox for `HTTP/HTTPS, .htm/.html`. If more information is needed please let me know.
(In reply to Barret Rennie [:barret] (they/them) from comment #3)
> Can you open regedit.exe and look at the following registry keys:
> 
> ```
> Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.htm
> Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html
> Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice
> Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice
> ```
> 
> Right click on the key in the sidebar and select permissions and see if any of these keys are missing permissions for your user. This happened to me when working on the feature, but I was never able to reproduce.
> 
> Deleting any key that is missing permissions for your user (you may have to open regedit as an admin) and then re-setting Firefox as default should fix the issue.
> 
> If none of this is the case, please let me know.

Hello! I deleted all the registry keys from above and then clicked the Make Default button then the default apps windows application will open as expected, but closing it and clicking again the Make Default button will lead me to the same stage as before. I'm also seeing this error in browser console aside from the error stated in comment 0 after deleting the registry keys:
`Error: checkBrowserUserChoiceHashes() failed
    setAsDefaultUserChoice resource:///modules/ShellService.sys.mjs:286
    setDefaultBrowser resource:///modules/ShellService.sys.mjs:376
    setDefaultBrowser chrome://browser/content/preferences/main.js:1729
ShellService.sys.mjs:377:17
    setDefaultBrowser resource:///modules/ShellService.sys.mjs:377`

I have also created a new Windows Administrator online profile and it seems that the issue is reproducing there as well. 
Note: I can successfully set Firefox as the default browser if I manually open the Default Apps window and select Firefox for `HTTP/HTTPS, .htm/.html`. If more information is needed please let me know.

Back to Bug 1851596 Comment 5