Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add WPT for referrer handling in HTTPS Upgrades
This WPT test checks that HTTPS Upgrading does not drop referrer information when: 1. Referrer policy is no-referrer-when-downgrade 2. A navigation is made to an URL is HTTP 3. Navigated URL is successfully upgraded to HTTPS In this scenario, the upgraded HTTPS URL should get the referrer information since the connection was never downgraded to an unsafe URL. The current implementation of HTTPS Upgrades in Chrome doesn't pass this test, dropping the referrer. Bug: 1394910 Change-Id: I459e5fcdc97adc19dc42aa5ba1ca0b1617d2158d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5122096 Reviewed-by: Carlos IL <[email protected]> Commit-Queue: Mustafa Emre Acer <[email protected]> Cr-Commit-Position: refs/heads/main@{#1237834}
- Loading branch information