Verify that Referer Policy within Content-Disposition:attachment sandbox is always...
[WebKit-https.git] / LayoutTests / http / tests / contentdispositionattachmentsandbox / resources / referer-header-stripped-frame.php
@@ -3,12 +3,14 @@ header("Content-Disposition: attachment; filename=test.html");
 header("Content-Type: text/html");
 ?>
 <!DOCTYPE html>
+<head>
+<?php if (isset($_GET['referrer'])) print("<meta name=\"referrer\" content=\"" . $_GET['referrer'] . "\">\n"); ?>
 <style>
 a {
     display: block;
     width: 100vw;
     height: 100vh;
 }
-
 </style>
+</head>
 <a href="echo-http-referer.php">Link to echo-http-referer.php</a>
\ No newline at end of file