| Index: third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js b/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js
|
| index 46d6acf92f9d6cdaf476aff504e85c0f6d47b85a..b33cdad84704fb436f124590302eb85918ac9b0d 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js
|
| @@ -350,11 +350,14 @@ Security.SecurityPanel = class extends UI.PanelWithSidebar {
|
| // explanations to reflect the new counts.
|
| this._mainView.refreshExplanations();
|
|
|
| - if (request) {
|
| - var origin = Common.ParsedURL.extractOrigin(request.url());
|
| - this._sidebarTree.setMainOrigin(origin);
|
| + // If we could not find a matching request (as in the case of clicking
|
| + // through an interstitial, see crbug.com/669309), set the origin based upon
|
| + // the url data from the MainFrameNavigated event itself.
|
| + let origin = Common.ParsedURL.extractOrigin(request ? request.url() : frame.url);
|
| + this._sidebarTree.setMainOrigin(origin);
|
| +
|
| + if (request)
|
| this._processRequest(request);
|
| - }
|
| }
|
|
|
| _onInterstitialShown() {
|
|
|