Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUpdate referrer computation #27030
Closed
Update referrer computation #27030
Labels
Comments
bors-servo
added a commit
that referenced
this issue
Jun 28, 2020
Update referrer computation The PR updates the request's referrer computation in consideration with the recent changes in [w3c/webappsec-referrer-policy#135](w3c/webappsec-referrer-policy#135). --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #27030 - [x] There are tests for these changes
bors-servo
added a commit
that referenced
this issue
Jul 2, 2020
Update referrer computation The PR updates the request's referrer computation in consideration with the recent changes in [w3c/webappsec-referrer-policy#135](w3c/webappsec-referrer-policy#135). --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #27030 - [x] There are tests for these changes
bors-servo
added a commit
that referenced
this issue
Jul 2, 2020
Update referrer computation The PR updates the request's referrer computation in consideration with the recent changes in [w3c/webappsec-referrer-policy#135](w3c/webappsec-referrer-policy#135). --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #27030 - [x] There are tests for these changes
bors-servo
added a commit
that referenced
this issue
Jul 3, 2020
Update referrer computation The PR updates the request's referrer computation in consideration with the recent changes in [w3c/webappsec-referrer-policy#135](w3c/webappsec-referrer-policy#135). --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #27030 and fix #14505 - [x] There are tests for these changes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
w3c/webappsec-referrer-policy#135 changed the way https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer works to compare the origin of the referrer value against the origin of the request's current URL. This corresponds to this code in Servo.
Tests:
./mach test-wpt tests/wpt/web-platform-tests/referrer-policy