The CTO of FB is an ex-Mozillian. There are quite a few ex-Mozillians here, including myself. Despite Mozilla's public posture that FB is enemy #1, the internal technical culture is more similar than different.
Enemy #1? I hear more about Facebook in the Firefox default startpage than _everywhere else I look_.
Today, in fact, there is a huge pseudo-advertisiment (at least in fr_FR) about "how I should not feel guilty about browsing Facebook [through Firefox]" , which almost made me puke.
As a person who doesn't care about Facebook whatsoever, I didn't get the impression that FB was enemy #1, but rather I assumed FB was paying them money like Google is...
I can actually see FB being happy to just give money away to Mozilla, just to influence them away from Google.
"Prevent Facebook from tracking you around the web. The Facebook Container extension for Firefox helps you take control and isolate your web activity from Facebook."
That full page ad was advertising the Mozilla made Facebook container. Based on absence of Mozilla made Google container, I think that ad was paid by Google.