Closed ThaNarie closed 10 years ago
Hi,
I can check only to: iPad 4 ios 6.1.3 - Chrome 27.0.1453.10 iPhone 5 ios 6.1.4 - Chrome 27.0.1453.10 The test site http://history.spb-piksel.ru/ uses the this library and on my devices works well.
If you have the ability to debug, I will be very grateful to you.
Thank you!
I am experiencing the same issue, even on your test site. It works without the library.
iPhone 4S, iOS 6.1.3, Chrome 27.0.1453.10
I apologize for not having replied to your post earlier. Very strange, but I carried out tests on the iPhone 4S and found no problems. I do not even know how I be
Just experienced the same issue here.
iPhone 5, iOS 6.1.4, Chrome 28.0.1500.16
Safari on iOS works fine.
I see the problem.
The problem is that the Chrome developers have decided to override the additional extension. If execute the alert(history.pushState)
, see the following:
function (a, c, f) {
c = "undefined" == typeof a ? "" : i(a);
f = f || window.location.href;
q.call(history, a, null, f);
e({
command: "window.history.pushState",
stateObject: c,
pageUrl: f.toString()
});
}
here this time of code:
q.call(history, a, null, f);
breaks library operation because as the context transmitted to history. They had to write in this way:
q.call(this, a, null, f);
I will try to solve something. Wait for updates.
This fix does not ensure stable operation, errors may occur. I will be contacting the developers of Chrome that would solve the problem.
Hi,
I'm wondering if you've heard anything from the Chrome developers :)
For now I've only included the history file for IE so Chrome/FF/Safari will use the native version. Seems to be working OK :)
I close this issue, if you still want to solve this, let me know. Thank you
Ref. to source in CriOS (about override pushState/replaceState): https://chromium.googlesource.com/chromium/src/+/master/ios/web/web_state/js/resources/core.js#412 https://chromium.googlesource.com/chromium/src/+/master/ios/web/web_state/js/resources/core.js#427
When i do a pushState on Chome on ISO6, nothing happens. The native pushState does work (when not loading this library).
I'm trying to debug it myself, but hopefully you can fix it.
I'm having it currently on: ipad 3 ios 6.0.1 ipad 3 ios 6.1.2 iphone 4 ios 6.1