| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 _initializeExperiments: function() | 132 _initializeExperiments: function() |
| 133 { | 133 { |
| 134 Runtime.experiments.register("animationInspection", "Animation Inspectio
n", true); | 134 Runtime.experiments.register("animationInspection", "Animation Inspectio
n", true); |
| 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("composedShadowDOM", "Composed Shadow DOM v
iew.", true); | 137 Runtime.experiments.register("composedShadowDOM", "Composed Shadow DOM v
iew.", true); |
| 138 Runtime.experiments.register("customObjectFormatters", "Custom object fo
rmatters", true); | 138 Runtime.experiments.register("customObjectFormatters", "Custom object fo
rmatters", true); |
| 139 Runtime.experiments.register("devicesPanel", "Devices panel"); | 139 Runtime.experiments.register("devicesPanel", "Devices panel"); |
| 140 Runtime.experiments.register("fileSystemInspection", "FileSystem inspect
ion"); | 140 Runtime.experiments.register("fileSystemInspection", "FileSystem inspect
ion"); |
| 141 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true
); | 141 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true
); |
| 142 Runtime.experiments.register("highlightChangedProperties", "Highlight ch
anged properties", false); |
| 142 Runtime.experiments.register("layersPanel", "Layers panel"); | 143 Runtime.experiments.register("layersPanel", "Layers panel"); |
| 143 Runtime.experiments.register("networkRequestHeadersFilterInDetailsView",
"Network request headers filter in details view", true); | 144 Runtime.experiments.register("networkRequestHeadersFilterInDetailsView",
"Network request headers filter in details view", true); |
| 144 Runtime.experiments.register("privateScriptInspection", "Private script
inspection"); | 145 Runtime.experiments.register("privateScriptInspection", "Private script
inspection"); |
| 145 Runtime.experiments.register("promiseTracker", "Promise inspector"); | 146 Runtime.experiments.register("promiseTracker", "Promise inspector"); |
| 146 Runtime.experiments.register("showPrimaryLoadWaterfallInNetworkTimeline"
, "Show primary load waterfall in Network timeline", true); | 147 Runtime.experiments.register("showPrimaryLoadWaterfallInNetworkTimeline"
, "Show primary load waterfall in Network timeline", true); |
| 147 Runtime.experiments.register("stepIntoAsync", "Step into async"); | 148 Runtime.experiments.register("stepIntoAsync", "Step into async"); |
| 148 Runtime.experiments.register("timelineInvalidationTracking", "Timeline i
nvalidation tracking"); | 149 Runtime.experiments.register("timelineInvalidationTracking", "Timeline i
nvalidation tracking"); |
| 149 Runtime.experiments.register("timelinePowerProfiler", "Timeline power pr
ofiler"); | 150 Runtime.experiments.register("timelinePowerProfiler", "Timeline power pr
ofiler"); |
| 150 Runtime.experiments.register("timelineFlowEvents", "Timeline flow events
", true); | 151 Runtime.experiments.register("timelineFlowEvents", "Timeline flow events
", true); |
| 151 Runtime.experiments.cleanUpStaleExperiments(); | 152 Runtime.experiments.cleanUpStaleExperiments(); |
| (...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 921 p.classList.add("help-section"); | 922 p.classList.add("help-section"); |
| 922 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once
it restarts we will attach to it automatically."); | 923 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once
it restarts we will attach to it automatically."); |
| 923 } | 924 } |
| 924 | 925 |
| 925 WebInspector.WorkerTerminatedScreen.prototype = { | 926 WebInspector.WorkerTerminatedScreen.prototype = { |
| 926 | 927 |
| 927 __proto__: WebInspector.HelpScreen.prototype | 928 __proto__: WebInspector.HelpScreen.prototype |
| 928 } | 929 } |
| 929 | 930 |
| 930 new WebInspector.Main(); | 931 new WebInspector.Main(); |
| OLD | NEW |