commit | 5204c87e3a6178b2898f254c2404930a9638b7c5 | [log] [tgz] |
---|---|---|
author | Tsuyoshi Horo <[email protected]> | Thu Sep 21 16:28:17 2017 |
committer | Commit Bot <[email protected]> | Thu Sep 21 16:28:17 2017 |
tree | 70ed332da1fcf9bb6d8c6116b465f0c0141c4250 | |
parent | 78eb28ed53eb90b50a118372eb37b60751dacea9 [diff] |
Support redirect for main resource navigation with S13nServiceWorker. I locally tested these redirect patterns in WPT's navigation-redirect.https.html with --enable-features=NetworkService flag, after registering the SW without the flag. - Normal redirect to same-origin scope. - Normal redirect to other-origin scope. - SW-fallbacked redirect to same-origin out-scope. - SW-fallbacked redirect to same-origin same-scope. - SW-fallbacked redirect to same-origin other-scope. - SW-fallbacked redirect to other-origin out-scope. - SW-fallbacked redirect to other-origin in-scope. - SW-generated redirect to same-origin out-scope. - SW-generated redirect to same-origin same-scope. - SW-generated redirect to same-origin other-scope. - SW-generated redirect to other-origin out-scope. - SW-generated redirect to other-origin in-scope. But other patters in navigation-redirect.https.html failed. It is because there is another issue in handling manual redirect mode requests in NetworkService. BUG=764224 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_site_isolation Change-Id: I1f4b602e6dd4887aabac770fa2b9d4a6dfb3aeb8 Reviewed-on: https://chromium-review.googlesource.com/668265 Commit-Queue: Tsuyoshi Horo <[email protected]> Reviewed-by: Matt Falkenhagen <[email protected]> Reviewed-by: Kinuko Yasuda (slow) <[email protected]> Cr-Commit-Position: refs/heads/master@{#503467}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .