d');
  test(function () {
    assert_equals( history.state, 'state1' );
  }, 'history.state should reflect the navigated state onload');
  popfired = false;
  setTimeout(function () {
    test(function () {
      assert_false( !!popfired );
    }, 'popstate event should not fire after onload fires');
    test(function () {
      assert_equals( history.state, 'state1' );
    }, 'history.state should reflect the navigated state after onload');
    done();
    if( history.pushState ) { history.go(-1); } //go b