it seems nobody has a clear answer as to how this process is done, everyone is debating on if passwords are stored in clear text (which sounds terrifying) or hashes...
how much do you trust facebook?
how much do you trust facebook?
The top answer links https://www.youtube.com/watch?v=7dPRFoKteIU&feature=youtu.be..., which explains exactly what they do: try a number of different errors client-side.
They just hash common variations of the password (e.g. missing the last letter) to make it easier to login. Is that a good usability/security trade off? I think so but that's more debatable.