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