message: Update test to not call window.onpopstate
diff: @@ -1205,9 +1205,9 @@ describe('integration', function() {
  // can't call history.back() because it will change url of parent document
  // (e.g. document running mocha) ... instead just "emulate" a back button
  - // press by calling replaceState + onpopstate manually
  + // press by calling replaceState
  history.replaceState({}, '', '/bar?a=1#fragment');
  - window.onpopstate();
  +
  done();
  },
  function() {
  