title: history.pushState does not trigger 'popstate' event
body: <p>Why</p>
  <pre><code>window.addEventListener('popstate', () =&gt; alert('pop'));
  
  window.history.pushState(null, '', '/foo');
  </code></pre>
  <p>does not alert <code>pop</code> ?</p>
  <p>NB: Testing on latest chrome</p>
  <p>--</p>
  <p>According to <a href="https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history#The_popstate_event" rel="nofollow noreferrer">MDN</a>:</p>
  <blockquote>
  <p>A popstate event is dispatched to the window every time the active history entry changes. If the history entry being activated was created by a call to pushState or affected by a call to replaceState, the popstate event's state property contains a copy of the history entry's state object.</p>
  </blockquote>
  <p>So why my <code>pushState</code> does not trigger the <code>popstate</code> event?</p>