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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
135 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t hemes"); | 135 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t hemes"); |
136 Runtime.experiments.register("canvasInspection", "Canvas inspection"); | 136 Runtime.experiments.register("canvasInspection", "Canvas inspection"); |
137 Runtime.experiments.register("devicesPanel", "Devices panel"); | 137 Runtime.experiments.register("devicesPanel", "Devices panel"); |
138 Runtime.experiments.register("documentation", "Documentation for JS", tr ue); | 138 Runtime.experiments.register("documentation", "Documentation for JS", tr ue); |
139 Runtime.experiments.register("fileSystemInspection", "FileSystem inspect ion"); | 139 Runtime.experiments.register("fileSystemInspection", "FileSystem inspect ion"); |
140 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true ); | 140 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true ); |
141 Runtime.experiments.register("layersPanel", "Layers panel"); | 141 Runtime.experiments.register("layersPanel", "Layers panel"); |
142 Runtime.experiments.register("privateScriptInspection", "Private script inspection"); | 142 Runtime.experiments.register("privateScriptInspection", "Private script inspection"); |
143 Runtime.experiments.register("promiseTracker", "Promise inspector"); | 143 Runtime.experiments.register("promiseTracker", "Promise inspector"); |
144 Runtime.experiments.register("requestTimingInNetworkTimeline", "Request timing directly in Network timeline", true); | 144 Runtime.experiments.register("requestTimingInNetworkTimeline", "Request timing directly in Network timeline", true); |
145 Runtime.experiments.register("serviceWorkerCacheInspection", "ServiceWor ker cache inspection", true); | 145 Runtime.experiments.register("serviceWorkerCacheInspection", "ServiceWor ker cache inspection"); |
vsevik
2014/12/19 07:20:48
You could just remove it altogether and remove the
dmurph
2014/12/19 21:45:06
Done.
| |
146 Runtime.experiments.register("stepIntoAsync", "Step into async"); | 146 Runtime.experiments.register("stepIntoAsync", "Step into async"); |
147 Runtime.experiments.register("timelineInvalidationTracking", "Timeline i nvalidation tracking"); | 147 Runtime.experiments.register("timelineInvalidationTracking", "Timeline i nvalidation tracking"); |
148 Runtime.experiments.register("timelinePowerProfiler", "Timeline power pr ofiler"); | 148 Runtime.experiments.register("timelinePowerProfiler", "Timeline power pr ofiler"); |
149 Runtime.experiments.cleanUpStaleExperiments(); | 149 Runtime.experiments.cleanUpStaleExperiments(); |
150 | 150 |
151 if (InspectorFrontendHost.isUnderTest()) { | 151 if (InspectorFrontendHost.isUnderTest()) { |
152 // Enable experiments for testing. | 152 // Enable experiments for testing. |
153 var testPath = WebInspector.settings.testPath.get(); | 153 var testPath = WebInspector.settings.testPath.get(); |
154 if (testPath.indexOf("timeline/") !== -1 || testPath.indexOf("layers /") !== -1) | 154 if (testPath.indexOf("timeline/") !== -1 || testPath.indexOf("layers /") !== -1) |
155 Runtime.experiments.enableForTest("layersPanel"); | 155 Runtime.experiments.enableForTest("layersPanel"); |
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
917 p.classList.add("help-section"); | 917 p.classList.add("help-section"); |
918 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically."); | 918 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once it restarts we will attach to it automatically."); |
919 } | 919 } |
920 | 920 |
921 WebInspector.WorkerTerminatedScreen.prototype = { | 921 WebInspector.WorkerTerminatedScreen.prototype = { |
922 | 922 |
923 __proto__: WebInspector.HelpScreen.prototype | 923 __proto__: WebInspector.HelpScreen.prototype |
924 } | 924 } |
925 | 925 |
926 new WebInspector.Main(); | 926 new WebInspector.Main(); |
OLD | NEW |