| Index: third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js b/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
|
| index e9f0577bb54612366999201fb5b1f9f30cfb855c..b6babd0cf369bfb6a033c39a655953a1d1e1710f 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
|
| @@ -424,6 +424,9 @@ Sources.NavigatorView = class extends UI.VBox {
|
| if (!this._groupByFrame || !frame)
|
| return this._targetNode(project, target);
|
|
|
| + if (!frame.parentFrame && target.parentTarget())
|
| + return this._targetNode(project, target);
|
| +
|
| var frameNode = this._frameNodes.get(frame);
|
| if (frameNode)
|
| return frameNode;
|
| @@ -464,8 +467,7 @@ Sources.NavigatorView = class extends UI.VBox {
|
| if (!targetNode) {
|
| targetNode = new Sources.NavigatorGroupTreeNode(
|
| this, project, 'target:' + target.id(),
|
| - !target.hasBrowserCapability() ? Sources.NavigatorView.Types.Worker :
|
| - Sources.NavigatorView.Types.NetworkFolder,
|
| + !target.hasBrowserCapability() ? Sources.NavigatorView.Types.Worker : Sources.NavigatorView.Types.Frame,
|
| target.name());
|
| this._rootNode.appendChild(targetNode);
|
| }
|
|
|