[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
TEST=blink_layouttests. Alternatively, open Security Panel. Navigate through https://expired.badssl.com/
interstitial. Verify Main Origin appears in sidebar.