OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** | 5 /** |
6 * @fileoverview This file contains tests for creating and loading log files. | 6 * @fileoverview This file contains tests for creating and loading log files. |
7 * It also tests the stop capturing button, since it both creates and then loads | 7 * It also tests the stop capturing button, since it both creates and then loads |
8 * a log dump. | 8 * a log dump. |
9 */ | 9 */ |
10 | 10 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 export: true, | 103 export: true, |
104 import: true, | 104 import: true, |
105 proxy: true, | 105 proxy: true, |
106 events: true, | 106 events: true, |
107 timeline: true, | 107 timeline: true, |
108 dns: true, | 108 dns: true, |
109 sockets: true, | 109 sockets: true, |
110 spdy: true, | 110 spdy: true, |
111 httpPipeline: false, | 111 httpPipeline: false, |
112 httpCache: true, | 112 httpCache: true, |
113 httpThrottling: false, | |
114 serviceProviders: cr.isWindows, | 113 serviceProviders: cr.isWindows, |
115 tests: false, | 114 tests: false, |
116 hsts: false, | 115 hsts: false, |
117 logs: false, | 116 logs: false, |
118 prerender: true, | 117 prerender: true, |
119 chromeos: false | 118 chromeos: false |
120 }; | 119 }; |
121 NetInternalsTest.checkTabHandleVisibility(tabVisibilityState, false); | 120 NetInternalsTest.checkTabHandleVisibility(tabVisibilityState, false); |
122 } | 121 } |
123 | 122 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 taskQueue.addFunctionTask(checkViewsAfterLogLoaded); | 184 taskQueue.addFunctionTask(checkViewsAfterLogLoaded); |
186 taskQueue.addTask(new CreateAndLoadLogTask('Detailed explanation.')); | 185 taskQueue.addTask(new CreateAndLoadLogTask('Detailed explanation.')); |
187 taskQueue.addFunctionTask(checkViewsAfterLogLoaded); | 186 taskQueue.addFunctionTask(checkViewsAfterLogLoaded); |
188 taskQueue.run(); | 187 taskQueue.run(); |
189 | 188 |
190 // Simulate a click on the stop capturing button. | 189 // Simulate a click on the stop capturing button. |
191 $(CaptureStatusView.STOP_BUTTON_ID).click(); | 190 $(CaptureStatusView.STOP_BUTTON_ID).click(); |
192 }); | 191 }); |
193 | 192 |
194 })(); // Anonymous namespace | 193 })(); // Anonymous namespace |
OLD | NEW |