blob: 064f968516c58614ff96ae28a70038ebe8f57dd3 [file] [log] [blame]
// Copyright 2017 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.
// 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');
}
};