emberjs/ember.js — pull request #5040 by vincent-psarga (2014-06-17 06:34:35+00:00)
Title: The "click" helper gives focus to elements with a tabindex attribute

I updated a bit the "click" test helper so an element that has a tabindex attribute gets the focus when clicked (which is the default behaviour of the browser).

I also added some tests showing that, but there is a slight issue with them. Normally they should run with PhantomJS (I used the same technique about focus checking for another project using PhantomJS but I was unable to check it as running the tests give me an error "spawn EACCES").
But when ran in the browser, they fail if the browser do not have the focus (and there is not much to be done or I haven't found a solution yet)