I tested this under Windows 10 and it worked correctly for me, whichever browser I set as default. How are you setting Firefox as the default browser? You will need to set it using the Windows/Settings/System/Default apps window, which is how Windows 10 sets default apps. You cannot change the setting from within Firefox.