4 if (window
.testRunner
) {
5 var element
= document
.getElementById("fragmentlink");
6 eventSender
.mouseMoveTo(element
.offsetLeft
+ (element
.offsetWidth
/ 2), element
.offsetTop
+ (element
.offsetHeight
/ 2));
7 eventSender
.mouseDown();
12 function hashChanged()
14 if (window
.testRunner
)
15 testRunner
.notifyDone();
19 <body onhashchange=
"hashChanged();" onload=
"loaded();">
20 <a id=
"fragmentlink" href=
"#testfragment">Click this link, and there should be a back-list entry for the page without the fragment ID.
</a>