The good news is that development could easily be funded by donations. It's only a few million. Enough to keep a few dozen people employed.
Mozilla spends that on development, but firefox is only a small part of that.