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

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

Issue 2649023007: DevTools: implement release note behind an experiment (Closed)
Patch Set: finalize Created 3 years, 10 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 28e0ec6bfd39e37f7bbaea11a3e1965f3115b5d3..03dc6e4c932009675d252c2fb169dafb9a6962ed 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
@@ -107,6 +107,7 @@ Main.Main = class {
Runtime.experiments.register('objectPreviews', 'Object previews', true);
Runtime.experiments.register('persistence2', 'Persistence 2.0');
Runtime.experiments.register('persistenceValidation', 'Validate persistence bindings');
+ Runtime.experiments.register('releaseNote', 'Release note', true);
Runtime.experiments.register('requestBlocking', 'Request blocking', true);
Runtime.experiments.register('timelineShowAllEvents', 'Show all events on Timeline', true);
Runtime.experiments.register('timelineShowAllProcesses', 'Show all processes on Timeline', true);
@@ -130,6 +131,8 @@ Main.Main = class {
Runtime.experiments.enableForTest('cssTrackerPanel');
if (testPath.indexOf('audits2/') !== -1)
Runtime.experiments.enableForTest('audits2');
+ if (testPath.indexOf('help/') !== -1)
+ Runtime.experiments.enableForTest('releaseNote');
}
Runtime.experiments.setDefaultExperiments(['persistenceValidation', 'timelineMultipleMainViews']);
@@ -186,6 +189,8 @@ Main.Main = class {
new Bindings.BreakpointManager(null, Workspace.workspace, SDK.targetManager, Bindings.debuggerWorkspaceBinding);
Extensions.extensionServer = new Extensions.ExtensionServer();
+ Help.releaseNoteManager = new Help.ReleaseNoteManager();
+
new Persistence.FileSystemWorkspaceBinding(Workspace.isolatedFileSystemManager, Workspace.workspace);
Persistence.persistence =
new Persistence.Persistence(Workspace.workspace, Bindings.breakpointManager, Workspace.fileSystemMapping);

Powered by Google App Engine
This is Rietveld 408576698