title: Failed to execute 'pushState' on 'History' error when using window.history.pushState function
body: <p>I'm using <code>window.history</code> in JavascriptMVC application to enable back/forward/refresh functionality for each controller. Every time I load a new controller I'm using  <code>window.history.pushState</code> to add a new state to history. And then on back/refresh I'm using the saved state and reuse the data to build the controller again.</p>
  
  <p>The whole idea works fine excepting one issue on specific scenario. I'm getting the following error:</p>
  
  <blockquote>
    <p>Failed to execute 'pushState' on 'History': An object could not be
    cloned.</p>
  </blockquote>
  
  <p>The same data is added without problem on other scenario. What can cause this error?
  Thanks for the assistance.</p>