Commit 03305a55 authored by pfeldman@chromium.org's avatar pfeldman@chromium.org
Browse files

2011-01-17 Pavel Feldman <pfeldman@chromium.org>

        Not reviewed: follow-up fix for r52574: do not reuse clear() for navigation.

        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel.prototype.clear):
        (WebInspector.NetworkPanel.prototype.mainResourceChanged):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75969 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 97daddd8
2011-01-17 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: follow-up fix for r52574: do not reuse clear() for navigation.
* inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkPanel.prototype.clear):
(WebInspector.NetworkPanel.prototype.mainResourceChanged):
2011-01-17 Sergio Villar Senin <svillar@igalia.com>
 
Reviewed by Martin Robinson.
......
......@@ -808,13 +808,15 @@ WebInspector.NetworkPanel.prototype = {
{
if (this._preserveLogToggle.toggled)
return;
this._reset();
},
mainResourceChanged: function()
{
this.clear();
if (this._preserveLogToggle.toggled)
return;
this._reset();
// Now resurrect the main resource along with all redirects that lead to it.
var resourcesToAppend = (WebInspector.mainResource.redirects || []).concat(WebInspector.mainResource);
resourcesToAppend.forEach(this.appendResource, this);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment