summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/extensions/api_test/webnavigation/crossProcessHistory/i.js
blob: 69da7a58686f34e1657c3f01ccbb0125cc08d202 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

function updateHistory() {
  history.replaceState({}, "", "empty.html");
}

onload = function() {
  setTimeout(function() {
    location.href =
        "http://127.0.0.1:" + location.search.substr(1) + "/test6";
  }, 0);
};