In Synchronous Database Mirroring (High-Safety Mode), only when the partners are connected and the database is already synchronized, manual failover is supported.
Automatic failover requires the database must be already synchronized. So, the principal must wait for acknowledgement from mirror when you want to failover in Synchronous Database Mirroring Mode.