| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <meta http-equiv = "Content-Security-Policy" content = "referrer origin"> | 3 <meta name="referrer" content="origin"> |
| 4 <title>Fetch in a document with "referrer origin" policy</title> | 4 <title>Fetch in a document with "referrer origin" policy</title> |
| 5 <body> | 5 <body> |
| 6 <script src = "/resources/testharness.js"></script> | 6 <script src = "/resources/testharness.js"></script> |
| 7 <script src = "/resources/testharnessreport.js"></script> | 7 <script src = "/resources/testharnessreport.js"></script> |
| 8 <script src = "/serviceworker/resources/test-helpers.js"></script> | 8 <script src = "/serviceworker/resources/test-helpers.js"></script> |
| 9 <script src = "/fetch/resources/fetch-test-options.js"></script> | 9 <script src = "/fetch/resources/fetch-test-options.js"></script> |
| 10 <script src = "/fetch/resources/fetch-test-helpers.js"></script> | 10 <script src = "/fetch/resources/fetch-test-helpers.js"></script> |
| 11 <script> | 11 <script> |
| 12 | 12 |
| 13 const BASE_URL = BASE_ORIGIN + '/fetch/resources/referrer.php'; | 13 const BASE_URL = BASE_ORIGIN + '/fetch/resources/referrer.php'; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 [OTHER_URL, '/foo', 'origin', BASE_ORIGIN + '/'], | 57 [OTHER_URL, '/foo', 'origin', BASE_ORIGIN + '/'], |
| 58 [OTHER_URL, '/foo', 'origin-when-cross-origin', BASE_ORIGIN + '/'], | 58 [OTHER_URL, '/foo', 'origin-when-cross-origin', BASE_ORIGIN + '/'], |
| 59 [OTHER_URL, '/foo', 'unsafe-url', BASE_ORIGIN + '/foo'], | 59 [OTHER_URL, '/foo', 'unsafe-url', BASE_ORIGIN + '/foo'], |
| 60 ]; | 60 ]; |
| 61 | 61 |
| 62 add_referrer_tests(TESTS); | 62 add_referrer_tests(TESTS); |
| 63 done(); | 63 done(); |
| 64 </script> | 64 </script> |
| 65 </body> | 65 </body> |
| 66 </html> | 66 </html> |
| OLD | NEW |