Firefox currently enjoys protection from being “relatively niche” in the browser market (aka not Chromium based trash).
But if I had to place a bet on which browser would put effort in to protecting your privacy, including which extensions are installed, my bet would be on Firefox over Chrome.