Description[DevTools] Fallback to MainFrameNavigated event url in Security panel
If a HTTPS connection is blocked for security reasons, an interstitial
is presented and the Network Manager does not raise a ResponseReceived
event. Previously, the lack of a matching ResponseReceived event would
prevent the MainFrameNavigated event from correctly setting the "Main
Origin" for the sidebar.
With this CL, if the main navigation request was not previously
captured by the ResponseReceived event, we will instead compute the
Main Origin by looking at the URL in the MainFrameNavigated event
itself.
BUG=669309
TEST=blink_layouttests. Alternatively, open Security Panel. Navigate through https://expired.badssl.com/
interstitial. Verify Main Origin appears in sidebar.
Review-Url: https://codereview.chromium.org/2756983002
Cr-Commit-Position: refs/heads/master@{#458639}
Committed: https://chromium.googlesource.com/chromium/src/+/b37aaf2370cd187b34d4853e85ed6ed58b3665f9
Patch Set 1 #Patch Set 2 : Add layout test #
Total comments: 2
Patch Set 3 : Rebase, change const to let #
Messages
Total messages: 19 (10 generated)
|