It wouldnt be tolerated if it was spoken outright. Unfortunately its pretty easy for a hiring manager to dismiss someone officially because of something on her resume or in the interview officially, while being sexist or racist, or just having embedded biases in their head. Ive heard it often enough.