Chromium Code Reviews| Index: LayoutTests/http/tests/security/resources/referrer-policy-conflicting-policies.html |
| diff --git a/LayoutTests/http/tests/security/resources/referrer-policy-conflicting-policies.html b/LayoutTests/http/tests/security/resources/referrer-policy-conflicting-policies.html |
| index 071e364d9b5adddfb6d3c13404382c93f8891b21..d7df627cf4791d67528eb95d50dd7c3f40130716 100644 |
| --- a/LayoutTests/http/tests/security/resources/referrer-policy-conflicting-policies.html |
| +++ b/LayoutTests/http/tests/security/resources/referrer-policy-conflicting-policies.html |
| @@ -1,4 +1,5 @@ |
| <!DOCTYPE html> |
| +<head></head> |
| <script> |
| if (window.testRunner) |
| testRunner.setAllowDisplayOfInsecureContent(true); |
| @@ -14,7 +15,12 @@ test { |
| content: url("http://127.0.0.1:8080/security/resources/green-if-no-referrer.php"); |
| } |
| </style> |
| -<meta name="referrer" content="origin" /> |
| +<script> |
|
estark
2015/07/14 04:45:35
I think (?) this change preserves what the test is
|
| + var meta = document.createElement("meta"); |
| + meta.name = "referrer"; |
| + meta.content = "origin"; |
| + document.getElementsByTagName("head")[0].appendChild(meta); |
| +</script> |
| <body onload="done();"> |
| <p> |
| Checks that an CSS image that was created before a referrer policy was set is |