Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pushState in Android 4.0

When I use JSConsole and type window.history it dosen't contain any method for pushState. So what have happend? Is it removed in Android 4.0 in the default browser or how can I use it?

like image 318
Simon Edström Avatar asked May 16 '12 14:05

Simon Edström


1 Answers

Yes, it is a regression bug, but they don't seem to be very interested in fixing it:

http://code.google.com/p/android/issues/detail?id=23979 vote for it.

Since most manufacturers usually customize the browser in one or another way, they might implement it themselves. I have however never came across any ICS phone which fully supports the history api. can't say I have been looking though.

EDIT: It has been claimed that it is fixed in 4.0.4, however only in the sense that the methods are there and do what you expect them to do, but the URL bar is not updated.

like image 112
jishi Avatar answered Oct 16 '22 04:10

jishi