<html> | |
<head> | |
<body> | |
<script> | |
if (window.layoutTestController) | |
layoutTestController.dumpAsText(); | |
document.documentURI = 'http://pass.example.com/'; | |
</script> | |
<a href="foo.html">Hyperlink to foo.html</a> | |
<pre> | |
<script> | |
var a = document.getElementsByTagName('a')[0]; | |
document.writeln('a.href = ' + a.href); | |
</script> | |
</pre> | |
</body> | |
</html> |