blob: 9d226d4e874eb857b7ca169a47815e922af9dcef [file] [log] [blame]
<html>
<head>
<script>
if (window.layoutTestController)
layoutTestController.dumpAsText();
function normalizeURL(url) {
return url.substring(url.lastIndexOf('LayoutTests'));
}
</script>
<base href="http://fail.example.com/">
</head>
<body>
<div>The document.documentURI property should not be affected by the &lt;base&gt; tag.</div>
<script>document.write(normalizeURL(document.documentURI));</script>
</body>
</html>