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

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

Issue 2605693003: DevTools: introduce object previews experiment (Closed)
Patch Set: tests Created 3 years, 12 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 b7994b57a9b1c032fc5c3893658d409ab143217a..3761cfe49f4a4a888e2d5dc3d3b3bc97c48486d7 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
@@ -104,6 +104,7 @@ Main.Main = class {
Runtime.experiments.register('inputEventsOnTimelineOverview', 'Input events on Timeline overview', true);
Runtime.experiments.register('liveSASS', 'Live SASS');
Runtime.experiments.register('nodeDebugging', 'Node debugging', true);
+ Runtime.experiments.register('objectPreviews', 'Object previews', true);
Runtime.experiments.register('persistence2', 'Persistence 2.0');
Runtime.experiments.register('persistenceValidation', 'Validate persistence bindings');
Runtime.experiments.register('requestBlocking', 'Request blocking', true);
@@ -127,6 +128,8 @@ Main.Main = class {
Runtime.experiments.enableForTest('accessibilityInspection');
if (testPath.indexOf('css_tracker') !== -1)
Runtime.experiments.enableForTest('cssTrackerPanel');
+ if (testPath.indexOf('console') !== -1)
+ Runtime.experiments.enableForTest('objectPreviews');
}
Runtime.experiments.setDefaultExperiments(

Powered by Google App Engine
This is Rietveld 408576698