blob: e2c95f0c95ecd92fdf232c3a129abfbfa8f7c347 [file] [log] [blame]
<html>
<head>
<script language="JavaScript">
function debug(msg)
{
var span = document.createElement("span");
span.innerHTML = msg + '<br>';
document.getElementById("console").appendChild(span);
}
function runTests()
{
debug("This page was successfully loaded.");
debug("My protocol is " + window.location.protocol);
if(document.referrer == "")
debug("My referrer is blank");
else
debug("My referrer is NOT blank");
}
</script>
</head>
<body onLoad="runTests()">
<div id="console"></div>
</body>
</html>