Verify that Referer Policy within Content-Disposition:attachment sandbox is always...
[WebKit-https.git] / LayoutTests / http / tests / contentdispositionattachmentsandbox / resources / referer-header-stripped-frame.php
1 <?php
2 header("Content-Disposition: attachment; filename=test.html");
3 header("Content-Type: text/html");
4 ?>
5 <!DOCTYPE html>
6 <head>
7 <?php if (isset($_GET['referrer'])) print("<meta name=\"referrer\" content=\"" . $_GET['referrer'] . "\">\n"); ?>
8 <style>
9 a {
10     display: block;
11     width: 100vw;
12     height: 100vh;
13 }
14 </style>
15 </head>
16 <a href="echo-http-referer.php">Link to echo-http-referer.php</a>