| 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 9c7e3de7c4a2c10900a3b061962ad7d3383e454f..58c70a5544f2f9ae7c61bdf43c778ad8a61c5809 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/workspace-test.js
|
| @@ -35,11 +35,12 @@ InspectorTest.createWorkspace = function(ignoreEvents)
|
|
|
| InspectorTest._mockTargetId = 1;
|
|
|
| -InspectorTest.createMockTarget = function(id, debuggerModelConstructor)
|
| +InspectorTest.createMockTarget = function(id, debuggerModelConstructor, targetType)
|
| {
|
| var MockTarget = function(name, connection, callback)
|
| {
|
| - WebInspector.Target.call(this, InspectorTest.testTargetManager, name, WebInspector.Target.Type.Page, connection, null, callback);
|
| + var type = typeof targetType === "undefined" ? WebInspector.Target.Type.Page : targetType;
|
| + WebInspector.Target.call(this, InspectorTest.testTargetManager, name, type, connection, null, callback);
|
| this.consoleModel = new WebInspector.ConsoleModel(this);
|
| this.networkManager = new WebInspector.NetworkManager(this);
|
| this.resourceTreeModel = new WebInspector.ResourceTreeModel(this);
|
|
|