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

Unified Diff: Source/devtools/front_end/main/Main.js

Issue 1301813002: DevTools: propagate experiments that are enabled by default into default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments addressed 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
« no previous file with comments | « Source/devtools/front_end/main/AdvancedApp.js ('k') | Source/devtools/front_end/sdk/Target.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/main/Main.js
diff --git a/Source/devtools/front_end/main/Main.js b/Source/devtools/front_end/main/Main.js
index 3311b931ff7913ed31b4602b6ebbf58cfb2c7327..8cc2be0a09faef260b4479363e61aef4c23dfd37 100644
--- a/Source/devtools/front_end/main/Main.js
+++ b/Source/devtools/front_end/main/Main.js
@@ -141,15 +141,12 @@ WebInspector.Main.prototype = {
Runtime.experiments.register("privateScriptInspection", "Private script inspection");
Runtime.experiments.register("promiseTracker", "Promise inspector");
Runtime.experiments.register("securityPanel", "Security panel", true);
- Runtime.experiments.register("serviceWorkersInPageFrontend", "Service workers in DevTools for page");
Runtime.experiments.register("serviceWorkersInResources", "Service workers in Resources panel", true);
Runtime.experiments.register("showPrimaryLoadWaterfallInNetworkTimeline", "Show primary load waterfall in Network timeline", true);
Runtime.experiments.register("stepIntoAsync", "Step into async");
Runtime.experiments.register("timelineInvalidationTracking", "Timeline invalidation tracking", true);
Runtime.experiments.register("timelineTracingJSProfile", "Timeline tracing based JS profiler", true);
Runtime.experiments.register("timelineFlowEvents", "Timeline flow events", true);
- Runtime.experiments.register("tooltips", "Tooltips");
- Runtime.experiments.register("inlineVariableValues", "Display variable values inline while debugging");
Runtime.experiments.cleanUpStaleExperiments();
@@ -169,9 +166,6 @@ WebInspector.Main.prototype = {
}
Runtime.experiments.setDefaultExperiments([
- "inlineVariableValues",
- "serviceWorkersInPageFrontend",
- "tooltips"
]);
},
@@ -192,8 +186,7 @@ WebInspector.Main.prototype = {
WebInspector.inspectorView = new WebInspector.InspectorView();
WebInspector.ContextMenu.initialize();
WebInspector.ContextMenu.installHandler(document);
- if (Runtime.experiments.isEnabled("tooltips"))
- WebInspector.Tooltip.installHandler(document);
+ WebInspector.Tooltip.installHandler(document);
WebInspector.dockController = new WebInspector.DockController(canDock);
WebInspector.overridesSupport = new WebInspector.OverridesSupport();
WebInspector.emulatedDevicesList = new WebInspector.EmulatedDevicesList();
« no previous file with comments | « Source/devtools/front_end/main/AdvancedApp.js ('k') | Source/devtools/front_end/sdk/Target.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698