balupton/history.js — Issue #165: History.js breaks on iOS after leaving site and coming back via back button
Author: yourfavorite
Created: 2012-03-09 06:07:44+00:00
State: open

To recreate, go to:
http://balupton.github.com/history.js/demo/

Then go to:
http://google.com

Hit your back button and then click on any of the pushState buttons and you will get:

JavaScript: Error
undefined
TypeError: 'undefined' is not a function

It seems to be caused by calling History.pushState(); But beyond that I'm not sure what's happening. I tried checking to see if History.pushState was undefined just before it is called and it returns defined so it must be something inside History.js or the Adapter.