blob: 3212b18680b1984e9d7510e4cf79c198a5d07aee [file] [log] [blame]
<html>
<head>
<script type="text/javascript">
function startTest()
{
let value = localStorage['reload-policy-delegate'];
if (!value) {
localStorage['reload-policy-delegate'] = 1;
testRunner.dumpAsText();
testRunner.queueReload();
} else {
document.querySelector('span').textContent =
`navigation type is ${window.performance.navigation.type},
expected (reload) is ${window.PerformanceNavigation.TYPE_RELOAD}`;
}
}
</script>
</head>
<body onload="startTest()">
<p>Test to make sure that reloads get reload navigation type.</p>
<span></span>
</body>
</html>