Skip to content

Commit

Permalink
Add test page for brave/brave-browser#8319
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarier committed Jun 4, 2020
1 parent 6870f5b commit 8d722b7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions prefetch.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<html>
<head>
<link rel="prefetch" href="https://fmarier.org/same-site/redirect4.html">
</head>
<body>
<ol>
<li>Set some cookies by visiting <a href="https://fmarier.org/same-site/set-cookies.html">this page</a>.</li>
<li>Check that the cookies were set by visiting <a href="https://fmarier.org/same-site/get-cookies.html">this page</a>.</li>
<li>Open the network tab of the devtools.</li>
<li>Force-reload the current page.</li>
<li>Look for a network request to <tt>https://fmarier.org/same-site/redirect4.html</tt>. It should:
<ul>
<li>not have any cookies attached to it since we always block third-party cookies, and</li>
<li>fail to redirect to <tt>https://fmarier.org/same-site/get-cookies.html</tt>.</li>
</ul>
</body>
</html>

0 comments on commit 8d722b7

Please sign in to comment.