Building a web browser requires that you employee people, some of whom may be gay. Alienating that entire group of people, and the majority of others who support them, can certainly put a damper on their motivation to keep that browser pushing along at full speed.
Definitely not FAIL, this is a big win for Mozilla and civil rights.