I'm getting this error in Firefox's Console: SecurityError: The operation is insecure
and the guilty is HTML5 feature: window.history.pushState()
when I try to load something with AJAX. It is supposed to load some data but Javascript stops executing on error.
I'm wondering why this may be happening. Is this some server misconfiguration? Any help would be appreciated.
UPDATE: Yes, it was a server error with domain name not matching: http://en.wikipedia.org/wiki/Same-origin_policy
file:///
URL? – Lexihttp://
all the time. I suspect it might be because of usage of sub-domain butpushState
tries to push just/
, so it shouldn't have any impact. – Adactylous