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 882cd682771c301bb7f7c3481149b58b930fce71..fa6e0438b6eae0de5a569c977c4d2121db9d9e2c 100644 |
--- a/Source/devtools/front_end/sources/SourcesPanel.js |
+++ b/Source/devtools/front_end/sources/SourcesPanel.js |
@@ -75,8 +75,7 @@ WebInspector.SourcesPanel = function(workspaceForTest) |
this.sidebarPanes.callstack.registerShortcuts(this.registerShortcuts.bind(this)); |
this.sidebarPanes.scopechain = new WebInspector.ScopeChainSidebarPane(); |
- if (Runtime.experiments.isEnabled("serviceWorkersInPageFrontend")) |
- this.sidebarPanes.serviceWorkers = new WebInspector.ServiceWorkersSidebarPane(); |
+ this.sidebarPanes.serviceWorkers = new WebInspector.ServiceWorkersSidebarPane(); |
this.sidebarPanes.jsBreakpoints = new WebInspector.JavaScriptBreakpointsSidebarPane(WebInspector.breakpointManager, this.showUISourceCode.bind(this)); |
this.sidebarPanes.domBreakpoints = WebInspector.domBreakpointsSidebarPane.createProxy(this); |
this.sidebarPanes.xhrBreakpoints = new WebInspector.XHRBreakpointsSidebarPane(); |
@@ -790,7 +789,7 @@ WebInspector.SourcesPanel.prototype = { |
_updateButtonTitle: function(button, buttonTitle) |
{ |
var hasShortcuts = button._shortcuts && button._shortcuts.length; |
- if (hasShortcuts && Runtime.experiments.isEnabled("tooltips")) |
+ if (hasShortcuts) |
button.setTitle(buttonTitle); |
else if (hasShortcuts) |
dgozman
2015/08/18 21:58:43
This code is unreachable.
pfeldman
2015/08/18 23:50:55
Good catch :)
pfeldman
2015/08/19 00:00:05
Done.
|
button.setTitle(WebInspector.UIString(buttonTitle + " (%s)", button._shortcuts[0].name)); |