blob: 8872c30a967f6fbe241c0cb7052df945e3842c40 [file] [log] [blame]
<html>
<body>
<pre>
<script>
function normalizeURL(url) {
return url.substring(url.lastIndexOf('LayoutTests'));
}
if (window.layoutTestController)
layoutTestController.dumpAsText();
document.writeln('normalizeURL(document.documentURI) = ' + normalizeURL(document.documentURI));
document.writeln('Assigning to documentURI');
document.documentURI = 'PASS: documentURI can hold an arbitrary string.';
document.writeln('document.documentURI = ' + document.documentURI);
</script>
</pre>
</body>
</html>