blob: 071e364d9b5adddfb6d3c13404382c93f8891b21 [file] [log] [blame]
<!DOCTYPE html>
<script>
if (window.testRunner)
testRunner.setAllowDisplayOfInsecureContent(true);
function done()
{
if (window.testRunner)
testRunner.notifyDone();
}
</script>
<style>
test {
content: url("http://127.0.0.1:8080/security/resources/green-if-no-referrer.php");
}
</style>
<meta name="referrer" content="origin" />
<body onload="done();">
<p>
Checks that an CSS image that was created before a referrer policy was set is
loaded with the correct referrer, in this case, without a referrer.
</p>
<p>
The test passes, if a green rectangle is displayed below.
</p>
<test/>
</body>