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

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

Issue 2550563002: [DevTools] Remove obsolete experiment flags. (Closed)
Patch Set: rebased Created 4 years 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 | « no previous file | third_party/WebKit/Source/devtools/front_end/sdk/DOMModel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8461de754f901abc046c90b13b65d0a6ba1eb4a5..52c64817f9a209ee4175bee99364f07b786c9b75 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
@@ -101,16 +101,13 @@ Main.Main = class {
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('inspectTooltip', 'Dark inspect element tooltip');
Runtime.experiments.register('liveSASS', 'Live SASS');
Runtime.experiments.register('nodeDebugging', 'Node debugging', true);
Runtime.experiments.register('persistence2', 'Persistence 2.0');
Runtime.experiments.register('privateScriptInspection', 'Private script inspection');
Runtime.experiments.register('requestBlocking', 'Request blocking', true);
- Runtime.experiments.register('resolveVariableNames', 'Resolve variable names');
Runtime.experiments.register('timelineShowAllEvents', 'Show all events on Timeline', true);
Runtime.experiments.register('timelineShowAllProcesses', 'Show all processes on Timeline', true);
- Runtime.experiments.register('securityPanel', 'Security panel');
Runtime.experiments.register('sourceDiff', 'Source diff');
Runtime.experiments.register('terminalInDrawer', 'Terminal in drawer', true);
Runtime.experiments.register('timelineInvalidationTracking', 'Timeline invalidation tracking', true);
@@ -125,18 +122,11 @@ Main.Main = class {
if (Host.isUnderTest(prefs)) {
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)
Runtime.experiments.enableForTest('accessibilityInspection');
}
- Runtime.experiments.setDefaultExperiments(
- ['inspectTooltip', 'securityPanel', 'resolveVariableNames', 'timelineRecordingPerspectives']);
+ Runtime.experiments.setDefaultExperiments(['timelineRecordingPerspectives']);
}
/**
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/sdk/DOMModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698