blob: a010ec845f0680011f6a70fcc45958d2357e5afe [file] [log] [blame]
<html>
<head>
<script>
if (window.testRunner)
testRunner.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>