| Index: Source/devtools/front_end/Main.js
|
| diff --git a/Source/devtools/front_end/Main.js b/Source/devtools/front_end/Main.js
|
| index a4bdd4ef9af733fea8f0669f2280c22bb09c65e4..e9124be16b66867cb28d42f50f4758b36929c837 100644
|
| --- a/Source/devtools/front_end/Main.js
|
| +++ b/Source/devtools/front_end/Main.js
|
| @@ -188,7 +188,7 @@ WebInspector.Main.prototype = {
|
|
|
| var workerId = WebInspector.queryParam("dedicatedWorkerId");
|
| if (workerId) {
|
| - new WebInspector.WorkerConnection(workerId, onConnectionReady);
|
| + new WebInspector.ExternalWorkerConnection(workerId, onConnectionReady);
|
| return;
|
| }
|
|
|
| @@ -256,6 +256,9 @@ WebInspector.Main.prototype = {
|
| WebInspector.shortcutsScreen.section(WebInspector.UIString("Elements Panel"));
|
| WebInspector.ShortcutsScreen.registerShortcuts();
|
|
|
| + if (WebInspector.experimentsSettings.workersInMainWindow.isEnabled())
|
| + new WebInspector.WorkerTargetManager(mainTarget, WebInspector.targetManager);
|
| +
|
| WebInspector.console.addEventListener(WebInspector.ConsoleModel.Events.ConsoleCleared, this._resetErrorAndWarningCounts, this);
|
| WebInspector.console.addEventListener(WebInspector.ConsoleModel.Events.MessageAdded, this._updateErrorAndWarningCounts, this);
|
| WebInspector.console.addEventListener(WebInspector.ConsoleModel.Events.RepeatCountUpdated, this._updateErrorAndWarningCounts, this);
|
|
|