Minor point: I strongly contest that Mozilla is a wasteful company - salaries are low by large-tech-firm standards and spending (on travel, equipment, etc.) is fairly frugal. I have never heard of employees having almost work to do - it is nearly always the opposite. Travel is nearly always for coordinated team work since many employees and volunteers work remotely. For a (relatively) small budget, Mozilla produce an awful lot of results - the entire company is run on vastly less than the marketing budget (!) for Chrome, for example (sorry, can't find a source though).
Donations are important for the Mozilla Foundation to keep a non-profit status. The Yahoo! deal is a Mozilla Corporation deal, so that's a different story (Mo Corp pay taxes like any company).
(Disclaimer: not a MoCo/MoFo employee)
Previously they were getting $300M a year from Google and they were required to spend that every year, from what I've been told from employees that I know. Everything I've heard from them is that Mozilla is a very wasteful company. They spend a bunch of money on things like boondoggles to Europe for the staff, apartments in Paris that anyone can book, employees sitting around with almost no work to do, etc. They also have really lucrative bonuses (>40%/yr) for employees that push salaries over $200k for senior engineers, so I'm just wondering why they even bother with donations? I'm assuming that their contract with Yahoo is even more lucrative than $300M/year, so they must have a lot of money to spend, why worry about donations that might only reach a small percentage of that?