• Robert Ogden's avatar
    Set the Virtual URL when a HTTPS Server Preview is shown · e7fdca97
    Robert Ogden authored
    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: default avatarCharlie Reis <creis@chromium.org>
    Reviewed-by: default avatarTarun Bansal <tbansal@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#599279}
    e7fdca97
previews_android_bridge.cc 3.17 KB