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

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

Issue 1370723003: Enable the Security panel by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). 3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com).
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 Runtime.experiments.enableForTest("layersPanel"); 160 Runtime.experiments.enableForTest("layersPanel");
161 if (testPath.indexOf("service-workers/") !== -1) 161 if (testPath.indexOf("service-workers/") !== -1)
162 Runtime.experiments.enableForTest("serviceWorkersInResources"); 162 Runtime.experiments.enableForTest("serviceWorkersInResources");
163 if (testPath.indexOf("timeline/") !== -1 || testPath.indexOf("layers /") !== -1) 163 if (testPath.indexOf("timeline/") !== -1 || testPath.indexOf("layers /") !== -1)
164 Runtime.experiments.enableForTest("layersPanel"); 164 Runtime.experiments.enableForTest("layersPanel");
165 if (testPath.indexOf("security/") !== -1) 165 if (testPath.indexOf("security/") !== -1)
166 Runtime.experiments.enableForTest("securityPanel"); 166 Runtime.experiments.enableForTest("securityPanel");
167 } 167 }
168 168
169 Runtime.experiments.setDefaultExperiments([ 169 Runtime.experiments.setDefaultExperiments([
170 "securityPanel"
170 ]); 171 ]);
171 }, 172 },
172 173
173 /** 174 /**
174 * @suppressGlobalPropertiesCheck 175 * @suppressGlobalPropertiesCheck
175 */ 176 */
176 _createAppUI: function() 177 _createAppUI: function()
177 { 178 {
178 console.timeStamp("Main._createApp"); 179 console.timeStamp("Main._createApp");
179 180
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
969 p.classList.add("help-section"); 970 p.classList.add("help-section");
970 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically."); 971 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically.");
971 } 972 }
972 973
973 WebInspector.WorkerTerminatedScreen.prototype = { 974 WebInspector.WorkerTerminatedScreen.prototype = {
974 975
975 __proto__: WebInspector.HelpScreen.prototype 976 __proto__: WebInspector.HelpScreen.prototype
976 } 977 }
977 978
978 new WebInspector.Main(); 979 new WebInspector.Main();
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698