• Alex Moshchuk's avatar
    Fix Chrome Web Store loading in an isolated origin. · ca171375
    Alex Moshchuk authored
    When a hosted app URL also corresponds to an isolated origin, the
    isolated origin takes precedence, and the corresponding SiteInstance
    won't use the effective URL for the hosted app.  However, this logic
    needs to exclude CWS, which still needs to resolve to its effective
    URL, so that the corresponding process ends up in the ProcessMap for
    the CWS extension ID.  Otherwise, security checks such as CanCommitURL
    won't allow CWS navigations to succeed.
    
    Bug: 788837
    Change-Id: I2b8d03d044e72bb9b8f71cb4c3accfba8d907ac4
    Reviewed-on: https://chromium-review.googlesource.com/792596Reviewed-by: default avatarCharlie Reis <creis@chromium.org>
    Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
    Commit-Queue: Alex Moshchuk <alexmos@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#519701}
    ca171375
process_management_browsertest.cc 25.3 KB