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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 export: true, | 160 export: true, |
161 import: true, | 161 import: true, |
162 proxy: true, | 162 proxy: true, |
163 events: true, | 163 events: true, |
164 waterfall: true, | 164 waterfall: true, |
165 timeline: true, | 165 timeline: true, |
166 dns: true, | 166 dns: true, |
167 sockets: true, | 167 sockets: true, |
168 spdy: true, | 168 spdy: true, |
169 quic: true, | 169 quic: true, |
| 170 sdch: true, |
170 httpCache: true, | 171 httpCache: true, |
171 modules: true, | 172 modules: true, |
172 tests: false, | 173 tests: false, |
173 hsts: false, | 174 hsts: false, |
174 logs: false, | 175 logs: false, |
175 prerender: true, | 176 prerender: true, |
176 bandwidth: false, | 177 bandwidth: false, |
177 chromeos: false, | 178 chromeos: false, |
178 visualizer: false | 179 visualizer: false |
179 }; | 180 }; |
(...skipping 11 matching lines...) Expand all Loading... |
191 export: true, | 192 export: true, |
192 import: true, | 193 import: true, |
193 proxy: false, | 194 proxy: false, |
194 events: true, | 195 events: true, |
195 waterfall: true, | 196 waterfall: true, |
196 timeline: true, | 197 timeline: true, |
197 dns: false, | 198 dns: false, |
198 sockets: false, | 199 sockets: false, |
199 spdy: false, | 200 spdy: false, |
200 quic: false, | 201 quic: false, |
| 202 sdch: false, |
201 httpCache: false, | 203 httpCache: false, |
202 modules: false, | 204 modules: false, |
203 tests: false, | 205 tests: false, |
204 hsts: false, | 206 hsts: false, |
205 logs: false, | 207 logs: false, |
206 prerender: false, | 208 prerender: false, |
207 bandwidth: false, | 209 bandwidth: false, |
208 chromeos: false, | 210 chromeos: false, |
209 visualizer: false | 211 visualizer: false |
210 }; | 212 }; |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 taskQueue.addFunctionTask(checkPrivacyStripping.bind(null, true)); | 317 taskQueue.addFunctionTask(checkPrivacyStripping.bind(null, true)); |
316 taskQueue.addTask(new CreateAndLoadLogTask('Detailed explanation.')); | 318 taskQueue.addTask(new CreateAndLoadLogTask('Detailed explanation.')); |
317 taskQueue.addFunctionTask(checkViewsAfterLogLoaded); | 319 taskQueue.addFunctionTask(checkViewsAfterLogLoaded); |
318 taskQueue.run(); | 320 taskQueue.run(); |
319 | 321 |
320 // Simulate clicking the stop button. | 322 // Simulate clicking the stop button. |
321 $(CaptureView.STOP_BUTTON_ID).click(); | 323 $(CaptureView.STOP_BUTTON_ID).click(); |
322 }); | 324 }); |
323 | 325 |
324 })(); // Anonymous namespace | 326 })(); // Anonymous namespace |
OLD | NEW |