| Index: third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
|
| index 8007349cc40189af9c57bcee3364c704660efb17..6b7c24cf1b702f8c55abdfcb95f3e456073b0741 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
|
| @@ -35,12 +35,12 @@ InspectorTest.createWorkspace = function(ignoreEvents)
|
|
|
| InspectorTest._mockTargetId = 1;
|
|
|
| -InspectorTest.createMockTarget = function(id, debuggerModelConstructor, targetType)
|
| +InspectorTest.createMockTarget = function(id, debuggerModelConstructor, capabilities)
|
| {
|
| + capabilities = capabilities || (WebInspector.Target.Capability.Browser | WebInspector.Target.Capability.JS | WebInspector.Target.Capability.Network | WebInspector.Target.Capability.Worker);
|
| var MockTarget = function(name, connection, callback)
|
| {
|
| - var type = typeof targetType === "undefined" ? WebInspector.Target.Type.Page : targetType;
|
| - WebInspector.Target.call(this, InspectorTest.testTargetManager, name, type, connection, null, callback);
|
| + WebInspector.Target.call(this, InspectorTest.testTargetManager, name, capabilities, connection, null, callback);
|
| this.consoleModel = new WebInspector.ConsoleModel(this);
|
| this.networkManager = new WebInspector.NetworkManager(this);
|
| this.runtimeModel = new WebInspector.RuntimeModel(this);
|
|
|