I\'m getting this error in Firefox\'s Console: SecurityError: The operation is insecure
and the guilty is HTML5 feature: window.history.pushState()
You should try not open the file with a folder-explorer method (i.e. file://
), but open that file from http://
(i.e. http://yoursite.com/
from http://localhost/
)
We experienced the SecurityError: The operation is insecure when a user disabled their cookies prior to visiting our site, any subsequent XHR requests trying to use the session would obviously fail and cause this error.
I had this problem on ReactJS history push, turned out i was trying to open //link
(with double slashes)