blob: ed8420bccc776f55f2c2030080fe512d9fd694c6 [file] [log] [blame]
<html>
<head>
<script>
function getImage()
{
var frameObj = document.getElementById("myFrame");
frameObj.contentWindow.document.write("<img src=\"http://127.0.0.1:8000/security/resources/showRefererImage.php\"/>");
}
</script>
</head>
<body>
<br>This is a test to see if a file:// url is sent out as the referrer for a subresource load<br>
<iframe id="myFrame" src="about:blank" onLoad="getImage();"></iframe>
<br>The above image will tell you success or failure - green or red<br>
</body>
</html>