| Index: third_party/WebKit/Source/devtools/front_end/sdk/Target.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/Target.js b/third_party/WebKit/Source/devtools/front_end/sdk/Target.js
|
| index 26982edad0904dbed4f45eb9f833cfcafe7d477c..b531b134d9b30e1a839702ea61d900eb52a0a51e 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/Target.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/Target.js
|
| @@ -36,7 +36,7 @@ WebInspector.Target.Capability = {
|
| JS: 4,
|
| Log: 8,
|
| Network: 16,
|
| - Worker: 32
|
| + Target: 32
|
| };
|
|
|
| WebInspector.Target._nextId = 1;
|
| @@ -133,9 +133,9 @@ WebInspector.Target.prototype = {
|
| /**
|
| * @return {boolean}
|
| */
|
| - hasWorkerCapability: function()
|
| + hasTargetCapability: function()
|
| {
|
| - return this.hasAllCapabilities(WebInspector.Target.Capability.Worker);
|
| + return this.hasAllCapabilities(WebInspector.Target.Capability.Target);
|
| },
|
|
|
| /**
|
| @@ -162,8 +162,6 @@ WebInspector.Target.prototype = {
|
| this._targetManager.removeTarget(this);
|
| for (var model of this._modelByConstructor.valuesArray())
|
| model.dispose();
|
| - if (this.workerManager)
|
| - this.workerManager.dispose();
|
| },
|
|
|
| /**
|
|
|