Index: LayoutTests/http/tests/security/resources/referrer-attr-iframe-target.html |
diff --git a/LayoutTests/http/tests/security/resources/referrer-attr-iframe-target.html b/LayoutTests/http/tests/security/resources/referrer-attr-iframe-target.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c0f912ac25d4e8af8708d149e48478060316a960 |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/resources/referrer-attr-iframe-target.html |
@@ -0,0 +1,12 @@ |
+<!DOCTYPE html> |
+<html> |
+<body> |
+ <script> |
+ var hash = document.location.hash; |
+ if (hash.length > 0) |
+ hash = hash.substring(1); |
+ |
+ window.parent.postMessage({ "policy": hash, "referrer": document.referrer }, "*"); |
+ </script> |
+</body> |
+</html> |