Commit 72e96ab6 authored by vsevik@chromium.org's avatar vsevik@chromium.org

DevTools: Do not auto-reveal resuources with empty urls.

R=apavlov
NOTRY=true

Review URL: https://codereview.chromium.org/474783003

git-svn-id: svn://svn.chromium.org/blink/trunk@180250 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 392e5c79
......@@ -524,7 +524,7 @@ WebInspector.SourcesNavigatorView.prototype = {
var nodes = this._uiSourceCodeNodes.values();
for (var i = 0; i < nodes.length; ++i) {
var uiSourceCode = nodes[i].uiSourceCode();
if (uiSourceCode.url === WebInspector.resourceTreeModel.inspectedPageURL())
if (WebInspector.resourceTreeModel.inspectedPageURL() && uiSourceCode.url === WebInspector.resourceTreeModel.inspectedPageURL())
this.revealUISourceCode(uiSourceCode, true);
}
},
......
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