blob: 84ef803b946ac2f3882cded4aa5459a44f902f93 [file] [log] [blame]
<html>
<head>
<base href="http://pass.example.com/">
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
document.documentURI = 'http://fail.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>