4 if (window
.layoutTestController
)
5 layoutTestController
.dumpAsText();
7 function normalizeURL(url
) {
8 return url
.substring(url
.lastIndexOf('LayoutTests'));
11 <base href=
"http://fail.example.com/">
14 <div>The document.documentURI property should not be affected by the
<base
> tag.
</div>
15 <script>document
.write(normalizeURL(document
.documentURI
));</script>