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

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

Issue 8823008: Test for referrer policy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/data/referrer_policy/referrer-policy-redirect.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/referrer_policy/referrer-policy-log.html
diff --git a/chrome/test/data/referrer_policy/referrer-policy-log.html b/chrome/test/data/referrer_policy/referrer-policy-log.html
new file mode 100644
index 0000000000000000000000000000000000000000..d0db512e1e96afd0dad040cf27f00421f9564647
--- /dev/null
+++ b/chrome/test/data/referrer_policy/referrer-policy-log.html
@@ -0,0 +1,6 @@
+<script>
+if (document.referrer == "")
+ document.title = "Referrer is empty";
+else
+ document.title = "Referrer is " + document.referrer;
+</script>
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/data/referrer_policy/referrer-policy-redirect.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698