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); | |
146 Runtime.experiments.register("stepIntoAsync", "Step into async"); | 145 Runtime.experiments.register("stepIntoAsync", "Step into async"); |
147 Runtime.experiments.register("timelineInvalidationTracking", "Timeline i
nvalidation tracking"); | 146 Runtime.experiments.register("timelineInvalidationTracking", "Timeline i
nvalidation tracking"); |
148 Runtime.experiments.register("timelinePowerProfiler", "Timeline power pr
ofiler"); | 147 Runtime.experiments.register("timelinePowerProfiler", "Timeline power pr
ofiler"); |
149 Runtime.experiments.cleanUpStaleExperiments(); | 148 Runtime.experiments.cleanUpStaleExperiments(); |
150 | 149 |
151 if (InspectorFrontendHost.isUnderTest()) { | 150 if (InspectorFrontendHost.isUnderTest()) { |
152 // Enable experiments for testing. | 151 // Enable experiments for testing. |
153 var testPath = WebInspector.settings.testPath.get(); | 152 var testPath = WebInspector.settings.testPath.get(); |
154 if (testPath.indexOf("timeline/") !== -1 || testPath.indexOf("layers
/") !== -1) | 153 if (testPath.indexOf("timeline/") !== -1 || testPath.indexOf("layers
/") !== -1) |
155 Runtime.experiments.enableForTest("layersPanel"); | 154 Runtime.experiments.enableForTest("layersPanel"); |
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
917 p.classList.add("help-section"); | 916 p.classList.add("help-section"); |
918 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once
it restarts we will attach to it automatically."); | 917 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once
it restarts we will attach to it automatically."); |
919 } | 918 } |
920 | 919 |
921 WebInspector.WorkerTerminatedScreen.prototype = { | 920 WebInspector.WorkerTerminatedScreen.prototype = { |
922 | 921 |
923 __proto__: WebInspector.HelpScreen.prototype | 922 __proto__: WebInspector.HelpScreen.prototype |
924 } | 923 } |
925 | 924 |
926 new WebInspector.Main(); | 925 new WebInspector.Main(); |
OLD | NEW |