It does not seem to support alternatives.
I had to run
update-alternatives --install /usr/bin/x-www-browser x-www-browser /usr/bin/firefox 99
update-alternatives --set x-www-browser /usr/bin/firefox`
xdg-settings set default-web-browser firefox.desktop