Technically Mozilla is advertising company, they made a few acquisitions and have usual mission statement on website: "Mozilla is redefining digital advertising..."
But you could argue they can make more money by selling information you upload through Firefox. They have permission to sell EVERYTHING!!!