New issue
Advanced search Search tips

Issue 863392 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 536102
Owner: ----
Closed: Jul 17
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Browser refresh and document.location.reload() setting different referrer header

Reported by klemens....@gmail.com, Jul 13

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

Steps to reproduce the problem:
1. Go to website foo.com via link on website bar.com
2. Use document.location.reload() in console

What is the expected behavior?
document.referrer should be bar.com

What went wrong?
document.referrer is foo.com

Did this work before? N/A 

Chrome version: 67.0.3396.99  Channel: stable
OS Version: 10.0
Flash Version: 

When you use the browser refresh button, the document.referrer is correctly set to the page, from which the user came initially. Only when using document.location.reload(), the referrer is incorrectly set to the same URL.
 
Components: -Blink Blink>Loader Blink>SecurityFeature>Referrer
Labels: Needs-Triage-M67
Mergedinto: 536102
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment