Set the Virtual URL when a HTTPS Server Preview is shown
Setting the virtual URL means that all UI surfaces will use the "original" URL, that is, the origin URL where the content came from. This should not affect any security features of Chrome, which should be using the loaded URL, not the virtual one. Security-related UI that are impacted are addressed as follows: * Site Settings - explicitly disabled when a preview is shown * Permissions Dialog - explicitly denied in r1260082 Adds virtual URL testing to HTTPS Previews browser tests and one additional test for navigation actions. Bug: 881938 Change-Id: I6e6f2e2a3ef267d61c18295f019d307adc9756bb Reviewed-on: https://chromium-review.googlesource.com/c/1217351 Commit-Queue: Robert Ogden <robertogden@chromium.org> Reviewed-by:Charlie Reis <creis@chromium.org> Reviewed-by:
Tarun Bansal <tbansal@chromium.org> Cr-Commit-Position: refs/heads/master@{#599279}
Showing
This diff is collapsed.
Please register or sign in to comment