blob: 8e1d87611845cf33cea9cb02c76392243857ae20 [file] [log] [blame]
<html>
<body>
<script>
var referer = "<?php echo $_SERVER["HTTP_REFERER"]; ?>";
if (referer.match(/referrer.html/)) {
document.write("PASS: Referer header exists and contains the string 'referrer.html'.");
} else {
document.write("FAIL: Referer header does not contain the string 'referrer.html', value is '" + referer + "'");
}
if (window.testRunner)
testRunner.notifyDone();
</script>
</body>
</html>