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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2a14dc6c2cfe8d0304d67bbb6ad28343e4f9a63f |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/resources/referrer-policy-conflicting-policies.html |
@@ -0,0 +1,27 @@ |
+<!DOCTYPE html> |
+<script> |
+if (window.testRunner) |
+ testRunner.setAllowDisplayOfInsecureContent(); |
+ |
+function done() |
+{ |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+} |
+</script> |
+<style> |
+test { |
+ content: url("http://127.0.0.1:8080/security/resources/green-if-no-referrer.php"); |
+} |
+</style> |
+<meta name="referrer" content="origin" /> |
+<body onload="done();"> |
+<p> |
+Checks that an CSS image that was created before a referrer policy was set is |
+loaded with the correct referrer, in this case, without a referrer. |
+</p> |
+<p> |
+The test passes, if a green rectangle is displayed below. |
+</p> |
+<test/> |
+</body> |