commit | 03912101eb72d9089320e65955b8da01ed234120 | [log] [tgz] |
---|---|---|
author | Nasko Oskov <nasko@chromium.org> | Fri Jan 11 00:21:32 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 11 00:21:32 2019 |
tree | bbd15acbe9cf557f6dd3e5e31e4ca93c2f41ce34 | |
parent | a992e436e7c9a0e5b5d95935faf134826c84e93f [diff] |
Add support for precursor origin to session history navigations url::Origin is at this time capable of storing information for opaque origins that indicates where they have come from - precursor origin. This is very useful information for making security decisions, such as which process to place a navigation or verifying that an opaque origin sent by renderer process is expected/allowed. This CL adds support for the browser process to tell the renderer process which origin to commit a specific navigation in. It is currently only used for session history navigations, as the origin in which they have committed is stored in FrameNavigationEntry. This allows navigations to session history entries with URLs that don't have embedded origin (e.g. about:blank, data:) to still commit in the origin which they initially were created in. Bug: 882053 Change-Id: I71f8bace6b017973fc79465b1809ca0ff9794465 Reviewed-on: https://chromium-review.googlesource.com/c/1375390 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Alex Moshchuk <alexmos@chromium.org> Commit-Queue: Nasko Oskov <nasko@chromium.org> Cr-Commit-Position: refs/heads/master@{#621820}
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 .