blob: 3e76923adb0526e982e9f55eeb6ed29a696d6d79 [file] [log] [blame]
<script src="/js-test-resources/js-test.js"></script>
<script>
description("Tests the behavior of <?php echo $_GET['policy']; ?> referrer policy.");
let referrer = "<?php echo $_SERVER['HTTP_REFERER']; ?>";
let expected = "<?php echo $_GET['expected']; ?>";
shouldBe("referrer", "expected");
if (window.testRunner)
testRunner.notifyDone();
</script>