<html>
<head>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
</head>
<body>
<a href='navigation_from_bfcache-2.html'>Click me and then hit back.
<div style='height:10000px; width:100%;'></div>
</a>
<script>
window.addEventListener('pageshow', (event) => {
if (event.persisted) {
window.location = 'intent://test/#Intent;scheme=externalappscheme;end';
}
});
</script>
</body>
</html>