The following techniques are used in Firefox (up to and including the latest version) to render the presentation of security context more robust against spoofing attacks:

The following additional techniques are currently under discussion/development within the mozilla community: