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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 WebInspector.settings.pauseOnExceptionStateString = new WebInspector.Pau
seOnExceptionStateSetting(); | 130 WebInspector.settings.pauseOnExceptionStateString = new WebInspector.Pau
seOnExceptionStateSetting(); |
131 new WebInspector.VersionController().updateVersion(); | 131 new WebInspector.VersionController().updateVersion(); |
132 }, | 132 }, |
133 | 133 |
134 _initializeExperiments: function() | 134 _initializeExperiments: function() |
135 { | 135 { |
136 Runtime.experiments.register("accessibilityInspection", "Accessibility I
nspection", true); | 136 Runtime.experiments.register("accessibilityInspection", "Accessibility I
nspection", true); |
137 Runtime.experiments.register("animationInspection", "Animation Inspectio
n"); | 137 Runtime.experiments.register("animationInspection", "Animation Inspectio
n"); |
138 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t
hemes"); | 138 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t
hemes"); |
139 Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox Jav
aScript frames on Timeline"); | 139 Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox Jav
aScript frames on Timeline"); |
140 Runtime.experiments.register("canvasInspection", "Canvas inspection"); | |
141 Runtime.experiments.register("timelineDetailsChart", "Costly functions v
iew in Timeline details", true); | 140 Runtime.experiments.register("timelineDetailsChart", "Costly functions v
iew in Timeline details", true); |
142 Runtime.experiments.register("customObjectFormatters", "Custom object fo
rmatters", true); | 141 Runtime.experiments.register("customObjectFormatters", "Custom object fo
rmatters", true); |
143 Runtime.experiments.register("externalDeviceList", "External device list
", true); | 142 Runtime.experiments.register("externalDeviceList", "External device list
", true); |
144 Runtime.experiments.register("fileSystemInspection", "FileSystem inspect
ion"); | 143 Runtime.experiments.register("fileSystemInspection", "FileSystem inspect
ion"); |
145 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true
); | 144 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true
); |
146 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve
nts on Timeline overview", true) | 145 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve
nts on Timeline overview", true) |
147 Runtime.experiments.register("layersPanel", "Layers panel"); | 146 Runtime.experiments.register("layersPanel", "Layers panel"); |
148 Runtime.experiments.register("networkRequestHeadersFilterInDetailsView",
"Network request headers filter in details view", true); | 147 Runtime.experiments.register("networkRequestHeadersFilterInDetailsView",
"Network request headers filter in details view", true); |
149 Runtime.experiments.register("networkRequestsOnTimeline", "Network reque
sts on Timeline"); | 148 Runtime.experiments.register("networkRequestsOnTimeline", "Network reque
sts on Timeline"); |
150 Runtime.experiments.register("privateScriptInspection", "Private script
inspection"); | 149 Runtime.experiments.register("privateScriptInspection", "Private script
inspection"); |
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
898 _settingChanged: function(event) | 897 _settingChanged: function(event) |
899 { | 898 { |
900 var value = this._setting.get(); | 899 var value = this._setting.get(); |
901 var targets = WebInspector.OverridesSupport.targetsSupportingEmulation()
; | 900 var targets = WebInspector.OverridesSupport.targetsSupportingEmulation()
; |
902 for (var i = 0; i < targets.length; ++i) | 901 for (var i = 0; i < targets.length; ++i) |
903 targets[i].emulationAgent().setScriptExecutionDisabled(value); | 902 targets[i].emulationAgent().setScriptExecutionDisabled(value); |
904 } | 903 } |
905 } | 904 } |
906 | 905 |
907 new WebInspector.Main(); | 906 new WebInspector.Main(); |
OLD | NEW |