mozilla/fxa-content-server — pull request #1142 by vladikoff (2014-05-21 08:09:12+00:00)
Title: fix(test): Force focus in Mocha tests.

From my tests `window.focus();` works well for PhantomJS and Sauce Labs.

Due to the focus requirement if you run the tests on local Selenium then you must keep the browser focused. I am using an alert in the PR because I feel like console.log is not enough and will cause inconsistency in test results.