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

Unified Diff: chrome/test/data/predictor/predictor_cross_site_no_referrer.html

Issue 1881463003: Add a browsertest suite for net predictor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: EXPECT that we get the right number of accepted connections after waiting Created 4 years, 7 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/predictor/predictor_cross_site_no_referrer.html
diff --git a/chrome/test/data/predictor/predictor_cross_site_no_referrer.html b/chrome/test/data/predictor/predictor_cross_site_no_referrer.html
new file mode 100644
index 0000000000000000000000000000000000000000..00cb0f1198d86da7f171ad6e0d03692ed382227c
--- /dev/null
+++ b/chrome/test/data/predictor/predictor_cross_site_no_referrer.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<meta name="referrer" content="never">
+<script src="/predictor/fetch_cross_site.js" type="text/javascript"></script>
+<p>
+This test calls Javascript, which issues fetches based on the query param.
+This test uses a meta referrer tag to avoid referrer tracking, which should
+prevent predictor learning.
+</p>

Powered by Google App Engine
This is Rietveld 408576698