| 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 24bf68ab3b9b6738ee320d533de99f1c7c213917..3c115cdcbddcd7f456a7f3abc6133ad92e0ef443 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js
|
| @@ -267,24 +267,23 @@ WebInspector.SecurityPanel.prototype = {
|
| {
|
| },
|
|
|
| - _clearOrigins: function()
|
| - {
|
| - this.selectAndSwitchToMainView();
|
| - this._sidebarTree.clearOrigins();
|
| - this._origins.clear();
|
| - this._lastResponseReceivedForLoaderId.clear();
|
| - this._filterRequestCounts.clear();
|
| - },
|
| -
|
| /**
|
| * @param {!WebInspector.Event} event
|
| */
|
| - _onMainFrameNavigated: function(event) {
|
| -
|
| + _onMainFrameNavigated: function(event)
|
| + {
|
| var frame = /** type {!PageAgent.Frame}*/ (event.data);
|
| var request = this._lastResponseReceivedForLoaderId.get(frame.loaderId);
|
| - this._clearOrigins();
|
|
|
| + // Clear the origins list.
|
| + this.selectAndSwitchToMainView();
|
| + this._sidebarTree.clearOrigins();
|
| + this._origins.clear();
|
| + this._lastResponseReceivedForLoaderId.clear();
|
| + this._filterRequestCounts.clear();
|
| + // After clearing the filtered request counts, refresh the
|
| + // explanations to reflect the new counts.
|
| + this._mainView.refreshExplanations();
|
|
|
| if (request) {
|
| var origin = WebInspector.ParsedURL.extractOrigin(request.url);
|
|
|