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

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

Issue 2868583003: DevTools: make audits 2 a proper experiment that can be enabled by default. (Closed)
Patch Set: Created 3 years, 7 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 | « third_party/WebKit/Source/devtools/front_end/help/features.txt ('k') | no next file » | 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 bd0f5f4c68f5dd20fb8103138d0fd5edfe2d8349..a69d29770e89ad92aba9979f5d1d99b7df8e430c 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
@@ -93,6 +93,7 @@ Main.Main = class {
// Keep this sorted alphabetically: both keys and values.
Runtime.experiments.register('accessibilityInspection', 'Accessibility Inspection');
Runtime.experiments.register('applyCustomStylesheet', 'Allow custom UI themes');
+ Runtime.experiments.register('audits2', 'Audits 2.0');
Runtime.experiments.register('autoAttachToCrossProcessSubframes', 'Auto-attach to cross-process subframes', true);
Runtime.experiments.register('blackboxJSFramesOnTimeline', 'Blackbox JavaScript frames on Timeline', true);
Runtime.experiments.register('changesDrawer', 'Changes drawer', true);
@@ -126,7 +127,9 @@ Main.Main = class {
// Enable experiments for testing.
if (testPath.indexOf('accessibility/') !== -1)
Runtime.experiments.enableForTest('accessibilityInspection');
- if (testPath.indexOf('coverage') !== -1)
+ if (testPath.indexOf('audits2/') !== -1)
+ Runtime.experiments.enableForTest('audits2');
+ if (testPath.indexOf('coverage/') !== -1)
Runtime.experiments.enableForTest('cssTrackerPanel');
if (testPath.indexOf('changes/') !== -1)
Runtime.experiments.enableForTest('changesDrawer');
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/help/features.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698