DescriptionExecuted HTTPS upgrade before notifying the start of the provisional load.
This makes so that the fetch URL sent to the browser process for
navigations with the start provisional load notification is already the
final, potentially HTTPS upgraded one. This caused some problems with
upcoming changes where the URL stored in the NavigationHandle differed
from the actual URL being navigated to. A new test is also added to confirm
the upgrade is executed as expected.
BUG=618659
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/2ece5a75956f9df5c0a78939a8f06d4e09b6e860
Cr-Commit-Position: refs/heads/master@{#404567}
Patch Set 1 #Patch Set 2 : Avoid re-upgrading for frames and un-hacked implementation. #
Total comments: 9
Patch Set 3 : Addressed nasko@'s comments. #
Total comments: 6
Patch Set 4 : Addressed mkwst@'s comments. #
Total comments: 20
Patch Set 5 : Addressed mkwst@' 2nd round and clamy@'s comments. #
Total comments: 4
Patch Set 6 : Minor changes from clamy@'s comments. #
Total comments: 2
Patch Set 7 : Simplified cross site URL code. #Messages
Total messages: 33 (11 generated)
|