so, if I happen to be opponent of gay marriage, it is OK for me to be discriminated against and prevented from taking up a role.
Did I get this right?
No, you didn't. He's got the role, so he's clearly not prevented from getting it. He has the right to his opinion, however idiotic, and others have the right to protest in response. That they are protesting is not discrimination, FFS - it's an opinion. Far as I can tell, they haven't been abusive, and they sure as shit haven't tried to enact legislation preventing him from having the same freedoms as everyone else. Mozilla are under no obligation to listen to them. For me, the best outcome would be for Eich to realise his previous mistake and apologise, but hey, I'm a dreamer.
Personally, I'm going to separate the CEO from the software. Just as a lot of my favourite bands are fronted by dicks, I'm absolutely certain there are arseholes working on some of the software I enjoy. Mozilla is not Eich, and it contains enough good people doing good things that I'm going to keep supporting the cause and using the tools that make my job easier.