blob: 8d23cd1667d11c32e4b3c075101e436c418b336c [file] [log] [blame]
<script>
function loaded() {
if (window.testRunner) {
var element = document.getElementById("fragmentlink");
eventSender.mouseMoveTo(element.offsetLeft + (element.offsetWidth / 2), element.offsetTop + (element.offsetHeight / 2));
eventSender.mouseDown();
eventSender.mouseUp();
}
}
function hashChanged()
{
if (window.testRunner)
testRunner.notifyDone();
}
</script>
<body onhashchange="hashChanged();" onload="loaded();">
<a id="fragmentlink" href="#testfragment">Click this link, and there should be a back-list entry for the page without the fragment ID.</a>
</body>
<html>