<html> | |
<head> | |
<script> | |
function runTest() | |
{ | |
sessionStorage.setItem("secondPageReached", "true"); | |
window.history.back(); | |
} | |
</script> | |
</head> | |
<body onload="runTest();"> | |
This should go back right away, after setting a sessionStorage key for the previous page. | |
</body> | |
</html> |