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

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

Issue 2307253003: DevTools: enable layers pane outside of experiements. (Closed)
Patch Set: Created 4 years, 3 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: third_party/WebKit/Source/devtools/front_end/main/Main.js
diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js
index 4a1148feeb90948948eef7d8e79fd2808417cc86..c8da96d65cb4d6cd651eb3c509df79ff32888918 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
@@ -86,7 +86,6 @@ WebInspector.Main.prototype = {
Runtime.experiments.register("continueToFirstInvocation", "Continue to first invocation", true);
Runtime.experiments.register("emptySourceMapAutoStepping", "Empty sourcemap auto-stepping");
Runtime.experiments.register("inputEventsOnTimelineOverview", "Input events on Timeline overview", true);
- Runtime.experiments.register("layersPanel", "Layers panel");
Runtime.experiments.register("layoutEditor", "Layout editor", true);
Runtime.experiments.register("inspectTooltip", "Dark inspect element tooltip");
Runtime.experiments.register("liveSASS", "Live SASS");
@@ -108,10 +107,6 @@ WebInspector.Main.prototype = {
if (InspectorFrontendHost.isUnderTest()) {
var testPath = JSON.parse(prefs["testPath"] || "\"\"");
// Enable experiments for testing.
- if (testPath.indexOf("layers/") !== -1)
- Runtime.experiments.enableForTest("layersPanel");
- if (testPath.indexOf("timeline/") !== -1 || testPath.indexOf("layers/") !== -1)
- Runtime.experiments.enableForTest("layersPanel");
if (testPath.indexOf("security/") !== -1)
Runtime.experiments.enableForTest("securityPanel");
if (testPath.indexOf("accessibility/") !== -1)

Powered by Google App Engine
This is Rietveld 408576698