Firefox wasn't so great back then. Google survives by the Web being great. A free, premiere browser experience means people use the Web.
> every time I've been around the "we should open source $foo" conversation, the managers have asked, essentially "what's in it for us?"
Google overflows with money, so P&L enforcement likely isn't so evident, and they might've just had some engineers saying they wanted to do it that way, and the person with approval power was probably also an engineer.