This repository was archived by the owner on Oct 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
TypeError window.history.replaceState within Chrome Packaged App #8142
Comments
Hi, I have the same problem. Can't make it work with jQuery Mobile 1.4.5. Has anyone solved this issue? |
Thank you for reporting this we will look into making sure this is fixed for the upcoming 1.5 release |
same problem, too. chromium 44.0.2403.89 (64 bit). jquerymobile 1.4.3. |
apsdehal
added a commit
to apsdehal/jquery-mobile
that referenced
this issue
Jun 7, 2016
apsdehal
added a commit
that referenced
this issue
Jun 12, 2016
arschmitz
pushed a commit
to arschmitz/jquery-mobile
that referenced
this issue
Jul 4, 2016
arschmitz
pushed a commit
that referenced
this issue
Jul 4, 2016
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Chrome Packaged Apps prevent the history API as mentioned here:
https://codereview.chromium.org/11196055
This causes an exception within jQuery Mobile like the following:
Changing line
jquery.mobile-1.4.4.js:2932
to first check for the presence of the function seems to solve the problem.Even with the workaround a Chrome Packaged Apps continues to
console.log
the fact that history.replaceState is not available.Setting options mentioned in #5465 does not help. Seems as though a different way is needed to disable history.
Google Chrome: Version 43.0.2357.81 (64-bit) (Mac 10.10 & Windows 2008)
jQuery Mobile: 1.4.4
The text was updated successfully, but these errors were encountered: