( elem, type )
| 5109 | // (focus and blur are always synchronous in other supported browsers, |
| 5110 | // this just defines when we can count on it). |
| 5111 | function expectSync( elem, type ) { |
| 5112 | return ( elem === safeActiveElement() ) === ( type === "focus" ); |
| 5113 | } |
| 5114 | |
| 5115 | // Support: IE <=9 only |
| 5116 | // Accessing document.activeElement can throw unexpectedly |
no test coverage detected