Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pushState acting weird on local environment #56

Open
handasolo opened this issue Feb 12, 2016 · 0 comments
Open

pushState acting weird on local environment #56

handasolo opened this issue Feb 12, 2016 · 0 comments

Comments

@handasolo
Copy link
Member

A recent chromium update turned our use of pushState to a bug when used in local environment. It gives the following error in console 'Uncaught SecurityError: Failed to execute 'pushState' on 'History': A history state object with URL '~/Mozpacers.github.io/index.html' cannot be created in a document with origin 'null'.' And the end result is even after pressing the back button we're stuck on the hash we were present on before. Strangely, it works perfectly fine on the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant