

As far as I’m aware, contributor license agreements can include a clause stating that you agree to hand over copyright on submission of code. If every contributor has signed the CLA, there is only only one copyright holder, making relicensing easy.
However, successfully using this to relicense to something less open is extremely rare, and this isn’t a concern anyway as they don’t have a CLA.
Pale Moon is criticised precisely because its developers don’t have the resources to keep it fast, feature complete and secure.