blob: 241100a9ee9f8d4f895101a53153002e840857c7 [file] [log] [blame]
This page should go back. If a test outputs the contents of this
page, then the test page failed to enter the page cache.
<script>
function triggerBackNavigation() {
setTimeout(function() {
history.back();
}, 0);
}
window.addEventListener("pageshow", (event) => {
if (event.persisted)
triggerBackNavigation();
});
window.addEventListener("load", function() {
triggerBackNavigation();
});
</script>