Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2046)

Unified Diff: Source/devtools/front_end/sources/SourcesPanel.js

Issue 1301813002: DevTools: propagate experiments that are enabled by default into default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));

Powered by Google App Engine
This is Rietveld 408576698