OLD | NEW |
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 Loading... |
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 Loading... |
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(); |
OLD | NEW |