chromium/third_party/blink/manual_tests/resources/will-go-back.html

<html>
<script>
function goBack() {
    history.back();
}
</script>

<body onload="if (!window.testRunner) goBack();">
If you can go back using the history : test has succeed.
</body>
</html>