Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: chrome/test/data/referrer_policy/referrer-policy-iframe.html

Issue 135973009: Don't try to guess the referrer policy, but use the one associated with the request (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/referrer_policy/referrer-policy-iframe.html
diff --git a/chrome/test/data/referrer_policy/referrer-policy-iframe.html b/chrome/test/data/referrer_policy/referrer-policy-iframe.html
new file mode 100644
index 0000000000000000000000000000000000000000..a22f9e722628402041481840d8980f3cd217098c
--- /dev/null
+++ b/chrome/test/data/referrer_policy/referrer-policy-iframe.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta name="referrer" content="origin" />
+</head>
+<body>
+<script>
+var port = document.location.search.substr(1);
+
+var frame = document.createElement("iframe");
+frame.src = "http://127.0.0.1:" + port + "/files/referrer-policy-log.html";
+frame.onload = function() { document.title = "loaded"; };
+document.body.appendChild(frame);
+</script>
+</body>
+</html>
« no previous file with comments | « chrome/browser/referrer_policy_browsertest.cc ('k') | chrome/test/data/referrer_policy/referrer-policy-start.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698