| Index: third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js b/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js
|
| index 01e473d910df32197230e1dd63bd464670543630..fdd1dabedf4e30b7d0e3e225a645e7a6be93b0b2 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js
|
| @@ -352,11 +352,11 @@ WebInspector.TargetInfo = function(payload)
|
| this.id = payload.targetId;
|
| this.url = payload.url;
|
| this.type = payload.type;
|
| - if (this.type !== "page" && this.type !== "iframe") {
|
| - this.title = WebInspector.UIString("Worker: %s", this.url);
|
| - this.canActivate = false;
|
| - } else {
|
| + this.canActivate = this.type === "page" || this.type === "iframe";
|
| + if (this.type === "node")
|
| + this.title = WebInspector.UIString("Node: %s", this.url);
|
| + else if (this.type === "page" || this.type === "iframe")
|
| this.title = payload.title;
|
| - this.canActivate = true;
|
| - }
|
| + else
|
| + this.title = WebInspector.UIString("Worker: %s", this.url);
|
| };
|
|
|