blob: 5a5e6a2aa3c6894cde23e7cb45db10a1560808aa [file] [log] [blame]
<base href="file://">
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
document.write("Base URL: <b>" + document.getElementsByTagName("base")[0].href + "</b><br>");
var directoryPart = document.URL.substring(7);
directoryPart = directoryPart.substring(0, directoryPart.lastIndexOf('/') + 1);
document.write("Should say PASS: <b>");
document.write("<script src='" + directoryPart + "resources/pass.js'></scri" + "pt>");
</script>