blob: 011a05207c59b33847a4c038c5fc25be384564a9 [file] [log] [blame]
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Regression test for crbug.com/788464.
window.onload = function() {
if (location.search === '') {
window.history.replaceState({}, 'onreload', '?action=onreload');
location.reload();
} else if (location.search === '?action=onreload') {
location.replace('pony.html');
}
};