| OLD | NEW |
| 1 <?php | 1 <?php |
| 2 header("Referrer-Policy: origin"); | 2 header("Referrer-Policy: origin"); |
| 3 ?> | 3 ?> |
| 4 <!DOCTYPE html> | 4 <!DOCTYPE html> |
| 5 <head> | 5 <head> |
| 6 <meta http-equiv="Content-Security-Policy" content="script-src 'unsafe-inline'
*; child-src *; referrer no-referrer"> | 6 <meta name="referrer" content="no-referrer"> |
| 7 <script src="/resources/testharness.js"></script> | 7 <script src="/resources/testharness.js"></script> |
| 8 <script src="/resources/testharnessreport.js"></script> | 8 <script src="/resources/testharnessreport.js"></script> |
| 9 <script src="/resources/get-host-info.js"></script> | 9 <script src="/resources/get-host-info.js"></script> |
| 10 </head> | 10 </head> |
| 11 <body> | 11 <body> |
| 12 </body> | 12 </body> |
| 13 <script> | 13 <script> |
| 14 var policy = "no-referrer"; | 14 var policy = "no-referrer"; |
| 15 var expectedReferrer = ""; | 15 var expectedReferrer = ""; |
| 16 var navigateTo = "same-origin"; | 16 var navigateTo = "same-origin"; |
| 17 </script> | 17 </script> |
| 18 <script src="resources/header-test.js"></script> | 18 <script src="resources/header-test.js"></script> |
| 19 </html> | 19 </html> |
| OLD | NEW |