Index: Source/devtools/front_end/sources/SourcesPanel.js |
diff --git a/Source/devtools/front_end/sources/SourcesPanel.js b/Source/devtools/front_end/sources/SourcesPanel.js |
index b87c9b8b16ad9298506e03a587022a416ef59d15..392a3885c6d989470c2d8fa830ee30e159a6bcfb 100644 |
--- a/Source/devtools/front_end/sources/SourcesPanel.js |
+++ b/Source/devtools/front_end/sources/SourcesPanel.js |
@@ -126,7 +126,7 @@ WebInspector.SourcesPanel = function(workspaceForTest) |
this.sidebarPanes.xhrBreakpoints = new WebInspector.XHRBreakpointsSidebarPane(); |
this.sidebarPanes.eventListenerBreakpoints = new WebInspector.EventListenerBreakpointsSidebarPane(); |
- if (Capabilities.isMainFrontend) |
+ if (!WebInspector.isWorkerFrontend()) |
this.sidebarPanes.workerList = new WebInspector.WorkersSidebarPane(); |
this._extensionSidebarPanes = []; |