emberjs/ember.js — pull request #1425 by ghempton (2012-10-03 06:01:53+00:00)
Title: Fix for popstate firing on page load.

On Chrome popstate is fired on page load (see http://stackoverflow.com/questions/6421769/popstate-on-pages-load-in-chrome). This causes the initial route to be entered twice. This PR fixes that.

I would add a test for this, but due it it requiring a fresh page load, it is very non-trivial.