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 3e877c07e3b8d38297255cddcf1831e01be4577d..3c169879aa1d1e2a4e75eae493f802d15dd00acd 100644 |
--- a/Source/devtools/front_end/sources/SourcesPanel.js |
+++ b/Source/devtools/front_end/sources/SourcesPanel.js |
@@ -125,7 +125,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 = []; |