Which is fine but the parent comment was trying to say he wasn't fired for his views. He was clearly fired for his political views.
My comment doesn't just pertain to you nor did I really dig into the merits of your situation, but it does serve as a valid test case that even someone with your obvious and deep technical skills requires more than just those skills to be in alignment with what the company needs from a leader.
To this day you can find people angry on both "sides" of the fake-news version of what happened. It constitutes an open wound for Mozilla which people salt and pick at over more recent or ongoing PR mistakes. That's a shame, because the truth is far removed from the cover story. I'll get to it as a memoirist, if ever, only years from now.